/*=============== THEME IMPORT ===============*/
@import url(../../themes/web-theme.css);
@import url(../../themes/z-index.css);

@font-face {
    font-family: 'MyCustomFont';
    src: url('../../fonts/as.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}  

.background{
    background-color: #000000;
    right: 0;
    top: 0;
    width: 100vw;
    height: 100vh;
    position: fixed;
    z-index: 100;
    display: none;

}


/*=============== HEADER ===============*/
.header{
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    /* box-shadow: 0px 0.0px 16.0px hsla(0, 0%, 0%, 0.082); */
    z-index: var(--z-fixed);
}

.header .mobile_header{
    display: flex;
    padding: 0 20px;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    background-color: transparent;
    height: var(--header-height);  
}

.header .mobile_header.scrolled {
    animation: fadeBackground .3s ease-in forwards;
}

.mobile_header div{
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: .5rem;
}

.mobile_header i{
    font-size: 20px;
    color: var(---colorOnSecondary);
}

.mobile_header a{
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1.5px solid var(---colorOnSecondary);
    font-size: 14px;
    max-height: 38px;
    padding: 10px 20px;
    border-radius: 40px;
    color: var(---colorOnSecondary);
}

.mobile_header span{
    font-size: 16px;
    color: var(---textColor);
}

.mobile_header img{
    width: 80px;
    height: 50px;
    object-fit: contain;
}

/* Nav menu */
.nav-menu {
  position: fixed;
  left: 0;
  top: 0;
  height: 100vh;
  width: 100%;
  background: rgb(255, 255, 255);
  display: flex;
  align-items: center;
  opacity: 0;
  pointer-events: none;
  transition: top 0.5s ease, opacity 0.5s ease;
}

.nav-menu.active {
  top: 0;      /* slide down */
  opacity: 1;  /* fade in */
  pointer-events: auto;
}

/* Nav list & items */
.nav-menu ul {
    width: 100%;
  list-style: none;
  text-align: center;
}

#menu_close{
    position: absolute;
    top: 20px;
    right: 20px;
    color: #000000;
    font-size: 24px;
}

.nav-menu ul li {
  font-size: 2rem;
  margin: 1rem 0;
  opacity: 0;
  transform: translateY(-30px);
  animation: fadeSlideIn 0.5s forwards;
  animation-delay: var(--delay);
}

span.bold{
    color: var(---colorOnSecondary);
    font-weight: 900;
}
  
.header__container {
    height: var(--header-height);
    display: none;
    padding: 0 20px 20px;
    text-align: center;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    position: relative;
    background-color: transparent;
}

.header__container.scrolled {
    animation: fadeBackground .3s ease-in forwards;
}

.blur_effect.scrolled{
    animation: fadeGradient .3s ease-in forwards;
}

.header__container .toggle{
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 1rem;
}

.toggle a{
    color: var(---textColor);
    font-size: 15px;
}

.toggle a:hover{
    color: var(---colorOnSecondary);
}

.toggle a:nth-child(2){
    background-color: var(---colorOnSecondary);
    color: var(---colorOnPrimary);
    padding: 0 2rem;
    height: 36px;
    border-radius: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.header__container .floating_bar{
    animation: showNavigation 1s backwards;
    position: absolute;
    right: 4rem;
    top: 50%;
    bottom: 1.5rem;
    transform: translate(-50%, -50%);
}

.header__container .navigation{
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 1.6rem;
    height: 40px;
    position: absolute;
    animation: showNavigation 1s backwards;
    display: flex;
    padding: 0 24px;
    border-radius: 10px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.floating_bar.hide{
    animation: hideNavigation 1s forwards;
}

.navigation.hide{
    animation: hideNavigation 1s forwards;
}


.navigation .navigation_item{
    color: var(---textColor);
    font-size: 15px;
    cursor: pointer;
    position: relative;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.nav_expand{
    display: flex;
    flex-direction: row;
    align-items: center;
}

.nav_expand i{
    font-size: 16px;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    margin-left: .2rem;
    color: var(---textColor);
}

.drop_menu{
    position: absolute;
    display: none;
    backdrop-filter: blur(40px);
    flex-direction: column;
    border: none;
    background-color: var(---colorOnBackground);
    padding: 2rem 1.6rem;
    top: calc(var(--header-height) - 2rem);
    border-radius: 10px;
    align-items: flex-start;
    gap: 1.5rem;

}

.drop_item:hover{
    color: var(---colorOnSecondary);
}

.drop_item.active{
    color: var(---colorPrimary);
    font-weight: bold;
}

.drop_menu.show{
    display: flex;

}

.drop_item{
    color: var(---textColor);
    cursor: pointer;
    font-size: 16px;
}

.header__container .mid-section{
    display: none;

}
  
.header__toggle {
    font-size: 1.5rem;
    color: var(---colorOnSecondary);
    display: flex;
    flex-direction: row;
    cursor: pointer;
    max-height: var(--header-height);
}

.header__end i{
    font-size: 20px;
    color: var(---colorOnSecondary);
}

#theme{
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: var(---colorOnSecondary);
    cursor: pointer;
}

#toggleId{
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: var(---colorOnSecondary);
    cursor: pointer;
}


.header__container .home{
    display: flex;
    align-items: center;
    margin-left: 20px;
    gap: .5rem;
    flex-direction: row;
}

.header__container .brading{
    background-color: red;

}

.brand img{
    width: 80px;
    height: 60px;
    object-fit: contain;
}

.header__end .nav{
    margin-left: 60px;
    gap: 2rem;
    display: none;
    flex-direction: row;
    align-items: center;
    min-width: 200px;
    height: 40px;
}

.logo{
    width: 40px;
    height: 40px;
    object-fit: contain;
}

.header__container div .pg-title{
    justify-content: center;
    display: inline-block;
    font-weight: bold;
    color: var(---colorOnSecondary);
    align-items: center;
    font-size: 16px;
}

.pg-title span{
    font-weight: normal;
    color: var(---textColor);

}

.header__container .header__end{
    margin-right: 20px;
    gap: 2rem;
    display: flex;
    flex-direction: row;
    align-items: center;
}

.header__end .end{
    gap: 2rem;
    display: flex;
    flex-direction: row;
    align-items: center;
}

  
.header__end .navigation .nav{
    display: none;
}

.nav .navigation_item{
    color: var(---textColor);
    font-size: 16px;
    cursor: pointer;
}

.navigation_item.active{
    color: var(---colorOnSecondary);
    font-size: 16px;
    font-weight: bold;
}

.navigation_item:hover{
    animation: hover_link .5s ease-out ;
}

.container{
    width: 100vw;
    display: flex;
    flex-direction: column;
    padding-top: 1.5rem;
    margin-top: var(--header-height);
    position: relative;
}

@keyframes hover_link {
    50%{
        color: rgb(211, 211, 211);
    }

    100%{
        color: var(---textColor);
    }
}
  
.header__end button{
    border-radius: 30px;
    height: 30px;
    padding: 0 20px;
    background-color: #000000;
    color: white;
    cursor: pointer;
    box-sizing: content-box;
}

button:hover{
    border: 1px solid var(---colorOnSecondary);

}
.content{
    padding-left: 20px;
    padding-right: 20px;
}

@media screen and (min-width:1024px) {

    .header{
        background-color: transparent;
    }

    .header .mobile_header{
        display: none;
    }

    .header__container {
        height: var(--header-height);
        display: flex;
        padding: 0 2rem;
    }

    .header__container .navigation .nav{
        display: flex;
    }

    .header__container .header__end{
        margin-right: 5rem;

    }

    .header__container .home{
        margin-left: 5rem;
    }

    .header__end button{
        background-color: transparent;
        color: black;
    }

    .header__end #toggleId{
        display: none;
    }
   

    .header__end .nav{
        display: flex;
    }

    #nav-logo{
        width: 100px;
        height: 60px;
        object-fit: contain;
    }

    .brand{
        padding: 10px 20px;
        border-radius: 10px;
    }

    .brand span{
        font-size: 16px;
        color: var(---textColor);
        font-weight: normal;
    }

    span.bold{
        font-weight: bold;
        color: var(---colorOnSecondary);
    }
    

}
.search{
    display: none;
}

@media screen and (min-width:1200px) {

    .header__container {
        height: var(--header-height);
        display: flex;
        padding: 0 6rem;
    }

    .search{
        display: flex;
        flex-direction: row;
        align-items: center;
    }

    .header__container .header__end{
        margin-right: 10rem;

    }

    .header__container .home{
        margin-left: 10rem;
    }

    .brand img{
        width: 90px;
        height: 60px;
        object-fit: contain;
    }

}



@keyframes showNavigation {

    0%{
        top: 0px;
    }
    100%{
        top: 50%;
    }
    
}

@keyframes hideNavigation {
    100%{
        top: -60px;
    }

}

/* Keyframes for fade + slide from top */
@keyframes fadeSlideIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeBackground {
  to {
    background-color: var(---colorOnPrimary);
  }
}

@keyframes fadeGradient {
  to {
    opacity: 0;
  }
}

.layout{
    display: flex;
    flex-direction: column;
    width: 100vw;
    padding-top: var(--header-height);

}