/* General Body Styling */
body {
    background-color: bisque;
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Main Heading */
h1 {
    text-align: center;
    font-size: 2.5rem;
    margin: 1rem 0;
}

/* Subheading */
#sub-heading {
    text-align: center;
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

/* Images Section */
.images {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem;
    margin: 1rem 0;
}

.image {
    cursor: pointer;
    transition: transform 0.3s ease;
}

.image:hover {
    transform: scale(1.1);
}

.large {
    height: 15rem;
    width: 100%;
    max-width: 180px;
    /* Ensures images don't exceed a certain size */
    border-radius: 20%;
    border: 3px solid black;
}

/* Scores Section */
.scores {
    display: flex;
    justify-content: center;
}

.score {
    background-color: white;
    border-radius: 10px;
    padding: 1rem;
    text-align: center;
    width: 8rem;
    height: auto;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    margin-right: 3px;
}

/* Result Button Section */
.comment {
    border-top: 2px solid black;
    padding: 1rem;
    text-align: center;
}

button#result {
    background-color: brown;
    color: white;
    font-size: 1rem;
    padding: 1rem 2rem;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

button#result:hover {
    background-color: darkred;
}

/* Responsive Design */
@media (max-width: 768px) {
    h1 {
        font-size: 2rem;
    }

    #sub-heading {
        font-size: 1.2rem;
    }

    .images {
        flex-direction: column;
        align-items: center;
    }

    .large {
        max-width: 150px;
    }

    .scores {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }

    .score {
        width: 6rem;
    }

    button#result {
        font-size: 0.9rem;
        padding: 0.8rem 1.5rem;
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 1.5rem;
    }

    #sub-heading {
        font-size: 1rem;
    }

    .large {
        max-width: 120px;
    }

    .scores {
        gap: 0.5rem;
    }

    button#result {
        font-size: 0.8rem;
        padding: 0.5rem 1rem;
    }
}