/* ========================================
   BOTÃO HAMBÚRGUER
   ======================================== */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: space-around;
    width: 50px;
    height: 50px;
    background: var(--c_blue2);
    border-radius: 6px;
    border: none;
    cursor: pointer;
    padding: 10px; 
    z-index: 1002;
}

.hamburger span {
    width: 100%;
    height: 4px;
    background: var(--c_yellow);
    border-radius: 10px;
    transition: all 0.3s ease;
}

.hamburger.active {
    background: var(--c_blue3);
    transition: all 0.9s ease;
}

.hamburger.active span {
    background: var(--c_white);
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(9px, 9px);
    background: var(--c_red);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(9px, -9px);
    background: var(--c_red);
}

@media only screen and (max-width: 800px) {
    .hamburger {
        display: flex;
        position: fixed;
        top: 20px;
        right: 20px;
        z-index: 1002;
    }

}

@media only screen and (max-width: 720px) {
    .hamburger {
        position: fixed;
        top: 17px;
        right: 15px;
    }
}

@media only screen and (max-width: 600px) {
    .hamburger {
        position: fixed;
        top: 15px;
        right: 10px;
        width: 45px;
        height: 45px;
    }
   
    .hamburger span {
        height: 3px;
    }

    .hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(7px, 7px);
    background: var(--c_red);
    }

    .hamburger.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -7px);
        background: var(--c_red);
}
}

