@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');
*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family:Arial, Helvetica, sans-serif;
}

:root{
    /* ===== Colores ===== */
        --morado: #4B2C7C;
        --moradoclaro: #9B41E2;
        --rojoclaro: #E6B0AA;
        --blanco:#fff;
        --negro: #000;
        --verde: #15AA1B;
        --amarillo-claro: #FFFF00;
        --amarillo-medio: #ffbf00;
        --anaranjado: #FEA51B;
        --azul-claro: #D4E6F1;
        --azul-medio: #142c76;
        --azul-fuerte:#04485d;
        --morado-claro: #695CFE;
        --morado-fuerte: #493dcf;
        --grisobscuro: #232629;
        --DGETI-7621C: #A7201F;
        --DGETI-7420C: #9F2241;
        --DGETI-7421C: #691C32;
        --ROJO-7421C: #340E18;
        --DGETI-468C: #DDC9A3;
        --DGETI-465C: #9C955C;
        --DGETI-GRAY7C: #98989A;
        --DGETI-424C: #6f7271;
        --color-texto: #676767;
        --color-body: #e9e4db;
        --grismedio: #BABFC4;
        --grisclaro: #E5E8E8;
        --gris-fondo: #EDECE8;
        --Rojo-carmesi: #DC143C;
        --DGETI-465C2: #B38E5D;
        --DGETI-468C2: #D4C19C;
        --DGETI-7621C-light: #F6F5FF;
        --verde-obscuro: #006400;
        --verde-claro: #00b341;

    /* ====== Transiciones ====== */
    --tran-02: all 0.2s ease;
    --tran-03: all 0.3s ease;
    --tran-04: all 0.4s ease;
    --tran-05: all 0.5s ease;
}

body{
    min-height: 100vh;
    background-color: var(--color-body);
    transition: var(--tran-05);
    size: 16px;
    font-size: 16px;
}

::selection{
    background-color: var(--DGETI-7621C);
    color: #fff;
}

body.dark{
    --color-body: var(--ROJO-7421C);
    --blanco: var(--DGETI-7421C);
    --DGETI-7621C-light: var(--DGETI-7420C);
    --DGETI-7621C: var(--Rojo-carmesi);
    --toggle-color: var(--blanco);
    --color-texto: #ccc;
    --grisclaro: var(--Rojo-carmesi);
}

.centrado { 
    text-align: center;
}

.espacio1 { 
    margin-top: 10px;
    margin-bottom: 10px;
}

.espacio2 { 
    margin-top: 13px;
    margin-bottom: 13px;
}

.espacio3 { 
    margin-top: 16px;
    margin-bottom: 16px;
}

h1{
    font-size: 2.5rem;
}

h2{
    font-size: 2.2rem;
}

h3{
    font-size: 2rem;
}

h4{
    font-size: 1.5rem;
}

h5{
    font-size: 1.2rem;
}

h6{
    font-size: 1rem;
}

h7{
    font-size: .9rem;
}

h8{
    font-size: .8rem;
}

h9{
    font-size: .7rem;
}

h10{
    font-size: .6rem;
    line-height: 1;
}

p{
    font-size: 1.2rem;
    text-align: justify;
    line-height: 1.2;
    margin-top: 15px;
}

.rojo { 
    color: var(--DGETI-7621C);
}

.verde { 
    color: var(--verde);
}

.select{
    border-bottom: 3px solid var(--Rojo-carmesi);
    background-color: var(--grisclaro);
    border-radius: 10px;
}

/* ===== Elementos del blog ===== */
.linea { 
    background-color:#fd0061;
    width:100%;
    height:3px;
    float:right;
    margin: 5px;
    margin-top: 5px;
}

.imagen { 
    width:100%;
    max-width:400px;
    float:left;
    top: 5;
    margin: 10px;
    border-radius: 10px;
}

.imagen { 
    width:100%;
    max-width:400px;
    float:left;
    top: 5;
    margin: 10px;
    border-radius: 12px;
}

.imagen2 { 
    max-height:200px;
    width:auto;
    float:left;
    top: 5;
    margin: 10px;
    border-radius: 12px;
}

input {
  display: block;
  width: 100%;
  align-items: center;
  justify-content: center;
}

/* ===== Contenedores ===== */

