/* paleta de colores */
/* #00a4ef */ /* Azul claro */
/* #ffffff */ /* Blanco */
/* #111 */ /* Negro */
/* #333 */  /* Gris oscuro */

/* Estilos específicos para index.html */
.logo h1 {
    font-size: 28px;
    color: #ffffff;
}

/* Top Section */
.top {
    height: 230px;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: #ffffff;
}

.top h2 {
    font-size: 48px;
    margin-bottom: 20px;
    display: flex;
    justify-content: center;
    gap: 10px;
}

.top h2 span {
    position: relative;
    display: inline-block;
    padding-bottom: 5px;
}

.top h2 span {
    border-radius: 10px;
    padding-left: 10px;
    padding-right: 10px;
    opacity: 0;
    animation-fill-mode: forwards;
}

.top h2 span:nth-child(1) {
    animation: reveal 8s forwards;
}

.top h2 span:nth-child(2) {
    animation: reveal 8s  2.5s forwards;
}

.top h2 span:nth-child(3) {
    animation: reveal 8s  5s forwards;
}

@keyframes reveal {
    0% {
        clip-path: inset(0 100% 0 0);
        color: #444;
        background-color: #ffcb63;
        opacity: 0;
    }
    25% {
        clip-path: inset(0 0 0 0);
        opacity: 1;
        background-color: #fbb832;
        color: #111;
    }
    75% {
        clip-path: inset(0 0 0 0);
        background-color: #fbb832;
        color: #111;
    }
    100% {
        clip-path: inset(0 0 0 0);   

        opacity: 1;
    }
}

.top p {
    font-size: 18px;
    margin-bottom: 30px;
}

.main-content {
    background-color: #111;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 25px;
    justify-items: center;
    align-items: center;
}

.content-block {
    text-align: center;
    margin-bottom: 30px;
    max-width: 400px;
    max-height: auto;
    padding: 25px;
}

.content-block img {
    width: 100%;
    max-width: 350px;
    height: 250px;
    border-radius: 10px;
    object-fit: fill;
}

.content-block img:hover {
    opacity: 0.8;
    transform: scale(1.05);
    transition: 0.5s;
    cursor: pointer;
}

/* Media Queries para pantallas pequeñas */
@media (max-width: 768px) {
    .container {
        flex-direction: column;
        align-items: center;
    }

    .top {
        height: 300px;
        width: 90%;
    }

    .top h2 {
        font-size: 36px;
    }

    .top p {
        font-size: 16px;
    }

    .top h2 {
        display: flex;
        flex-direction: column;
    }

    .top-content h2 span {
        font-size: 24px;
    }

    .main-content {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    }

    .content-block {
        padding: 15px;
    }

    .content-block img {
        height: 200px;
    }

    
}