*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    transition: .3s ease;
}
body{
    font-family: sans-serif;
    height: 100vh;
    overflow: hidden;
}
.container{
    width: 100%;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    background: lavender;
}
.container.active{
    display: none;
}
.container a{
    text-decoration: none;
    border-radius: 5px;
    font-size: 18px;
    color: black;
    margin: 10px 0;
    letter-spacing: 2px;
    padding: 5px;
    text-align: center;
    width: 30%;
    border: 2px solid #333;
    display: block;
}
.container a:hover{
    color: #fff;
    background: #333;
}
.display{
    width: 40%;
    margin: 10px auto;
    font-size: 1.5rem;
    padding: 20px;
    text-align: center;
}
.display p{
    border: 2px solid black;
    cursor: pointer;
    padding: 5px;
}
.display p:hover{
    background: #333;
    color: #fff;
}
.button{
    border: 2px dotted black;
    padding: 5px;
    margin: 10px 0;
}
.button:hover{
    box-shadow: 0 0 1rem 1rem #333;
    cursor: pointer;
}
.src{
    display: none;
}
.src.active{
    position: absolute;
    z-index: 1000;
    width: 100%;
    top: 0;
    height: 100vh;
    display: block;
}
.btn{
    position: absolute;
    font-size: 2.5rem;
    font-family:monospace;
    z-index:100000;
    cursor: pointer;
    right: 20px;
    top: 50px;
    display: none;
}
.btn.active{
    display: block;
}
/* test wrapper styles */
.content{
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    width: 100%;
    position: absolute;
    padding: 20px;
    top: -700%;
    left: 0;
    background:linear-gradient(45deg, blue, transparent,white,blue);
}
.content.active{
    top: 0;
}

.quiz-container{
    background:rgba(0, 0, 20, 0.4);
    border-radius: 10px;
    width: 40%;
    box-shadow: 0 0 10px 10px #333;
}
.quiz-container h2 {
    text-align: center;
    font-size: 18px;
    font-family: monospace;
    text-decoration: underline;
    padding: 10px;
}
.quiz-container ul{
    width: 90%;
    margin-left: auto;
}
.quiz-container ul li{
    list-style: none;
    display: flex;
    align-items: center;
    margin: 15px 0;
}
.quiz-container label{
    font-size: 18px;
    cursor: pointer;
    margin: 0 10px;
}
button{
    display: block;
    width: 60%;
    font-size: 16px;
    cursor: pointer;
    background: crimson;
    color: #fff;
    outline: none;
    margin: 30px auto;
    border-radius: 5px;
    padding: 15px;
}

button:hover{
    background-color: #333;
    color: crimson;
}



@media screen and (max-width:768px) {
    html,body{
        overflow-x: hidden;
    }
    .quiz-container{
        width: 100%!important;
    }
    .display {
        padding: 0;
    }
    .src.active{
        width: 100%;
        height: 100vh;
    }
    .btn{
       left: 27px;
       top: 16px;
    }
    .container a{
        width: 80%;
    }
    .display{
        width: 80%;
    }

}