@media (min-width: 2000px) {
  html,
  body {
    font-size: 0.7vw;
  }
}

@media (max-width: 1500px) {
  .vendor-info-1 {
    width: 31%;
  }
  .vendor-info-2 {
    width: 15.5%;
  }
  .btn-disclaimer {
    right: 25px;
  }
  .big-logo {
    /* width: 23%; */
  }
}

@media (max-width: 1200px) {
  .copyright {
    /* bottom: 3rem; */
  }
  .btn-disclaimer {
    /* right: 25%; */
  }
  .big-logo {
    /* width: 29%; */
  }
}

@media (max-width: 991px) {
  /* .btn-disclaimer {
        left: 65%;
    } */
  .big-logo {
    /* width: 42%; */
  }
  .vendor-info-1 {
    width: 40%;
  }
  .vendor-info-2 {
    width: 20%;
  }
  .btn-disclaimer {
    /* right: 30%; */
  }
  .main-center {
    bottom: 50%;
  }
  .vendor-info {
    bottom: 33%;
  }
  .main-content {
    /* transform: translateX(13%);
        -webkit-transform: translateX(13%);
        -moz-transform: translateX(13%);
        -ms-transform: translateX(13%);
        -o-transform: translateX(13%); */
    transform: none;
  }
}

@media screen and (max-width: 1024px) {
  .big-logo {
    /* width: 55%; */
  }
  .main-lang .logo {
    width: 24%;
  }
  .big-logo p {
    font-size: 1.5rem;
    text-shadow: 2px 2px 6px black;
  }
}

@media (max-width: 880px) {
  .index-background-3 {
    display: none;
  }
  .index-background-4 {
    display: block;
  }
}

@media (max-width: 768px) {
  .big-logo:nth-child(1) {
    margin-right: 0rem;
  }
  /* .big-logo img {
        max-width: 60%;
        height: auto;
        min-width: 300px;
    }
    .project-enquiry h2 {
    margin-right: 1rem;
}
     */

  .info_div {
    /* -webkit-transform: translate(0px, 100%);
    -moz-transform: translate(0px, 100%);
    -ms-transform: translate(0px, 100%);
    -o-transform: translate(0px, 100%); */
  }

  .logo_div {
    margin-bottom: 4rem;
    grid-template-rows: repeat(2, 1fr);
    grid-template-columns: auto;
    grid-gap: 9vh;
  }
  .big-logo p {
    font-size: 1.2rem;
  }
  .logo1,
  .logo2 {
    width: 80% !important;
  }

  .main-lang .logo {
    width: 40%;
  }

  .logo {
    width: 75%;
  }

  .project-enquiry {
    flex-direction: column;
    align-items: center;
  }
  h2 {
    font-size: calc(1rem / 14 * 18);
  }
  .main-content {
    margin-top: 0rem;
  }
  .main-center {
    margin-top: 0rem;
  }

  .btn-disclaimer {
    /* right: 5%; */
  }
  .vendor-info-1 {
    width: 50%;
  }
  .vendor-info-2 {
    width: 25%;
  }
  .index-background-1 img {
    width: 35%;
  }
  .index-background-2 img {
    width: 47%;
  }
  .copyright {
    /* bottom: 4rem; */
  }
}

@media (max-height: 767px) {
  #background-video,
  .video-background {
    transform: scale(1.125);
    transform-origin: bottom;
    -webkit-transform: scale(1.125);
    -moz-transform: scale(1.125);
    -ms-transform: scale(1.125);
    -o-transform: scale(1.125);
  }
  .big-logo {
    top: 25%;
  }
  .main-center {
    bottom: 35%;
  }
  .main-lang {
    /* bottom: 28% */
  }
  .vendor-info {
    bottom: 22%;
  }
}

@media (max-height: 700px) {
  .main-center {
    bottom: 25%;
  }
  .vendor-info {
    /* bottom: 9%; */
    bottom: 10%;
  }
}

@media (max-width: 650px) {
  :lang(en) .project-name .span-1 {
    display: block;
  }
  :lang(en) #background-video,
  :lang(en) .video-overlay,
  :lang(en).video-background {
    transform: scale(1.125);
    transform-origin: bottom;
    -webkit-transform: scale(1.125);
    -moz-transform: scale(1.125);
    -ms-transform: scale(1.125);
    -o-transform: scale(1.125);
  }
}

@media (max-width: 630px) {
  .project-enquiry h2 {
    margin-right: 0rem;
  }

  .vendor-info p span {
    display: block;
  }
  :lang(en) .vendor-info-1 p {
    text-align: left;
  }
}

