/* === FUENTES PERSONALIZADAS (Reutilizables) === */
@font-face {
    font-family: 'Eordeoghlakat';
    src: url('Fonts/Eordeoghlakat.woff2') format('woff2'),
         url('Fonts/Eordeoghlakat.woff') format('woff');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'KG Lego House';
    src: url('Fonts/KGLegoHouse.woff2') format('woff2'),
         url('Fonts/KGLegoHouse.woff') format('woff');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'True Lies';
    src: url('Fonts/TrueLies.woff2') format('woff2'),
         url('Fonts/TrueLies.woff') format('woff');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

/* === ESTILOS GENERALES === */
body {
    margin: 0;
    padding: 0;
    background-color: #000;
    color: #fff;
    font-family: Arial, sans-serif;
}

a {
    color: #00aeff;
    text-decoration: none;
}
a:hover {
    color: #007bbf;
    text-decoration: underline;
}

/* === HEADER === */
header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: #333;
    padding: 1px 10px;
    z-index: 2;
}
header img {
    height: 50px;
}
header nav {
    display: flex;
    gap: 10px;
    align-items: center;
}
header nav a {
    color: #fff;
    font-family: 'KG Lego House', sans-serif;
    padding: 10px;
    text-transform: uppercase;
}
header nav a:hover {
    color: #ccc;
    text-decoration: underline;
}
.header a {
    text-decoration: none;
}
.header a:hover {
    text-decoration: underline;
}

/* === DROPDOWN === */
.dropdown {
    position: relative;
    display: inline-block;
    vertical-align: middle;
}
.dropdown-content {
    display: none;
    position: absolute;
    background-color: #333;
    min-width: 160px;
    max-width: 100vw;
    box-shadow: 0 8px 16px rgba(0,0,0,0.2);
    right: 0;
    overflow: hidden;
    z-index: 1;
}
.dropdown:hover .dropdown-content {
    display: block;
}
.dropdown-content a {
    color: #fff;
    padding: 12px 16px;
    display: block;
    font-family: 'Eordeoghlakat', sans-serif;
    text-decoration: none;
}
.dropdown-content a.st2-text {
    font-family: 'True Lies', sans-serif;
    font-size: 13px;
}
.dropdown-content a:hover {
    background-color: #575757;
}
.dropdown a,
.dropdown a:hover {
    text-decoration: none;
}

/* Ajuste para pantallas pequeñas */
@media (max-width: 600px) {
    .dropdown .dropdown-content {
        right: 0;
        left: auto;
    }
}

/* === MAIN / CONTENIDO === */
main {
    padding: 20px;
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}
h1, p {
    font-family: 'KG Lego House', sans-serif;
}

/* === ESTILOS DE TEXTO PERSONALIZADOS === */
.st3title-text {
    font-family: 'Eordeoghlakat', sans-serif;
}
.st2title-text {
    font-family: 'True Lies', sans-serif;
}
.red-text {
    color: #ff0000;
}
.white-text {
    color: #ffffff;
}

/* === PUBLICACIONES === */
.news-post {
    background: #222;
    border: 1px solid #444;
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 40px;
}

/* === CARRUSEL === */
.carousel {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin: 20px 0;
}
.carousel-images {
    position: relative;
    width: 500px;
    height: 300px;
    overflow: hidden;
    border: 2px solid #333;
    border-radius: 8px;
}
.carousel-images img {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 0.5s ease;
}
.carousel-images img.active {
    opacity: 1;
}
button.prev, button.next {
    background: #444;
    color: #fff;
    border: none;
    padding: 10px 15px;
    font-size: 20px;
    cursor: pointer;
    border-radius: 5px;
}
.indicators {
    text-align: center;
    margin-bottom: 20px;
}
.dot {
    height: 12px;
    width: 12px;
    margin: 0 4px;
    background-color: #666;
    border-radius: 50%;
    display: inline-block;
    cursor: pointer;
}
.dot.active {
    background-color: #fff;
}

/* === VIDEO === */
.video-container {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    margin: 20px 0;
}
.video-container iframe {
    position: absolute;
    top: 0; left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

/* === MARQUEE DE NOTICIAS === */
.news-marquee-container {
    overflow: hidden;
    white-space: nowrap;
    position: relative;
    padding: 0;
    z-index: -1;
}
.news-marquee {
    display: flex;
    width: max-content;
    animation: scroll 20s linear infinite;
}
.news-marquee-text {
    white-space: pre;
    padding-right: 100vw;
    font-size: 24px;
    font-family: 'KG Lego House', sans-serif;
    line-height: 24px;
    color: white;
}
@keyframes scroll {
    0% { transform: translateX(100%); }
    100% { transform: translateX(-100%); }
}

/* === REDES SOCIALES === */
.social-links {
    display: flex;
    justify-content: center;
    margin-top: 5px;
}
.social-icon {
    width: 32px;
    height: 32px;
    margin: 0 10px;
}

/* === FOOTER === */
footer {
    position: fixed;
    bottom: 0;
    width: 100%;
    background-color: #333;
    text-align: center;
    padding: 5px;
}
footer p {
    margin: 0;
    font-family: Arial, sans-serif;
}
