/* ======================== */
/* General and Layout      */
/* ======================== */

body {
    /* Set a nice background color */
    background-color: #f0f0f0; 
    /* Use a simple font */
    font-family: Arial, sans-serif;
    /* This makes the body a flexbox container, allowing us to easily center content */
    display: flex;
    /* Centers the content horizontally */
    justify-content: center;
    /* Centers the content vertically (if body height is set) */
    align-items: center;
    /* Set a minimum height to center the content vertically on the entire screen */
    min-height: 100vh;
    /* Remove default margin */
    margin: 0;
}

#container {
    /* Gives the container a clean, card-like appearance */
    background-color: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    width: 90%;
    max-width: 500px;
    text-align: center;
}

/* ======================== */
/* Buttons and Images      */
/* ======================== */

.choice {
    /* Style for the buttons */
    background: none;
    border: 3px solid #333;
    /* Use 50% for a perfect circle */
    border-radius: 50%;
    width: 100px;
    height: 100px;
    cursor: pointer;
    margin: 10px;
    transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
    padding: 0;
    overflow: hidden; /* Ensures the image doesn't overflow the circle */
}

/* Add a hover effect for better user experience */
.choice:hover {
    transform: scale(1.1); /* Makes the button slightly larger on hover */
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.2);
}

.choice img {
    /* Make the images fill the button space */
    width: 100%;
    height: 100%;
    object-fit: contain; /* Ensures the image scales correctly without distortion */
}

/* Style for the Reset Score button */
.reset-button {
    background-color: #f44336; /* Red color */
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    margin-top: 20px;
    transition: background-color 0.2s ease-in-out;
}

.reset-button:hover {
    background-color: #d32f2f; /* A darker red on hover */
}

/* ======================== */
/* Text Elements           */
/* ======================== */

h2 {
    color: #333;
    font-size: 2.5em;
    margin-bottom: 20px;
}

.result {
    font-size: 1.5em;
    font-weight: bold;
    margin-top: 20px;
    color: #007BFF;
}

.js-moves, .js-score {
    font-size: 1.2em;
    color: #555;
    margin: 10px 0;
}

.score {
    font-weight: bold;
    color: #28a745;
}

/* Use a media query to make it look good on smaller screens */
@media (max-width: 600px) {
    .choice {
        width: 80px;
        height: 80px;
        margin: 5px;
    }
    h2 {
        font-size: 2em;
    }
}