* {
    margin: 0;
    padding: 0;

}

body {
    font-family: sans-serif;
    color: rgb(164, 164, 164);
    background-color: rgb(0, 0, 0);
    margin: auto;
    font-size: 14px;
}

.fondo {
    z-index: -100;
    background-image: url('images/fondo1.jpg');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    filter: brightness(15%);
    scale: 1.0;
    transition: all 1.0s ease-in-out;
    /* Añadido para transición suave */
}

.fondo:hover {
    scale: 1.1;
}

nav.top-bar {
    width: 100%;
    z-index: 100;
    position: fixed;
    background-color: rgba(0, 0, 0, 0.85);
    padding: 10px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.8);
    box-sizing: border-box;
}


nav .links a {
    padding: 10px;
    text-decoration: none;
    font-weight: 500;
    color: white;
    transition: all 0.2s ease-in-out;
    /* Añadido para transición suave */
}

nav .links a:hover {
    color: #000000;
    font-weight: 500;
    background-color: #ff9900;
}


nav .logo {
    display: flex;
    align-items: center;
}

nav .logo img {
    width: 100%;
    display: block;
    margin-right: 10px;
    transition: all 1.0s ease-in-out;
    /* Añadido para transición suave */
}

#header {
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    color: white;
    padding: 50px;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.8);
    transition: all 1.0s ease-in-out;
    /* Añadido para transición suave */
}

#slider .slide {
    margin-top: 100px;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    height: 100%; /* Ajustar la altura al 100% del contenedor */
}

#slider .slide .content {
    background-color: #000000;
    padding: 5px 20px;
    border-radius: 0px;
    display: inline;
    color: rgb(19, 19, 40);
    font-weight: bold;
    margin-bottom: 10px;
    margin-left: auto;
}

#slider .slide h1 {
    font-size: 3em;
    color: #e5e5e5;
    margin-top: -15PX;
    background-color: rgba(21, 43, 60, 0.9);
    padding: 15px 30px;
    margin-bottom: 10px;
}

#slider .slide h2 {
    font-size: 1em;
    font-weight: 200;
    background-color: rgba(0, 0, 0, 0.9);
    color: #FF9900;
    padding: 10px 30px;
    margin-bottom: 10px;
}

#slider .slide p {
    background-color: #c9ffff;
    margin-top: -15px;
    padding: 5px 30px;
    border-radius: 0px;
    display: inline;
    color: rgb(19, 19, 40);
    font-weight: bold;
    margin-bottom: 0px;
    margin-left: auto;
}


#slider .slide a {
    font-size: 1em;
    color: white;
    text-decoration: none;
    background-color: #ff9900;
    margin-top: 0px;
    padding: 10px 30px;
    border-radius: 5px;
    margin-left: auto;
    transition: all 0.1s ease-in-out;
}

#slider .slide a:hover {
    background-color: #035d4d;
}

#slider .slide .boton-whatsapp {
    display: flex;
    align-items: center; /* Centrar verticalmente */
}

#slider .slide .boton-whatsapp img {
    margin-right: 10px; /* Ajusta según sea necesario para el espacio entre la imagen y el texto */
}


#sinopsis {
    padding: 0px;
    text-align: justify;
    line-height: 30px;
    background-color: rgba(0, 0, 0, 0);
    transition: all 0.3s ease-in-out;
    /* Añadido para transición suave */
}

#sinopsis:hover {
    transform: scale(1.02);
    /* Aumenta el tamaño al hacer hover */
}

#sinopsis h3 {
    color: #ff9900;
    text-align: left;
    margin-bottom: 15px;
}

#sinopsis li {
    margin-left: 20px;
    text-align: left;
    line-height: 20px;
}

#sinopsis p {
    text-align: justify;
    line-height: 20px;
}

#perfil {
    font-family: sans-serif;
    color: rgb(164, 164, 164);
    font-size: 14px;
    text-align: justify;
    line-height: 21px;
}

#perfil2 {
    font-family: sans-serif;
    color: rgb(164, 164, 164);
    font-size: 14px;
    text-align: center;
    line-height: 21px;
}

.img_intro {
    background-image: url('images/promo.jpg');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    color: white;
    height: 100%;
    min-height: 200px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
  }

.img_perfil{
    background-image: url('images/apv2.jpg');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    color: white;
    height: 100%;
    min-height: 200px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

main {
    padding: 20px;
    max-width: 1000px;
    margin: auto;
}

main ul {
    margin: 0px 10px;
    padding: 10px;
    max-width: 600px;
    line-height: 20px;
}

#titulo {
    margin-left: 15px;
    letter-spacing: 15px;
    font-size: 12px;
    font-weight: 100;
    width: 100%;
    text-align: center;
    padding: 40px;
}

#titulo2 {
    color: rgb(91, 91, 91);
    letter-spacing: 15px;
    font-size: 9px;
    font-weight: 100;
    width: 100%;
    text-align: center;
    padding: 20px 20px 20px 35px;
    background-color: rgba(30, 30, 30, 0.8);
    margin-bottom: 15PX;
}

