html, body {
    margin: 0;
}

:root {
    --primary: #339933;
}

html {
    height: 100%;
}

body {
    min-height: 100%;
    display: flex;
    flex-grow: 1;
    flex-direction: column;
    background-image: linear-gradient(to bottom, rgba(255, 255, 255, 0.55), rgba(255, 255, 255, 0.55)), url(/img/bg.jpg);
    background-repeat: no-repeat;
    background-position: top center;
    background-size: cover;
    font-size: 18px;
    background-attachment: fixed;
    color: #000;
    font-family: 'Inter', sans-serif;
}

.container {
    display: flex;
    flex-direction: column;
    width: 80%;
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
    padding: 20px;
    box-sizing: border-box;
    
}

@media (max-width: 600px) {
    .container {
        width: 100%;
    }
}

.whatsapp::before {
    content: '';
    display: inline-block;
    width: 22px;
    height: 22px;
    background-size: cover;
    background-image: url(/img/whatsapp.png);
    background-repeat: no-repeat;
} 

.nav, .menu {
    flex-direction: row;
    align-items: center;
    height: 60px;
    display: flex;
}

img {
    max-width: 100%;
}

.nav {
    font-size: 18px;
    box-sizing: border-box;
}

@media (max-width: 1200px) {
    body, .nav {
        font-size: 16px;
    }
    .container {
        width: 90%;
    }
}

.nav a {
    color: var(--primary);
    text-decoration: none;
    text-transform: uppercase;
    display: inline-flex;
    align-items: center;
}

.nav a:hover {
    text-decoration: underline;
}

.menu {
    margin-left: auto;
}

.menu a {
    margin-left: 30px;
}


p, h1, h2, h3, ul {
    margin: 0;
    margin-bottom: 20px;
}

h1, h2 {
    color: var(--primary);
}

.main {
    padding-top: 60px;
    display: flex;
    flex-direction: row;
}

main {
    flex-basis: 75%;
}

aside {
    padding-left: 30px;
    flex-basis: 25%;
    display: flex;
    flex-direction: column;
}

aside a {
    padding-bottom: 14px;
}

.title {
    text-transform: capitalize;
    font-size: 80px;
    margin-bottom: 40px;
    color: var(--primary)
}

a, a:hover {
    color: var(--primary)
}

footer {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    padding: 24px 0;
    background-color: rgba(0, 0, 0, 0.6);
}

.footer {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
}

.bottom-menu {
    display: flex;
    flex-direction: column;
}

button {
    background-color: var(--primary);
    border: 1px solid black;
    border-radius: 4px;
    font-size: 16px;
}

@media (max-width: 600px) {
    .nav, .menu {
        flex-direction: column;
        height: fit-content;
        align-items: center;
        justify-content: center;
        margin: 0;
        padding: 0;
    }
    .nav a {
        margin: 0;
        margin-bottom: 12px;
    }
    .main {
        flex-direction: column;
    }
    nav {
        flex-basis: 100%;
    }
    main {
        flex-basis: 100%;
    }
    .title, .bottom-menu {
        display: none;
    }
    .footer {
        grid-template-columns: 1fr 1fr;
    }
}