/* 
    Créditos: Cristhian Yalle 
    Descripción: Estilos responsivos para el sitio web de la comunidad de desarrolladores Grupo Yalle.
    Fecha: 2025-06-15
    Licencia: MIT License
    Este archivo contiene estilos CSS para hacer que el sitio web sea responsivo y se adapte a diferentes tamaños de pantalla.
*/

body {
    background-image: url('./../../background/bg-contact.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
    position: relative;
}



/* Contenedor principal */
.container {
    width: 100%;
    max-width: 500px;
    margin: auto;
    animation: fadeIn 1s ease-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

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

/* Perfil */
.profile {
    text-align: center;
    margin-bottom: 30px;
    animation: slideUp 0.8s ease-out 0.2s both;
    color: #fff;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

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

.avatar {
    width: 130px;
    height: 130px;
    border-radius: 50%;
    object-fit: cover;
    border: 5px solid white;
    box-shadow: 0 10px 20px rgba(90, 45, 130, 0.2);
    margin-bottom: 15px;
    transition: transform 0.3s ease;
}

.avatar:hover {
    transform: scale(1.05) rotate(5deg);
}

h1 {
    font-size: 28px;
    margin-bottom: 10px;
    font-weight: 700;
}

.bio {
    font-size: 16px;
    opacity: 0.8;
    max-width: 80%;
    margin: 0 auto;
    font-weight: 700;
}

/* Links */
.links {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 30px;
}

.link-item {
    background: white;
    color: #5a2d82;
    text-decoration: none;
    padding: 15px 20px;
    border-radius: 15px;
    display: flex;
    align-items: center;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(90, 45, 130, 0.1);
    transform: translateY(0);
    opacity: 0;
    animation: slideUp 0.5s ease-out forwards;
}

.link-item:nth-child(1) {
    animation-delay: 0.4s;
}

.link-item:nth-child(2) {
    animation-delay: 0.5s;
}

.link-item:nth-child(3) {
    animation-delay: 0.6s;
}

.link-item:nth-child(4) {
    animation-delay: 0.7s;
}

.link-item:nth-child(5) {
    animation-delay: 0.8s;
}

.link-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(90, 45, 130, 0.2);
    background: #f8f0ff;
}

.link-icon {
    width: 30px;
    height: 30px;
    margin-right: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: white;
    background: linear-gradient(135deg, #a45deb 0%, #6a5dec 100%);
    border-radius: 8px;
}

.link-text {
    flex: 1;
    font-weight: 600;
}

.link-arrow {
    color: #b388ff;
    transition: transform 0.3s ease;
}

.link-item:hover .link-arrow {
    transform: translateX(5px);
}

/* Redes sociales */
.social-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
    animation: fadeIn 1s ease-out 1s both;
}

.social-link {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #5a2d82;
    font-size: 20px;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(90, 45, 130, 0.1);
}

.social-link:hover {
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 10px 20px rgba(90, 45, 130, 0.2);
}

.social-link.instagram {
    color: #e1306c;
}

.social-link.youtube {
    color: #ff0000;
}

.social-link.tiktok {
    color: #000000;
}

.social-link.twitter {
    color: #1da1f2;
}

.social-link.facebook {
    color: #1877f2;
}

/* Footer */
footer {
    margin-top: 40px;
    text-align: center;
    font-size: 14px;
    opacity: 0.7;
    animation: fadeIn 1s ease-out 1.2s both;
}

/* Responsive */
@media (max-width: 600px) {
    .container {
        padding: 0 20px;
    }

    .bio {
        max-width: 100%;
    }
}

.text-white {
    color: #fff;
}