body {
    margin: 0;
    padding: 0;
    text-align: center;
    width: 100%; /* Ensure the body takes full width */
    box-sizing: border-box; /* Include padding and border in the element's total width and height */
}

h1 {
    background-color: #081b31;
    color: aliceblue;
    height: 5rem;
    text-align: center;
    line-height: 5rem;
    margin-top: 0;
}

.choice {
    height: 150px;
    width: 150px;
    border-radius: 50%;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    margin: 1rem;
}

.choice:hover {
    opacity: 0.5;
    cursor: pointer;
    background-color: #081b31;
}

img {
    height: 150px;
    width: 150px;
    object-fit: cover;
    border-radius: 50%;
}

.choices {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 3rem;
    margin-top: 5rem;
    flex-wrap: wrap; /* Allow items to wrap on smaller screens */
}

.score-board {
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 2rem;
    margin-top: 1rem;
    gap: 5rem;
    flex-wrap: wrap; /* Allow items to wrap on smaller screens */
}

#user-score, #computer-score {
    font-size: 4rem;
}

.msg-container {
    margin-top: 3rem;
}

#msg {
    background-color: #081b31;
    color: #fff;
    font-size: 2rem;
    padding: 1rem;
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    width: fit-content;
    margin: 0 auto;
}

@media (max-width: 767px) {
    .choice {
        height: 100px;
        width: 100px;
    }
    
    img {
        height: 100px;
        width: 100px;
    }
    
    .choices {
        gap: 1rem; /* Reduce gap between choices on smaller screens */
        margin-top: 2rem;
    }
    
    .score-board {
        font-size: 1.5rem;
        gap: 2rem;
    }
    
    #user-score, #computer-score {
        font-size: 2.5rem;
    }
    
    #msg {
        font-size: 1.5rem;
        padding: 0.5rem;
    }
}
