* {
    margin: 0;
    padding: 0;
    text-align: center;
}

body {
    font-family: Georgia, 'Times New Roman', Times, serif;
    background: #130561;
    background: linear-gradient(90deg, rgba(19, 5, 97, 1) 0%, rgba(26, 88, 201, 1) 31%, rgba(10, 108, 237, 1) 75%);
}

h1 {
    background-color: #a8c3e2;
    color: #313380;
    height: 5rem;
    line-height: 5rem;
}

.choice {
    height: 165px;
    width: 165px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.choice:hover {
    cursor: pointer;
    background-color: #097cff;
    box-shadow: 0 0 20px rgb(53, 215, 255);
}

img {
    height: 150px;
    width: 150px;
    object-fit: cover;
    border-radius: 50%;
}

.choiceName {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 5rem;
    margin-top: 3rem;
    color: white;
}

.choiceName .choiceAns {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.choiceName h4 {
    font-size: 1.5rem;
}

.result-image {
    height: 100px;
    width: 100px;
    object-fit: cover;
    border-radius: 50%;
}

.choices {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 3rem;
    margin-top: 5rem;
}

.score-board {
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 2rem;
    margin-top: 3rem;
    gap: 5rem;
    color: white;
}


#user-score,
#comp-score {
    font-size: 4rem;
}

.msg-container {
    margin-top: 5rem;
}

#msg {
    background-color: #a8c3e2;
    color: #313380;
    font-size: 2rem;
    font-weight: 600;
    display: inline;
    padding: 1rem;
    border-radius: 1rem;
}



@media (max-width: 768px) {

    h1 {
        font-size: 2rem;
        height: 4rem;
        line-height: 4rem;
    }

    .choices {
        gap: 1.5rem;
        margin-top: 3rem;
    }

    .choice {
        height: 130px;
        width: 130px;
    }

    img {
        height: 120px;
        width: 120px;
    }

    .choiceName {
        gap: 3rem;
        margin-top: 2.5rem;
    }

    .result-image {
        height: 90px;
        width: 90px;
    }

    .score-board {
        gap: 3rem;
        margin-top: 2.5rem;
    }

    #user-score,
    #comp-score {
        font-size: 3rem;
    }

    .msg-container {
        margin-top: 3rem;
    }

    #msg {
        font-size: 1.5rem;
    }
}


@media (max-width: 576px) {

    h1 {
        font-size: 1.5rem;
        height: 3.5rem;
        line-height: 3.5rem;
    }

    .choices {
        gap: 10px;
        margin-top: 2.5rem;
        flex-wrap: wrap;
    }

    .choice {
        height: 100px;
        width: 100px;
    }

    img {
        height: 90px;
        width: 90px;
    }

    .choiceName {
        gap: 2rem;
        margin-top: 2rem;
    }

    .choiceName h4 {
        font-size: 1.2rem;
    }

    .result-image {
        height: 75px;
        width: 75px;
    }

    .score-board {
        gap: 2rem;
        margin-top: 2rem;
        font-size: 1.3rem;
    }

    #user-score,
    #comp-score {
        font-size: 2.5rem;
    }

    .msg-container {
        margin-top: 2rem;
        padding: 0 15px;
    }

    #msg {
        font-size: 1.1rem;
        padding: 0.7rem;
    }
}

@media (max-width: 400px) {

    h1 {
        font-size: 1.3rem;
    }

    .choices {
        gap: 5px;
    }

    .choice {
        height: 85px;
        width: 85px;
    }

    img {
        height: 78px;
        width: 78px;
    }

    .choiceName {
        gap: 1.2rem;
    }

    .result-image {
        height: 65px;
        width: 65px;
    }

    .score-board {
        gap: 1.5rem;
    }

    #user-score,
    #comp-score {
        font-size: 2rem;
    }

    #msg {
        font-size: 1rem;
    }
}