* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
}

.container_redes {
    background: #3f0285;
    color: #ccc;
    position: relative;
    padding: 10px;
    display: flex;
    height: 40px;
    text-align: center;
    align-items: center;
    justify-content: space-between;
}

.formatos {
    color: #181717;
    font-size: 12px;
    margin-right: 10px;
    padding: 4px;
    width: auto;
    height: 27px;
    background-color: #ffffff;
    border-radius: 5px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.formatos a {
    text-decoration: none;
    color: inherit;

}

header {
    background: #ffffff;
    color: #181717;
    padding: 10px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    z-index: 10;
    /* Asegura que el header esté sobre el slider */
}

.logo img {
    height: auto;
    max-width: 100%;
    width: 300px;
    /* Ajusta según sea necesario */
}

nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

/* MENU */

.menu {
    list-style: none;
    display: flex;
}

.menu li {
    position: relative;
    margin: 0 10px;
}

.menu li a {
    color: #1b1b1b;
    text-decoration: none;
    font-size: 13px;
    padding: 5px;
    transition: background 0.3s;
}

.menu li a:hover {
    background: #ffffff;
    border-radius: 5px;
}

.menu li a i {
    margin-left: 5px;
}



.submenu {
    display: none;
    position: absolute;
    top: 20px;
    left: 0;
    background: #ffffff;
    list-style: none;
    padding: 10px;
    border-radius: 5px;
    z-index: 20;
    /* Asegura que el submenú esté sobre el slider */
}

.submenu li {
    margin: 0;
}

.submenu li a {
    padding: 10px;
    color: #474646;
    display: block;
    border-radius: 0px;
    border-bottom: 1px solid rgb(206, 198, 198);
}

.submenu li a:hover {
    background: #ffffff;
}

.menu li:hover .submenu,
.menu li:focus-within .submenu,
.submenu:hover {
    display: block;
}

/* Para que el submenú de "Políticas" se abra a la derecha */
.submenu-right {
    position: absolute;
    top: 0;
    left: 100%; /* Mueve el submenú a la derecha */
    display: none; /* Oculto inicialmente */
    background: #ffffff;
    padding: 5px;
    border-radius: 5px;
}

.submenu li:hover > .submenu-right {
    display: block; /* Mostrar cuando se pasa el mouse sobre el ítem padre */
}

/* Ajusta el z-index para asegurar que el submenú esté por encima de otros elementos */
.submenu-right {
    z-index: 999;
}
.submenu li a i {
    margin-left: 5px;
    font-size: 12px;
    transition: transform 0.3s; /* Añade una transición para la rotación */
}

/* Rota la flecha cuando se pasa el ratón por encima del padre que contiene el submenú */
.submenu li:hover > a i {
    transform: rotate(0deg); /* Rota la flecha 90 grados hacia la derecha */
}



.menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;

}

.menu-toggle span {
    height: 3px;
    width: 25px;
    background: #636161;
    margin-bottom: 5px;
    border-radius: 2px;
}

.social-icons {
    display: flex;
    gap: 10px;
    align-items: center;
}

.social-icons a {
    color: #ccc;
    font-size: 1.5em;
    transition: color 0.3s;
}

.social-icons a:hover {
    color: #a09d9d;
}

/* -----ESLIDER PRINCIPAL ---------------------------------*/

.slider-container {
    position: relative;
    max-width: 100%;
    margin: auto;
    overflow: hidden;
}

.slider {
    display: flex;
    transition: transform 0.5s ease-in-out;
    will-change: transform;
}

.slide {
    min-width: 100%;
}

.slider img {
    width: 100%;
    vertical-align: middle;
}

.prev,
.next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: auto;
    padding: 16px;
    color: white;
    font-weight: bold;
    font-size: 18px;
    transition: 0.6s ease;
    user-select: none;
    background-color: rgba(0, 0, 0, 0.1);
    border: none;
}

.prev {
    left: 10px;
}

