/* Preloader */
/* Estilos del preloader y su fondo */
.preloader-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #000000;
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
}

.preloader-container {
    width: 100px;
    height: 100px;
    position: relative;
}

.preloader-circle {
    width: 100%;
    height: 100%;
    border: 8px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    box-sizing: border-box;
}

.preloader-pie {
    width: 50%;
    height: 100%;
    position: absolute;
    left: 0;
    top: 0;
    border: 8px solid #ba1212;
    border-radius: 100% 0 0 100% / 50% 0 0 50%;
    box-sizing: border-box;
    border-right: none;
    transform-origin: right center;
    animation: rotate 2s linear infinite;
}

@keyframes rotate {
    0% { transform: rotate(0deg); }
    50% { transform: rotate(180deg); }
    100% { transform: rotate(360deg); }
}

@keyframes rotate-fill {
    0% { display: none; }
    50% { display: block; transform: rotate(0deg); }
    100% { display: block; transform: rotate(180deg); }
}

.percentage {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #ba1212;
    font-family: 'Source Code Pro', monospace;
    font-size: 16px;
    font-weight: bold;
}

/* ----------------------------- */
/* Estilos Generales */
/* ----------------------------- */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body, html {
    height: 100%;
    background-color:#000000;
    background-image:url('../img/no-signal.gif');
}

p, li {
    font-family: sans-serif;
    font-size: 14px;
    line-height: 1.6;
}

p {margin-bottom:10px;}

h1,h2,h3 {
    font-family: 'Forum', serif;
    text-transform:Uppercase;
}

h1 {
    font-size: 32px;
    margin-bottom: 40px;
}

h2 {
    font-size: 28px;
    margin-bottom: 20px;
}

h3 {
    font-size: 20px;
    margin-bottom: 20px;
    text-align:left;
}

/* ----------------------------- */
/* Header */
/* ----------------------------- */

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 10%;
    background-color: rgba(6, 6, 6, 0.9);
    color: white;
    position: fixed;
    width: 100%;
    z-index: 1000;
    font-family: 'Source Code Pro', monospace;
    transition: background-color 0.3s ease;
}

header.scrolled {
    background-color: rgba(6, 6, 6, 0.9);
}

/* Navegación para desktop */
.desktop-nav {
    display: flex;
    align-items: center;
    width: 100%;
}

.desktop-nav nav {
    flex: 5;
    display: flex;
    justify-content: flex-start;
}

.desktop-nav nav ul {
    list-style: none;
    display: flex;
    gap: 20px;
}

.desktop-nav nav ul li a {
    color: #ba1212;
    text-decoration: none;
    font-family: 'Forum', serif;
    font-weight: 700;
    font-size: 14px;
    text-transform:uppercase;
    transition: color 0.3s ease;
}

.desktop-nav nav ul li a:hover {
    color: #d0a06f;
}

.desktop-nav .logo {
    flex: 2;
    text-align: center;
}

.desktop-nav .logo img {
    height: 60px;
    padding-top:10px;
}

.desktop-nav .right-content {
    flex: 5;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 10px;
}

.desktop-nav .social-icons,
.desktop-nav .music-icons {
    display: flex;
    gap: 10px;
}

.desktop-nav .separator {
    color: #ba1212;
    margin: 0 10px;
}

.desktop-nav .social-icons a,
.desktop-nav .music-icons a {
    color: #ba1212;
    font-size: 18px;
    transition: color 0.3s ease;
}

.desktop-nav .social-icons a:hover,
.desktop-nav .music-icons a:hover {
    color: #d0a06f;
}

/* Navegación para móvil */
.mobile-nav {
    display: none; /* Oculto por defecto */
    width: 100%;
    align-items: center;
    justify-content: space-between;
}

.mobile-nav .logo {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

.mobile-nav .logo img {
    height: 50px;  padding-top: 10px;
}

.mobile-nav .menu-toggle {
    display: none;
    background: none;
    border: none;
    color: #ba1212;
    font-size: 24px;
    cursor: pointer;
    margin-left: auto; /* Mueve el botón a la derecha */
}

.mobile-nav .menu-container {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 50%; /* Centra el menú */
    transform: translateX(-50%); /* Centra el menú */
    width: 100%; /* Ancho del menú */
    max-width: 400px; /* Ancho máximo */
    background-color: rgba(6, 6, 6, 0.9);
    padding: 20px;
    gap: 10px;
    text-align: center; /* Alinea el texto al centro */
}

.mobile-nav .menu-container.active {
    display: flex;
}

.mobile-nav nav ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.mobile-nav nav ul li a {
    color: #ba1212;
    text-decoration: none;
    font-family: 'Source Code Pro', monospace;
    font-weight: 700;
    font-size: 14px;
    transition: color 0.3s ease;
}

.mobile-nav nav ul li a:hover {
    color: #d0a06f;
}

.mobile-nav .social-icons {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 10px;
}

.mobile-nav .social-icons a {
    color: #ba1212;
    font-size: 18px;
    transition: color 0.3s ease;
}

.mobile-nav .social-icons a:hover {
    color: #ffffff;
}

.separator {
  margin-top: 3px;
  color:#ba1212;
}

/* Estilos Responsive */
@media (max-width: 1280px) {
    header {
        padding: 20px 10%;
    }
    
    .desktop-nav {
        display: none;
    }

    .mobile-nav {
        display: flex;
    }

    .mobile-nav .menu-toggle {
        display: block;
    }
}

@media (max-width: 768px) {
}

@media (max-width: 480px) {
}

/* ----------------------------- */
/* Secciones de Contenido */
/* ----------------------------- */

.lanzamiento-section,
.estreno-section,
.juego-section,
.proyecto-section,
.discografia-section,
.videoclips-section {
    padding: 60px 20%;
}

/* ----------------------------- */
/* Footer */
/* ----------------------------- */

footer {
    background-color: #000;
    text-align: center;
    padding: 20px 0 100px 0;
    font-family: serif;
    font-size: 14px;
}

footer p,footer a {
    color: #ba1212;
    margin: 0;
    font-size: 12px;
    text-decoration:none;
    transition: color 0.3s ease;
}

footer a:hover {
    color: #d0a06f;
    transition: color 0.3s ease;
}