
* {
    font-family: "Noto Sans Thai", sans-serif !important;
  }

  body {
    overflow: hidden;
    background-size:     cover;
    background-repeat:   no-repeat;
    background-attachment: fixed;
    background-position: center;
    background-color: rgb(255, 255, 255) !important;
    transition: background-image 1s ease-in-out;
    }

#myVideo,#clip1,#clip2,#clip3,#clip4,#clip5,#myBG {
    position: fixed;
    right: 0;
    bottom: 0;
    min-width: 100%;
    min-height: 100%;
    z-index: -99;
  }

  .center-screen{
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.btnstart {
    cursor: pointer;
    transition: opacity 1s ease; /* Smooth transition for fade effect */
}

.faded {
    opacity: 0;
}

#preloadVideo {
    display: none; /* Hide the preload video element */
}

.btnpage1 {
    filter: saturate(1); /* Default saturation */
    transition: filter 1s ease, opacity 1s ease; /* Smooth transition for filter changes */
}

#headline {
    transition: margin-top 1s ease; /* Smooth transition for margin-top */
}

.result{
    width: 25vw;
    border-radius: 10%;
}

.result-text{
    color: white;
    font-size: 1.6rem;
}

.btnrestart{
    opacity: 0;
    transition: opacity 1s ease; /* Smooth transition for fade effect */
}