@media (max-width: 539px) {
  .info_div {
    /* -webkit-transform: translate(0px, 60%);
    -moz-transform: translate(0px, 60%);
    -ms-transform: translate(0px, 60%);
    -o-transform: translate(0px, 60%); */
  }

  .main-lang .logo {
    width: 50%;
  }
  h1 {
    font-size: 1.5rem;
  }
  h2 {
    font-size: calc(1rem / 14 * 18);
  }
  .main-lang {
    font-size: calc(1rem / 14 * 12);
    /* bottom: 28%; */
  }
  .sound {
    width: calc(1rem / 14 * 12);
  }
  .index-background-2 img {
    width: 55%;
  }
  .disclaimer-popup {
    width: 90%;
    height: 60%;
  }
  .disclaimer-content {
    overflow-y: scroll;
  }
  ::-webkit-scrollbar {
    width: 5px;
    border-radius: 10px;
    -webkit-border-radius: 10px;
    -moz-border-radius: 10px;
    -ms-border-radius: 10px;
    -o-border-radius: 10px;
  }
  ::-webkit-scrollbar-track {
    width: 5px;
    background-color: rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    -webkit-border-radius: 10px;
    -moz-border-radius: 10px;
    -ms-border-radius: 10px;
    -o-border-radius: 10px;
  }
  ::-webkit-scrollbar-thumb {
    width: 5px;
    background-color: rgba(0, 0, 0, 0.3);
    border-radius: 10px;
    -webkit-border-radius: 10px;
    -moz-border-radius: 10px;
    -ms-border-radius: 10px;
    -o-border-radius: 10px;
  }
  #background-video,
  .video-overlay,
  .video-background {
    transform: scale(1.125);
    transform-origin: bottom;
    -webkit-transform: scale(1.125);
    -moz-transform: scale(1.125);
    -ms-transform: scale(1.125);
    -o-transform: scale(1.125);
  }
  .main-content {
    transform: none;
  }
  .big-logo {
    /* width: 70%; */
    top: 30%;
  }
  .project-name {
    margin-bottom: 0.5rem;
  }
  :lang(en) .project-name {
    line-height: 1.3;
  }
  .vendor-info {
    /* bottom: 15%; */
  }
  .vendor-info-1 {
    width: 50%;
  }
  .vendor-info-2 {
    width: 25%;
  }
  .vendor-logo-2 {
    width: 40%;
    height: 80%;
  }
  .main-center {
    bottom: 48%;
  }
  .project-name span {
    display: block;
  }
  .project-enquiry {
    flex-direction: column;
    align-items: center;
  }
  .copyright {
    /* bottom: 4rem; */
    font-size: calc(1rem * 8 / 14);
  }
  .btn-disclaimer {
    font-size: calc(1rem * 8 / 14);
  }
  .btn-disclaimer::before {
    width: 8px;
    height: 8px;
  }
  /* 
    .popup-layer {
        transition: all 1s cubic-bezier(0.390, 0.575, 0.565, 1.000)    ;
        -webkit-transition: all 1s cubic-bezier(0.390, 0.575, 0.565, 1.000)    ;
        -moz-transition: all 1s cubic-bezier(0.390, 0.575, 0.565, 1.000)    ;
        -ms-transition: all 1s cubic-bezier(0.390, 0.575, 0.565, 1.000)    ;
        -o-transition: all 1s cubic-bezier(0.390, 0.575, 0.565, 1.000)    ; 
    }*/
  .overlay {
    transition: all 0.8s cubic-bezier(0.39, 0.575, 0.565, 1);
    -webkit-transition: all 0.8s cubic-bezier(0.39, 0.575, 0.565, 1);
    -moz-transition: all 0.8s cubic-bezier(0.39, 0.575, 0.565, 1);
    -ms-transition: all 0.8s cubic-bezier(0.39, 0.575, 0.565, 1);
    -o-transition: all 0.8s cubic-bezier(0.39, 0.575, 0.565, 1);
  }
  .vendor-info p {
    /* margin-bottom: 0.2rem; */
  }
  :lang(en) .main-center {
    /* bottom: 30%; */
  }
  :lang(en) .main-lang {
    /* bottom: 25%; */
  }
  :lang(en) .vendor-info {
    /* bottom: 13%; */
  }
  .project-name br {
    display: block !important;
  }
  .logo1 {
    /*display: none;*/
  }
  .logo2 {
    /*display: block!important;*/
  }
  .copyright {
    left: 10px;
  }
  .btn-disclaimer {
    right: 10px;
  }
}

@media only screen and (max-height: 800px) {
  .main-content {
    /* grid-row-gap: 20px; */
  }
}

/* @media only screen and (max-width: 375px) and (min-height:740px) {
    .main-center {
        bottom: 38%;
    }
} */

@media only screen and (min-width: 1024px) and (max-height: 1366px) and (orientation: portrait) and (-webkit-min-device-pixel-ratio: 1.5) {
  .index-background-3 {
    display: none;
  }
  .index-background-4 {
    display: block;
  }
}
