
:root{
    --gold: #E0C843;
    --white: #dfdfdf;
    --black: #141414;
    --green: rgb(42, 153, 15);

    --bg: linear-gradient(rgba(24, 119, 0, 0.936), rgba(32, 159, 0, 0.936));

    --small-padding-size: 1rem;
}

@media (min-width: 576px) {
    :root{
        --small-padding-size: 1.5rem;
    }
}
@media (min-width: 768px) {
    :root{
        --small-padding-size: 1.5rem 3vw;
    }
}
@media (min-width: 992px) {
    :root{
        --small-padding-size: 2rem 3vw;
    }
}
@font-face {
    font-family: 'Space Mono Bold';
    src: url('/assets/fonts/SpaceMono-Bold.ttf') format('truetype');
    font-weight: bold;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Space Mono Regular';
    src: url('/assets/fonts/SpaceMono-Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Roboto Mono Light';
    src: url('/assets/fonts/RobotoMono-Light.ttf') format('truetype');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Roboto Mono Medium';
    src: url('/assets/fonts/RobotoMono-Medium.ttf') format('truetype');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

*{
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

body {
    background-image: var(--white);
    background-size: cover;
    background-repeat: no-repeat;
    min-height: 100dvh;
    overflow-x: hidden;
    scroll-behavior: smooth;
}

h1{
    font-family: "Space Mono Bold", sans-serif;
    color: var(--black);
    font-weight: normal;
    text-align: center;
    line-height: 1.5;
    font-size: 2rem;
    margin:1.5rem 0;
    position: relative;
}
h2{
    font-family: "Space Mono Bold", sans-serif;
    font-size: 1.5rem;
    text-transform: uppercase;
    color: var(--green);
}

p{
    font-family: "Roboto Mono Light", sans-serif;
    color: var(--black);
}
a{
    text-decoration: none;
    color: var(--white);
    transition: color .5s;
}
a:hover,
a:active,
a:focus{
    color: var(--gold);
}
.cta-btn{
    padding: .6rem 2rem;
    background-color: var(--gold);
    color: var(--black);
    border-radius: 5px;
    display: block;
    border: 2px solid var(--black);
    font-family: "Roboto Mono Light", sans-serif;
    width: fit-content;
}

/* Navigation */
.nav{
    padding: var(--small-padding-size);
    display: flex;
    align-items: center;
    z-index: 3;
    background-color: var(--green);
}
.logo{
    text-align: center;
    width: fit-content;
    margin-right: auto;
    font-family: "Space Mono Bold", sans-serif;
    font-size: 1.5rem;
    color: var(--white);

}
.hero-logo{
    margin-bottom: 1rem;
    position: relative;
}
.hero-logo::after{
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 20%;
    height: 2px;
    background-color: var(--white);
}
.hamburger-menu{
    position: relative;
    width: 40px;
    height: 30px;
}
.hamburger-menu-line{
    position: absolute;
    top: 0;
    width: 100%;
    background-color: var(--white);
    height: 3px;
    transform: translateY(-50%);
    transition: top .5s;
}
.hamburger-menu-line:nth-of-type(2){
    top: 50%;
}
.hamburger-menu-line:nth-of-type(3){
    top: 100%;
}
.nav.active .hamburger-menu-line:nth-of-type(1){
    top: calc(50% - 3px);
}
.nav.active .hamburger-menu-line:nth-of-type(3){
    top: calc(50% + 3px);
}
.nav-links{
    display: flex;
    flex-direction: column;
    gap: 2rem;
    position: absolute;
    transform: translate(-50%, -50%);
    top: 55%;
    left: -100%;
    width: 200%;
    text-align: center;
    transition: left .5s;
    padding: 2.5rem 0; 
    background-color: var(--green);
    z-index: 2;
    letter-spacing: 1px;
}
.nav-link{
    font-size: 14px;
    font-family: "Roboto Mono Light", sans-serif;
}
.nav-link a{
    transition: color .35s;
    position: relative;
    overflow: hidden;
    padding: .5rem;
    color: var(--white);

}
.nav-link a:hover,
.nav-link a:focus,
.nav-link a:active{
    color: var(--gold);
}
.nav.active .nav-links{
    left: 50%;
}
@media (min-width: 576px) {
    .logo-img{
        width: 145px;
        height: auto;
    }
    .logo-description{
        font-size: 18px;
        margin-top: .6rem;
    }
    .hamburger-menu{
        width: 50px;
        height: 35px;
    }
}
@media (min-width: 768px) {
    .nav{
        flex-direction: row;
    }
    .logo-img{
        width: 165px;
    }
    .logo-description{
        font-size: 19px;
        margin-top: .6rem;
    }
    .hamburger-menu{
        display: none;
    }
    .nav-links{
        position: relative;
        flex-direction: row;
        width: fit-content;
        left: initial;
        top: initial;
        transform: none;
        background-color: transparent;
        padding: 0;
        gap: 3.5vw;
    }
    .nav.active .nav-links{
        left: initial;
    }
}

@media (min-width: 992px) {
    .logo-img{
        width: 160px;
    }
    .logo-description{
        font-size: 20px;
        margin-top: .65rem;
    }
}
/* Hero section */
.hero-section{
    background-color: var(--green);
    padding: 1rem 0rem 0 0rem;
    background: linear-gradient(rgba(255, 255, 255, 0.629), rgba(255, 255, 255, 0.612)), url('./assets/imgs/bg.png');
    background-color: var(--white);
    background-size: cover;
    background-position: bottom;
}
.hero-section-container{
      display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    padding: 4rem 1rem 4rem 1rem;
}
.hero-section .cta-btn{
    margin-bottom: 3rem;
}

.cta-btn{
    transition: background-color .5s, color .5s, border-color .5s;
    letter-spacing: .75px;
}

.cta-btn:hover,
.cta-btn:active,
.cta-btn:focus-within{
    background-color: transparent;
    color: var(--black);
    border-color: var(--black);
}
.cta-btn.alt:hover,
.cta-btn.alt:active,
.cta-btn.alt:focus-within{
    background-color: transparent;
    color: var(--black);
    border-color: var(--black);
}

/* About section */
.about-section{
    padding: 2rem 1rem;
    font-family: "Roboto Mono Light", sans-serif;
}
.about-section h2{
    margin-bottom: 1rem;
    margin-top: 2rem;
}
.about-section ul{
    margin-bottom: 1rem;
}
.about-section ul li{
    margin-left: 2rem;
    margin-top: .5rem;
}
.about-section p{
    margin-bottom: 1rem;
    line-height: 1.5;

}
.about-section li a{
    color: var(--black);
    border-bottom: 1px solid var(--black);
    transition: color .5s, border-bottom .5s;
}
.about-section li a:hover,
.about-section li a:active,
.about-section li a:focus{
    color: var(--gold);
    border-bottom: 1px solid var(--gold);
}
.about-section b{
    margin-bottom: 2rem;
}
.last-line{
    margin: 4rem 0 1.5rem 0;
    text-align: center;
    margin-inline: auto;
}
.about-section .cta-btn{
    margin-inline: auto;
    margin-bottom: 3rem;
}

@media (min-width: 786px) {
    .about-section p{
        width: 75%;
    }
}
/* Partners section */
.partners{
    text-align: center;
}
.partners-strip{
    background-color: rgba(38, 118, 18, 0.612);
    height: 200px;
     display: flex;
    align-items: center;
    justify-content: space-around;
    margin-top: 1rem;
}
.partner-container{
    width: 200px;
    height: 200px;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Footer */
footer{
    background-color: var(--green);
    color: var(--white);
}
.footer-strip{
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.5rem;
}
.footer-column p{
    margin-bottom: 1rem;
    color: var(--white);
}
.signature{
    background-color: var(--white);
    text-align: center;
    color: var(--black);
    font-size: .8rem;
    padding: .5rem 0;
}