/* Estilos para los cards */
.card-container {
    max-width: 1000px;
    margin: 0 auto;
    margin-top: 20px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

#borde {
    border: 1px solid #ccc;
    display: flex;
    justify-content: space-between;
}

.card {
    width: 55%;
    margin: 0 auto;
    /* Centrar horizontalmente */
    margin-bottom: 20px;
    padding: 0px;
    border: 0.1px solid rgba(255, 255, 255, 0.1);
    background-color: rgba(255, 255, 255, 0.0);
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
    box-sizing: border-box;
    transition: all 0.3s ease-in-out;
    /* Añadido para transición suave */
}

.card:hover {
    transform: scale(1.02);
    /* Aumenta el tamaño al hacer hover */
    background-color: rgba(201, 255, 255, 0.1)
        /* Cambia el color de fondo al hacer hover */
}

#card-horario{
    width: 45%;
    padding: 0px 0px 25px 0px;
}

#card-docente{
    width: 48%;
    padding: 0px;
}
#perfil-container{
    padding: 20px;
}

#faqs {
    width: 45%;
    text-align: left;
    background-color: rgba(0, 0, 0, 0.2);
    border: none;
}

#contenidos {
    margin-top: 10px;
    width: 35%;
    text-align: left;
    background-color: rgba(0, 0, 0, 0.2);
    border: none;

}

#titulo-contenido{
    font-size: 12px;
    text-align: left;
    color: rgb(142, 142, 142);
    margin: 0px 0px;
    padding: 0px;
}

.card img {
    width: 100%;
    height: auto;
}

.card h2 {
    margin-top: 0px;
    padding: 10px 0px !important;
    line-height: 36px !important;
    text-align: left;
    font-size: 30px;
    color: #ff9900;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.card h3 {
    padding: 20px 0px;
    text-align: center;
    font-size: 40px;
    color: rgb(255, 255, 255);
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.card #tipo-modulo {
    padding: 20px 0px;
    text-align: center;
    font-size: 30px;
    color: rgb(255, 255, 255);
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.card h4 {
    text-align: center;
    font-size: 15px;
    color: #000000;
    font-weight: 300;
    margin-bottom: 10px;
}

.card h5 {
    text-align: center;
    font-size: 14px;
    line-height: 20px;
    margin: 0px;
    color: #ff9900;
}

.card h6 {
    margin-top: 5px;
    text-align: left;
    font-size: 16px;
    line-height: 20px;
    margin-bottom: 5px;
    color: #ff9900;
}

.card #h7 {
    font-size: 12px;
    text-align: left;
    color: #ff9900;
    margin: 0px 0px;
    padding: 0px;
}

#especial{
    font-weight: 300;
    font-size: 18px;
    line-height: 25px;
    margin-bottom: 5px;
    color: #aaa;
    margin-bottom: 40px;
}

.card p{
    text-align: justify;
    font-size: 14px;
    line-height: 25px;
    color: rgb(163, 163, 163);
    margin-bottom: 0px;
}

.card #info-modulo{
    text-align: center;
    font-size: 14px;
    line-height: 20px;
    color: rgb(163, 163, 163);
    margin-bottom: 0px;
}

.card .boton {
    text-align: center;
    margin-bottom: 50px;
}

.card .boton-whatsapp {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 15px 15px;
    font-size: large;
    text-align: center;
}

.card .boton-whatsapp img {
    margin-right: 10px; /* Ajusta según sea necesario para el espacio entre la imagen y el texto */
}

#icon-whatsapp{
    margin-left: -10px;
    width: 25px;
    height: 25px;
}

.card .boton-whatsapp:hover {
    background-color: #035d4d;
    padding: 15px 30px;
    font-size: large;
    text-align: center;
}

.card a {
    font-size: 1em;
    font-weight: 500;
    color: rgb(255, 255, 255);
    text-decoration: none;
    background-color: #ff9900;
    border: 0px solid #ccc;
    padding: 10px;
    border-radius: 5px;
    transition: all 0.1s ease-in-out;
    /* Añadido para transición suave */
}

.card a:hover {
    font-size: 1em;
    color: rgb(255, 255, 255);
    text-decoration: none;
    background-color: #e07c00;
    border: 0px solid #ccc;
    padding: 10px;
    border-radius: 5px;
}

footer {
    background-color: rgb(229, 229, 229);
    padding: 50PX;
    font-size: small;
    font-weight: 600;
    text-align: center;
    line-height: 20px;
    color: rgb(31, 31, 31);
}



.hamburger {
    display: none; /* Inicialmente oculto para pantallas grandes */
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
}

.hamburger .bar {
    width: 25px;
    height: 3px;
    background-color: white;
    margin: 3px 0;
}

.links {
    display: flex;
}

.links a {
    padding: 10px;
    text-decoration: none;
    color: white;
    transition: all 0.2s ease-in-out;
}

.links a:hover {
    background-color: #ff9900;
}




.llamadores {
    margin: 0px 100px;
    text-align: center;
    padding: 50px 100px;
}

