/*Contains CSS of elements that are common throughout the HTML files*/

@font-face {
    font-family: Plutur;
    src: url(../fonts/Plutur.ttf);
}

/*CSS for the page*/
html{
    scroll-behavior: smooth;
    height: 100%;
    scroll-padding-top: 7.982%;                           /* Add padding to the top to avoid content hiding under the fixed navbar */
    scroll-padding-top: calc(100/1252.89 * 100%);
}


/*CSS for body*/
body{
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    margin: 0px;
    background-color: #000000;
    overflow-x: hidden;
}

/*CSS for laoding screen*/
#loader{
    position: absolute;
    top: 0;
    display: block;
    background-color: #000000;
    width: 100vw;
    height: 100vh;
    z-index: 4000;
    justify-content: center;
}

#loop{
    margin-top: 20vh;
    height: 50vh;
    width: auto;
}

#loader p{
    text-align: center;
    color: #ffffff;
    font-size: 15px;
    font-weight: 100;
    width: 100%;
    height: 10vh;
    padding-top: 0;
}

/*CSS for navbar*/
#navbar{
    background-color: #000000;
    display: hidden;
    position: fixed;
    top: 0px;                /*navbar CSS here*/
    z-index: 100;
    height: 7.982%;
    height: calc(100/1252.89 * 100%);
    min-height: 55px;
    width: 100%;
    justify-content: space-between;
    align-items: center;
    color: white;
}
.logo{
    font-size: 30px;        
    padding: 0.6%;          /*logo CSS here*/
    margin: 0;
    width: 60vw;
    font-family: "Plutur";
}

.nav-items{
    position: relative;
    margin-left: 2%;
    margin-top: auto;        /*navbar items CSS here*/
    margin-bottom: auto;
    font-size: 20px;
    font-weight: 600;
    cursor: pointer;
}

#navbar a{
    text-decoration: none;
    color: #ffffff;        /*navbar links CSS here*/
    padding: 1%;
    transition: 0.5s;
}

#navbar a:hover{
    color: #55CBCD;         /*navbar links hover CSS here*/
}

/* CSS to hide the scrollbar for webkit-based browsers */
body::-webkit-scrollbar {
    display: none;
}

#content{
    margin-top: calc(55/1252.89 * 100%);
}

.navbar-links {
    height: 100%;
    width: 40%;
    display: flex;
    justify-content: space-between;
    align-items: center;
  }

.navbar-links ul {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 0;
    padding: 0;
    width: 100%;
  }

.navbar-links li {
    list-style: none;
    width: 100%;
  }

.navbar-links li a {
    display: block;
    text-decoration: none;
    color: white;
    padding: 1rem;
    text-align: center;
}


.toggle-button {
    position: absolute;
    top: .75rem;
    right: 1rem;
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
}

.toggle-button .bar {
    height: 3px;
    width: 100%;
    background-color: white;
    border-radius: 10px;
}

#footer {
    background-color: #1d1d1d;
    color: #fff;
    padding: 20px 0;
    text-align: center;
  }

  #footer a{
    color: #fff;
    text-decoration: none;
  }
  
  #footer .logo {
    margin-bottom: 10px;
  }
  
  .social-icons a {
    display: inline-block;
    margin: 0 10px;
  }
  
  .social-icons img {
    width: 30px;
    height: 30px;
  }
  
  #footer {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  
  #footer h1,
  #footer p {
    margin: 10px;
  }
  
  .social-icons {
    display: flex;
    justify-content: center;
  }
  
#copyright{
    display:block;
    color: #ffffff;
    text-align: center;
    padding-bottom: 0.5vh;
}

@media (max-width: 800px) {
    #navbar {
        flex-direction: column;
        align-items: flex-start;
    }

    .toggle-button {
        display: flex;
    }

    .navbar-links {
        display: none;
        width: 100%;
        justify-self: right ;
    }

    .navbar-links ul {
        width: 100%;
        flex-direction: column;
    }

    .navbar-links ul li {
        text-align: center;
    }

    .navbar-links ul li a {
        padding: .5rem 1rem;
    }

    .navbar-links.active {
        display: flex;
        align-items:flex-start ;
    }
}

/*CSS for Popup*/

#popup{
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    backdrop-filter: blur(5px);
    background-color: rgba(0, 0, 0, 0.5);
    display: none;
    z-index: 1000;
    padding: 0px;
    transition: 0.5s;
}

#popup2{
    width: 70%;
    height: auto;
    backdrop-filter: blur(5px);
    display: block;
    border-radius: 50px;
    padding: 0px;
    margin-left: 15%;
    margin-top: 3.5%;
}

#popup.active{
    display: block;
}

#popupVideo{
    margin-top: 0px;
    width: 100%;
    height: 100%;
    z-index: 1;
    border-radius: 50px;
}

#popup-bg{
    position:relative;
    width: 100%;
}

#popup-content {
    color: white;
    display: flex;
    flex-direction: column;
    position: absolute; 
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 10;
}

#showcase{
    display: flex;
    width: 100%;
    height: 100%;
}

#search{
    width: 100%;
    color: #ffffff;
    text-align: center;
    background-image: linear-gradient(to right, rgba(0,0,0,1),rgba(0,0,0,0.9),rgba(0,0,0,0));
    border-radius: 50px;
}

.search-text{
    width: 50%;
    padding-top: 12%;
    padding-left: 2%;
    height: 100%;
}

