:root {
    --clr-light-green: #0bbf15;
    --clr-dark-green: #106b1b;
    --clr-dark-gray: #a1a1a1;
    --clr-light-gray: #e2e2e2;
    --max-width: 1440px;
}

*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    border: 0;
    scroll-behavior: smooth;
    font-family: "Raleway", sans-serif;
}

body {
    width: 100%;
    min-height: 100dvh;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background: var(--clr-light-gray);
}

.header--mainWrapper {
    background: linear-gradient(
        to bottom,
        var(--clr-light-green),
        var(--clr-dark-green)
    );
    width: 100%;
    padding: 15px 50px;
    display: flex;
    justify-content: center;
}

.header--mainContent {
    max-width: var(--max-width);
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header--mainContent__logo {
    width: 75px;
    height: auto;
}

.header--mainContent--nav {
    display: flex;
    justify-content: space-between;
    gap: 50px;
    font-size: 1.2rem;
    line-height: 28px;
    letter-spacing: 1px;
}

a {
    color: white;
    text-decoration: none;
    text-underline-offset: 5px;
    position: relative;
}

.header--mainContent--nav a::after {
    content: "";
    position: absolute;
    bottom: 4px;
    left: 0;
    background: white;
    height: 1px;
    width: 0;
    border-radius: 3px;
    transition: 0.2s ease;
}

.header--mainContent--nav a:hover::after {
    width: 100%;
}

.header--mainContent--nav .header--mainContent--nav__active::after {
    width: 100%;
}

.footer--mainWrapper {
    text-align: center;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    padding: 20px;
    background: var(--clr-dark-gray);
    clear: both;
}

.footer--mainWrapper__mail {
    color: black;
    text-decoration: underline;
    text-underline-offset: 2px;
}

@media (max-width: 471px) {
    .header--mainContent {
        flex-direction: column;
        white-space: nowrap;
        gap: 20px;
    }

    .footer--mainWrapper {
        padding: 20px 50px;
    }
}
