.header-container {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    background: linear-gradient(to right, #1e1e1e, #333);
    padding: 3px 15px; /* Hacemos el header más delgado */
    border-bottom: 1px solid #555;
}

.site-title {
    font-size: 20px;
    font-weight: bold;
    color: #ffffff;
    font-family: "Grenze Gotisch", serif;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.nav-menu {
    display: flex;
    gap: 10px;
}

.nav-menu a {
    text-decoration: none;
    color: #ddd;
    font-size: 14px;
    transition: color 0.3s ease;
}

.nav-menu a:hover {
    color: #ffcc00;
}

.social-media {
    display: flex;
    gap: 40px; /* Aumentamos la separación entre los iconos */
}

.social-media a {
    display: inline-block;
    width: 24px;
    height: 24px;
    background-size: cover;
}

.news-section, .opinion-section, .contact-section {
    width: 90%;
    max-width: 1000px;
    margin: 20px auto;
    padding: 20px;
    background: #f5f5f5;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.news-card, .opinion-card, .contact-card {
    background: #ffffff;
    padding: 15px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    margin-bottom: 15px;
    border-left: 5px solid #ffcc00;
}

.news-card h2, .opinion-card h2, .contact-card h2 {
    font-size: 20px;
    font-weight: bold;
    color: #333;
}

.news-card p, .opinion-card p, .contact-card p {
    color: #666;
}

.read-more {
    display: inline-block;
    margin-top: 10px;
    padding: 8px 12px;
    background-color: #ffcc00;
    color: #000;
    text-decoration: none;
    border-radius: 5px;
    transition: background 0.3s ease;
}

.read-more:hover {
    background-color: #e6b800;
}

.footer {
    text-align: center;
    padding: 15px 0;
    background-color: #1e1e1e;
    color: #ddd;
    font-size: 14px;
    margin-top: 20px;
    border-top: 1px solid #555;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.footer p {
    margin-top: 10px; /* Espaciado entre el separador y el texto */
}

.form {
    display: flex;
    flex-direction: column; /* Coloca los elementos en columna */
    gap: 30px; /* Espacio entre los elementos */
    width: 100%;
    max-width: 400px; /* Limita el ancho del formulario */
    margin: auto; /* Centra el formulario */
}

.label {
    font-weight: bold;
}

.input, textarea {
    width: 95%; /* Hace que ocupen todo el ancho disponible */
    padding: 8px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 16px;
}

.button {
    background-color: #ffcc00;
    color: black;
    padding: 10px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
}

.button:hover {
    background-color: #e6b800;
}

/* Estilos del header */

header {
    background: #333;
    padding: 10px;
    text-align: center;
    position: relative;
    z-index: 10;
}

/* Botón del menú */
#menu-toggle {
    background: #ffcc00;
    border: none;
    padding: 10px 20px;
    cursor: pointer;
    font-size: 16px;
}

/* Estilos del menú */
#nav-menu {
    background: #444;
    width: 250px; /* Reducimos el ancho del menú */
    position: absolute;
    top: 50px;
    right: 0; /* Alineamos a la derecha */
    display: none; /* Ocultamos el menú */
    border-radius: 0 0 10px 10px; /* Bordes redondeados abajo */
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.3); /* Sombra */
    transition: transform 0.3s ease-in-out;
}

/* Estilos de la lista */
#nav-menu ul {
    list-style: none;
    padding: 10px;
    margin: 0;
}

/* Estilos de los ítems del menú */
#nav-menu ul li {
    padding: 12px;
    text-align: center;
}

/* Estilos de los enlaces del menú */
#nav-menu ul li a {
    color: white;
    text-decoration: none;
    display: block;
    font-size: 16px;
    transition: background 0.3s ease, color 0.3s ease;
}

/* Efecto de resaltado al pasar el cursor */
#nav-menu ul li:hover {
    background: #666;
    border-radius: 5px;
}

