 @import url("https://fonts.googleapis.com/css2?family=Poppins:wght@200;400;600&display=swap");
 
 * {
    box-sizing: border-box;
}

body {
    background-color: #b8c6db;
    background-image: linear-gradient(315deg, #b8c6db 0%, #f5f7fa 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: "Poppins", sans-serif;
    margin: 0;
    min-height: 100vh;
}

.quiz-container {
    visibility: hidden;
    background-color: #fff;
    border-radius: 10px; 
    box-shadow: 0 0 10px 2px rgba(100, 100, 100, 0.1);
    overflow: hidden;
    width: 600px;
    max-width: 100%;
}

.quiz-header {
    padding: 1rem;
}

h2 {
    padding: 1rem;
    text-align: center;
    margin: 0;
}

ul {
    list-style-type: none;
    padding: 6;
    
}

ul li {
    font-size: 1.2rem;
    margin: 1rem 0;
}

ul li label {
    cursor: pointer;
}

button {
    background-color: #8e44ad;
    border: none;
    color: white;
    cursor: pointer;
    display: block;
    font-family: inherit;
    font-size: 1.1rem;
    width: 100%;
    padding: 1.3rem;
}

button:hover {
    background-color: #9a2aca;
}

button:focus {
    background-color: #a034bb;
    outline: none;
}

.start_btn,
.info_box{
    position: absolute;
    top:50%;
    left: 50%;
    transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 
                0 6px 20px 0 rgba(0, 0, 0, 0.19);
}



/*Start quiz Button styling */
.start_btn button{
    font-size: 25px;
    font-weight: 500;
    color: white;
    padding: 15px 30px;
    outline: none;
    border: none;
    border-radius: 5px;
    background: blue;
    cursor: pointer;
}

.info_box {
    visibility: hidden;
    width: 600px;
    background: #fff;
    border-radius: 9px;
}

.info_box .info_title {
    height: 70px;
    width: 100%;
    border-bottom: 1px solid lightgray;
    display: flex;
    align-items: center;
    padding: 0 35px;
    border-radius: 5px 5px 0 0;
    font-size: 30px;
    font-weight: 100px;

}

.info_box .info-list {
    padding: 20px 40px;
}

.info_box .info-list .info {
    margin: 5px 0;
    font-size: 15px;
}

.info_box .info-list .info span {
    font-weight: 600;
    color: red;
}

.info_box .buttons {
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding: 0 40px;
    border-top: 1px solid lightgrey;
}

.info_box .buttons button {
    margin: 0 5px;
    height: 50px;
    width: 120px;
    font-size: 17px;
    font-weight: 800;
    cursor: pointer;
    border: none;
    outline: none;
    border-radius: 5px;
    border: 1px solid transparent;
}

.button button.quit {
    color:white;
    background: rgb(255, 0, 179);
}

.buttons button.quit:hover {
    background: rgb(255, 0, 179);
    
}

.button button.restart {
    color:#fff;
    background: #fff;
}
.buttons button.restart:hover{
    background: rgb(255, 0, 179);
    
}

