﻿html {
    background-color: #f4f6fa;
}
.info-section {
    max-width: 1000px;
    margin: auto;
    text-align: center;
    padding: 1rem;
    background-color: #ffffff;
    border-radius: 1rem;
    overflow: hidden;

}

.aviso-section {
    max-width: 1000px;
    margin: auto;
    text-align: center;
    padding: 1rem;
    background-color: #ffffff;
    border-radius: 1rem;
    overflow: hidden;
}


.aviso-section p {
    text-align:justify;
    padding:20px;
}

    .info-section img {
        width: 100%;
        max-height: 300px;
        object-fit: cover;
        border-radius: 0.5rem;
    }

.info-content h2 {
    color: #313a8c;
    margin-top: 1rem;
}

/*.info-content p {
    text-align: justify;
    margin-top: 0.5rem;
}*/

.info-content p,
.info-content ul {
    margin-top: 0.5rem;
    text-align: justify;
    font-size: 0.9rem; /* mismo tamaño de fuente que el párrafo */
    color: #555; /* mismo color que el párrafo */
    list-style-position: inside; /* viñetas adentro del bloque de texto */
    padding-left: 0px; /* sangría para las viñetas */
    list-style-position:outside;

}
.info-content ul {
   
    margin-left: 20px; /* sangría para las viñetas */
  
}

..info-content li {
    text-indent: -1.5rem; /* saca el texto hacia la izquierda */
    padding-left: 1.5rem; /* compensa el indent con padding */
    text-align: justify;
}

.info-content ul li::marker {
    color: #313a8c; /* mismo azul de tus h1 */
}

/* Animación */
.animate-fade {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 1s ease forwards;
    animation-delay: 0.3s;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}


.mini-cards-section {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;

    padding: 2rem 1rem;

}

.mini-card {
    width: 260px;
    height: 260px;
    background-size: cover;
    background-position: center;
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
}

    .mini-card:hover {
        transform: translateY(-6px);
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
    }

.mini-card-overlay {
    background: rgba(0, 0, 0, 0.2);
    width: 100%;
    height: 100%;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 1rem;
    transition: background 0.3s ease;
}

.mini-card:hover .mini-card-overlay {
    background: rgba(0, 0, 0, 0.7);
}

.mini-card h3 {
    margin: 0;
    font-size: 1.1rem;
    line-height: 1.3;
}

.mini-cards-title {
    width: 100%;
    text-align: center;
    font-size: 1.5rem;
    color: #313a8c;
    margin-bottom: 2rem;
}
.mini-cards-section a {
    text-decoration: none;
}

.mini-card {
    /* ya tienes esto configurado */
    color: inherit;
}


@media (max-width: 500px) {

    .mini-card {
        width: 160px;
        height: 160px;
        background-size: cover;
        background-position: center;
        position: relative;
        border-radius: 8px;
        overflow: hidden;
        cursor: pointer;
        transition: transform 0.4s ease, box-shadow 0.4s ease;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
        display: flex;
        align-items: center;
        justify-content: center;
    }

}