#contenedorPrincipal {
            width: 100%;
            height: auto;
            display: flex;
            flex-direction: column;
        }

        #contenedorInterior {
            width: 100%;
            display: flex;
            flex-wrap: wrap;
        }

        #contenedorIzquierdo {
            width: 35%;
            box-sizing: border-box;
            padding: 8px;
        }

        #contenedorDerecho {
            width: 65%;
            box-sizing: border-box;
            padding: 8px;
            margin-top: 10px;
        }
        
        #contenedor3 {
            width: 33%;
            box-sizing: border-box;
            padding: 15px;
            margin-top: 23px;
        }

        @media only screen and (max-width: 920px) {
            #contenedorInterior {
                flex-direction: column;
            }

            #contenedorIzquierdo,#contenedorDerecho,#contenedor3 {
                width: 100%;
                padding: 5px;
                margin-top: 10px;
            }
        }

/* ===== Sidebar ===== */
 .sidebar{
    position: fixed;
    top: 0;
    left: 0;
    height: 100%;
    width: 250px;
    padding: 10px 14px;
    background: var(--blanco);
    transition: var(--tran-05);
    z-index: 100;  
}
.sidebar.close{
    width: 88px;
}

/* ===== Reusable code - Here ===== */
.sidebar li{
    height: 50px;
    list-style: none;
    display: flex;
    align-items: center;
    margin-top: 10px;
}

.sidebar header .image,
.sidebar .icon{
    min-width: 60px;
    border-radius: 6px;
}

.sidebar .icon{
    min-width: 60px;
    border-radius: 6px;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
}

.sidebar .text,
.sidebar .icon{
    color: var(--color-texto);
    transition: var(--tran-03);
}

.sidebar .text{
    font-size: 17px;
    font-weight: 500;
    white-space: nowrap;
    opacity: 1;
}
.sidebar.close .text{
    opacity: 0;
}
/* =========================== */

.sidebar header{
    position: relative;
}

.sidebar header .image-text{
    display: flex;
    align-items: center;
}
.sidebar header .logo-text{
    display: flex;
    flex-direction: column;
}
header .image-text .plantel {
    margin-top: 2px;
    font-size: 23px;
    font-weight: 600;
}

header .image-text .nombre{
    font-size: 12px;
    margin-top: -2px;
    display: block;
}

.sidebar header .image{
    display: flex;
    align-items: center;
    justify-content: center;
}

.sidebar header .image img{
    width: 40px;
    border-radius: 6px;
}

.sidebar header .toggle{
    position: absolute;
    top: 50%;
    right: -25px;
    transform: translateY(-50%) rotate(180deg);
    height: 25px;
    width: 25px;
    background-color: var(--DGETI-7621C);
    color: var(--blanco);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    cursor: pointer;
    transition: var(--tran-05);
}

body.dark .sidebar header .toggle{
    color: var(--color-texto);
}

.sidebar.close .toggle{
    transform: translateY(-50%) rotate(0deg);
}

.sidebar .menu{
    margin-top: 40px;
}

.sidebar li.search-box{
    border-radius: 6px;
    background-color: var(--DGETI-7621C-light);
    cursor: pointer;
    transition: var(--tran-05);
}

.sidebar li.search-box input{
    height: 100%;
    width: 100%;
    outline: none;
    border: none;
    background-color: var(--DGETI-7621C-light);
    color: var(--color-texto);
    border-radius: 6px;
    font-size: 17px;
    font-weight: 500;
    transition: var(--tran-05);
}
.sidebar li a{
    list-style: none;
    height: 100%;
    background-color: transparent;
    display: flex;
    align-items: center;
    height: 100%;
    width: 100%;
    border-radius: 6px;
    text-decoration: none;
    transition: var(--tran-03);
}

.sidebar li a:hover{
    background-color: var(--DGETI-7621C);
}
.sidebar li a:hover .icon,
.sidebar li a:hover .text{
    color: var(--blanco);
}
body.dark .sidebar li a:hover .icon,
body.dark .sidebar li a:hover .text{
    color: var(--color-texto);
}

.sidebar .menu-bar{
    height: calc(100% - 55px);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    overflow-y: scroll;
}
.menu-bar::-webkit-scrollbar{
    display: none;
}
.sidebar .menu-bar .mode{
    border-radius: 6px;
    background-color: var(--DGETI-7621C-light);
    position: relative;
    transition: var(--tran-05);
}

.menu-bar .mode .sun-moon{
    height: 50px;
    width: 60px;
}

