@import url('https://fonts.googleapis.com/css2?family=Geologica:wght@100;200;300;400;500;600;700;800;900&display=swap');

*{
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

body{
    font-family: 'Geologica', Lato, Arial, Helvetica, sans-serif;
    font-weight: 200;
    font-size: 20px;
    color: white;   
    background-color: #0C203A;
}

a{
    color: #9EAAEC;
}


/*-- Classes -------------------------*/

.animate{ transition: 0.5s ease; }
.animated{ transition: 0.5s ease; }



.prim-btn{
    color: white;
    border: 3px solid #1b4780;
    background-color: #ffffff10;
    border-radius: 2000px;
    text-decoration: none;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    padding: 2px;
    transition: 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.prim-btn:hover{
    transform: scale(1.05);
    box-shadow: 3px -3px 20px #2d73cf40;
}

.prim-btn span{
    padding-left: 20px;
}

.prim-btn i{
    width: 50px;
    aspect-ratio: 1/1;
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    background: linear-gradient(45deg, #1b4780,#2d73cf);
    border-radius: 200px;
}






.sec-btn{
    display: inline-block;
    border: 2px solid white;
    color: white;
    padding: 10px 30px;
    text-decoration: none;
    border-radius: 2000px;
    text-align: center;
    transition: 0.3s ease;
}

.sec-btn:hover{
    transform: translateY(-5px);
    background-color: white;
    color: #2d73cf;
}








.section-title{
    font-size: 17px;
    padding: 1px 9px 1px 1px;
    border: 1px solid #9EAAEC;
    border-radius: 200px;
    display: inline-flex;
    justify-content: flex-start;
    align-items: center;
    gap: 5px;
}

.section-title i{
    width: 30px;
    color: #0C203A;
    aspect-ratio: 1/1;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #9EAAEC;
    border-radius: 200px;
    font-size: 17px;
}








/*-- Header ------------------------------*/

#header{
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 clamp(20px, 5%, 5%);
    width: 100%;
    height: 120px;
    position: fixed;
    top: 0;
    z-index: 100000;
    transition: 0.3s ease;
}

#header-logo{
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 20px;
    text-decoration: none;
    color: white;   
}

#header-logo img{
    max-width: 60px;
    height: 100%;
    width: 100%;
    aspect-ratio: 1/1;
    object-fit: contain;
}

#header-logo h1{
    font-size: 30px;
    white-space: nowrap;
    display: non;
}

#header-menu{
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 20px;
}

.header-menu-item{
    color: white;
    text-decoration: none;
    font-weight: 200;
    position: relative;
    display: block;
}

.header-menu-item::before{
    content: "";
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0%;
    height: 2px;
    background-color: white;
    transition: 0.3s ease;
}

.header-menu-item:hover::before{
    width: 100%;
}

#header-menu > i{
    display: none;
    cursor: pointer;
    font-size: 30px;
}

#header.isSticky{
    background-color: #0b1d36;
    box-shadow: 0 0 50px #00000040;
}









/*-- Menu -------------------------*/

#menu{
    position: fixed;
    padding: 30px;
    top: 0;
    right: -350px;
    z-index: 10000000000;
    background-color: white;
    height: 100vh;
    width: 80%;
    max-width: 300px;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    flex-flow: column;
    gap: 2px;
    overflow-y: auto;
    transition: 1s cubic-bezier(0.165, 0.84, 0.44, 1);
}

#menu i{
    font-size: 30px;
    align-self: flex-end;
    color: #6b1986;
}

#menu a{
    text-decoration: none;
    padding: 20px 0;
    color: #6b1986;
}








/*-- Main ------------------------------*/

#main{
    position: relative;
    padding: 150px clamp(20px, 10%, 10%);
    display: flex;
    justify-content: center;
    align-items: center;
    flex-flow: column;
    gap: 20px;
    text-align: center;
    background-color: #0b1d36;
}

#main h1{
    font-size: 70px;
}

#main p{
    max-width: 800px;
    color: #ffffff80;
}













/*-- Banner ------------------------------*/

#banner{
    position: relative;
    padding: 100px clamp(20px, 10%, 10%);
    display: flex;
    justify-content: center;
    align-items: center;
    flex-flow: column;
    gap: 20px;
    text-align: center;
}

#banner h2{
    font-size: 60px;
    max-width: 1200px;
}

