/*-- Fonts -------------------------*/
@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');

/*-- General -------------------------*/

*{
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

body{
    font-family: "Montserrat", Roboto, Arial, Helvetica, sans-serif;
    font-size: 18px;
    color: #ffffff;
    background-color: #03111e;
}

a{
    color: white;
}

/*-- Classes -------------------------*/


.animate{ transition: 0.5s ease; }
.animated{ transition: 0.5s ease; }

.primary-btn{
    display: inline-block;
    cursor: pointer;
    padding: 10px 30px;
    color: white;
    border: 2px solid white;
    text-decoration: none;
    border-radius: 2000px;
    position: relative;
    overflow: hidden;
    z-index: 1;
    transition: 0.4s ease;
}

.primary-btn::before{
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background-color: white;
    z-index: -1;
    transition: 0.4s ease;
}

.primary-btn:hover{
    color: #0c3760;
    box-shadow: 0 0 30px #00000020;
}

.primary-btn:hover::before{
    width: 100%;
}

.primary-btn.dark{
    color: #0c3760;
    border: 2px solid #0c3760;
}

.primary-btn.dark::before{
    background-color: #0c3760;
}

.primary-btn.dark:hover{
    color: white;
}







/*-- Header -------------------------*/

#header{
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 120px;
    padding: 20px clamp(30px, 10%, 10%);
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 10000000;
    transition: 0.5s ease;
}

#header > a{
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 12px;
    font-size: 30px;
    font-weight: 900;
    text-decoration: none;
    color: white;
    transition: 0.5s ease;
}

#header > a img:nth-child(1){
    width: 100%;
    max-width: 50px;
    max-height: 50px;
    transition: 0.5s ease;
}
#header > a img:nth-child(2){
    width: 100%;
    max-width: 150px;
    filter: brightness(100);
    transition: 0.3s ease;
}

#header-links{
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
}

#header-links a{
    display: block;
    text-decoration: none;
    color: #ffffff;
    transition: 0.4s ease;
}
#header-links a:hover{
    color: #ffffffaa;
}

.header-links-dd{
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px 0;
}

.header-links-dd:hover > a {
    color: #ffffff !important;
}
.header-links-dd:hover .header-links-dd-list{
    opacity: 1;
    transform: scale(1);
}
.header-links-dd:hover i{
    transform: rotate(180deg);
}

.header-links-dd i{
    font-size: 15px;
    margin-left: 12px;
    transition: 0.4s ease;
}

.header-links-dd-list{
    opacity: 0;
    position: absolute;
    top: 50px;
    left: -20px;
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
    flex-flow: column;
    gap: 15px;
    background-color: #00000040;
    padding: 20px 15px;
    border-radius: 10px;
    width: max-content;
    box-shadow: 0 0 40px #00000040;
    border: 1px solid #ffffff20;
    backdrop-filter: blur(10px);
    transform: scale(0.8);
    transform-origin: top left;
    transition: 0.5s ease;
}

.header-links-dd-list a{
    color: #ffffff80;
    transition: 0.5s ease;
}
.header-links-dd-list a:hover{
    color: #ffffff;
}

#header-menu{
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 20px;
}

.header-menu-item{
    color: white;
    text-decoration: none;
    position: relative;
    transition: 0.3s ease;
}

.header-menu-item::before{
    content: "";
    position: absolute;
    bottom: -8px;
    left: 0;
    background-color: white;
    height: 2px;
    width: 0;
    transition: 0.3s ease;
}

.header-menu-item:hover::before{
    width: 100%;
}

.header-menu-dropdown{
    position: relative;
    display: inline-block;
    color: white;
    text-decoration: none;
    transition: 0.3s ease;
    cursor: pointer;
}

.header-menu-dropdown-list{
    position: absolute;
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
    flex-flow: column;
    gap: 20px;
    background-color: #f5f5f5;
    box-shadow: -5px -5px 30px #00000040;
    border-radius: 2px;
    padding: 0 20px;
    width: 200px;
    opacity: 0.2;
    max-height: 0;
    overflow: hidden;
    transition: 0.5s ease;
}

.header-menu-dropdown-list.open{
    opacity: 1;
    max-height: 200px;
}

.header-menu-dropdown-list a{
    color: #0c3760;
    text-decoration: none;
    transition: 0.3s ease;
}

.header-menu-dropdown-list a:nth-child(1){
    margin-top: 20px;
}
.header-menu-dropdown-list a:nth-last-child(1){
    margin-bottom: 20px;
}
.header-menu-dropdown-list a:hover{
    opacity: 0.8;
}


#header-menu > i{
    font-size: 30px;
    color: white;
    display: none;
    cursor: pointer;
    transition: 0.3s ease;
}

#header.isSticky{
    background-color: #0c3760;
    box-shadow: 0 0 40px #00000020;
}









.header-menu-item{
    display: none;
}








/*-- Menu -------------------------*/

