@charset "utf-8";
/* CSS Document */
@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap');

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	font: inherit;
	vertical-align: baseline;
	text-decoration: none;
	

}
body {
	line-height: 1;
	transition: background-color 0.5s ease;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    margin: 0;
    
}
ol, ul {
	list-style: none;
}
blockquote, q {
	quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
	content: '';
	content: none;
}
table {
	border-collapse: collapse;
	border-spacing: 0;
}

h2 {
	font-family: "Inter", sans-serif;
	font-optical-sizing: none;
	font-weight:500 ;
	font-style: italic;
	font-size: 16px;
	color: #FFF;
	text-shadow: 2px 2px 4px rgba(0,0,0,0.25);
	margin: 0 auto;
	text-align: center;}


header {
    width: 100%;
    display: flex; 
    align-items: center; 
justify-content: flex-start;
    padding: 20px; 
    margin: 0; 
    box-sizing: border-box;
}

header h1 {
    font-family: "Inter", sans-serif;
font-optical-sizing: none;
    -webkit-font-smoothing: antialiased;
    font-weight: 600;
    font-size: 24px;
    font-style: normal;
    color: #FFF;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.25);
    margin: 0;
    text-align: center;
    line-height: 1.2;
    white-space: normal; 
    word-wrap: break-word; 
    width: auto; 
	flex-grow: 1;
}

header img {
    display: block;
    height: auto; 
width: 200px;
  max-width: 200px; 
    filter: drop-shadow(2px 2px 4px rgba(0,0,0,0.25));
}

nav ul li {
padding: 0px 15px
}

nav ul li a {
    font-family: "Inter", sans-serif;
    font-optical-sizing: auto;
    font-weight: 600;
    font-size: 24px;
    font-style: normal;
    color: #FFF; 
    text-decoration: none;
    display: flex;
    align-items: center;
	transition: opacity 0.5s ease;
}

nav ul li a i {
    color: #FFF; 
}

/* Oculta el texto de navegación por defecto (vista escritorio) */
.nav-text {
    display: none;
}

nav {
    display: flex;
    margin: 0;
 max-width: 120;
  width: 120;
	margin-left: auto; 
}

nav ul {
    list-style-type: none;
    display: flex;
    align-items: center;
    margin: 0 auto; 
    padding: 0; 
}

.fa-house {font-size: 30px; text-shadow: 2px 2px 4px rgba(0,0,0,0.25);;}

.iconosvg {
    display: block;
    width: 30px;
	filter: drop-shadow(2px 2px 4px rgba(0,0,0,0.25));
}


/* --- ESTILOS MENÚ HAMBURGUESA --- */

.hamburger-checkbox {
  display: none;
}

.hamburger-label {
  display: none; 
  width: 26px;  /* <-- CAMBIA 30px por 26px */
  height: 20px; /* <-- CAMBIA 22px por 19px */
  position: relative; 
  cursor: pointer;
  z-index: 1001; 
  margin-left: 40px; 
  margin-right: 10px; 
}

.hamburger-line {
  display: block;
  width: 100%;
  height: 3px; /* <-- CAMBIA 3px por 2px */
  background-color: #FFF; 
  border-radius: 3px;
  position: absolute;
  left: 0;
  transition: all 0.3s ease;
  box-shadow: 0 1px 2px rgba(0,0,0,0.25);
}
.hamburger-line:nth-child(1) { top: 0; }
.hamburger-line:nth-child(2) { top: 50%; transform: translateY(-50%); }
.hamburger-line:nth-child(3) { bottom: 0; }


html.day-mode {
    background-color: #86B8E6;
}

html.night-mode {
    background-color: #1D1F2C;
}

html.day-mode body {
	color: #0E0E0E;
}

html.night-mode body {
	color: #FFF;
}


.contenidoboton {
display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 100%;
}



p{
	font-family: "Inter", sans-serif;
	font-optical-sizing: auto;
	font-weight: 600;
	font-style: normal;
	text-align: center;
}


.fa-brands{
	color: #FFF;
	font-size: 18px
}