#banner p{
    color: #ffffff80;
    max-width: 800px;
}

#banner-sparkles{
    width: 80%;
    height: 100%;
    position: absolute;
    z-index: -100;
    display: flex;
    justify-content: space-around;
    align-items: flex-end;
}

#banner-sparkles span{
    position: relative;
    width: 10px;
    height: 10px;
    border-radius: 1000000px;
    background-color: #ffffff10;
    transform: translateY(30px);
}

#banner-sparkles span::after{
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    clip-path: polygon(0 0, 30% 50%, 0 100%, 50% 70%, 100% 100%, 70% 50%, 100% 0, 50% 30%);
    background-color: white;
}

@keyframes sparkle1{
    0%{
        transform: translateX(0px) translateY(30px);
        margin-bottom: 0;
        rotate: 0deg;
        opacity: 1;
        filter: blur(1px);
    }
    25%{
        transform: translateX(100px) translateY(30px);
    }
    75%{
        transform: translateX(-100px) translateY(30px);
    }
    99.8%{
        transform: translateX(0px) translateY(30px);
        margin-bottom: 500px;
        rotate: 79deg;
        opacity: 0;
        filter: blur(10px);
    }
    99.81%{
        transform: translateX(0px) translateY(30px);
        margin-bottom: 0;
        rotate: 0deg;
        opacity: 1;
        filter: blur(1px);
    }
    100%{
        transform: translateX(0px) translateY(30px);
        margin-bottom: 0;
        rotate: 0deg;
        opacity: 1;
        filter: blur(1px);
    }
}

@keyframes sparkle2{
    0%{
        transform: translateX(0px) translateY(30px);
        margin-bottom: 0;
        rotate: 0deg;
        opacity: 1;
        filter: blur(1px);
    }
    25%{
        transform: translateX(-100px) translateY(30px);
    }
    75%{
        transform: translateX(100px) translateY(30px);
    }
    99.8%{
        transform: translateX(0px) translateY(30px);
        margin-bottom: 500px;
        rotate: 79deg;
        opacity: 0;
        filter: blur(10px);
    }
    99.81%{
        transform: translateX(0px) translateY(30px);
        margin-bottom: 0;
        rotate: 0deg;
        opacity: 1;
        filter: blur(1px);
    }
    100%{
        transform: translateX(0px) translateY(30px);
        margin-bottom: 0;
        rotate: 0deg;
        opacity: 1;
        filter: blur(1px);
    }
}









/*-- Footer -------------------------*/

footer{
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 50px;
    padding: 50px clamp(30px, 10%, 10%);
    background-color: #040c17;
    z-index: 1000;
}

#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 #ffffff;
    border-radius: 200px;
    color: #ffffff;
    transition: 0.5s ease;
}

#footer-left-links a:hover{
    background-color: #ffffff;
    color: #1b4780;
}

#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: 1060px) {
    #header-logo h1{
        display: none;
    }
    footer{
        flex-flow: column;
        justify-content: flex-start;
        align-items: flex-start;
    }
}
@media screen and (max-width: 900px){
    body{
        font-size: 16px;
    }
    #main h1{
        font-size: 40px;
    }
}
@media screen and (max-width: 800px) {
    #header-menu a{
        display: none;
    }
    #header-menu > i{
        display: inline;
    }
    
    #banner h2{
        font-size: 40px;
    }
}
@media screen and (max-width: 500px) {
    #footer-right{
        width: 100%;
        display: grid;
        grid-template-columns: repeat(1,1fr);
        gap: 30px;
    }
}











/*-- Scroll Animations ---------------*/

#main h1{
    transform: translateY(100px);
    opacity: 0;
    animation: mainAnim 0.5s ease forwards;
}

#main p{
    transform: translateY(100px);
    opacity: 0;
    animation: mainAnim 0.5s 0.1s ease forwards;
}

@keyframes mainAnim {
    0%{

    }
    100%{
        transform: translateY(0);
        opacity: 1;
    }
}





#banner .section-title.animate{
    transform: translateY(50px);
    opacity: 0;
}
#banner h2.animate{
    transform: translateY(50px);
    opacity: 0;
}
#banner p.animate{
    transform: translateY(50px);
    opacity: 0;
}
#banner a.animate{
    transform: translateY(50px);
    opacity: 0;
}