#menu{
    position: fixed;
    top: 0;
    right: -400px;
    z-index: 10000000000;
    background-color: #0c3760;
    height: 100vh;
    width: 80%;
    max-width: 400px;
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
    flex-flow: column;
    gap: 10px;
    overflow-y: auto;
    transition: 1s cubic-bezier(0.165, 0.84, 0.44, 1);
}

#menu i{
    font-size: 30px;
    align-self: flex-end;
    color: #ffffff;
    padding: 30px;
}

#menu > a{
    text-decoration: none;
    padding: 20px 20px;
    background-color: #00000020;
    width: 100%;
    color: #ffffff;
}

.menu-list{
    text-decoration: none;
    background-color: #00000020;
    width: 100%;
    color: #ffffff;
    display: grid;
    grid-template-columns: 1fr;
}

.menu-list > a{
    text-decoration: none;
    color: #ffffff;
    padding: 20px 20px;
}

.menu-list-links{
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
    flex-flow: column;
    gap: 2px;
}

.menu-list-links > a{
    text-decoration: none;
    padding: 20px 20px;
    width: 100%;
    text-decoration: none;
    font-size: 14px;
    color: white;
    background-color: #00000020;
}

.menu-list-links > a::before{
    content: "• ";
}

#menu a:hover{
    opacity: 0.8;
}






/*-- loading -------------------------*/

#loading{
    z-index: 2147483647;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    overflow: hidden;
    box-shadow: 0 0 40px #00000040;
    transition: 1s ease;
}

#loading-container{
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: white;
    width: 100vw;
    height: 100vh;
}

#loading iframe{
    width: 100%;
    height: 100%;
}











/*-- Contact -------------------------*/

#contact{
    padding: 100px clamp(20px, 10%, 10%);
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-flow: column;
    gap: 20px;
    background: #0c3760;
    color: white;
    text-align: center;
}

#contact h2{
    font-size: 80px;
    font-weight: 800;
}

#contact p{
    font-size: 30px;
    font-weight: 300;
    max-width: 800px;
    margin-bottom: 30px;
}









/*-- Footer -------------------------*/

footer{
    display: flex;
    justify-content: center;
    align-items: center;
    flex-flow: column;
    gap: 50px;
    text-align: center;
    padding: 50px clamp(30px, 10%, 10%);
}

footer img{
    max-width: 400px;
    width: 100%;
}

/*
footer{
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 50px;
    padding: 50px clamp(30px, 10%, 10%);
}

#footer-left{
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
    flex-flow: column;
    gap: 30px;
    max-width: 500px;
    width: 100%;
}

#footer-left-logo{
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
    flex-flow: column;
    gap: 5px;
}

#footer-left-logo img{
    max-height: 80px;
}

#footer-left-logo span{
    font-size: 40px;
    font-weight: 1000;
}

#footer-left-links{
    display: flex;
    justify-content: flex-start;
    align-items: flex-end;
    gap: 10px;
}

#footer-left-links a{
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 30px;
    width: 60px;
    aspect-ratio: 1/1;
    text-decoration: none;
    border: 1px solid #0c3760;
    border-radius: 200px;
    color: #0c3760;
    transition: 0.5s ease;
}

#footer-left-links a:hover{
    background-color: #0c3760;
    color: white;
}

#footer-left em{
    display: block;
    justify-self: flex-end;
    margin-top: auto;
    font-style: normal;
}

#footer-right{
    width: 100%;
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 30px;
}

.footer-right-list span{
    font-size: 30px;
    font-weight: 800;
}

.footer-right-list ul{
    list-style-type: none;
}

.footer-right-list a{
    text-decoration: none;
    opacity: 0.8;
    transition: 0.3s ease;
}

.footer-right-list a:hover{
    opacity: 1;
}
*/











/*-- Responsive Design -----------------------*/

@media screen and (max-width: 1360px) {
    #header-links{
        display: none;
    }
    #header-menu > i{
        display: inline;
    }
}
@media screen and (max-width: 1060px) {
    #header > a img:nth-child(2){
        display: none;
    }
    /* footer{
        flex-flow: column;
        justify-content: flex-start;
        align-items: flex-start;
    } */
}
@media screen and (max-width: 800px) {
    .header-menu-item{
        display: none;
    }
    .header-menu-dropdown{
        display: none;
    }
    .header-menu-dropdown-list{
        display: none;
    }
    #header-menu .primary-btn{
        display: none;
    }
}
@media screen and (max-width: 700px){
    body{
        font-size: 16px;
    }

    #contact h2{
        font-size: 40px;
    }
    #contact p{
        font-size: 20px;
    }
}
@media screen and (max-width: 500px) {
    #footer-right{
        width: 100%;
        display: grid;
        grid-template-columns: repeat(1,1fr);
        gap: 30px;
    }
}






/*-- Animations -------------------------*/

#contact h2.animate{
    transform: translateY(100px);
    opacity: 0;
}
#contact p.animate{
    transform: translateY(100px);
    opacity: 0;
}
#contact a.animate{
    transform: translateY(100px);
    opacity: 0;
}



