/*
 * ----------------------------------------------------
 * ESTILOS GENERALES Y CONTENEDOR PRINCIPAL
 * ----------------------------------------------------
 */
body {
    font-family: sans-serif;
    margin: 0;
    min-height: 100vh;
    background-color: #fcfcfc; /* Fondo para la página de contactos */
}

/* El contenedor principal que alinea la barra lateral y el contenido */
.web-container {
    display: flex;
    width: 100%;
    min-height: 100vh;
}

/*
 * ----------------------------------------------------
 * ESTILOS DE LA BARRA LATERAL (SIDEBAR)
 * ----------------------------------------------------
 */
.sidebar {
    width: 300px;
    background-color: #00bcd4;
    color: white;
    display: flex;
    flex-direction: column;
    padding: 20px;
    box-sizing: border-box;
}

.sidebar-header {
    text-align: center;
    margin-bottom: 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.close-btn {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 50px;
    height: 50px;
    margin: 0 auto 10px;
    background-color: white;
    border-radius: 50%;
    overflow: hidden;
}

.close-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.blog-title {
    font-size: 28px;
    margin: 0;
}

/* Sección de navegación */
.sidebar-nav {
    flex-grow: 1;
}

.sidebar-nav ul {
    list-style-type: none;
    padding: 0;
    margin: 0;
}

.sidebar-nav li {
    margin-bottom: 5px;
}

.sidebar-nav li a {
    display: flex;
    align-items: center;
    color: white;
    text-decoration: none;
    padding: 15px 20px;
    font-size: 18px;
    transition: background-color 0.3s ease;
    border-radius: 5px;
}

.sidebar-nav li a i {
    width: 30px;
    text-align: center;
}

.sidebar-nav li a.active {
    background-color: white;
    color: #00bcd4;
    font-weight: bold;
}

.sidebar-nav li a:not(.active):hover {
    background-color: rgba(255, 255, 255, 0.2);
}

/* Pie de página de la barra lateral */
.sidebar-footer {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.3);
}

.sidebar-footer a {
    color: white;
    font-size: 24px;
    margin: 0 10px;
    text-decoration: none;
    transition: color 0.3s ease;
}

.sidebar-footer a:hover {
    color: #f1f1f1;
}

/*
 * ----------------------------------------------------
 * ESTILOS DEL CONTENIDO PRINCIPAL (CONTACTOS)
 * ----------------------------------------------------
 */
.main-content {
    flex-grow: 1;
    padding: 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.contact-container {
    text-align: center;
}

.instagram-title {
    font-family: 'Comic Neue', cursive;
    font-size: 40px;
    font-weight: bold;
    color: #00000098; /* El color con transparencia solo se aplica al texto del título */
    margin-bottom: 30px;
    position: relative;
    padding: 0 20px;
}

.instagram-title::before, .instagram-title::after {
    content: "💖";
    font-size: 32px;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    color: #000000; /* Color negro sólido y opaco para los emojis */
}

.instagram-title::before {
    left: -50px;
}

.instagram-title::after {
    right: -50px;
}

.instagram-grid {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.instagram-card {
    background: linear-gradient(135deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888, #9950b3, #8a40a8);
    color: white;
    border-radius: 15px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    padding: 30px;
    text-align: center;
    width: 300px;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}

.instagram-card:hover {
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
    transform: translateY(-5px);
}

.instagram-card:active {
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    transform: translateY(0);
}

.instagram-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 15px;
}

.instagram-card h3 {
    margin: 0 0 20px 0;
    font-size: 1.5em;
    position: relative;
    z-index: 1;
}

.instagram-card a {
    text-decoration: none;
    color: white;
    font-size: 1.2em;
    display: flex;
    align-items: center;
    gap: 10px;
    position: relative;
    z-index: 1;
}

.instagram-icon {
    font-size: 2.5em;
}
