/* Importar fuente elegante */
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;700&family=Playfair+Display:wght@400;700&display=swap');

body {
    background: black;
    color: white;
    font-family: 'Roboto', sans-serif;
    margin: 0;
    padding: 0;
    text-align: center;
}

/* ----------- Logos en la esquina superior izquierda ----------- */
header {
    position: absolute;
    top: 20px;
    left: 20px;
    display: flex;
    align-items: center;
}

.logos img {
    height: 50px;
    margin-right: 10px;
}

/* ----------- Sección de cursos ----------- */
.categorias {
    margin-top: 140px; /* Bajado 5 líneas */
    padding: 20px;
}

/* ----------- Contenedor de imágenes ----------- */
.fila {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

/* ----------- Imagen con borde blanco y mayor tamaño ----------- */
.curso {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.curso img {
    width: 350px;
    height: 200px;
    border-radius: 10px;
    border: 3px solid white;
    transition: transform 0.3s, box-shadow 0.3s;
    margin-bottom: 15px; /* Espacio extra debajo de la imagen */
}

.curso img:hover {
    transform: scale(1.05);
    box-shadow: 0px 10px 20px rgba(255, 255, 255, 0.3);
}

/* ----------- Botón Ver más ----------- */
.btn-ver-mas {
    display: inline-block;
    margin-top: 5px; /* Espacio extra respecto a la imagen */
    background-color: #b22222; /* Rojo menos intenso */
    color: white;
    font-size: 16px;
    padding: 10px 18px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: background 0.3s, color 0.3s;
}

.btn-ver-mas:hover {
    background-color: white;
    color: black;
}

/* ----------- Mensaje final ----------- */
footer {
    margin-top: 60px; /* Más espacio abajo */
    padding: 20px;
    font-family: 'Playfair Display', serif;
    font-size: 20px;
    font-weight: bold;
    color: white;
}

