:root {
    --primary: #e5b80b;
    --secondary: #622929;
    --light: #f6f5c9;
    --dark: black;
}

body {
    margin: 0;
    font-family: courier new;
    font-size: medium;
    color: var(--secondary);
    line-height: 1.5em;
}

h1 {
    font-family: courier new;
    font-size: xx-large;
    font-weight: normal;
    color: var(--secondary);
    line-height: 1.5em;
}

h2 {
    font-family: courier new;
    font-size: x-large;
    font-weight: normal;
    color: var(--secondary);
    line-height: 1.5em;
}

h3 {
    font-family: courier new;
    font-size: large;
    font-weight: normal;
    color: var(--secondary);
    line-height: 1.5em;
}

.navbar {
    display: flex;
    justify-content: space-between;
    background-color: var(--light);
    width: 100%;
    height: 60px;
    position: fixed;
    top: 0;
    transition: 0.2s;
    z-index: 1;
}

.navbar-expanded {
    height: 270px;
}

.menu {
    margin: 10px 30px 10px 0px;
    cursor: pointer;
    height: fit-content;
}

.bar1, .bar2, .bar3 {
    width: 30px;
    height: 4px;
    background-color: var(--secondary);
    margin: 6px 0;
    transition: 0.4s;
}

/* Rotate first bar */
.change .bar1 {
    transform: translate(0, 10px) rotate(-45deg);
}

/* Fade out the second bar */
.change .bar2 {opacity: 0;}

/* Rotate last bar */
.change .bar3 {
    transform: translate(0, -10px) rotate(45deg);
}

.navbar-links-box {
    justify-content: space-evenly;
    flex-direction: column;
    align-items: center;
    padding-top: 55px;
    width: 100%;
    display: none;
}

a {
    color: var(--secondary);
    transition: 0.2s;
}

a:hover {
    text-decoration: underline;
    opacity: 0.9;
    transition: 0.2s;
}

.navbar-link {
    font-size: large;
    text-decoration: none;
    margin: 7px;
}

.content {
    margin-top: 60px;
    background-color: var(--primary);
    display: flex;
    flex-direction: column;
    padding: 2em;
    gap: 2.5em;
}

.horizontal-container {
    display: flex;
    flex-wrap: wrap;
    width: auto;
    gap: 20px;
}

.vertical-container {
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    width: auto;
    height: fit-content;
}

.section-name {
    width: fit-content;
    border-bottom: 2px solid var(--secondary);
    margin-top: 0;
}

.content-container {
    width: auto;
    height: 300px;
}

.brand {
    font-size: xx-large;
    margin: 18px 0px 10px 20px;
    text-decoration: none;
}

.secondary-container {
    padding: 2em;
    background-color: var(--secondary);
    color: var(--light);
    display: flex;
    flex-direction: column;
}

.secondary-container h1, .secondary-container h2, .secondary-container h3, .secondary-container a {
    color: var(--light);
    margin-top: 0;
}

.footer {
    background-color: var(--dark);
    color: var(--light);
    display: flex;
    flex-flow: column wrap;
    height: fit-content;
    padding: 30px;
}

.footer-info {
    display: flex;
    justify-content: space-evenly;
    align-self: center;
    gap: 40px;
    margin: 5px;
}

.footer-social {
    align-self: flex-end;
    margin: 8px;
}

.footer-copyright {
    display: flex;
    justify-content: space-evenly;
    align-self: center;
    gap: 10px;
    height: 20px;
    margin: 5px;
}

@media screen and (min-width: 768px) {
    h1 {
        font-size: xxx-large;
    }

    h2 {
        font-size: xx-large;
    }

    h3 {
        font-size: x-large;
    }

    .navbar-links-box {
        padding-top: 0px;
        display: flex !important;
        flex-direction: row;
    }

    .navbar-expanded {
        height: 60px;
    }

    .menu {
        display: none;
    }

    .footer {
        padding: 40px;
    }

    .footer-social {
        margin: 0px;
    }

    body {
        font-size: large;
    }

    .content {
        padding: 3em;
    }

    .brand-container {
        grid-template: auto / max-content auto;
        padding: 40px;
    }

    .logo {
        scale: 1;
        margin: 10px;
    }

    .brand-description {
        grid-column: 2;
        grid-row: 1;
        justify-self: center;
        padding: 20px;
    }
}