.footer-icons ul li a i {
    font-size: 24px; 
}
	
.footer-icons ul{display: flex;
    gap: 20px; 
    margin-bottom: 15px; 
}

footer {
	width: 100%;
    text-align: center;
    display: flex; 
    flex-direction: column; 
    align-items: center;
    padding: 20px 0; 
    background-color: #000; 
    color: #FFF;
	margin-top:auto
}
/*BOTON*/



.theme-switch {
  /* VARIABLES DE TAMAÑO Y COLOR */
  --toggle-size: 35px;
  --container-width: 5.625em;
  --container-height: 2.5em;
  --container-radius: 6.25em;
  --container-light-bg: #3D7EAE; /* Fondo día */
  --container-night-bg: #1D1F2C; /* Fondo noche */
  --circle-container-diameter: 3.375em;
  --sun-moon-diameter: 2.125em;
  --sun-bg: #ECCA2F;
  --moon-bg: #C4C9D1;
  --spot-color: #959DB1;
  --circle-container-offset: calc((var(--circle-container-diameter) - var(--container-height)) / 2 * -1);
  --stars-color: #fff;
  --clouds-color: #F3FDFF;
  --back-clouds-color: #AACADF;
  --transition: .5s cubic-bezier(0, -0.02, 0.4, 1.25);
  --circle-transition: .3s cubic-bezier(0, -0.02, 0.35, 1.17);
}

.theme-switch, .theme-switch *, .theme-switch *::before, .theme-switch *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-size: var(--toggle-size);
}

.theme-switch__container {
  width: var(--container-width);
  height: var(--container-height);
  background-color: var(--container-light-bg);
  border-radius: var(--container-radius);
  overflow: hidden;
  cursor: pointer;
  
  /* Sombra DÍA: Oscura y Brillo Blanco Fuerte */
  box-shadow: 0em -0.062em 0.062em rgba(0, 0, 0, 0.25), 0em 0.062em 0.125em rgba(255, 255, 255, 0.94);
  transition: var(--transition);
  position: relative;
}

.theme-switch__container::before {
  content: "";
  position: absolute;
  z-index: 1;
  inset: 0;
  box-shadow: 0em 0.05em 0.187em rgba(0, 0, 0, 0.25) inset, 0em 0.05em 0.187em rgba(0, 0, 0, 0.25) inset;
  border-radius: var(--container-radius);
}

.theme-switch__checkbox {
  display: none;
}

.theme-switch__circle-container {
  width: var(--circle-container-diameter);
  height: var(--circle-container-diameter);
  background-color: rgba(0, 0, 0, 0.1);
  position: absolute;
  left: var(--circle-container-offset);
  top: var(--circle-container-offset);
  border-radius: var(--container-radius);
  
  /* Sombra del Círculo: Oscura y Sutil */
  box-shadow: inset 0 0 0 3.375em rgba(0, 0, 0, 0.1), inset 0 0 0 3.375em rgba(0, 0, 0, 0.1), 0 0 0 0.625em rgba(0, 0, 0, 0.05), 0 0 0 1.25em rgba(0, 0, 0, 0.05);
  
  display: flex;
  transition: var(--circle-transition);
  pointer-events: none;
}

.theme-switch__sun-moon-container {
  pointer-events: auto;
  position: relative;
  z-index: 2;
  width: var(--sun-moon-diameter);
  height: var(--sun-moon-diameter);
  margin: auto;
  border-radius: var(--container-radius);
  background-color: var(--sun-bg);
  box-shadow: 0.062em 0.062em 0.062em 0em rgba(254, 255, 239, 0.61) inset, 0em -0.062em 0.062em 0em #a1872a inset;
  filter: drop-shadow(0.062em 0.125em 0.125em rgba(0, 0, 0, 0.25));
  overflow: hidden;
  transition: var(--transition);
}

.theme-switch__moon {
  transform: translateX(100%);
  width: 100%;
  height: 100%;
  background-color: var(--moon-bg);
  border-radius: inherit;
  box-shadow: 0.062em 0.062em 0.062em 0em rgba(254, 255, 239, 0.61) inset, 0em -0.062em 0.062em 0em #969696 inset;
  transition: var(--transition);
  position: relative;
}

