/* styles.css */

body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    color: #fff;
        background: url('fondo-movil.jpg') no-repeat center center;

    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    color: #ffffff; /* Color de texto blanco */
}

@media (max-width: 768px) {
    body {
        background: url('fondo-movil.jpg') no-repeat center center;
        background-size: cover;
        background-attachment: scroll;
    }

    .sidebar {
        display: none; /* Oculta la barra lateral en móviles */
    }
}

header {
    background: #1a1a1a;
    padding: 10px 0;
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    border-bottom: 2px solid #444;
    z-index: 1000;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.game-icon {
    width: 60px;
    height: 60px;
}

nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
}

nav ul li {
    margin-right: 20px;
}

nav ul li a {
    font-size: 1.1em;
    text-decoration: none;
    color: #ff9900;
    font-weight: bold;
    transition: color 0.3s ease, text-shadow 0.3s ease;
}

nav ul li a:hover {
    color: #fff;
    text-shadow: 0 0 10px #ff9900;
}

.logo img {
    max-width: 120px; /* Ajusta el tamaño del logo según sea necesario */
    height: auto;
}

.banner {
    height: 75vh;
    background: url('banner-portada.jpg') no-repeat center center/cover;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: #fff;
    background: rgba(0, 0, 0, 0.6); /* Fondo semitransparente */
}

.game-icon-banner {
    width: 150px; /* Ajusta el tamaño del ícono según sea necesario */
    height: 150px; /* Mantiene la proporción original de la imagen */
    margin-bottom: 5px; /* Espacio entre el ícono y el texto */
    border-radius: 15px; /* Redondea solo las esquinas */
    object-fit: cover; /* Asegura que la imagen se ajuste al contenedor sin distorsionarse */
}

.banner-content {
    max-width: 600px;
    text-align: center;
    padding: 20px;
    margin-bottom: 40px; /* Separación con la sección de slider */
}

.btn-download {
    display: inline-block;
    background: #ff9900;
    color: #fff;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    text-decoration: none;
    font-size: 16px;
    margin: 10px;
    transition: background 0.3s ease, transform 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-download i {
    margin-right: 8px;
}

.btn-download:hover {
    background: #e68a00;
    transform: scale(1.05);
}

.sidebar {
    position: fixed;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    background: #1a1a1a;
    padding: 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    border-left: 2px solid #444;
}

.btn-sidebar {
    background: #1a1a1a;
    border: none;
    padding: 10px;
    border-radius: 5px;
    color: #fff;
    margin-bottom: 10px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s ease, transform 0.3s ease;
    text-decoration: none;
}

.btn-sidebar i {
    margin-right: 8px;
}

.btn-sidebar:hover {
    background: #333;
    transform: scale(1.1);
}

.slider {
    background: #222;
    padding: 20px;
    text-align: center;
    position: relative;
}

.slider h2 {
    color: #ff9900;
    margin-bottom: 20px;
    font-size: 24px;
    font-weight: bold;
}

.slider-container {
    display: flex;
    overflow: hidden;
    width: 100%;
}

.slide {
    min-width: 100%;
    transition: transform 0.5s ease-in-out;
    position: relative;
}

.slide img {
    width: 100%;
    height: auto;
    border-radius: 10px;
}

.video-section {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 10px; /* Ajusta el padding según sea necesario */
    background-color: #000; /* Fondo opcional para la sección */
}

.video-container {
    position: relative;
    width: 100%;
    max-width: 800px; /* Ajusta el ancho máximo según tus necesidades */
    height: 0;
    padding-bottom: 56.25%; /* Relación de aspecto 16:9 (100% / 16 * 9) */
    overflow: hidden;
    border-radius: 10px; /* Opcional: bordes redondeados para el contenedor */
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}


footer {
    background: #1a1a1a;
    color: #ccc;
    text-align: center;
    padding: 10px 0;
}


.banner-content {
    text-align: center;
    padding: 20px;
    margin-top: 80px; /* Ajusta el valor para desplazar la sección hacia abajo */
    margin-bottom: 40px; /* Separación con la sección de slider */
}


/* Ocultar la barra lateral en dispositivos móviles */
@media (max-width: 768px) {
    .sidebar {
        display: none;
    }
}


@media (min-width: 769px) {
    nav a {
        font-size: 1.5em; /* Tamaño de fuente más grande para pantallas grandes */
        font-weight: bold; /* Texto en negrita */
    }

    nav ul li a {
        font-size: 1.5em;
        text-decoration: none;
        color: #ff9900;
        font-weight: bold;
        transition: color 0.3s ease, text-shadow 0.3s ease;
        }
    
    .container {
        justify-content: center; /* Centra el contenido horizontalmente */
    }

    nav ul {
        justify-content: center; /* Centra los elementos de la lista en el contenedor */
    }
}