.mode .sun-moon i{
    position: absolute;
}
.mode .sun-moon i.sun{
    opacity: 0;
}
body.dark .mode .sun-moon i.sun{
    opacity: 1;
}
body.dark .mode .sun-moon i.moon{
    opacity: 0;
}

.menu-bar .bottom-content .toggle-switch{
    position: absolute;
    right: 0;
    height: 100%;
    min-width: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    cursor: pointer;
}
.toggle-switch .switch{
    position: relative;
    height: 22px;
    width: 40px;
    border-radius: 25px;
    background-color: var(--DGETI-468C2);
    transition: var(--tran-05);
}

.switch::before{
    content: '';
    position: absolute;
    height: 15px;
    width: 15px;
    border-radius: 50%;
    top: 50%;
    left: 5px;
    transform: translateY(-50%);
    background-color: var(--blanco);
    transition: var(--tran-04);
}

body.dark .switch::before{
    left: 20px;
}

.home{
    position: absolute;
    top: 0;
    left: 250px;
    height: 100vh;
    width: calc(100% - 250px);
    background-color: var(--color-body);
    transition: var(--tran-05);
}
.home .text{
    font-size: 30px;
    font-weight: 500;
    color: var(--color-texto);
    padding: 10px 10px;
}

.sidebar.close ~ .home{
    left: 78px;
    height: 100vh;
    width: calc(100% - 78px);
}
body.dark .home .text{
    color: var(--color-texto);
}

.carousel-container {
    width: 100%;
    height: auto;
    overflow: hidden;
  }
  
  .carousel-images {
    display: flex;
    width: 100%;
    height: auto;
  }
  
  .carousel-images img {
    width: 1080px;
    max-height: 1080px;
  }

  .carousel-images img {
    display: none;
  }
  
  .carousel-images img.active {
    display: block;
  }
  
  .carousel-container {
    position: relative;
    padding-bottom: 56.25%;
    width: 100%;
    height: 500px;
    margin: 1rem;
  }
  
  .carousel-images {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
  }
 
.boton2 {
  display: inline-block;
  padding: 13px 23px;
  font-size: 18px;
  cursor: pointer;
  text-align: center;	
  text-decoration: none;
  outline: none;
  color: white;
  background-color: #006400;
  border: none;
  border-radius: 15px;
  box-shadow: 0 9px #999;
}

.boton2:hover {background-color: #00b341}

.boton2:active {
  background-color: #00b341;
  box-shadow: 0 5px #666;
  transform: translateY(4px);
}
  
  .boton1 {
    min-width: 200px;
    max-width: 300px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    border: none;
    border-radius: 5px;
    overflow: hidden;
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.164);
    cursor: pointer;
    margin-top: 12px;
    margin-bottom: 12px;
}

