.containerGame {
    --color1: #FFD83B;
    --color2: #009251;
    --color3: #79B82C;
    --color4: #444B44;
    --color5: #000000;

    margin: 0 auto;
}

.game-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

@media (max-width: 992px) {
    .game-container {
        grid-template-columns: 1fr;
    }
}

.image-container {
    position: relative;
}

.imagenOri .subtitle,
.imagenModi .subtitle {
    text-align: center;
    color: var(--color3);
}

.image {
    width: 100%;
    /* height: 320px; */
    background: #f0f0f0;
    position: relative;
    overflow: hidden;
}

.difference-spot {
    position: absolute;
    /* border: 2px solid blue !important; */
    background-color: transparent;
}

.user-spot {
    width: 6%;
    height: 8%;
    background-image: url(../img/interactivo/seleccion.svg);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    position: absolute;
    /* border-radius: 50%; */
    transform: translate(-50%, -50%);
    cursor: pointer;
    transition: background 0.5s;
}

.difference-spot[data-id="1"] {
    left: 2.5%;
    top: 68%;
    width: 6.5%;
    height: 9%;
}

.difference-spot[data-id="2"] {
    left: 4.8%;
    top: 83.5%;
    width: 9%;
    height: 11%;
}

.difference-spot[data-id="3"] {
    left: 26.5%;
    top: 39.4%;
    width: 6%;
    height: 5.5%;
}

.difference-spot[data-id="4"] {
    left: 42.5%;
    top: 86.5%;
    width: 7.2%;
    height: 9%;
}

.difference-spot[data-id="5"] {
    left: 50.2%;
    top: 23.3%;
    width: 5.5%;
    height: 9%;
}

.difference-spot[data-id="6"] {
    left: 52%;
    top: 72%;
    width: 11%;
    height: 12%;
}

.difference-spot[data-id="7"] {
    left: 66.2%;
    top: 66%;
    width: 5%;
    height: 7.5%;
}

.difference-spot[data-id="8"] {
    left: 71.93%;
    top: 74.76%;
    width: 4.4%;
    height: 10%;
}

.difference-spot[data-id="9"] {
    left: 84.6%;
    top: 51%;
    width: 6%;
    height: 10.2%;
}

.difference-spot[data-id="10"] {
    left: 79.2%;
    top: 68.3%;
    width: 19%;
    height: 18.5%;
}

.user-spot:hover {
    border-color: rgba(255, 255, 0, 0.5);
}

.user-spot.found {
    background-image: url(../img/interactivo/correcto.svg);
}

.user-spot.error {
    background-image: url(../img/interactivo/incorrecto.svg);
    /* animation: shake 0.5s; */
}

.stats {
    display: flex;
    justify-content: center;
    font-size: 20px;
    color: var(--color4);
    font-weight: bold;
    align-items: center;
}

#foundCount,
#totalCount {
    font-weight: bold;
    color: var(--color2);
    padding-left: 2px;
    padding-right: 2px;
    font-size: 2rem;
}

#foundCount {
    padding-left: 10px;
}

.controls {
    display: flex;
    justify-content: center;
}

.progress {
    margin-top: 10px;
    font-size: 1.1em;
    text-align: center;
    display: none;
}

@keyframes shake {

    0%,
    100% {
        transform: translateX(0);
    }

    25% {
        transform: translateX(-5px);
    }

    75% {
        transform: translateX(5px);
    }
}

/* Placeholder images */
.placeholder-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border: 2px solid var(--color1);
}

#calificarButton {
    cursor: not-allowed;
    filter: grayscale(1);
}

#calificarButton.active {
    filter: grayscale(0);
    cursor: pointer;
}

.hidden {
    opacity: 0;
    pointer-events: none;
}


.d-none {
    display: none !important;
}