:root {
    --gallery-bg-color: #000000;
    --gallery-border-color: #dddddd;
    --gallery-label-color: #1bff6c;
    --gallery-shadow-color: #FFC107;
    --gallery-button-bg: #007bff;
    --gallery-button-hover-bg: #0056b3;
    --gallery-font-size: 18px;
}

/* Estilos generales para la cabecera de la galerÃ­a */
.gallery-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
    background-color: var(--gallery-bg-color);
    border-bottom: 1px solid var(--gallery-border-color);
    border-radius: 12px;
}

.gallery-header label {
    font-size: var(--gallery-font-size);
    font-weight: bold;
    color: var(--gallery-label-color);
    text-shadow: 1px 1px 2px #000, 0 0 25px var(--gallery-shadow-color), 0 0 5px;
}

/* Estilos para los botones */
.gallery-header button {
    padding: 5px 10px;
    font-size: 16px;
    background-color: var(--gallery-button-bg);
    color: #ffffff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.gallery-header button:hover {
    background-color: var(--gallery-button-hover-bg);
}

/* Estilos del contenedor del carrusel */
.carrusel-container {
    position: relative;
    margin: 20px auto;
    width: 80%;
    max-width: 800px;
    overflow: hidden;
    background-color: #ffffff;
    border: 1px solid #dddddd;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    padding: 20px;
}

/* Estilos del carrusel */
.carrusel {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.carrusel img, .carrusel video {
    max-width: 100%;
    height: auto;
    border-right: 1px solid #dddddd;
}

.carrusel img:last-child, .carrusel video:last-child {
    border-right: none;
}

img.bloqueado, video.bloqueado {
    filter: blur(15px);
    pointer-events: none;
}

/* Estilos de los botones del carrusel */
.carrusel-prev, .carrusel-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.5);
    color: #ffffff;
    border: none;
    border-radius: 50%;
    width: 35px;
    height: 40px;
    cursor: pointer;
    outline: none;
    z-index: 1000;
}

.carrusel-prev {
    left: 10px;
}

.carrusel-next {
    right: 10px;
}

.carrusel-prev:hover, .carrusel-next:hover {
    background-color: rgba(0, 0, 0, 0.8);
}

/* Barra de progreso */
.progreso {
    width: 100%;
    background-color: #f3f3f3;
    position: fixed;
    top: 0;
    left: 0;
    height: 30px;
    z-index: 1000;
}

.barraProgreso {
    height: 100%;
    width: 0;
    background-color: #4caf50;
    text-align: center;
    line-height: 30px;
    color: white;
}

/* PayPal button container adjustments */
#paypal-button-container-600,
#paypal-button-container-300 {
    margin-top: 20px;
    text-align: center;
}

/* Media Queries para pantallas pequeÃ±as y grandes */
@media (max-width: 599px) {
    .gallery-header label {
        font-size: 14px;
    }
    .gallery-header button {
        font-size: 14px;
        padding: 6px 12px;
    }
}

@media (min-width: 600px) and (max-width: 899px) {
    .gallery-header label {
        font-size: 16px;
    }
}

@media (min-width: 900px) and (max-width: 1199px) {
    .gallery-header label {
        font-size: 18px;
    }
}

@media (min-width: 1200px) {
    .gallery-header label {
        font-size: 20px;
    }
}


/* Contenedor del curso */
.contenedor-curso {
    display: flex;
    flex-direction: column; /* Asegura que el tÃ­tulo y la descripciÃ³n estÃ©n uno encima del otro */
    align-items: center; /* Centra el contenido */
    justify-content: center;
    padding: 20px;
    background: #ffffff;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    width: 90%;
    max-width: 800px; /* Ajusta el ancho mÃ¡ximo */
    margin: 0 auto 20px auto; /* Centra el contenedor */
}

/* Estilo para la cabecera del curso */
.curso-header {
    width: 100%; /* OcuparÃ¡ todo el ancho disponible */
    text-align: center;
    display: flex;
    flex-direction: column; /* Los elementos estarÃ¡n en columna */
    gap: 10px; /* Espaciado entre los elementos */
}

/* Input y textarea del curso */
.curso-header input, 
.curso-header textarea {
    width: 100%;
    max-width: 600px; /* No se expanden demasiado */
    padding: 10px;
    font-size: 16px;
    border: 1px solid var(--gallery-border-color);
    border-radius: 5px;
    text-align: center;
}

/* Ajuste de tamaÃ±o para el textarea */
.curso-header textarea {
    height: 80px; /* Altura fija */
    resize: none; /* Evita el redimensionamiento manual */
}

/* Ajuste del carrusel de videos */
.carrusel-container {
    width: 100%;
    max-width: 900px; /* Ajustar el ancho del carrusel */
    margin: 0 auto;
}

/* Tarjetas de video */
.video-card {
    min-width: 280px;
    max-width: 320px;
    text-align: center;
    background: #f9f9f9;
    padding: 10px;
    border-radius: 10px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* Video en el carrusel */
.video-card video {
    width: 100%;
    border-radius: 10px;
}

/* Ajuste de los botones de navegaciÃ³n del carrusel */
.carrusel-prev, .carrusel-next {
    width: 40px;
    height: 40px;
    background-color: rgba(0, 0, 0, 0.5);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}


.btn-confirm {
    background-color: green;
    color: white;
    border: none;
    padding: 5px 10px;
    margin-left: 5px;
    cursor: pointer;
    border-radius: 5px;
    font-size: 16px;
}

.btn-confirm:hover {
    background-color: darkgreen;
}