/* Mostrar menú cuando está activo */
.show-menu {
    display: block !important;
}

 .news-ticker {
    background: linear-gradient(to right, #ffcc00, #ffaa00);
    padding: 10px;
    border-bottom: 3px solid #000;
    overflow: hidden;
    position: fixed;  /* Fijar el banner en la parte superior */
    top: 0;  /* Lo coloca en la parte superior de la pantalla */
    left: 0;
    width: 100%;  /* Asegura que ocupe todo el ancho */
    z-index: 1000;  /* Asegura que esté por encima de otros elementos */
    } 
	
    .ticker-wrap {
        display: flex;
        white-space: nowrap;
        overflow: hidden;
    }
    .ticker {
        display: inline-block;
        animation: scroll 40s linear infinite;
    }
    .ticker-item {
        color: #000;
        font-weight: bold;
        font-size: 14px;
        margin: 0 15px;
        text-decoration: none;
        transition: color 0.3s ease-in-out;
    }
    .ticker-item:hover {
        color: #ff0000;
    }
    @keyframes scroll {
        from { transform: translateX(100%); }
        to { transform: translateX(-100%); }
    }

 
footer {
    background: #111;
    color: #fff;
    padding: 20px 0;
    text-align: center;
}

.footer-container {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    padding: 20px;
    text-align: left;
}

.footer-column {
    flex: 1;
    min-width: 200px;
    padding: 10px;
}

.footer-column h3 {
    cursor: pointer;
    user-select: none;
}



.footer-column ul {
    list-style: none;
    padding: 0;
}

.footer-column ul li {
    margin: 5px 0;
}

.footer-column a {
    color: #fff;
    text-decoration: none;
}

.footer-column a:hover {
    text-decoration: underline;
}

.footer-bottom {
    text-align: center;
    width: 100%;
    padding-top: 10px;
}


.menu-title {
    cursor: pointer;
    background: #222;
    padding: 5px;
    border-radius: 5px;
}

.hidden {
    display: none;
}




body {
    font-family: Arial, sans-serif;
    background-color: #f4f4f4;
    margin: 0;	
}

.form-container {
    background: #fff;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    max-width: 400px;
    width: 100%;
    margin: auto;
    position: relative; /* Se agregó para evitar superposiciones */
}

.form-group {
    margin-bottom: 20px; /* Mayor separación */
}

.checkbox-group {
    margin-bottom: 20px; /* Mayor separación */
}

.submit-btn {
    width: 100%;
    padding: 12px;
    background: #28a745;
    color: white;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    cursor: pointer;
    transition: background 0.3s;
}

.submit-btn:hover {
    background: #218838;
}

 /* Botón de búsqueda flotante */
 
.search-button {
            position: fixed;
            bottom: 20px;
            right: 20px;
            background: #007bff;
            color: white;
            border: none;
            border-radius: 50%;
            width: 50px;
            height: 50px;
            font-size: 20px;
            cursor: pointer;
            display: flex;
            justify-content: center;
            align-items: center;
            box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
        }

.search-container {
            position: fixed;
            bottom: 80px;
            right: 20px;
            background: white;
            padding: 10px;
            border-radius: 5px;
            box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
			opacity: 0;
            visibility: hidden;
            transition: opacity 0.3s ease, visibility 0.3s ease;
}

.search-container.active {
            opacity: 1;
            visibility: visible;
}

.search-container input {
            width: 200px;
            padding: 5px;
            border: 1px solid #ccc;
            border-radius: 3px;
}

.highlight {
    background-color: yellow;
    font-weight: bold;
    padding: 2px;
    border-radius: 3px;
}	

#conexion-exitosa {
    display: none;
}

/* Estilos generales para los iconos */
.social-icons {
    display: flex;
    justify-content: center; /* Centrar los iconos */
    gap: 50px; /* Espaciado entre iconos */
    margin-top: 10px;
}

/* Estilos para los enlaces de los iconos */
.social-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Estilos para las imágenes de los iconos */
.social-icons img {
    width: 34px; /* Tamaño uniforme */
    height: 34px; /* Para mantener proporción */
    transition: transform 0.3s ease-in-out;
}

/* Efecto al pasar el mouse */
.social-icons img:hover {
    transform: scale(1.2);
}

body {
    padding-top: 40px; /* Ajusta según la altura del banner */
    margin-top: 50px; /* Ajusta este valor según el tamaño del banner */
}

