/* Asterisk wildcard selector to override default styles added by the browser */
* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

body {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100vh;
    margin-bottom: 100px;
    background-color: ivory;
    font-family: "Lato", sans-serif;
    font-weight: 400;
}

.heading {
    text-align: center;
    font-size: 2.5rem;
    color: rgb(231, 101, 123);
    font-family: "Lato", sans-serif;
    font-weight: 700;
    margin-top: 25px;
    margin-bottom: 30px;
}

img.heading {
    height: 100px;
}

h1.heading {
    margin-bottom: 20px;
}

.logo {
    text-align: center;
    width: 100px;
    height: 120px;
}

#start-container {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 20px;
}

#pink {
    width: 370px;
    height: 200px;
    background-color: pink;
    border-radius: 10px;
    margin-top: 10px;
    padding: 20px;
}

/*Buttons*/
button {
    display: inline;
    justify-content: space-between;
    margin: 0 auto;
    padding: 10px 20px;
    color: black;
    background-color: pink;
    border-radius: 5px;
    width: 120px;
}

#play-btn {
    display: block;
    margin: 20px auto;
    padding: 7px 30px;
    background-color: pink;
    border-radius: 5px;
}

button.option-button {
    display: block;
    margin-bottom: 10px;
    transition: background-color 0.3s ease;
    cursor: pointer;
}

button.option-button:hover {
    background-color: rgb(243, 117, 136);
}

#action-button {
    background-color: palevioletred;
    margin-bottom: 20px;
}

#play-again-btn {
    background-color: palevioletred;
    margin-top: 20px;
}

/*Quiz area*/
#quiz-container {
    display: flex;
    justify-content: center;
    text-align: center;
    width: 350px;
    height: 600px;
    background-color: rgba(255, 255, 255, 0.8);
    padding-top: 50px;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
    margin-bottom: 20px;
}

#princess-image {
    width: 180px;
    height: 250px;
    margin-bottom: 20px;
}

#options-container {
    padding: 7px 30px;
}

#question {
    font-size: 20px;
    color: #3a3a3a;
    margin-bottom: 10px;
}

@media screen and (max-width: 280px) {

    h1.heading {
        font-size: 25px;
        margin-bottom: 20px;
    }

    .heading img {
        height: 80%;
        width: 20%;
    }

    .logo {
        width: 50px;
        height: 50px;
    }

    img {
        width: 90px;
        height: 20px;
    }

    #princess-image {
        margin: 0;
        height: 130px;
        width: 120px;
    }

    #pink {
        text-align: center;
        width: 240px;
        height: 280px;
        margin-top: 10px;
        padding: 20px;
    }
    /*quiz area*/
    #quiz-container {
        text-align: center;
        overflow-x: hidden;
        padding-top: 30px;
        width: 250px;
        height: 650px;
        margin-bottom: 20px;
    }

    #question {
        margin-top: 20px;
    }

}

@media screen and (min-width: 281px) and (max-width: 414px) {

    h1.heading {
        font-size: 1.5rem;
    }

    .heading img {
        height: 80%;
        width: 20%;
    }

    img {
        width: 90px;
        height: 20px;
    }

    #princess-image {
        margin: 0;
        height: 190px;
    }

    #start-container {
        width: 100%;
        overflow-x: hidden;
        padding: 20px;
    }

    #pink {
        width: 100%;
        height: 280px;
    }

    /*quiz area*/
    #quiz-container {
        overflow-x: hidden;
        padding-top: 30px;
        height: 600px;
        margin: 0;
    }

    #quiz-container div {
        padding-top: 20px;
    }

    #question {
        margin-top: 20px;
    }
}

@media screen and (min-width: 414px) and (max-width: 767px) {

    #start-container {
        width: 80%;
        overflow-x: hidden;
    }

    #pink {
        width: 100%;
    }

    #quiz-container {
        width: 335px;
        overflow-x: hidden;
        padding-top: 30px;
        height: 600px;
    }
}

@media screen and (min-width: 768px) and (max-width: 1280px) {
    
    h1.heading {
        margin-bottom: 20px;
        font-size: 60px;
    }

    h2.pink {
        font-size: 30px;
    }

    p {
        margin-right: 30px;
        margin-left: 30px;
        font-size: 20px;
    }

    #start-container {
        width: 70%;
        overflow-x: hidden;
    }

    #pink {
        text-align: center;
        width: 100%;
        padding: 20px;
    }

    #princess-image {
        margin-top: 50px;
    }

    /*quiz area*/
    #quiz-container {
        width: 600px;
        overflow-x: hidden;
        padding-top: 30px;
        height: 900px;
    }

    #question {
        font-size: 40px;
    }

    button {
        width: 170px;
        padding: 15px 10px;
    }

}