/* Estilos generales */
#centeredTable {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

#videoContainer {
    overflow-x: auto;
    white-space: nowrap;
    text-align: center;
    border-collapse: collapse;
    box-shadow: 0px 0px 5px rgba(0, 0, 0, 0.1);
    position: relative;
    margin-top: 250px;
}

/* Contenedor general que envuelve todo */
.contenedor-general {
    display: flex;
    flex-direction: column;
    gap: 20px; /* Espacio entre los contenedores */
    width: 100%;
}

/* Contenedor superior para 3D y Pixel Art */
.contenedor-superior {
    display: flex;
    justify-content: space-between;
    gap: 20px; /* Espacio entre los contenedores */
    width: 100%;
}

/* Estilos para el contenedor 3D Visual */
.CONTENEDOR-3D-VISUAL {
    width: 48%; /* Mitad del espacio disponible */
    padding: 20px;
    border-radius: 20px;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
    background-color: black;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.left-container {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Estilos para el contenedor de Pixel Art */
.CONTENEDOR-PIXEL-ART {
    width: 48%; /* Mitad del espacio disponible */
    padding: 20px;
    border-radius: 20px;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
    background-color: black;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Estilos para el logo de Pixel Art */
#imagenPixelArt {
    width: 500px;
    height: auto;
    margin-bottom: 20px;
    border-radius: 5px;
    transition: transform 0.3s ease;
}

#imagenPixelArt:hover {
    transform: scale(1.1);
}

/* Ajustes para el contenedor del video en Pixel Art */
#videoPlayerContainerPixelArt {
    width: 100%;
    height: 400px;
    border-radius: 10px;
    margin-bottom: 20px;
    overflow: hidden;
}

/* Ajustes para el iframe del video en Pixel Art */
#videoPlayerContainerPixelArt iframe {
    width: 100%;
    height: 100%;
    border: none;
    border-radius: 10px;
}

/* Ajustes para el contenedor del video en 3D */
#videoPlayerContainer3D {
    width: 100%;
    height: 400px; /* Misma altura que el contenedor de Pixel Art */
    border-radius: 10px;
    margin-bottom: 20px;
    overflow: hidden;
}

/* Ajustes para el iframe del video en 3D */
#videoPlayerContainer3D iframe {
    width: 100%;
    height: 100%;
    border: none;
    border-radius: 10px;
}

/* Efecto al pasar el cursor sobre la imagen */
.overlay-image:hover {
    animation: float 2s ease-in-out infinite;
}

/* Carrusel */
.carousel {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

#tamañoVideos {
    width: 100%;
    height: 600px;
    max-height: 700px;
    border-radius: 10px;
    margin-bottom: 20px;
    object-fit: cover;
}

.carousel-buttons {
    display: flex;
    justify-content: center;
    width: 100%;
    gap: 20px;
}

.carousel-buttons button {
    background-color: white;
    border: 2px solid black;
    border-radius: 50%;
    padding: 10px;
    cursor: pointer;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
    transition: background-color 0.3s;
}

.carousel-buttons button:hover {
    background-color: black;
    color: white;
}

/* Contenedor de imágenes */
.image-wrapper {
    position: relative;
    width: 100%;
    height: auto;
    overflow: hidden;
}

/* Imagen de fondo (MESAPC.png) */
.right-image {
    width: 100%;
    height: auto;
    border-radius: 0;
    box-shadow: none;
    margin-top: 0;
    margin-right: 10px;
    padding-top: 60px;
    object-fit: cover;
}

/* Imagen superpuesta (DANKIELNUBE.png) */
.overlay-image {
    position: absolute;
    top: 0;
    left: 55%;
    transform: translateX(-50%);
    width: 40%;
    height: auto;
    z-index: 9999;
    transition: transform 0.3s ease, top 0.3s ease;
}

/* Animación de flotación */
@keyframes float {
    0%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    50% {
        transform: translateX(-50%) translateY(-10px);
    }
}

/* Efecto al pasar el cursor sobre la imagen */
.overlay-image:hover {
    transform: translateX(-50%) scale(1.1);
    animation: float 2s ease-in-out infinite;
}

/* Barra de reproducción sin fondo negro */
.video-controls {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    padding: 10px;
    border-radius: 10px;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
    position: relative;
    background-color: transparent;
}

/* Controles de play/pause y flechas */
.video-controls .top-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    padding: 5px 0;
    gap: 20px;
}

#playPause, #playPausePixelArt, #playPause3D {
    color: white;
    background-color: transparent;
    border: none;
    font-size: 32px;
    cursor: pointer;
    position: relative;
}

#playPause:focus, #playPausePixelArt:focus, #playPause3D:focus {
    outline: none;
}

/* Flechas */
#prevVideo, #nextVideo, #prevVideoPixelArt, #nextVideoPixelArt, #prevVideo3D, #nextVideo3D {
    color: white;
    background-color: transparent;
    border: none;
    font-size: 32px;
    cursor: pointer;
}

#prevVideo, #prevVideoPixelArt, #prevVideo3D {
    margin-right: 20px;
}

#nextVideo, #nextVideoPixelArt, #nextVideo3D {
    margin-left: 20px;
}

/* Barra de progreso */
#progressBar, #progressBarPixelArt, #progressBar3D {
    margin: 10px 0;
    width: 90%;
    height: 5px;
    background-color: rgba(255, 255, 255, 0.3);
    border-radius: 10px;
    border: none;
    flex-grow: 1;
}

#progressBar::-webkit-progress-value, #progressBarPixelArt::-webkit-progress-value, #progressBar3D::-webkit-progress-value {
    background-color: #6f737e; /* Cambio de color a #6f737e */
}