#preview {
    margin-top: 20px;
    padding: 10px;
    border: 2px solid #ddd;
    background-color: #f9f9f9;
}

#preview h2 {
    color: #333;
}

#preview img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 10px 0;
}




/* Reset de márgenes y padding para evitar problemas de espacio */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    background-color: #f5f5f5;
    color: #000;
    margin: 0;
}

/* Estilos del Header */
header {
    background-color: #222;
    color: #fff;
    padding: 15px;
    text-align: center;
    font-size: 1.5rem;
}

/* Contenedor principal de la página */
.opinion-container {
    display: flex;
    max-width: 1200px;
    margin: 20px auto;
    gap: 20px;
}

/* Contenedor del artículo de opinión */
.opinion-main {
    flex: 3;
    background: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1);
}

.opinion-main img {
    max-width: 100%;
    height: auto;
    border-radius: 5px;
    margin-top: 10px;
}

.comentarios {
    margin-top: 30px;
    padding-top: 15px;
    border-top: 2px solid #ddd;
}

.comentarios textarea {
    width: 100%;
    padding: 10px;
    margin-top: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    resize: vertical;
}

.comentarios button {
    background-color: #ffcc00;
    color: #000;
    border: none;
    padding: 10px 15px;
    margin-top: 10px;
    cursor: pointer;
    border-radius: 5px;
    font-weight: bold;
}

/* Barra lateral de artículos */
.opinion-sidebar {
    flex: 1;
    background: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1);
}

.opinion-sidebar h2 {
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.opinion-sidebar ul {
    list-style: none;
}

.opinion-sidebar li {
    margin-bottom: 10px;
}

.opinion-sidebar a {
    text-decoration: none;
    color: #000;
    font-weight: bold;
}

/* Estilos del footer */
footer {
    background-color: #222;
    color: white;
    text-align: center;
    padding: 15px;
    margin-top: 20px;
}

/* Responsive */
@media (max-width: 768px) {
    .opinion-container {
        flex-direction: column;
    }

    .opinion-sidebar {
        order: -1;
    }
}

/* Estilo del menú de redes sociales corregir en online <------------ */  
.social-buttons {
    position: fixed;
    bottom: 80px; /* Puedes ajustar este valor para subirlos o bajarlos */
    right: 20px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.social-btn-share {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    text-decoration: none;
    border-radius: 50%;
    color: white;
    transition: transform 0.2s;
}

.facebook { background-color: #3b5998; }
.twitter { background-color: #1da1f2; }
.whatsapp { background-color: #25d366; }

.social-btn-share:hover {
    transform: scale(1.1);
}

/* Estilo del icono que abre el menú */
.social-menu-toggle {
    font-size: 16px;
    background-color: #ffcc00;
    color: black;
    border: none;
    padding: 10px 20px;
    cursor: pointer;
}

/* Estilo del menú de redes sociales agregar en online <------------*/
.social-menu {
    display: none;  /* Inicialmente oculto */
    background-color: #f9f9f9;
    position: absolute;
    top: 130px; /* Ajusta esto según la posición que desees */
    left: 4px;
    border: 1px solid #ddd;
    border-radius: 5px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    padding: 10px;
    z-index: 9999;
	gap: 80px;
}

/* Estilo para los enlaces de redes sociales */
.social-btn {
    display: block;
    padding: 10px 15px;
    margin: 20px 0;
    color: #333;
    text-decoration: none;
}

.social-btn:hover {
    background-color: #f0f0f0;
    border-radius: 5px;
}

/* Hacer que el header sea sticky (fijo en la parte superior) */
header {
    position: sticky;
    top: 30px;  /* Se queda en la parte superior cuando se hace scroll */
    z-index: 1000; /* Asegurarse de que el header esté sobre otros elementos */
    background-color: white; /* Puedes ajustar el color de fondo */
    box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.1); /* Opcional, agrega una sombra al header */
    padding-top: 60px;
}

.news-image {
	width: 150px;
	height: auto;
	border-radius: 10px;
	display: block;
	margin-bottom: 10px;
}


