﻿.body-burger {
    margin: 0;
    display: flex;
    /*font-size: 2rem;*/
    min-height: 100vh;
}
.main-burger {
    width: 1000px;
    margin: 0 auto;
}
.aside-burger {
    width: 20%;
    min-width: 180px;
    display: flex;
    flex-direction: column;
    z-index: 3;
}
.ul-burger {
    list-style: none;
    padding: 0;
    margin: 0;
}

.div-burger {
    margin-top: auto;
    height: 300px;
}

.open,
.close {
    display: none;
    font-size: 1.0rem;
}

input[id="menu-burger"] {
    position: absolute;
    left: -50vw;
}

 @media screen and (max-width: 1000px) {
    .main-burger {
        width: 100%;
        padding-top: 50px;
    }
    .open,
    .close {
        display: block;
    }

    .open {
        position: absolute;
    }

    .aside-burger {
        position: absolute;
        left: -180px;
        height: 100%;
        transition: all 0.2s;
        background: #ffffff;
    }

    input[id="menu-burger"]:checked ~ aside {
        left: 0;
    }

    input[id="menu-burger"]:checked ~ .back {
        position: absolute;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.8) !important;
    }
 } 
