.nav-2 {
    position: fixed;
    right: -36%;
    width: 35%;
    height: 100%;
    background-color: white;
    transition: all .5s ease;
    z-index: 10;
    top: 0;
}

#check {
    display: none;
}
.nav-2-slide a{
    text-decoration: none;
    color: var(--skyblue);
}
.nav-2-slide p{
    padding: 20px;
}
label #btn,
label #cancel {
    position: absolute;
    cursor: pointer;
    border-radius: 3px;
}

label #btn {
    right: 40px;
    top: 15px;
    font-size: 30px;
    padding: 6px 12px;
    transition: all .5s;
    color: var(--white);
}

label #cancel {
    font-size: 30px;
    position: fixed;
    background-color: var(--primary);
    color: var(--white);
    transition: all .5s ease;
    padding: 5px;
    margin: 20px 0 0 20px;
}

#check:checked~.nav-2 {
    right: 0;
    width: 100%;
}

#check:checked~label #btn {
    right: 250px;
    opacity: 0;
    pointer-events: none;
}

#check:checked~label #cancel {
    right: 60px;
}
.collaps{
    display: none;
}
.nav-2-slide{
    text-align: center;align-items: center;
}
.collaps .nav-2-slide{
    padding-top: 50%;
    font-size: 20px;
    font-weight: 600;
    color: var(--skyblue);
}
@media screen and (max-width:630px) {
    .collaps{
        display: block;
    }
    
}