@charset "UTF-8";

body {
    background-color: rgb(239, 244, 246);
    margin: 10px;
    display: flex;
    font-size: 1rem;
    min-height: 100vh;  
    max-width: 800px;
}
header{
    margin-top: 20px;
}

main {
    background-color: rgb(239, 244, 246);
    width: auto;
    margin: 0 auto;
}

aside {
    background-color: rgb(239, 244, 246);
    width: 20%;
    min-width: 24s0px;
    display: flex;
    flex-direction: column;
    padding-left: 12px;
}

ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

li {
    margin: 15px 0 10px;
}

div {
    margin-top: auto;
    height: 100px;
}

.open,
.close {
    display: none;
}

input[type="checkbox"] {
    position: absolute;
    left: -50vw;
}

@media screen and (max-width: 1920px) {
    main {
        width: 700px;
        padding-top: 50px;
    }

    .open,
    .close {
        display: block;
        padding-left: 28px;
    }

    .open {
        position: absolute;
    }

    aside {
        position: absolute;
        left: -250px;
        height: 100%;
        transition: all 0.2s;
        background: #ffffff;
    }

    input[type="checkbox"]:checked ~ aside {
        left: 0;
    }

    input[type="checkbox"]:checked ~ .back {
        position: absolute;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.5) !important;
    }
}

.btn_test {
    font-size: small;
    display: block;
    color: #0000CC;
    background-color: #87CEFA;
    padding: 5px;
    text-align: left;
    text-decoration: none;
    border-radius: 0 0 15px 15px;
    width: 124px;
    box-shadow: 0px 2px 3px 0px #9E9E9E;
}
