


.mobileNav {
    display: flex;
    align-items: center;
    justify-content: center;
    position: fixed;
    top: 0;
    left: 0;
    height: 100vh;
    width: 100%;
    background-color: #111;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-20px);
    transition: opacity .7s ease, visibility .7s ease, transform .7s ease;

}

.mobileNav ul {
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    align-items: center;
}

.mobileNav ul li {
    list-style: none;
    margin: 0.6rem;
}

.mobileNav ul li a {
    color: #e8e8e8;
}


.hamb {
    cursor: pointer;
    position: absolute;
    top: 20%;
    right: 4%;
    padding: 15px;
    z-index: 1001;
}

.hamb .hamb-line {
    background-color: #e8e8e8;
    display: block;
    width: 24px;
    height: 2px;
    position: relative;
    z-index: 999;
}

.hamb .hamb-line::before,
.hamb .hamb-line::after {
    content: "";
    display: block;
    position: absolute;
    background: #e8e8e8;
    width: 100%;
    height: 100%;
    transition: all 0.2 ease-out;
}

.hamb .hamb-line::before {
    top: 5px;
}

.hamb .hamb-line::after {
    top: -5px;
}

.side-menu {
    display: none;
}

.side-menu:checked ~ .mobileNav {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}




.side-menu:checked ~ .hamb .hamb-line {
    background: transparent;
}

.side-menu:checked ~ .hamb .hamb-line::before {
    transform: rotate(-45deg);
    top: 0;
}

.side-menu:checked ~ .hamb .hamb-line::after {
    transform: rotate(405deg);
    top: 0;
}

@media (min-width: 768px) {
    .mobileNav,.mobileNav ul, .mobileNav ul li, .mobileNav ul li a {
        all: unset;

    }
    .side-menu {
        display: none;
    }
    .side-menu:checked ~ .hamb {
        display: none;
    }
    .side-menu:checked ~ .side-menu-content {}
    .mobileNav ul {
        width: 100%;
        background: rgba(0, 0, 0, 0.8);
        display: flex;
        flex-direction: row;
        justify-content: flex-end;
        align-items: center;
        list-style-type: none;
        border-radius: 10px;
        margin-right: 1rem;
    }

    .mobileNav ul li {
        display: inline-block;
        margin: 0.6rem;
    }

    .mobileNav ul li a {
        display: block;
        font-size: .8rem;
        padding: 5px;
        color: #dee8ed;
        text-decoration: none;
        font-family: "Juera", Arial, sansSerif;
    }

    header nav ul li a:hover {
        border-bottom: 2px solid #FF560F;


    }

    .side-menu,
    .hamb {
        display: none;
    }

    .mobileNav {
       all: unset;
        display: flex;
        align-items: center;
        justify-content: flex-end;
        flex-direction: row;
        width: 100%;
        background-color: #111;
        z-index: 1000;
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
        transition: opacity .7s ease, visibility .7s ease, transform .7s ease;
    }




}

