@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@200;300;400;500&display=swap');

* {
    box-sizing: border-box;
}

body {
    background-color: #b8c6db;
    background-image: linear-gradient(315deg, #b8c6db 0%, #f5f7f7 100%);
    font-family: 'Poppins', sans-serif;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100vh;
    overflow: hidden;
    margin: 0;
}

.quiz-container {
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 0 10px 2px rgba(100, 100, 100, 0.1);
    width: 600px;
    height: 600px;
    overflow: hidden;
}

.quiz-header {
    padding: 2rem 4rem 0 4rem;
    width: 600px;
    height: 520px;
}

h2 {
    padding: 15px;
    text-align: center;
    font-size: 25px;
    margin: 0;
}

h4 {
    text-align: center;
    font-size: 20px;
    margin-bottom: 0px;
    padding-top: 10px;
}

h5,
a {
    font-weight: inherit;
    font-size: 15px;
    text-decoration: none;
    text-align: center;
    margin-top: 0px;
    padding-bottom: 10px;
}

a:hover {
    color: springgreen;
}

#heading {
    background-color: #0066ff;
    color: whitesmoke;
    border-radius: 200px;
}

ul {
    list-style-type: none;
    padding: 0;
}

ul li {
    font-size: 20px;
    margin: 1rem 0;
}

ul li label {
    cursor: pointer;
}

button {
    background-color: #03cae4;
    color: #fff;
    border: none;
    /* display: block; */
    width: 100%;
    cursor: pointer;
    font-size: 1.1rem;
    font-family: inherit;
    padding: 1.3rem;
}

button:hover {
    background-color: #04adc4;
}

button:focus {
    outline: none;
    background-color: #44b927;
}

@media screen and (max-width: 320px) {

    .quiz-container {
        width: 250px;
        height: 600px;
    }

    .quiz-header {
        padding: 1.5rem;
        width: 500px;
        height: 515px;
    }
    #heading{
        width: 200px;
        height: 90px;
    }

    h2 {
        padding-top: 2rem;
        width: 200px;
        height: 80px;
        text-align: center;
        font-size: 10px;
        margin: 0;
    }

    h4 {
        text-align: center;
        font-size: 20px;
        margin-bottom: 8px;
        padding-top: 10px;
    }

    h5,
    a {
        font-weight: inherit;
        font-size: 5px;
        text-decoration: none;
        text-align: center;
        margin-top: 0px;
        padding-bottom: 10px;
    }

    ul li {
        font-size: 10px;
        margin: 1rem 0;
    }
}