.next {
    right: 10px;
}

.prev:hover,
.next:hover {
    background-color: rgba(0, 0, 0, 0.8);
}

.centrar-imagen {

    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
    width: 100%;

}



.centrar-imagen img {
    border-radius: 10px;
}

.imagenes-banner {
    display: flex;
    justify-content: center;
    align-items: center;
}

.imagenes-banner img {
    max-width: 100%;
}



@media screen and (max-width: 768px) {

    .prev,
    .next {
        font-size: 14px;
        padding: 12px;
    }
}



body,
html {
    overflow-x: hidden;
}

/* -------seccion principal--------------------------------- */
h1 {
    font-family: 'Playfair Display', serif;
    font-size: 35px;
}

h2 {
    font-family: "Times New Roman", Times, serif;
    font-style: normal;
}

.seccion-principal {
    height: auto;
    background-color: #ffffff;
    display: flex;
    justify-content: center;

}

.container-contenido {
    margin-top: 20px;
    color: #180364;
    background: #fafafa;
    width: 600px;
    text-align: center;
}
.linea-caja{
    background-color:  #cecdcf;
}
.caja-notproy{
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    background-color:  #cecdcf;
}

.caja{
    background-color:   #cecdcf;
    /* border-radius: 100px; */
    color: rgb(241, 76, 76);
    text-align: center;
    padding: 10px;
    width: 100%;
    margin: 1px;
    flex: 1 1 calc(25% - 40px);
    /* flex-grow | flex-shrink | flex-basis */
    min-width: 100px;
}

.caja img{
    border-radius: 100px;
    width: 50%;
   
}

.caja-notproy .caja:hover img{
    transform: scale(1.1);
}
.caja-notproy .caja img{
    transition: transform 0.3s ease;
}