.theme-switch__spot {
  position: absolute;
  top: 0.75em;
  left: 0.312em;
  width: 0.75em;
  height: 0.75em;
  border-radius: var(--container-radius);
  background-color: var(--spot-color);
  box-shadow: 0em 0.0312em 0.062em rgba(0, 0, 0, 0.25) inset;
}

.theme-switch__spot:nth-of-type(2) {
  width: 0.375em;
  height: 0.375em;
  top: 0.937em;
  left: 1.375em;
}

.theme-switch__spot:nth-last-of-type(3) {
  width: 0.25em;
  height: 0.25em;
  top: 0.312em;
  left: 0.812em;
}

.theme-switch__checkbox:checked + .theme-switch__container {
  background-color: var(--container-night-bg);
  /* Sombra NOCHE: Oscura y Brillo Blanco MUY SUTIL */
  box-shadow: 0em -0.062em 0.062em rgba(0, 0, 0, 0.4), 
              0em 0.062em 0.125em rgba(255, 255, 255, 0.1); 
}

.theme-switch__checkbox:checked + .theme-switch__container .theme-switch__circle-container {
  left: calc(100% - var(--circle-container-offset) - var(--circle-container-diameter));
}

.theme-switch__checkbox:checked + .theme-switch__container .theme-switch__circle-container:hover {
  left: calc(100% - var(--circle-container-offset) - var(--circle-container-diameter) - 0.187em);
}

.theme-switch__circle-container:hover {
  left: calc(var(--circle-container-offset) + 0.187em);
}

.theme-switch__checkbox:checked + .theme-switch__container .theme-switch__moon {
  transform: translate(0);
}

/* Las reglas de estrellas y nubes se han dejado para mantener el efecto visual */
.theme-switch__clouds { /* Estilo de Nubes */
  width: 1.25em;
  height: 1.25em;
  background-color: var(--clouds-color);
  border-radius: var(--container-radius);
  position: absolute;
  bottom: -0.625em;
  left: 0.312em;
  box-shadow: 0.937em 0.312em var(--clouds-color), -0.312em -0.312em var(--back-clouds-color), 1.437em 0.375em var(--clouds-color), 0.5em -0.125em var(--back-clouds-color), 2.187em 0 var(--clouds-color), 1.25em -0.062em var(--back-clouds-color), 2.937em 0.312em var(--clouds-color), 2em -0.312em var(--back-clouds-color), 3.625em -0.062em var(--clouds-color), 2.625em 0em var(--back-clouds-color), 4.5em -0.312em var(--clouds-color), 3.375em -0.437em var(--back-clouds-color), 4.625em -1.75em 0 0.437em var(--clouds-color), 4em -0.625em var(--back-clouds-color), 4.125em -2.125em 0 0.437em var(--back-clouds-color);
  transition: 0.5s cubic-bezier(0, -0.02, 0.4, 1.25);
}

.theme-switch__checkbox:checked + .theme-switch__container .theme-switch__clouds {
  bottom: -4.062em;
}

.theme-switch__stars-container { /* Estilo de Estrellas */
  position: absolute;
  color: var(--stars-color);
  top: -100%;
  left: 0.312em;
  width: 2.75em;
  height: auto;
  transition: var(--transition);
}

.theme-switch__checkbox:checked + .theme-switch__container .theme-switch__stars-container {
  top: 50%;
  transform: translateY(-50%);
}

/* ESTILOS DEL BOTÓN (action-button) */
.action-button {

  padding: 0.8em 2em;
  font-size: 1.1em;
	font-family: "Inter", sans-serif;
	font-optical-sizing: auto;
	font-weight: 600;
	font-style: normal;
	color: #FFF;
	text-shadow: 2px 2px 4px rgba(0,0,0,0.25);
	margin: 0 auto;
	text-align: center; 
	margin-top: 3em;
  border: none;
  border-radius: 2em;
  
  /*Fondo semi-transparente gris claro para el modo DÍA */
  background-color: rgba(255, 255, 255, 0.2); /* Fondo blanco con 20% de opacidad */
  cursor: pointer;
  
  /* Sombra para el modo DÍA */
box-shadow: inset 5px 5px 10px rgba(0, 0, 0, 0.2); /* Sombra oscura interna */
  
  transition: background-color 0.3s ease, box-shadow 0.5s ease;
}

