/* Estilos Generales */
body {
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    width: 100vw;
    background: url('fondos/colores_max.gif') center/cover;
    overflow: hidden;
}

/* Pantalla de Inicio */
.start-screen {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100vw;
    height: 100vh;
    background: black url("fondos/fondo_interr.png") center/cover;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;
}

.start-button {
    width: 230px;
    height: 130px;
    background: transparent url("imgs/boton.png") center/cover;
    border: none;
    cursor: pointer;
    transition: background-image 0.13s ease;
}

.start-button:hover,
.start-button:active {
    background-image: url("imgs/boton_apretao.png");
}

/* Contenedor Principal */
.content {
    width: 100vw;
    height: 100vh;
    background: url('fondos/confeti.gif') center/cover;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Sistema Grid Responsivo */
.tortugas-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* Móvil: 2 columnas */
    gap: 15px;
    justify-items: center;
    align-items: center;
    padding: 20px;
    width: 100%;
    max-width: 900px;
}

img {
    width: 100%;
    max-width: 200px;
    object-fit: contain;
}

/* Media Query para Escritorio */
@media (min-width: 768px) {
    .tortugas-grid {
        grid-template-columns: repeat(3, 1fr); /* Escritorio: 3 columnas */
        gap: 30px;
    }
    img {
        max-width: 250px;
    }
}

/* Animaciones */
.dance1 { animation: dance 1s infinite; }
.dance2 { animation: dance2 1s infinite; }

@keyframes dance {
    0% { transform: translateX(0) rotate(0deg); }
    25% { transform: translateX(5%) rotate(15deg); }
    50% { transform: translateX(0) rotate(0deg); }
    75% { transform: translateX(-5%) rotate(-15deg); }
    100% { transform: translateX(0) rotate(0deg); }
}

@keyframes dance2 {
    0% { transform: translateX(0) rotate(0deg); }
    25% { transform: translateX(5%) rotate(-15deg); }
    50% { transform: translateX(0) rotate(0deg); }
    75% { transform: translateX(-5%) rotate(15deg); }
    100% { transform: translateX(0) rotate(0deg); }
}
