/* Resetear márgenes y paddings globales */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Ajustes generales del body */
html, body {
    height: 100%;
    width: 100%;
    overflow-x: hidden;
    font-family: "Arial", sans-serif;
    background: url('../images/fondocafe.jpg') no-repeat center center fixed;
    background-size: cover;
    background-position: center;
    color: #fff;
}

/* Contenedor principal */
.container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100vh;
    width: 100vw;
    /* background: rgba(0, 0, 0, 0.6); */ /* Elimina o comenta esta línea */
    padding: 30px;
}


/* Sección de perfil */
.profile {
    text-align: center;
    margin-bottom: 20px;
    margin-top: -30px; /* Ajuste para subir el logo */
}

.profile img {
    width: 190px;
    height: 170px;
    border-radius: 10%;
    border: 3px solid #8d2f12; /* Borde verde medio oscuro */
    object-fit: cover;
    background-color: #fff;
    padding: 10px;
}

.profile h2 {
    margin-top: 15px;
    font-size: 24px; /* Reducir tamaño de la fuente */
    font-weight: bold;
    color: #fff; /* Color blanco */
}

.profile p {
    font-size: 16px;
    opacity: 1;
    color: #8B4513; /* Marrón rojizo */
}

/* Contenedor de enlaces */
.links {
    display: flex;
    flex-direction: column; /* Acomoda los íconos en columna */
    align-items: center; /* Centra los íconos */
    gap: 15px; /* Espaciado entre cada ícono */
    margin-top: 20px;
    width: 100%;
}

/* Estilo para los íconos de redes sociales */
.social-icon {
    display: flex;
    align-items: center;
    width: 240px; /* Aumentado para alargar más */
    height: 60px;
    border-radius: 35px; /* Mantiene la forma ovalada */
    background-color: #8d2f12;
    border: 3px solid #fff;
    box-shadow: 0 4px 8px rgba(106, 78, 35, 0.3);
    text-decoration: none;
    padding: 5px 15px;
    transition: all 0.3s ease;
}


/* Estilo de la imagen dentro del ícono */
.social-icon img {
    width: 50px;
    height: 50px;
    border-radius: 50%; /* Mantiene la imagen redonda */
    object-fit: cover;
}

/* Estilo del texto al lado del ícono */
.social-icon span {
    font-size: 18px;
    color: #fff;
    margin-left: 15px; /* Espaciado entre la imagen y el texto */
    font-weight: bold;
}

/* Efecto hover */
.social-icon:hover {
    background-color: #B8860B; /* Fondo dorado oscuro */
    transform: scale(1.05);
    box-shadow: 0 6px 12px rgba(139, 69, 19, 0.4);
    filter: brightness(1.2);
}

/* Ajustes responsive */
@media (max-width: 600px) {
    .social-icon {
        width: 180px;
        height: 50px;
    }
    .social-icon img {
        width: 40px;
        height: 40px;
    }
    .social-icon span {
        font-size: 16px;
    }
}