.boton1:hover {background-color: #00b341}

.boton1:active {
  background-color: #00b341;
  box-shadow: 0 5px #666;
  transform: translateY(4px);
}

.texto_boton {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  color: white;
  background-color: var(--DGETI-7420C);
  text-decoration: none;
}

.svgIcon {
  width: 35%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  background-color: var(--Rojo-carmesi);
}

.svgIcon2 {
  width: 35%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  background-color: var(--grisclaro);
}

.svgIcon3 {
  width: 35%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  background-color: var(--verde-obscuro);
}

.ico-horario { 
    background-image: url(../svg/horario.svg);
    background-repeat: no-repeat;
    background-position: center;
}

.ico-reglamento { 
    background-image: url(../svg/reglamento.svg);
    background-repeat: no-repeat;
    background-position: center;
}

.ico-candado { 
    background-image: url(../svg/candado.svg);
    background-repeat: no-repeat;
    background-position: center;
}

.ico-basura { 
    background-image: url(../svg/basura.svg);
    background-repeat: no-repeat;
    background-position: center;
}

.ico-basura2 { 
    background-image: url(../svg/basura2.svg);
    background-repeat: no-repeat;
    background-position: center;
}

.ico-inscrito { 
    background-image: url(../svg/inscrito.svg);
    background-repeat: no-repeat;
    height:35px;
    margin-right: 45px;
}

.ico-noinscrito { 
    background-image: url(../svg/noinscrito.svg);
    background-repeat: no-repeat;
    height:35px;
    margin-right: 45px;
}

.enlinea { display: inline-block; }

a {
  outline: none;
  text-decoration: none;
}

.enlace {
  outline: none;
  text-decoration: none;
}

.separado { padding: 1.8px 1px 0; }

.negrita { font-weight: bold; }

.enlace:link {
  color: var(--Rojo-carmesi);
  font-size: 1.2rem;
}

.enlace:visited {
  color:var(--Rojo-carmesi);
}

.enlace:focus {
  border-bottom: 1px solid;
}

.enlace:hover {
  border-bottom: 1px solid;
}

.enlace:active {
  color: var(--Rojo-carmesi);
}

.boton1:hover .text {
  background-color: var(--Rojo-carmesi);
}

.boton1:hover .svgIcon {
  background-color: var(--Rojo-carmesi);
}

/* ===== Formularios ===== */

form {
  max-width: 400px;
  margin: 0 auto;
  padding: .5em;
  box-sizing: border-box;
  background: #fff;
  border-radius: 8px;
  text-align: left;
  overflow: hidden;
}

.form1 {
    background-color: rgba(255, 255, 255, 0.8); /* Fondo semitransparente */
    border: 5px solid red;
    border-radius: 10px;
    padding: 20px;
    width: 90%; /* Ajuste para pantallas móviles */
    max-width: 400px; /* Límite para dispositivos más grandes */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

label {
    display: block;
    font-size: 12px;
    color: #1a1a1a; /* Color casi negro */
    margin-bottom: 8px;
}

input, select {
    width: 100%;
    padding: 10px;
    font-size: 14px;
    border: 2px solid red;
    border-radius: 4px;
    background-color: #fff;
    color: #1a1a1a;
    margin-bottom: 20px;
    box-sizing: border-box;
    outline: none;
    transition: border-color 0.3s ease-in-out;
}


input {
    width: 100%;
    padding: 10px;
    font-size: 14px;
    border: 2px solid red;
    border-radius: 4px;
    background-color: #fff;
    color: #1a1a1a;
    margin-bottom: 20px;
    box-sizing: border-box;
    outline: none;
    transition: border-color 0.3s ease-in-out;
}

input:focus {
    border-color: darkred;
}

button {
    width: 100%;
    padding: 12px;
    font-size: 14px;
    font-weight: bold;
    color: #fff;
    background-color: red;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s ease-in-out;
}

button:hover {
    background-color: darkred;
}

@media (min-width: 768px) {
    form {
        padding: 30px;
    }

    input {
        font-size: 16px;
    }

    button {
        font-size: 16px;
    }
}

.entrada {
    background: White;
    color: black;
    font-size: 1.2rem;
    border: 1.5px solid var(--Rojo-carmesi);
    padding: 10px 10px;
    box-sizing: border-box;
    border-radius: 8px;
    margin-top: 12px;
}

.entrada_morada {
    display: block;
    background: White;
    color: black;
    font-size: 1.2rem;
    border: 1.5px solid var(--moradoclaro);
    padding: 10px 10px;
    box-sizing: border-box;
    border-radius: 8px;
    margin-top: 12px;
    margin: 0 auto; /* Centra horizontalmente */
    width: 90%;
}

@media (min-width: 768px) {
  .entrada_morada {
    width: 80%;
    font-size: 1.3rem;
  }
}

.entrada2 {
    background: var(--Rojo-carmesi);
    color: White;
    font-size: 1.2rem;
    border: 1.5px solid var(--Rojo-carmesi);
    padding: 10px 10px;
    box-sizing: border-box;
    border-radius: 8px;
    margin-top: 12px;
}

.entrada_select {
    background: White;
    color: black;
    font-size: 1.2rem;
    padding: 10px 10px;
    box-sizing: border-box;
    border-radius: 8px;
    margin-top: 12px;
    word-wrap: break-word;
    padding: 5px 5px 5px 5px;
    overflow: clip;
}

.entrada:hover {
    border: 2.5px solid var(--Rojo-carmesi);
}

.entrada_morada:hover {
    border: 2.5px solid var(--morado);
}

.entrada:hover {
    border: 2.5px solid var(--Rojo-carmesi);
}

/* ESTILO DEL DIV QUE CONTENTRÁ EL INPUT */
.upload-btn-wrapper {
position: relative;
overflow: hidden;
display: inline-block;
}
/* ESTILO DEL INPUT*/
.upload-btn-wrapper input[type=file] {
font-size: 100px;
position: absolute;
left: 0;
top: 0;
opacity: 0;
}
/* ESTILO DEL BOTÓN */
.boton-standar-rw{
margin: 5px;
background-color: white;
color: rgb(245, 61, 58);
border-radius: 20px;
font-weight: bold;
letter-spacing: 1px;
line-height: 15px;
border: 2px solid rgb(245, 61, 58);
transition: all 0.3s ease 0s;
width: 12em;
padding: 10px;
}
/* ESTILO DEL BOTÓN CON HOVER DE MOUSE */
.boton-standar-rw:hover{
  color: white;
  background-color: rgb(245, 61, 58);
}


/* Estilo de Tabla */

.table-verde {
  width: 100%;
  max-width: 400px;
  text-align: center;
  border-collapse: collapse;
  border: 2px solid #006400; 
  background-color: transparent;
} 
  /* Estilo para las celdas de la tabla */
.celdas{
    vertical-align: center;
    text-align: center;
    font-size: 1.5rem;
    height:23px;
    border-collapse: collapse;
    border: 2px solid #00b341;
  }
  
.celdas2{
    vertical-align: center;
    text-align: center;
    font-size: 1.2rem;
    height:23px;
    border-collapse: collapse;
    border: 3px solid #00b341;
  }
  
.encabezado {
    min-height:23px;
    font-size: 1.5rem;
    vertical-align: center;
    text-align: center;
    font-weight: bold;
    color: #ffffff; /* Texto en blanco */
    background-color: #006400; /* Fondo verde obscuro */
  }
 
  .acordion{ 
    width: 80%; 
    padding: 1.5em; 
    margin: 60px auto;  
    max-width: 500px;   
    box-shadow: 0 0 10px -3px rgb(0, 0, 0, .5); 
    border-radius: 6px; border-left: 4px solid #853bf4; }
    .input{ display:none; 
}
.acordion_link {
    display: inline-block;  
    color: #853bf4;
    text-decoration: none;  
    font-weight: bold;  
    font-size: 1.2rem; 
}
.cordion_item { 
    display:grid; grid-template-rows: var(--rows,0fr);
    transition: .3s grid-template-rows; 
}
.parrafo{ overflow:hidden; }
.cordion:has(:checked){ --rows1fr; }

/* Estilo de Seccion */

.bloques {
      padding: 18px 0;
      margin-bottom: 18px; /* Agregar margen inferior de 16px */
      box-sizing: border-box;
      width:100%;
    }

    /* Eliminar el margen inferior de la última sección */
.bloques:last-child {
      margin-bottom: 0;
    }
    
    /* Footer */
footer {
  background-color: var(--grisobscuro);
  position: absolute;
  bottom: 0;
  width: 100%;
  height: 45px;
  color: white;
  text-align: center;
  vertical-align: center;
  padding: 10px;
}

/* Media query para pantallas de computadora */
@media only screen and (max-width: 768px) {
  .desktop-only {
    display: none;
  }
}

.boton_morado {
  align-items: center;
  background-image: linear-gradient(144deg,#AF40FF, #6C449D 50%,#3E226B);
  border: 0;
  border-radius: 8px;
  box-shadow: rgba(151, 65, 252, 0.2) 0 15px 30px -5px;
  box-sizing: border-box;
  color: #FFFFFF;
  display: flex;
  font-family: Phantomsans, sans-serif;
  font-size: 20px;
  justify-content: center;
  line-height: 1em;
  max-width: 100%;
  min-width: 140px;
  padding: 19px 24px;
  text-decoration: none;
  user-select: none;
  -webkit-user-select: none;
  touch-action: manipulation;
  white-space: nowrap;
  cursor: pointer;
  box-shadow: 0px 4px 15px rgba(0, 0, 0, 0.8), /* Sombra oscura interna */
              0px 8px 30px rgba(0, 0, 0, 0.5); /* Sombra externa más tenue */
}

.boton_morado:active,
.boton_morado:hover {
    box-shadow: 0px 4px 15px rgba(128, 0, 128, 0.8), /* Morado oscuro y compacto */
                0px 8px 30px rgba(186, 85, 211, 0.5); /* Morado difuso */
    outline: 0;
}

@media (min-width: 768px) {
  .boton_morado {
    font-size: 23px;
    min-width: 196px;
  }
}

.div_centrado, .div_centrado * {
  margin: 0;
  padding: 0;
  box-sizing: border-box; /* Manejo consistente del tamaño */
}

.div_centrado {
        display: grid;
        place-items: center; /* Centra horizontal y verticalmente */
        height: 100vh; /* Asegura que el contenedor ocupe toda la altura de la ventana */
        width: 100%;
}
  