header {
    background-color: #b388679b;
}

nav {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
}

nav ul {
    margin-top: 20px;
    display: flex;
    flex-direction: row;
    justify-content: space-evenly;
    align-items: center;
    width: 80%;
    font-size: 20px;
    padding-bottom: 20px;
}

nav ul li {
    list-style-type: none;
}

nav ul li a {
    text-decoration: none;
    color: #5C4033;
}

.hamburger {
    cursor: pointer;
    background-color: #b388679b;
    height: fit-content;
}

.bar {
    width: 25px;
    height: 3px;
    margin: 5px auto;
    background-color: #5C4033;
    display: none;
    -webkit-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
}



@media (max-width: 1300px) {
    nav ul {
        width: 100%;
    }
}



@media (max-width: 1100px){

    header {
        position: relative;
    }

    .special-class {
        background-color: transparent;
        position: absolute;
        width: 100%;
    }

    nav {
        position: relative;
        left: -100%;
        background-color: transparent;
    }

    nav ul {
        position: relative;
        flex-direction: column;
        text-align: center;
        padding-top: 5px;
        padding-bottom: 10px;
    } 

    nav.active {
        background-color: #b388679b;
        left: 0;
        transition: 0.3s;
    }

    nav ul li {
        margin-bottom: 5px;
    }


    .bar {
        display: block;
    }

    .hamburger {
        padding-top: 5px;
        padding-bottom: 3px;
    }

    .hamburger.active .bar:nth-child(2){
        opacity: 0;
    }

    .hamburger.active .bar:nth-child(1){
        transform: translateY(8px) rotate(45deg);
    }

    .hamburger.active .bar:nth-child(3){
        transform: translateY(-8px) rotate(-45deg);
    }
}



@media (max-width: 350px) {
    .main-section {
        margin-top: 10rem;
    }
}