.galeria-ofertas {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

.foto-galeria {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}
.galeriaimagenes {
    /* background-color: #f8f8f8; */
    border-radius: 10px;
    border: solid 1px rgb(204, 200, 200);
    color: white;
    padding: 10px;
    margin: 8px;
    flex: 1 1 calc(30% - 40px);
    min-width: 100px;
}
 .galeriaimagenes img{
    width: 100%;
    border-radius: 5px;
 }

 .foto-galeria .galeriaimagenes:hover img{
    transform: scale(1.3);
 }
 .foto-galeria .galeriaimagenes:hover img{
    transition: transform 0.9s ease;
 }

.box {
    background-color: #ffffff;
    border-radius: 10px;
    color: white;
    text-align: center;
    padding: 10px;
    margin: 1px;
    flex: 1 1 calc(50% - 40px);
    /* flex-grow | flex-shrink | flex-basis */
    min-width: 100px;
}

.box img {
    border-radius: 5px;
    width: 70%;
}

.not {
    margin-left: 15px;
    margin-top: 15px;
}

.video {
    background-color: #ffffff;
    margin-top: 35px;
    border-radius: 25px;
    color: white;
    flex: 1 1 calc(20% - 40px);

}

.video iframe {
    display: block;
    border-radius: 10px;
}

/* -----Botones flotantes -----------------------------------*/

.floating-buttons {
    position: fixed;
    bottom: 20px;
    right: 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.floating-buttons a {
    background-color: #25d366;
    color: white;
    text-decoration: none;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
    font-size: 24px;
    transition: background-color 0.3s;
}

.floating-buttons a:hover {
    background-color: #128c7e;
}

.floating-buttons .payment {
    background-color: #ff5f00;
}

.floating-buttons .payment img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
}

.floating-buttons .payment:hover {
    background-color: #e64a19;
}

.floating-PSE {
    position: fixed;
    bottom: 20px;
    left: 20px;
    display: flex;
    flex-direction: column;
    /* gap: 10px; */
}

.floating-PSE a {
    background-color: #e77f08;
    color: rgb(250, 119, 32);
    border-radius: 50%;
    text-align: center;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
    font-size: 24px;
    transition: background-color 0.3s;
    width: 105px;
    /* Añade esta línea para definir el ancho del botón */
    height: 105px;
    /* Añade esta línea para definir la altura del botón */
    display: flex;
    /* Añade esta línea para centrar la imagen */
    justify-content: center;
    /* Añade esta línea para centrar la imagen */
    align-items: center;
    /* Añade esta línea para centrar la imagen */
    overflow: hidden;
    /* Añade esta línea para que la imagen no se salga del borde circular */
}

.floating-PSE a:hover {
    background-color: #ee9106;
}

.floating-PSE .payment {
    background-color: #fa9908;
}

.floating-PSE .payment:hover {
    background-color: #ee780a;
}

/* ---FOOTER-------------------------------------------- */
.footer {
    background: linear-gradient(to right, #1c0263, #080133);
    color: #c5c8c9;
    margin-top: 10px;
    padding: 20px 0;
    text-align: center;
    flex-wrap: wrap;
}

.footer-container {
    display: flex;
    justify-content: space-around;
    align-items: flex-start;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: 0 auto;
}

.footer h3 {
    margin-top: 0;
}

.footer ul {
    list-style: none;
    padding: 0;
}

.footer ul li {
    margin: 10px 0;
}

.footer ul li a {
    color: #ecf0f1;
    text-decoration: none;
}

.footer ul li a:hover {
    text-decoration: underline;
}

.footer .social-icons {
    display: flex;
    gap: 10px;
}

.footer .social-icons a img {
    width: 24px;
    height: 24px;
}

.footer-bottom {
    margin-top: 20px;
    border-top: 1px solid #ecf0f1;
    padding-top: 10px;
}

.footer-bottom a {
    color: #e4e6e4;

}


/* admisiones */
.cont-admision {

    display: flex;
    justify-content: center;
    flex-wrap: wrap;


}

.admision {
    width: 900px;
    margin-top: 10px;
}

.admision p {
    margin-top: 0;
    margin-bottom: 1em;
}

.mapa {
    width: 215px;
    height: 580px;
    padding-top: 5px;
    padding-left: 2px;
    background-color: rgb(255, 255, 255);
    border: 2px solid rgb(121, 118, 118);
    border-radius: 5px;
    margin-left: 10px;
    margin-top: 10px;
    text-align: center;

}

.mapa-contacto {
    display: flex;
    justify-content: center;
}

.cont-parrafo {
    width: 800px;
    margin-top: 10px;
}

.cont-parrafo p {
    color: rgb(54, 54, 54);
    font-size: 18px;
    text-align: left;
    line-height: 1.5;
}

.cont-parrafo img {
    width: 50%;
}

.cont-simbolos {
    color: rgb(54, 54, 54);

    font-size: 18px;
    width: 900px;
    /* text-align: left; */
    line-height: 1.5;
    justify-content: center;
    flex-wrap: wrap;
}

.himno {
    text-align: center;
}

.descarga-formato {
    justify-content: center;
    align-items: center;
    display: flex;
    /* background-color: #25d366; */

}

/* FORMAULARIO */



/* ------------Tabla----------------- */

table {
    width: 100%;
    border-collapse: collapse;

}

th,
td {
    border: 1px solid #000;
    padding: 10px;
    text-align: center;
    font-size: 14px;
}

th {
    background-color: #f2f2f2;
    color: #333;
}

tr:nth-child(even) {
    background-color: #f9f9f9;
}

tr:hover {
    background-color: #e0e0e0;
}

td {
    color: #555;
}

.tabla-doc {
    padding: 5px;
    display: flex;

}

.contactos {

    background: #ffffff;
    text-align: center;
    display: flex;
    justify-content: center;
}

.icono-grande {
    font-size: 2em;
}



/* -@media principal ------------------------------------------------------------------- */

@media (max-width: 768px) {
    nav {
        flex-direction: column;
        align-items: flex-start;
    }

    .container_redes {
        height: auto;
    }

    .formatos {
        display: flex;
        font-size: 11px;
        padding: 2px;

    }

    .slider-frame {
        /*  width: 1280px; */
        max-width: 1500px;
        height: auto
    }

    .menu {
        display: none;
        flex-direction: column;
        width: 100%;
    }

    .menu li {
        text-align: center;
        margin: 10px 0;
    }

    .submenu {
        position: static;
        display: none;
        width: 100%;
        padding: 0;
        background: none;
    }

    .submenu li {
        margin: 0;
    }

    .submenu li a {
        padding: 10px 20px;
    }

    .menu li.active .submenu {
        display: block;
    }

    .menu-toggle {
        display: flex;

    }

    .submenu-right {
        position: absolute;
        top: 0;
       /*  left: 100%; */ /* Mueve el submenú a la derecha */
        display: none; /* Oculto inicialmente */
        background: #ffffff;
        padding: 5px;
        border-radius: 5px;
    }
    
    .social-icons {
        margin-top: 10px;
        font-size: 11px;

    }

    .seccion-principal {
        padding: 10px;
        /* margin-top: 10px; */
    }

    .slider-container img {
        width: 100%;
    }

    .container-contenido {
        margin-top: 0px;
        height: auto;

    }

    h1 {
        font-family: 'Playfair Display', serif;
        font-size: 29px;
    }

    .nota-interes {
        border-radius: 5px;
        margin-top: 10px;
    }
    
    .caja-notproy{
      display: flex;
      flex-wrap: nowrap;
      justify-content: center; 

   .caja {
        flex: 1 1 calc(25% - 10px); /* Cambia al 25% en pantallas más grandes */
    }
  
  
    .box {

        flex: 1 1 calc(100% - 40px);
        /* flex-grow | flex-shrink | flex-basis */

        padding: 5px;
        margin: 5px;

        /* flex-grow | flex-shrink | flex-basis */
        min-width: 80px;

    }

    .video {
        background-color: #ffffff;
        margin-top: 35px;
        padding: auto;
        border-radius: 25px;
        color: white;
        flex: 1 1 calc(20% - 40px);
    }

    .box img {
        border-radius: 5px;
        width: 40%;
    }

    .floating-PSE a {
        width: 70px;

        height: 70px;

    }

    .floating-PSE a img {
        width: 100%;
        /* Asegurar que la imagen ocupe todo el botón en dispositivos móviles */
        height: 100%;
        /* Asegurar que la imagen ocupe todo el botón en dispositivos móviles */
        object-fit: cover;
        /* Asegurar que la imagen se ajuste sin distorsión */
    }

    .floating-buttons .payment img {
        width: 40px;
        height: 40px;
        border-radius: 50%;
    }

    .footer-container {
        align-items: center;
        flex-direction: column;
       
    }

    .footer-left,
    .footer-center,
    .footer-right {
        margin-bottom: 20px;
        text-align: center;
    }


    .admision {
        margin: auto;
        width: 80%;
        margin-top: 10px;
    }

    .cont-parrafo {
        margin: auto;
        width: 80%;
        margin-top: 10px;
    }

    .cont-parrafo img {
        width: 80%;
    }

    .cont-simbolos {
        margin: auto;
        width: 80%;
        margin-top: 10px;
    }

    .cont-simbolos img {
        width: 80%;

    }

    table,
    thead,
    tbody,
    th,
    td,
    tr {
        display: block;
    }

    th,
    td {
        padding: 10px;
        text-align: right;
    }

    th {
        background-color: transparent;
        position: absolute;
        top: -9999px;
        left: -9999px;
    }

    td {
        border: none;
        position: relative;
        /* padding-left: 50%; */
        text-align: left;
    }

    td:before {
        content: attr(data-label);
        position: absolute;
        left: 10px;
        font-weight: bold;
        text-transform: uppercase;
    }

    tr {
        border: 1px solid #000;
        margin-bottom: 10px;
    }
}