#popup-close{
    position: absolute;
    top: 4vh;
    right: 4vh;
    color: #ffffff;
    font-size: 30px;
    cursor: pointer;
    transition: 0.5s;
}

#popup-close:hover{
    color: #55CBCD;
}

#search-heading{
    font-weight: 600;
}

#search-heading h1{
    font-family: 'Plutur';
    padding: 0;
    font-size: 70px;
    margin: 0;
}

#search-heading p{
    font-size: 30px;
    font-weight: 300;
    margin: 0;
    padding-bottom: 3%;
}

#search-info{
    display: flex;
    margin: 0;
    padding-top: 2%;
    font-size: 10px;
    font-weight: 600;
}

#search-info table{
    width: 100%;
    text-align: left;
}

#search-info p{
    margin: 0;
    padding: 0;
    padding-right: 5%;
    padding-left: 5%;
    padding-top: 7%;
    font-size: 17px;
    font-weight: 300;
}

#search-info input, select{
    width: 90%;
    height: 30px;
    border-radius: 10px;
    border: 1px solid #ffffff;
    outline: none;
    padding-left: 10px;
    font-size: 15px;
    font-weight: 300;
    background-color: rgba(0, 0, 0, 0);
    color: grey;
}

#search-info select{
    width: 95%;
    height: 32px
}

#search-info input:focus, select:focus{
    border: 1px solid #55CBCD;
    color: white;
}

#search-info select option{
    background-color: #000000;
}

#search-button{
    width: 30%;
    height: 40px;
    border-radius: 10px;
    border: 1px solid #ffffff;
    outline: none;
    font-size: 18px;
    font-weight: 100;
    background-color: rgba(0, 0, 0, 0);
    color: #ffffff;
    margin-top: 5%;
    cursor: pointer;
    transition: 0.5s;
    text-align: center;
}

#search-button:hover{
    background-color: #ffffff;
    color: #000000;
}


/*loading popup*/
#loading-popup{
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    backdrop-filter: blur(5px);
    background-color: rgba(0, 0, 0, 0.5);
    display: none;
    z-index: 1500;
    padding: 0px;
    transition: 0.5s;
}

#loading-popup-content{
    color: #ffffff;
    background-color: #000000;
    width: 20vw;
    height: 15vh;
    border-radius: 30px;
    margin-left: 40vw;
    margin-top: 42.5vh;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
}

#loading-loop{
    height: 20vh;
    width: 20vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

#changingText{
    font-size: 15px;
    font-weight: 300;
    margin: 0;
    padding: 0;
    padding-top: 5%;
    padding-bottom: 5%;
    margin-right: 1vw;
    width: 90%;
}

/*thank you popup*/
#thank-popup{
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    backdrop-filter: blur(5px);
    background-color: rgba(0, 0, 0, 0.5);
    display: none;
    z-index: 1500;
    padding: 0px;
    transition: 0.5s;
}

#thank-popup-content{
    color: #000000;
    background-color: #ffffff;
    width: 20vw;
    height: 22vh;
    border-radius: 30px;
    margin-left: 40vw;
    margin-top: 42.5vh;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
}

#thank-popup-content p{
    font-size: 20px;
    font-weight: 500;
    margin: 0;
    padding: 0;
    padding-top: 5%;
    padding-bottom: 5%;
    margin-right: 2vw;
    width: 60%;
    text-align: center;
}

#thank-loop{
    height: 20vh;
    width: 20vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

#changingText2{
    font-size: 20px;
    font-weight: 500;
    margin: 0;
    padding: 0;
    padding-top: 5%;
    padding-bottom: 5%;
    margin-right: 2vw;
    width: 60%;
    text-align: center;
}


/* responsive for portrait */

@media screen and (max-width: 768px) {
    body{
        overflow-x: hidden;
    }
    #navbar{
        height: 5%;
        min-height: 10px;
    }
    
    .logo{
        font-size: 25px;        
        padding: 1%;          /*logo CSS here*/
        width: 55%;
    }
    
    #popup2{
        width: 100%;
        height: 100%;
        border-radius: 0px;
        margin-left: 0;
        margin-top: 0;
    }

    #popupVideo{
        margin-top: 100px;
        width: auto;
        height: 50%;
        border-radius: 0px;
    }

    #search{
        width: 100%;
        background-image: linear-gradient(rgba(0,0,0,1),rgba(0,0,0,0));
        border-radius: 0px;
    }

    .search-text{
        width: 100%;
        padding-top: 20%;
        padding-left: 2%;
        height: 100%;
    }

    #search-heading h1{
        font-size: 30px;
    }

    #footer{
        font-size: 12px;
        padding-right: 10px;
        padding-left: 10px;
    }

      #footer a{
        color: #fff;
        text-decoration: none;
      }
  
      .social-icons a {
        display: inline-block;
        margin: 0 10px;
      }
      
      .social-icons img {
        width: 20px;
        height: 20px;
      }

    #copyright{
        display:block;
        color: #ffffff;
        text-align: center;
        padding-bottom: 0.5vh;
        font-size: 10px;
    }
    
    #loading-popup-content{
        width: 90%;
        margin-left: 5%;
    }

    #thank-popup-content{
        width: 90%;
        margin-left: 5%;
    }

}

a{
    transition: all 0.5s ease-in-out;
}