.action-button:hover {
  /* Al pasar el ratón, un poco más opaco */
  background-color: rgba(255, 255, 255, 0.3); 
}

.night-mode-button {
  background-color: rgba(50, 50, 50, 0.8); /* Gris oscuro con 80% de opacidad */
  color: white;
  
  box-shadow: 0em 0.062em 0.125em rgba(0, 0, 0, 0.6), /* Sombra oscura exterior más fuerte */
              0em 0.062em 0.125em rgba(255, 255, 255, 0.15) inset; /* Brillo blanco interior sutil */
}

.night-mode-button:hover {
  background-color: rgba(70, 70, 70, 0.9);
}


.toggle-center {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  height: 100%;
  width: 100%;
  margin-bottom: 110px;
}



#message {
	text-shadow: 2px 2px 4px rgba(0,0,0,0.20);
    font-size: 16px; 
	font-weight:500 ;
	font-style: italic;
	font-optical-sizing: none; 
    -webkit-font-smoothing: antialiased; 
   margin-top: 0; 
    margin-bottom: 5em; 
    color: inherit; 
    transition: color 0.5s ease;
}

.card-grid {
	display: block;
  width: 90%;
  padding: 40px 0 0 0;
  margin: 0 auto;
    margin-bottom: 0px;
  margin-bottom: 70px;
	text-align: center;
}

.card-grid .estudiantes-tarjetas {
display: inline-block;
  height: 385px;
  width: 332px;
  background-color: rgba(255, 255, 255, 0.25) !important;
  margin: 20px 20px;
  border-radius: 16px;
  text-decoration: none;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
}


.card-grid .estudiantes-tarjetas:hover {
  transform: translateY(-8px); 
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.card-grid .avatar {
width: auto;
  height: 414px;
		margin-left:auto;
	margin-right: auto;
  object-fit: contain;
  max-height: none;
  margin-top: -29px;
	border-radius: 16px;
  filter: drop-shadow(0px 4px 6px rgba(0,0,0,0.25));
  position: relative;
  z-index: 1;
}

.card-grid .nombres-estudiantes {
  width: 100%; 
  text-align: center;
  color: #FFF;
	font-family: "Inter", sans-serif;
	font-optical-sizing: auto;
	font-weight: 600;
	font-style: normal;
	text-shadow: 2px 2px 4px rgba(0,0,0,0.25);
  font-size: 1.2em;
    background-color: rgba(0, 0, 0, 0.3) !important; 
    backdrop-filter: blur(6px);
    
    -webkit-backdrop-filter: blur(6px);
  
  padding: 12px 0;
  
  border-bottom-left-radius: 16px;
  border-bottom-right-radius: 16px;
  
  position: absolute; 
  bottom: 0; 
  left: 0; 
  z-index: 2; 
  
}


#page-content-wrapper {
    opacity: 0; 
    transition: opacity 0.5s ease-in-out;
    width: 100%;
	flex-grow: 1;
}


.index-content-centered {
    display: flex;
    justify-content: center;
    align-items: center;
}

#page-content-wrapper.fade-out {
    opacity: 0;
}

.active{opacity: 35%}


/* ---------------------------------- */
/* REGLAS RESPONSIVE (MEDIA)     */
/* ---------------------------------- */

