input{
    display: none;
    visibility: hidden;
}

.toggle{
    position: absolute;
    height: 30px;
    width: 30px;
    z-index: 2;
    border-radius: 2px;
    top: 15px;
    left: 15px;
    cursor: pointer;
    background-color: white;
    box-shadow: 0 0 10px rgba(0,0,0,0.3);
}

.toggle .common{
    position: absolute;
    height: 2px;
    width: 20px;
    background-color: rgb(0, 132, 255);
    border-radius: 50px;
    transition: 0.3s ease;
}

.toggle .top{
    top: 30%;
    left: 50%;
    transform: translate(-50%,-50%);
}

.toggle .middle{
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
}

.toggle .bottom{
    top: 70%;
    left: 50%;
    transform: translate(-50%,-50%);
}

input:checked ~ .toggle{
    /* left: 75px; */
    transition: 0.5s ease;
}

input:checked ~ .toggle .top{
    left: 2px;
    top: 14px;
    width: 25px;
    transform: rotate(45deg);
}

input:checked ~ .toggle .middle{
    left: 2px;
    top: 14px;
    width: 25px;
    transform: translate(20px);
    opacity: 0;
}

input:checked ~ .toggle .bottom{
    left: 2px;
    top: 14px;
    width: 25px;
    transform: rotate(-45deg);
}

ul,li{
    list-style: none;
    text-align: center;
    margin-bottom: 20px;
    color: black;
    font-weight: 500;
    padding: 10px 0;
    padding-right: 30px;
    text-transform: uppercase;
    transition: 0.2s ease-out;
}

.anchor{
    text-decoration: none;
    font-family: "montserrat";
    color: white;
    font-weight: 500;
    text-transform: uppercase;
    transition: 0.2s ease-out;
}

.anchor:hover{
    background-color: rgb(0, 217, 255);
    color: black;
    padding: 7px 7px 7px 7px;
    transition: 0.34;
}

.anchor:active{
    background-color: rgb(64, 43, 252);
    color: rgb(255, 255, 255);
    padding: 7px 7px 7px 7px;
    transition: 0.1s;
}

.slide{
    height: 103%;
    width: 50%;
    position: absolute;
    background-color: rgb(95, 77, 255);
    transition: 0.5s ease;
    transform: translateX(-100%);
    z-index: 1;
}

input:checked ~ .slide{
    transform: translateX(0);
    box-shadow: 0 0 15px rgba(0,0,0,0.5);
}

h1{
    color: rgb(252, 254, 255);
    filter: drop-shadow(1px 2px 2px rgba(0, 0, 0, 0.3));
    font-weight: 800;
    text-align: center;
    margin-left: 30%;
    margin-right: 70%;
    padding: 10px 0;
    padding-right: 30px;
}