/*-- Fonts ---------------------------------*/

@import url('https://fonts.googleapis.com/css2?family=Geologica:wght@100;200;300;400;500;600;700;800;900&display=swap');

@font-face {
    font-family: 'Croogla 4F';
    src: url('../fonts/Croogla4F/Croogla4F.eot');
    src: local('Croogla 4F'), local('Croogla4F'),
        url('../fonts/Croogla4F/Croogla4F.eot?#iefix') format('embedded-opentype'),
        url('../fonts/Croogla4F/Croogla4F.woff2') format('woff2'),
        url('../fonts/Croogla4F/Croogla4F.woff') format('woff'),
        url('../fonts/Croogla4F/Croogla4F.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}




/*-- General ---------------------------------*/

*{
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

body{
    font-family: Geologica;
    font-weight: 200;
    font-size: 20px;
}

.animate{ transition: 0.5s ease; }
.animated{ transition: 0.5s ease; }



@media screen and (max-width: 1000px) {
    body{
        font-size: 16px;
    }
}










/*-- Global Elements ---------------------------------*/

#loader{
    z-index: 2147483647;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    overflow: hidden;
    box-shadow: 0 0 40px #00000040;
    transition: 1s ease;
}

#loader-container{
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: white;
    width: 100vw;
    height: 100vh;
}

#loader img{
    width: 30%;
    max-width: 120px;
}


.primary-btn{
    display: inline-flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    background-color: #227C57;
    color: #ffffff;
    text-decoration: none;
    width: 176px;
    height: 50px;
    padding: 0 10px;
    border-radius: 20000px;
    transition: 0.4s ease;
}

.primary-btn:hover{
    transform: translateY(-5px);
    background-color: #195e41;
}

.primary-btn i{
    height: calc(100% - 20px);
    aspect-ratio: 1/1;
    border-radius: 200px;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #ffffff;
    color: #227C57;
}

.primary-btn span{
    padding-left: 12px;
}









/*-- Global Sections ---------------------------------*/

/* Header */

#header{
    position: fixed;
    padding: 0 50px;
    top: 0;
    left: 0;
    width: 100%;
    height: 100px;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    z-index: 10000;
    gap: 30px;
    transition: 0.5s ease;
}

#header-logo{
    position: relative;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 20px;
}

#header-logo a{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;

}

#header-logo span{
    font-size: 35px;
    font-family: 'Croogla 4F';
    color: #227C57;
    font-weight: 500;
}

#header-logo img{
    height: 50px;
}

#header-menu{
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 15px;
}

.header-menu-item{
    position: relative;
    text-decoration: none;
    font-size: 20px;
    color: #227c57;
    background: linear-gradient(90deg, #227c57 0%, #227c57 50%, #000000 50%, #000000 100%);
    background-size: 200%;
    background-position: 100% 100%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    transition: 0.35s ease;
}

.header-menu-item:hover{
    background-position: 0% 0%;
}

.header-menu-item::after{
    content: "";
    position: absolute;
    bottom: -4px;
    left: 0;
    height: 2px;
    width: 0%;
    background-color: #227C57;
    transition: 0.35s ease;
}

.header-menu-item:hover::after{
    width: 100%;
}

#header.isSticky{
    background-color: #ffffff;
    box-shadow: 0 0 50px #00000060;
}

#header .primary-btn{
    margin-left: auto;
}

#menu-btn{
    display: none;
    margin-left: auto;
    font-size: 30px;
}

@media screen and (max-width: 1000px) {
    #header-menu *{
        display: none;
    }
    #header .primary-btn{
        display: none;
    }
    #menu-btn{
        display: block;
    }
    #header-logo span{
        display: none;
    }
}

@media screen and (max-width: 500px) {
    #header{
        padding: 0 20px;
    }
}



/* Banner */

#menu{
    position: fixed;
    top: 0;
    right: -350px;
    height: 100%;
    overflow-y: auto;
    background-color: #227C57;
    color: #ffffff;
    z-index: 100000;
    box-shadow: 0 0 50px #00000040;
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
    flex-flow: column;
    width: 80%;
    max-width: 300px;
    transition: 0.5s ease-in-out;
}

#menu > i{
    font-size: 25px;
    margin-left: auto;
    cursor: pointer;
    padding: 20px;
}

#menu a{
    color: white;
    text-decoration: none;
    width: 100%;
    padding: 10px 20px;
    transition: 0.2s ease;
}

#menu a:hover{
    background-color: #00000040;
}





/* Banner */

#banner{
    position: relative;
    padding: 100px clamp(40px, 8%, 8%);
    background-color: #227C57;
    color: #ffffff;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

#banner-text{
    display: flex;
    justify-content: center;
    align-items: flex-start;
    flex-flow: column;
    gap: 40px;
    max-width: 900px;
}

#banner-text hr{
    width: 100%;
    max-width: 100px;
    border: 5px solid #ffffff;
    border-radius: 100px 0 100px 0;
}

#banner-text h2{
    font-size: 65px;
}

#banner-text p{
    max-width: 800px;
}

#banner-text .primary-btn{
    display: none;
}

#banner-link{
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
    aspect-ratio: 1/1;
}

#banner-link a{
    color: #ffffff;
    font-size: 100px;
    padding: 60px;
    transition: 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

#banner-link a:hover{
    transform: translateX(20px);
}

#banner-text.animate{
    transform: translateX(-70px);
    opacity: 0;
}
#banner-link.animate{
    transform: translateX(70px);
    opacity: 0;
}

@media screen and (max-width: 600px) {
    #banner{
        flex-flow: column;
    }
    #banner-text .primary-btn{
        display: inline-flex;
        margin: 0 auto
    }
    #banner-link{
        display: none;
    }
}




/* Footer */

#footer{
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 50px;
    padding: 50px 10%;
    background-color: #061710;
    color: #ffffff;
}

#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 span{
    font-size: 40px;
    font-family: 'Croogla 4F';
}

#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 #ffffff80;
    border-radius: 200px;
    color: white;
    transition: 0.5s ease;
}

#footer-left-links a:hover{
    background-color: white;
    color: #050505;
}

#footer-left em{
    display: block;
    justify-self: flex-end;
    margin-top: auto;
    color: #ffffff80;
    font-style: normal;
}

#footer-right{
    width: 100%;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 30px;
}

.footer-right-list span{
    font-size: 30px;
    font-weight: 600;
}

.footer-right-list ul{
    list-style-type: none;
}

.footer-right-list a{
    color: #ffffff80;
    text-decoration: none;
    transition: 0.3s ease;
}

.footer-right-list a:hover{
    color: #ffffff;
}

@media screen and (max-width: 1000px) {
    #footer{
        flex-flow: column;
        justify-content: flex-start;
        align-items: flex-start;
    }
    #footer-left{
        align-items: flex-start;
    }
    #footer-right{
        justify-content: flex-start;
    }
}
@media screen and (max-width: 500px) {
    #footer-right{
        width: 100%;
        justify-content: flex-start;
    }
}






