/* Fuente y ajustes generales */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    max-height: 100%;
}
body {
    font-family: 'Segoe UI', sans-serif;
    background: url('../img/fondo_2.jpg') no-repeat center center fixed;
    background-size: cover;
    backdrop-filter: blur(5px);
    color: #ffffff;
    text-align: center;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* Logo */
.logo {
    width: 500px;
    margin: 1rem auto;
    padding-top: 2rem;
}

/* Título y descripción */
main 
{
    /*flex: 1;*/
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-color: rgba(8, 8, 8, 0.19); /* Fondo blanco con un 50% de transparencia */
    border: 1px solid #ccc; /* Opcional: borde */
    padding: 15px; /* Espaciado interno */
    border-radius: 10px; /* Esquinas redondeadas */
    width: fit-content; /* Ajusta al contenido */
    margin: 50px auto; /* Centra en la página */
    text-align: center; /* Centra texto */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); /* Sombra */
    backdrop-filter: blur(6px); /* Desenfoque de fondo */
    -webkit-backdrop-filter: blur(6px); /* Compatibilidad con Safari */
}
    
main h1 {
    font-size: 2.5rem;
    margin: 1rem 0;
}
main .descripcion {
    font-size: 1.3rem;
    max-width: 600px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* Redes sociales */
.redes p{
    margin-bottom: 1rem;
}

.redes a {
    margin: 0 0.5rem;
    color: #fff;
    text-decoration: none;
  }
  
.icono {
    width: 40px;
    height: 40px;
    display: inline-block;
    background-size: cover;
    transition: transform 0.3s;
}
.icono:hover {
    transform: scale(1.1);
}

/* Section */
section {
    margin-bottom: 20px;
} 

/* Footer */
footer {
    margin-top: auto;
    padding: 1rem;
    background-color: rgba(0,0,0,0.4);
    font-size: 0.9rem;
}

/* Responsividad */
@media (max-width: 768px) {
    .logo {
        width: 350px;
    }
    main h1 {
        font-size: 2rem;
    }
    .icono {
        width: 35px;
        height: 35px;
    }
    .main {
        width: 80%;
    }
}
