/* Estilos generales */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, sans-serif;
}

body {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    min-height: 100vh;
    background-color: #f5f5f5;
    color: #333;
}

/* Barra superior */
.top-bar {
    width: 100%;
    background-color: #00838F;
    color: white;
    text-align: center;
    padding: 1vh 0;
    font-size: 1vw;
}

/* Contenido principal */
.main-content {
    text-align: center;
    padding: 2vh;
}

.hero img {
    max-width: 25vw;
    margin-bottom: 2vh;
}

.subtitle {
    font-size: 2.5vw;
    font-weight: bold;
    margin-top: 1vh;
}

.description {
    font-size: 1.5vw;
    color: #666;
    margin-top: 0.5vh;
}

/* Iconos de redes sociales */
.social-icons {
    margin-top: 5vh;
    display: flex;
    justify-content: center;
    gap: 2vw;
}

.social-icons img {
    height: 2vw;
}

/* Hover con transición en los iconos de redes sociales */
.social-icons img {
    transition: filter 0.3s ease;
}

.social-icons img:hover {
    filter: brightness(50%); /* Cambia este valor si deseas otro efecto o ajusta la opacidad */
}

/* Línea decorativa en el pie */
.footer .line {
    width: 90%;
    height: 0.5vh;
    background-color: #00838F;
    margin: 4vh auto 0;
}

/* Ajustes adicionales para pantallas pequeñas */
@media (max-width: 768px) {
    .top-bar {
    width: 100%;
    background-color: #00838F;
    color: white;
    text-align: center;
    padding: 1vh 0;
    font-size: 3vw;
}

   .hero img {
    max-width: 50vw;
    margin-bottom: 2vh;
}

    .subtitle {
        font-size: 4vw;
    }

    .description {
        font-size: 3vw;
    }

    .social-icons img {
        height: 4vw;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 8vw;
    }

    .subtitle {
        font-size: 5vw;
    }

    .description {
        font-size: 4vw;
    }

    .social-icons img {
        height: 5vw;
    }
}
