body {
    font-family: sans-serif;
    margin: 0;
    padding: 100;
}

.container {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 40px;
    padding: 40px;
    width: 100%;
}

.divider {
    width: 2px;
    height: auto;
}

.explanation ul {
    margin-top: 20px;
    padding-left: 30px;
    font-size: large;
}

.explanation li {
    margin-bottom: 20px;
}

.rules {
    text-align: center;
}

.play {
    flex: 1;
    max-width: 50%;
    text-align: center;
}

h1 {
    display: block;
    width: 100%;
    text-align: center;
    margin: 10px 0;
}


.img-container {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

figure {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 10px;
}

figure img {
    width: 100px;
    height: 100px;
    object-fit: cover;
    border-radius: 5px;
}

figure button {
    margin-top: 10px;
    cursor: pointer;
    border-radius: 5px;
    padding: 8px 12px;
    font-size: 14px;
}

figure button:hover {
    background-color: black;
    color: white;
}

.button-row {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 20px;
}

#scoreButton, #reset {
    padding: 10px 20px;
    font-size: 16px;
    border-radius: 5px;
    cursor: pointer;
    margin-top: 20px;
    margin-bottom: 20px;
}

#scoreButton:hover, #reset:hover {
    transform: scale(1.05);
}

#result {
    margin-top: 20px;
    font-size: 18px;
}

#scoreDisplay, #resetscore {
    margin-top: 15px;
    font-size: 16px;
}