@media only screen and (max-width: 1024px) {
header { padding: 15px 10px; }
    header h1 { font-size: 18px; }
    header img {
        height: auto; 
        max-width: 120px; 
    }
    .iconosvg, .fa-house { font-size: 20px; width: 20px; height: 20px;}
    nav ul li { padding: 5px 10px; }
	h2{ font-size: 16px;}
	

	
	.footer-texto{
		font-size: 14px;
	}
	
	.footer-icons ul li a i {
    font-size: 18px; 
	}

    .footer-icons ul {
        gap: 40px; 
    }
		    #message{font-size: 14px;}
	
	.theme-switch {
        --toggle-size: 32px; 
    }
	

    nav {
        display: none;
    }
    .hamburger-label {
        display: block; 
        z-index: 1002;  
    }
    
    header h1 {
        margin-right: 45px; 
    }

   header {
        position: relative;
        z-index: 1001;
        box-shadow: none; /* <-- CAMBIA por 'none' */
    }

    .hamburger-checkbox ~ nav {
        display: block; 
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        
        background-color: rgba(0, 0, 0, 0.4); 
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        
        z-index: 1000; 
        

        overflow: hidden; /* OBLIGATORIO para que max-height funcione */
        transition: max-height 0.4s ease-in-out, opacity 0.3s ease-in-out;
    }


    .hamburger-checkbox:not(:checked) ~ nav {
        max-height: 0;
        opacity: 0;
    }
    
    .hamburger-checkbox:checked ~ nav {
        max-height: 300px; /* Un alto suficiente para 3 enlaces */
        opacity: 1;
    }

    .hamburger-checkbox ~ nav ul {
        flex-direction: column; 
        padding: 10px 0;
		gap: 5px; 
        align-items: center; 
        display: flex;
    }

.hamburger-checkbox ~ nav ul li a {
        font-size: 1.1em;
        text-shadow: 0 2px 4px rgba(0,0,0,0.5);
        padding: 10px 15px;
        border-radius: 10px;
        transition: background-color 0.2s ease;
        width: 220px; 
        text-align: center; 
        box-sizing: border-box;
        display: flex;
        align-items: center;
        justify-content: flex-start; 
    }
    .hamburger-checkbox ~ nav ul li a:hover,
    .hamburger-checkbox ~ nav ul li a.active {
         background-color: rgba(255, 255, 255, 0.1);
    }


.hamburger-checkbox ~ nav ul li a .iconosvg,
.hamburger-checkbox ~ nav ul li a .fa-house {
    width: 30px; 
    margin-right: 20px; 
    flex-shrink: 0;
    height: 22px; 
}

.hamburger-checkbox ~ nav ul li a .fa-house {
    font-size: 22px;     
    text-align: center; 
}

    .hamburger-checkbox:checked + .hamburger-label .hamburger-line:nth-child(1) {
      transform: rotate(45deg);
      top: 50%;
    }
    .hamburger-checkbox:checked + .hamburger-label .hamburger-line:nth-child(2) {
      opacity: 0;
    }
    .hamburger-checkbox:checked + .hamburger-label .hamburger-line:nth-child(3) {
      transform: rotate(-45deg);
      top: 50%;
    }
.hamburger-checkbox ~ nav ul li a .nav-text {
    display: inline; 
}
	

	

body.menu-abierto #page-content-wrapper {
    filter: blur(5px);
    pointer-events: none; 
    transition: filter 0.4s ease-in-out, opacity 0.5s ease-in-out;
}

body:not(.menu-abierto) #page-content-wrapper {
    filter: blur(0);
    pointer-events: auto;
    transition: filter 0.4s ease-in-out, opacity 0.5s ease-in-out;
}

	}
@media only screen and (max-width: 700px) {
 
header {
    display: flex;
    align-items: center;
    position: relative; 
    width: 100%;
    
    padding: 5px 10px;
    box-sizing: border-box; 
}

    header img {
        height: auto; 
        max-width: 75px;
    }

header h1 { 
    font-size: 14px; 
    margin: 10px 5px; 
    
    flex-grow: 1;
    text-align: center;
}
	
	div.logo {
    flex-shrink: 0; 
    position: relative;
    z-index: 2;
}
	.footer-texto{
		font-size: 12px;
	}
	
	
	.footer-icons ul li a i {
    font-size: 16px; 
	}
    .footer-icons ul {

        gap: 30px;
    }
		h2{ font-size: 14px}
	    #message{font-size: 12px;}
	
	.theme-switch {
        --toggle-size: 30px; 
    
    }
	
	}	