/* Estilos generales */
html, body {
    overflow-x: hidden;
}
* {
    box-sizing: border-box; /* Esto ayuda a manejar mejor el tamaño de los elementos */
}


body {
    font-family: 'Roboto', Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f4f4f4;
    color: #333;
}

#barra-desarrollo {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: #000;
    color: #fff;
    padding: 8px 0;
    text-align: left;
    font-size: 14px;
    z-index: 1000;
    overflow: hidden;
    white-space: nowrap;
}

#texto-desarrollo {
    display: inline-block;
    padding-left: 100%;
    animation: mover-texto 14s linear infinite;
}

@keyframes mover-texto {
    0% {
        transform: translateX(10%);
    }
    100% {
        transform: translateX(-100%);
    }
}

/* Sección de imagen y texto */
#imagen-principal {
    position: relative;
    width: 100%;
    height: 100vh;
    background-image: url('img/background.jpg'); /* Ruta de tu imagen */
    background-size: cover;
    background-position: center;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: left;
    color: white;
    padding: 0 20px;
    background-repeat: no-repeat; /* Asegúrate de que no se repita */
    padding: 0 10px; /* Reduce el relleno en pantallas pequeñas */
}

#texto-principal h1 {
    font-size: 4rem;
    font-weight: 700;
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.5);
}

#texto-principal p {
    font-size: 1.5rem;
    font-weight: 300;
    margin-top: 20px;
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.5);
    align-items: center;
}

/* Sección de Películas */
#seccion-peliculas {
    padding: 2rem;
    max-width: 800px;
    margin: 0 auto;
}

#titulo-peliculas {
    text-align: center;
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
}

#subtitulo-peliculas {
    text-align: center;
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 2rem;
}

/* Tarjetas de películas */
.tarjeta-pelicula {
    display: flex;
    align-items: center;
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    margin-bottom: 1.5rem;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.tarjeta-pelicula:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.tarjeta-pelicula img {
    width: 150px;
    height: 200px;
    object-fit: cover;
    margin-right: 1.5rem;
}

.contenido-tarjeta {
    padding: 1rem;
}

.contenido-tarjeta h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.contenido-tarjeta p {
    font-size: 1rem;
    color: #555;
    margin-bottom: 0.5rem;
}

/* Estilos para la sección de música */
#seccion-musica {
    padding: 2rem;
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

#titulo-musica {
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
}

#subtitulo-musica {
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 2rem;
}

/* Contenedor del iframe */
 .video-container {
            position: relative;
            width: 100%;
            padding-bottom: 56.25%; /* Aspect Ratio 16:9 */
            height: 0;
            overflow: hidden;
            max-width: 100%;
            margin: 0 auto; /* Centrado */
        }

        .video-container iframe {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
        }
/* Sección de Fotos */
#seccion-fotos {
    background-color: black; /* Fondo negro */
    padding: 2rem 0; /* Espaciado superior e inferior */
    display: flex;
    justify-content: center;
    align-items: center;
}

.carousel {
    position: relative;
    width: 80%;
    max-width: 800px; /* Ajusta el ancho máximo según tus necesidades */
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    aspect-ratio: 16 / 9; /* Formato 16:9 */
}

.carousel-inner {
    display: flex;
    transition: transform 0.5s ease-in-out;
    height: 100%;
}

.carousel-item {
    min-width: 100%;
    box-sizing: border-box;
    display: flex;
    justify-content: center;
    align-items: center;
}

.carousel-item img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Asegura que la imagen cubra el espacio manteniendo la relación de aspecto */
    display: block;
}

.carousel-control {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    padding: 10px;
    cursor: pointer;
    font-size: 24px;
    user-select: none;
}

.carousel-control.prev {
    left: 10px;
}

.carousel-control.next {
    right: 10px;
}

.carousel-control:hover {
    background-color: rgba(0, 0, 0, 0.8);
}

.container {
    text-align: left;
    background: rgba(255, 255, 255, 0);
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1);
    width: 300px;
}
input {
    width: 100%;
    padding: 10px;
    margin-bottom: 10px;
    background: rgba(255, 255, 255, 0.185);
    border: none;
    color: white;
    display: block;
    outline: none;
}
input::placeholder {
    color: rgba(255, 255, 255, 0.664);
}
button {
    padding: 10px 20px;
    background-color: #191a1b;
    color: white;
    border: none;
    cursor: pointer;
    display: block;
}
button:hover {
    background-color: #163657;
}