.comment-box {
    display: inline-block;
    line-height: 30px;
    position: relative;
    padding: 0px;
    color: rgb(162, 162, 162);
    font-family: "serif";
    font-size: 24px;
}

.comment-box:before,
.comment-box:after {
    content: "\201C";
    /* Comilla izquierda */
    font-size: 80px;
    color: rgba(255, 255, 255, 0.5);
    position: absolute;
}

.comment-box:before {
    top: 30%;
    left: -20px;
    transform: translateY(-50%);
}

.comment-box:after {
    top: 90%;
    bottom: 0px;
    right: -20px;
    transform: scaleX(-1);
    /* Espejo horizontal para la comilla derecha */
}





/* Estilos para versión responsive */
@media (max-width: 768px) {
    #sinopsis{
        margin: 0;
        padding: 0;
    }
    .card {
        width: 100%;
        /* Ocupar todo el ancho en pantallas pequeñas */
        margin: 0 auto;
        margin-bottom: 20px;
    }
    #contenidos {
        margin: 0px 0px 50px 0px;
        width: 100%;
        text-align: center;
        background-color: rgba(0, 0, 0, 0.2);
        border: none;
    }
    #titulo-contenido{
        text-align: center;
        color: rgb(142, 142, 142);
        margin: 0px;
        padding: 0px;
    }
    .card h2 {
        text-align: center;
    }
    .card h3 {
        text-align: center;
        font-size: 30px;
        color: rgb(255, 255, 255);
        width: 100%;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }
    .card h6 {
        text-align: center;
    }
    .card #h7 {
        text-align: center;
    }
    #card-horario{
        width: 100%;
        padding: 0px 0px 25px 0px;
    }
    #card-docente{
        width: 100%;
        padding: 0px;
    }
    #faqs{
        width: 100%;
    }

    .hamburger {
        display: block; /* Mostrar en pantallas pequeñas */
    }
    .links {
        font-size: 12px;
        display: none; /* Ocultar en pantallas pequeñas */
        flex-direction: row;
        background-color: rgba(0, 0, 0, 0.85);
        position: fixed;
        top: 60px; /* Ajusta según tu necesidad para evitar superposición con la barra superior */
        right: 0;
        width: 100%;
        justify-content: center; /* Centrar horizontalmente */
        align-items: center; /* Centrar verticalmente */
    }
    .links a {
        margin: 0px 0px;
        text-align: center; /* Centrar los elementos */
        color: white;
        text-decoration: none;
        transition: all 0.2s ease-in-out;
    }
    nav .logo img {
        width: 100%;
        display: block;
        margin-right: 10px;
        transition: all 1.0s ease-in-out;
        /* Añadido para transición suave */
    }

    #slider .slide {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center; /* Alinea el texto al centro */
        height: 100%; /* Ajustar la altura al 100% del contenedor */
    }
    #slider .slide .content {
        background-color: #000000;
        padding: 5px 20px;
        border-radius: 0px;
        display: inline;
        color: rgb(19, 19, 40);
        font-weight: bold;
        margin-bottom: 10px;
        margin-left: auto;
    }
    #slider .slide h1 {
        width: 100%;
        font-size: 3em;
        color: #e5e5e5;
        margin-top: -15PX;
        background-color: rgba(21, 43, 60, 0.9);
        padding: 15px 30px;
        margin-bottom: 10px;
    }
    #slider .slide h2 {
        width: 100%;
        font-size: 1em;
        font-weight: 200;
        background-color: rgba(0, 0, 0, 0.9);
        color: #FF9900;
        padding: 10px 30px;
        margin-bottom: 10px;
    }
    #slider .slide p {
        width: 100%;
        background-color: #c9ffff;
        margin-top: -15px;
        padding: 5px 0px;
        border-radius: 0px;
        display: inline-block;
        color: rgb(19, 19, 40);
        font-weight: bold;
    }
    #slider .slide a {
        font-size: 1em;
        color: white;
        text-decoration: none;
        background-color: #ff9900;
        margin-top: 0px;
        padding: 10px 30px;
        border-radius: 5px;
        margin-left: auto;
        transition: all 0.1s ease-in-out;
    }
    #slider .slide a:hover {
        background-color: #035d4d;
    }
    #slider .slide .boton-whatsapp {
        display: flex;
        align-items: center;
        /* Centrar verticalmente */
    }
    #slider .slide .boton-whatsapp img {
        margin-right: 10px;
        /* Ajusta según sea necesario para el espacio entre la imagen y el texto */
    }


    .llamadores {
        margin: 0px 0px;
        text-align: center;
        padding: 40px;
    }
    .comment-box:before {
        top: 15%;
        left: -20px;
        transform: translateY(-50%);
    }
    
    .comment-box:after {
        top: 95%;
        bottom: 0px;
        right: -20px;
        transform: scaleX(-1);
        /* Espejo horizontal para la comilla derecha */
    }

}
  

.video-container {
    position: relative;
    width: 100%;
    padding-top: 100%; /* Proporción 1:1 (ancho: 100% / altura: 100%) */
    overflow: hidden;
  }
  
  .video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
  }
