* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
    font-family: Montserrat Regular, sans-serif;
}

::selection {
    color: white;
    background-color: var(--green);
}

:root {
    --green: #53b446;
    --black: #373737;
}

body {
    overflow-x: hidden;
}

@font-face {
    font-family: Kalam Light;
    src: url("fonts/Kalam-Light.ttf");
}
@font-face {
    font-family: Kalam Regular;
    src: url("fonts/Kalam-Regular.ttf");
}
@font-face {
    font-family: Kalam Bold;
    src: url("fonts/Kalam-Bold.ttf");
}

@font-face {
    font-family: Montserrat Light;
    src: url("fonts/Montserrat-Light.ttf");
}
@font-face {
    font-family: Montserrat Regular;
    src: url("fonts/Montserrat-Regular.ttf");
}
@font-face {
    font-family: Montserrat Medium;
    src: url("fonts/Montserrat-Medium.ttf");
}





header {
    background-color: white;
    box-shadow: #696969 0 -5px 30px 0;
    width: 100%;
    height: 100%;
    position: sticky;
    top: 0;
}

nav {
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding: 20px 0;
    max-height: 15vh;
}



.logo {
    font-family: Montserrat Medium;
    font-weight: 600;
    font-size: 28px;
    text-decoration: none;
    color: var(--green);
    align-self: center;
}

nav ul {
    display: flex;
    justify-content: space-between;
    width: 40%;
}

nav ul a {
    list-style: none;
    text-decoration: none;
    color: var(--black);
    font-family: Montserrat Medium;
    font-size: 20px;
}

.menu {
    margin-left: auto;
    margin-right: 25px;
    display: flex;
    align-items: center;
}

.burger {
    display: none;
    z-index: 10;
}

.burger div {
    height: 4px;
    background-color: var(--green);
    border-radius: 5px;
    margin: 5px;
    transition: 0.5s ease;
}

.burger-color {
    background-color: white!important;
}

.burger .line1 {
    width: 30px;
}
.burger .line2 {
    width: 18px;
    margin-left: 17px;
}
.burger .line3 {
    width: 24px;
    margin-left: 11px;
}



@media screen and (min-width: 901px) {
    nav li {
        position: relative;
    }
    nav li, nav li:after, nav li:before {
        transition: 0.4s all ease;
    }
    nav li:after {
        position: absolute;
        top: 42px;
        bottom: 0;
        left: 0;
        right: 0;
        margin: auto;
        width: 0%;
        content: '';
        background-color: var(--green);
        height: 3px;
    }
    nav li:hover:after {
        width: 100%;
    }
}

@media screen and (max-width: 1500px) {
    nav ul {
        width: 50%;
    }
}
@media screen and (max-width: 1150px) {
    nav ul {
        width: 60%;
    }
}


@media screen and (max-width: 900px) {
    .burger {
        display: block;
        cursor: pointer;
    }
    nav ul {
        position: absolute;
        right: 0;
        top: 0vh;
        height: 100vh;
        background: linear-gradient(90deg, #4ea542, var(--green));
        color: white;
        width: 60%;
        display: flex;
        flex-direction: column;
        justify-content: space-evenly;
        text-align: center;
        transform: translateX(110%);
        transition: transform 0.5s ease-out;
    }
    nav li {
        font-size: 125%;
        color: white;
    }
}

.nav-active {
    transform: translateX(0%);
}










#mentions {
    padding: 8vh 10vw;
    text-align: justify;
}



#mentions p {
    line-height: 22px;
}

#mentions h1 {
    font-size: 30px;
    font-family: Montserrat Medium;
    margin-bottom: 30px;
    color: var(--green);
}

#mentions h4 {
    font-size: 20px;
    font-family: Montserrat Medium;
    margin-top: 20px;
    margin-bottom: 10px;
    color: #5a5a5a;
}

#mentions a {
    color: var(--green);
    text-decoration: none;
}










footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 3vh 10vw;
    background-color: #e6e6e6;
    width: 100%;
}
footer #zebra {
    flex: 1;
    text-align: left;
}
footer #zebra img {
    max-width: 20%;
    filter: brightness(0.6);
}
footer #zebra img:hover {
    filter: brightness(0.66);
    transition: 0.2s ease all;
}
footer #legal {
    flex: 1;
    text-align: center;
}
footer #copyright {
     flex: 1;
    text-align: right;
 }
footer a {
    color: var(--black);
    text-decoration: none;
}



@media screen and (max-width: 1200px) {
    footer #zebra {
        flex: 1;
        text-align: left;
    }
    footer #zebra img {
        max-width: 50%;
    }
    footer #legal {
        flex: 1;
        text-align: center;
    }
    footer #copyright {
        flex: 2;
        text-align: right;
    }
    footer #copyright p {
        font-size: 90%;
    }
}

@media screen and (min-width: 1200px) and (max-width: 1500px) {
    footer #zebra img {
        max-width: 25%;
    }
    footer #copyright p {
        font-size: 90%;
    }
}

@media screen and (max-width: 900px) {
    footer #zebra {
        flex: 1;
    }
    footer #zebra img {
        max-width: 80%;
    }
    footer #legal {
        flex: 1;
    }
    footer #copyright {
        flex: 3;
    }
    footer #copyright p {
        font-size: 80%;
    }
}
