/* Fondo general con los colores de la bandera de España */
body {
    margin: 0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(to bottom, #aa0000 0%, #ffcc00 50%, #aa0000 100%);
    color: white;
    text-align: center;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

/* Contenedor principal */
.container {
    padding: 2rem;
    max-width: 1000px;
}

/* Título */
h1 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    color: #ffffff;
    text-shadow: 2px 2px 4px #000000;
}

/* Grid de academias */
.academy-grid {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 2rem;
}

/* Tarjetas de academia */
.academy-card {
    background-color: #000000cc;
    border: 2px solid white;
    border-radius: 16px;
    padding: 1rem;
    width: 240px;
    text-decoration: none;
    color: white;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.4);
}

.academy-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 0 12px #ffffff;
}

/* Imágenes de logos */
.academy-card img {
    width: 100%;
    max-height: 200px;
    object-fit: contain;
    display: block;
    margin: 0 auto;
    padding: 0.5rem;
    border-radius: 12px;
    /* Elimina esta línea si quieres respetar la transparencia del PNG */
    /* background-color: white; */
}

/* Texto debajo de cada logo */
.academy-card h2 {
    margin-top: 1rem;
    color: #ffcc00;
    text-shadow: 1px 1px 2px #000;
}

.ls-spain-logo img {
    width: 150px;
    height: auto;
    margin-bottom: 1rem;
    border-radius: 50%;
    box-shadow: 0 0 12px rgba(0, 0, 0, 0.5);
}
