* {
    box-sizing: border-box;
}

body {
    margin: 0;
    padding: 0;
}

.head {
    font-family: 'Fraunces', serif;
}

.text {
    font-family: 'Barlow', sans-serif;

}

.centered {
    position: absolute;
    top: 30%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.nab {
    position: absolute;
    top: 30px;
    left: 50%;
    transform: translate(-50%, -50%);

}

.bt-img {
    position: absolute;
    top: 80%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.mb {
    display: none;
    position: absolute;
    top: -300px;
    left: 30%;

    width: 300px;
    background: #ffffff;
    overflow-x: hidden;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    transition: all .5s;
    z-index: 3;
    opacity: 0;
}

.open .mb {
    top: 6rem;
    opacity: 1;
}

.mb .inner {
    padding: 25px;
}

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



.mb .inner ul li a {
    display: block;
    color: #333;
    font-size: 18px;
    padding: 1em;
    text-decoration: none;
    transition-duration: 0.2s;
}



@media screen and (max-width: 767px) {
    .mb {
        display: block;
        position: absolute;
        top: -300px;
        left: 10%;
        width: 80%;
    }

    #mask {
        display: none;
        transition: all .5s;
    }

    .open #mask {
        display: block;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: #000;
        opacity: .8;
        z-index: 2;
        cursor: pointer;
    }
}

/*============
.toggle_btn
=============*/
.toggle_btn {

    transition: all .5s;
    cursor: pointer;
    z-index: 3;
}