.header {
    display: flex;
    flex-direction: column;
    position: sticky;

    top: 0;


    background-color: #1D5239;
    color: #fff;
    max-width: 100%;
    overflow-x: clip;
    z-index: 2;

    height: 100px;
}

.header__desktop{
    display: none;
}

.header__container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header__logo img {
    width: 150px;
    margin: 0 10px;
}

.header__menu-button {
    width: 40px;
    height: 40px;

    display: flex;
    align-items: center;
    justify-content: center;
}

.header__menu-icon {
    transition: opacity 0.5s ease, transform 0.5s ease;
    color: white;
    transform: scale(1.5);
}

.menu__icon--disabled{
    opacity: 0;
    transform: scale(0.2);
    position: absolute;
    pointer-events: none;
}

.header__menu {
    position: absolute;

    top: 100%;
    left: 0;

    z-index: 1;

    width: 100%;

    background: #1D5239;
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.2);

    transform: translateY(-20px);
    opacity: 0;
    visibility: hidden;

    transition: all .3s ease;
}

.header__menu--active {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
}

.nav__menu {
    display: flex;
    justify-content: center;
    text-align: center;
}

.header__menu-disabled {
    display: none;
}

.header__menu-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 20px;
}

.header__menu-item {
    list-style: none;
}

.header__cta {
    align-self: center;
    background-color: #279963;
    width: 100%;
    height: 70px;
    color: #fff;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
}


@media (min-width: 1024px){
    .header__mobile{
        display: none;
    }

    .header__desktop{
        display: flex;
        align-items: center;
        align-self: stretch;
        gap: 20px;
    }

    .header__menu-item {

        transition: color .3s ease, transform .3s ease;
        display: inline-block;
        padding: 5px 0 ;
        margin: 0 10px;
        font-size: 1.3rem;

        &:hover{
            color: #2ec07c;
            transform: translateY(-4px);
        }
    }

    .header{
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }
    .header__menu__cta{
        font-size: 1.3rem;
        display: flex;
        align-items: center;
        justify-content: center;
        align-self: stretch;
        background-color: #279963;
        padding: 0 24px;
        width: auto;

        transition: all .3s ease;

        & a {
            transition: all .3s ease;
            padding: 30px 0;
        }

        &:hover{
            background-color: #2ec07c;

            & a {
                transform: scale(1.1);
            }
        }
    }

}