#progressBar::-moz-progress-bar, #progressBarPixelArt::-moz-progress-bar, #progressBar3D::-moz-progress-bar {
    background-color: #6f737e; /* Cambio de color a #6f737e */
}

/* Estado actual y tiempo total */
#currentTime, #totalTime, #currentTimePixelArt, #totalTimePixelArt, #currentTime3D, #totalTime3D {
    color: white;
    font-size: 14px;
}

/* Imagen 3D más grande */
#imagen3D {
    width: 500px;
    height: auto;
    margin-top: 0;
    margin-bottom: 20px;
    border-radius: 5px;
    transition: transform 0.3s ease;
}

#imagen3D:hover {
    transform: scale(1.1);
}

/* Estilos para el botón de selección de país */
.btn-seleccionar-pais {
    background-color: transparent;
    border: none;
    font-size: 18px;
    color: black;
    cursor: pointer;
    padding: 10px;
    transition: color 0.3s ease;
}

.btn-seleccionar-pais:hover {
    color: #007bff;
}

/* Estilos para el logo pequeño del país automático */
.logo-pais-automatico-pequeno {
    text-align: center;
    margin-top: 10px;
}

.logo-pais-pequeno {
    width: 50px;
    height: auto;
    border-radius: 5px;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
}

/* Estilos para el SweetAlert personalizado */
.sweet-alert-paises {
    width: 90%;
    max-width: 800px;
    padding: 20px;
}

/* Estilos para la lista de países */
.paises-lista {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    margin-bottom: 20px;
}

/* Estilos para los logos de los países */
.logo-pais {
    width: 80px;
    height: auto;
    border-radius: 5px;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    cursor: pointer;
}

.logo-pais:hover {
    transform: scale(1.1) rotate(360deg);
}

/* Estilos para el país seleccionado */
.pais-automatico {
    text-align: center;
    margin-top: 20px;
}

.pais-automatico p {
    font-size: 16px;
    color: black;
    margin-bottom: 10px;
}

.logo-pais-automatico {
    width: 120px;
    height: auto;
    border-radius: 5px;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
}

/* Estilos para el rectángulo de Precio/Información */
.info-rectangle {
    width: 50%; /* Cambiado a 50% */
    padding: 10px;
    background-color: white;
    color: black;
    text-align: center;
    border-radius: 10px;
    margin-top: 10px;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.info-rectangle:hover {
    background-color: #6f737e;
    color: white;
    transform: scale(1.05) translateY(5px);
}

/* Estilos para el contenedor de resto de visuales */
.CONTENEDOR-RESTO-VISUALES {
    width: 100%;
    padding: 20px;
    border-radius: 20px;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
    background-color: black;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Menú lateral */
.menu-lateral {
    width: 100%;
    margin-bottom: 20px;
}

.menu-lateral ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    justify-content: center;
    gap: 20px;
}

.menu-lateral ul li a {
    color: white;
    text-decoration: none;
    font-size: 16px;
    transition: color 0.3s ease;
}

.menu-lateral ul li a:hover {
    color: #007bff;
}

/* Contenedor de video */
.contenedor-video {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Estilos para el carrusel */
.carousel {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

#videoPlayerContainerRestoVisuales {
    width: 50%; /* Cambiado a 50% */
    height: 400px;
    border-radius: 10px;
    margin-bottom: 20px;
    overflow: hidden;
}

#videoPlayerContainerRestoVisuales iframe {
    width: 100%;
    height: 100%;
    border: none;
    border-radius: 10px;
}

/* Controles de video */
.video-controls {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    padding: 10px;
    border-radius: 10px;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
    position: relative;
    background-color: transparent;
}

.video-controls .top-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    padding: 5px 0;
    gap: 20px;
}

#playPauseRestoVisuales {
    color: white;
    background-color: transparent;
    border: none;
    font-size: 32px;
    cursor: pointer;
    position: relative;
}

#playPauseRestoVisuales:focus {
    outline: none;
}

/* Flechas */
#prevVideoRestoVisuales, #nextVideoRestoVisuales {
    color: white;
    background-color: transparent;
    border: none;
    font-size: 32px;
    cursor: pointer;
}

#prevVideoRestoVisuales {
    margin-right: 20px;
}

#nextVideoRestoVisuales {
    margin-left: 20px;
}

/* Barra de progreso */
#progressBarRestoVisuales {
    margin: 10px 0;
    width: 50%; /* Cambiado a 50% */
    height: 5px;
    background-color: rgba(255, 255, 255, 0.3);
    border-radius: 10px;
    border: none;
    flex-grow: 1;
}

#progressBarRestoVisuales::-webkit-progress-value {
    background-color: #6f737e;
}

#progressBarRestoVisuales::-moz-progress-bar {
    background-color: #6f737e;
}

/* Estado actual y tiempo total */
#currentTimeRestoVisuales, #totalTimeRestoVisuales {
    color: white;
    font-size: 14px;
}

/* Imágenes para los tipos de visuales */
#imagenLyricPro,
#imagenLyricSimple,
#imagenVideoClip,
#imagenConcept,
#imagenAMV {
    width: 500px; /* Mismo tamaño que las imágenes de 3D y Pixel Art */
    height: auto;
    margin-bottom: 20px;
    border-radius: 5px;
    transition: transform 0.3s ease;
}

#imagenLyricPro:hover,
#imagenLyricSimple:hover,
#imagenVideoClip:hover,
#imagenConcept:hover,
#imagenAMV:hover {
    transform: scale(1.1); /* Efecto hover igual que las imágenes de 3D y Pixel Art */
}