@import url('https://fonts.googleapis.com/css?family=Montserrat&display=swap');
*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Montserrat', sans-serif;
}

/* Estilos para dispositivos móviles */
.menu-icon {
    display: none;
    cursor: pointer;
    flex-direction: column;
    justify-content: space-between;
    height: 20px;
    width: 25px;
    margin: 10px;
}

body {
    font-family: Open Sans;
    background-image: url('photo-fondo.png');
    color: #000000;
    margin: 0;
    padding: 0;
    background-size: cover;
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
}

.container {
    margin: 0 200px;
    background-color: aliceblue;
    padding: 20px;
    box-shadow: 0 0 20px rgba(9, 0, 0, 0.1);
    border-radius: 10px; /* Opcional: para bordes redondeados */
}

header {
    background-color: #565a5e;
    color: #fff;
    padding-bottom: 0px;
    border-radius: 10px;
}

.logo-container {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px 0;
    animation: fadeInUp 1s ease-in-out;
}

.logo {
    height: 100px;
    margin-right: 20px;
}

.school-name {
    font-size: 2.0em;
    font-weight: bold;
    animation: fadeInUp 0.2s ease-in-out;
    user-select: none; /* CSS estándar */
    -webkit-user-select: none; /* Safari */
    -moz-user-select: none; /* Firefox */
    -ms-user-select: none; /* Internet Explorer/Edge */
}

@keyframes fadeInUp {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

nav {
    background-color: #ed1919;
}

.nav-list {
    display: flex;
    justify-content: center;
    list-style-type: none;
    padding: 12px 0;
}

.nav-list li {
    margin: 0 10px;
    position: relative;
}

.nav-list li:not(:last-child)::after {
    content: '';
    position: absolute;
    right: -10px;
    top: 50%;
    transform: translateY(-50%);
    width: 1px;
    height: 60%;
    background-color: #fff;
}

.nav-list a {
    color: #fff;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s, background-color 0.3s;
    padding: 5px 10px;
    transition: background-color 0.3s, opacity 0.3s;
    display: block;
    border-radius: 3px;
}

.nav-list a:hover {
    background-color: rgb(255, 255, 255);
    opacity: 0.9;
    color: #ed1919;
}

.dropdown:hover .dropdown-content {
    display: block;
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: #ed1919;
    min-width: 160px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
    z-index: 1;
}

.dropdown-content ol{
    margin: 0;
    border-bottom: 1px solid #fff;
}

.dropdown-content ol a {
    color: #fff;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
}

.dropdown-content ol a:hover {
    background-color: rgb(255, 255, 255);
    color: #ed1919;
    border-radius: 0px;
}

.welcome-section {
    background-image: url('sede2.png'); /* Reemplaza 'path/to/your/image.jpg' con la ruta de tu imagen de fondo */
    background-size: cover;
    background-position: center;
    color: #fff; /* Cambia el color del texto si es necesario para asegurar legibilidad */
    padding: 250px 20px; /* Ajusta el relleno según sea necesario */
    text-align: center;
}

.welcome-content {
    max-width: 800px;
    margin: 0 auto;
}

section {
    margin-bottom: 5px;
}

section h1 {
    font-size: 2.2em;
    color: #ffffff;
}

section p {
    font-size: 1.2em;
    line-height: 1.6;
    color: #ffffff;
}

.nav-list .dropdown-content {
    display: none;
    position: absolute;
    background-color: #ed1919;
    min-width: 160px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
    z-index: 1;
}

.nav-list .dropdown:hover .dropdown-content {
    display: block;
}

.nav-list .dropdown-content ol {
    margin: 0;
}

.nav-list .dropdown-content a {
    color: #fff;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
}

.nav-list .dropdown-content a:hover {
    background-color: rgb(255, 255, 255);
    opacity: 0.9;
    color: #ed1919;
}

main {
    padding: 0;
    padding-top: 20px;
    border-radius: 10px;
    background-color: aliceblue;
    background-size: cover;
}

/*Footer - Pie de Pagina*/

.footer {
    background-color: #565a5e;
    padding: 20px;
    color: #ffffff;
    border-radius: 10px;
    margin: 0 100px;
    padding: 20px;
    box-shadow: 0 0 20px rgba(9, 0, 0, 0.1);
    margin-top: 2%;
}

.footer-content {
    display: flex;
    justify-content: space-between;
}

.footer-column {
    flex: 1;
    padding: 10px;
}

.footer-column.left {
    text-align: left;
}

.footer-column.right {
    text-align: right;
}

.separator {
    margin: 20px 0;
    border-top: 1px solid #ffffff;
}

.footer-bottom {
    text-align: center;
    font-size: 12px;
    color: #ffffff;
}

.footer a {
    color: #ffffff;
    text-decoration: none;
}

.footer a:hover {
    text-decoration: underline;
}

.no-copiable {
    user-select: none; /* CSS estándar */
    -webkit-user-select: none; /* Safari */
    -moz-user-select: none; /* Firefox */
    -ms-user-select: none; /* Internet Explorer/Edge */
}


.calendar-container {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
}

.day {
    background-color: #ffffff;
    border-radius: 15px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
    width: 300px;
    padding: 20px;
    text-align: center;
    transition: transform 0.3s ease;
    cursor: pointer;
}

.day:hover {
    transform: scale(1.05);
}

.day h2 {
    background-color: #007BFF;
    color: #fff;
    padding: 10px;
    border-radius: 10px;
    font-size: 1.8em;
    margin-bottom: 15px;
}

.day p {
    color: #000000;
    font-size: 1.1em;
    line-height: 1.6;
    margin-bottom: 15px;
}

.day ul {
    list-style: none;
    padding: 0;
}

.day ul li {
    background-color: #f0f8ff;
    margin-bottom: 10px;
    padding: 10px;
    border-radius: 8px;
    color: #000000;
    transition: background-color 0.3s ease;
}

.day ul li:hover {
    background-color: #e6f0ff;
}

.note {
    margin-top: 30px;
    text-align: center;
    color: #000000;
    font-size: 1.2em;
}

@media (max-width: 768px) {
    .day {
        width: 100%;
    }

    .note{
        font-size: 0.9em;
    }
}


.column {
    flex: 1;
    padding: 1px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.image-column img {
    width: 40%;
    height: auto;
    display: block;
}

.text-column p {
    font-size: 16px;
    line-height: 1.5;
    text-align: center;
}

.social-column p {
    font-size: 16px;
    line-height: 1.5;
    text-align: center;
    margin-bottom: 15px; /* Añadido para separación entre el párrafo y las imágenes */
}

.social-container {
    display: flex;
    justify-content: center;
    gap: 15px; /* Ajusta este valor según la separación deseada */
    width: 100%;
}

.social {
    display: flex;
    justify-content: center;
    align-items: center;
}

.social img {
    width: 45px; /* Ajusta este valor según tus necesidades */
    height: auto;
    display: block;
}

.column-image:hover {
    transform: scale(1.1); /* Aumenta el tamaño al 110% en el hover */
}

/* Encabezado */
@media (max-width: 1200px) {

    .section-qs {
        width: 100%; /* Ocupa el ancho completo */
        margin: 20px 0; /* Ajusta el margen */
        padding: 10px; /* Ajusta el relleno */
    }

    .container{
        margin: 0 10px;
    }

    .contenido-card{
        font-size: 1em;
    }

    .parrafo-nose{
        font-size: 1em;
    }

    h2{
        font-size: 1.3em;
    }

    .simple-news-box{
        font-size: 0.8em;
    }


}


@media (max-width: 1200px) {


    .nav-list {
        display: none;
        flex-direction: column;
        align-items: left;
        width: 100%;
        background-color: #ed1919;
    }
  
  
    .nav-list.active {
        display: flex;
    }
  
    .nav-list li {
        margin: 10px 0;
        padding-left: 10px;
        padding-right: 10px;
    }
  
    .menu-icon {
        display: flex;
        padding-bottom: 35px;
        padding-top: 20px;
        margin-bottom: 10px;
        padding-left: 10px;
    }

  
    .nav-list a {
      border-bottom: 1px solid #fff;
      padding-bottom: 10px;
      padding-top: 10px;
      line-height: 15px;
    }
  
    .dropdown-content {
      position: absolute;
      width: 43%; /* Dropdowns ocupan todo el ancho en pantallas pequeñas */
      left: 10px;
      padding: 0;
      box-shadow: 0px 0px 20px rgb(255, 255, 255);
    }

  }


/* Pie de Pagina */
@media (max-width: 1200px) {
    .footer {
        padding: 40px;
        margin: 0 10px; /* Elimina el margen horizontal en pantallas pequeñas */
        margin-top: 30px;
    }

    .footer-content {
        flex-direction: column; /* Cambia a diseño de columna para pantallas pequeñas */
        
    }

    .footer-column {
        flex: 1 1 auto; /* Ajusta el ancho automático para adaptarse al contenido */
        padding: 10px;
        text-align: center; /* Alineación al centro para pantallas pequeñas */
    }

    .image-column img {
        width: 25%; /* Ajusta el tamaño de la imagen para pantallas pequeñas */
    }

    .social img {
        width: 30px; /* Ajusta el tamaño de las imágenes de redes sociales para pantallas pequeñas */
    }

    .school-name{
        font-size: 1.4em;
        padding-left: 0px;
        padding-right: 20px;
        text-align: center;
    }

    .logo-container{
        padding-left: 20px;
    }

    section h1{
        font-size: 1.7em;
    }

    .note{
        font-size: 1em;
    }
}

.main-ok{
    width: 100%;
    height: 10vh;
    display: flex;
    align-items: center;
    justify-content: center;
}
.icon{
    width: 50px;
    height: 50px;
    border-radius: 100px;
    background: #fff;
    margin: 10px;
    text-align: center;
    font-size: 25px;
    line-height: 50px;
    font-family: sans-serif;
    overflow: hidden;
    box-shadow: 5px 10px 20px rgba(150, 150, 150, .3);
    transition: all .3s ease-out;
}
.icon:hover{
    width: 200px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-evenly;
    color: #fff;
}
.icon:hover i{
    color: #fff;
}
.icon .fa-facebook-f{
    color: #1A6ED8;
}
.fb:hover{
    background: #1A6ED8;
}

.icon .fa-instagram{
    color: #000;
}
.ig:hover{
    background: linear-gradient(45deg, #F58529, #DD2A7B, #8134AF, #515BD4);
}

.icon .fa-youtube{
    color: #FE0000;
}
.yt:hover{
    background: #FE0000;
}

/* responsive */
@media only screen and (min-width: 500px) and (max-width: 991px) {
    .main{
        flex-direction: column;
    }
}

:root{
    --bg:#0b0f17; --panel:#0f1523; --panel-2:#152441; --ink:#dadada; --muted:#bdc0c8;
    --brand:#5b9dff; --accent:#8adbb8; --chip:#2b3550; --stroke:#24304a; --shadow:0 10px 30px rgba(0,0,0,.35);
    --danger:#ff7b7b; --warn:#ffd166; --ok:#63e6be;
  }
  @media (prefers-color-scheme: light){
    :root{ --bg:#f3f6fb; --panel:#fff; --panel-2:#f7f9fe; --ink:#0b1220; --muted:#4c5a77;
           --chip:#eaf0ff; --stroke:#dbe4ff; --shadow:0 10px 22px rgba(237, 238, 240, 0.08); }
  }
 
  .container-dos{
    max-width:100%;
    margin-inline:auto; 
    padding:5px;
}

.logo-dos{
  width:54px; height:54px;
  border-radius:14px;
  display:grid; place-items:center;
  background: var(--panel-2);           /* fondo neutro */
  border:1px solid var(--stroke);
  overflow:hidden;     
  margin-bottom: 60px;             /* recorta al borde redondeado */
}
.logo-dos img{
  width:100%; height:100%;
  object-fit:cover;                     /* llena el cuadro; recorta si sobra */
  border-radius:inherit;
  display:block;
}


  header.hero{
    display:grid; gap:16px; align-items:center; grid-template-columns:auto 1fr auto;
    background: linear-gradient(180deg, rgba(91,157,255,.16), transparent 60%), var(--panel);
    border:1px solid var(--stroke); border-radius:22px; padding:20px 22px; box-shadow:var(--shadow);
  }
  .logo-dos{width:54px;height:54px;border-radius:14px;display:grid;place-items:center;
        background:conic-gradient(from 210deg,var(--brand),#9fd6ff); color:#00142a;font-weight:800;}
  .title h1{margin:0 0 4px 0; font-size:clamp(18px,2.2vw,28px)}
  .title p{margin:0; color:var(--muted);font-size:14px}
  .controls{margin-top:18px; display:flex; gap:12px; flex-wrap:wrap}
  .input,.select,.toggle,.btn{
    background:var(--panel-2); border:1px solid var(--stroke); color:var(--ink);
    padding:10px 12px; border-radius:12px; font-size:14px; outline:none;
  }
  .input{flex:1 1 260px}
  .toggle{display:flex; gap:8px; align-items:center; cursor:pointer; user-select:none}
  .btn{cursor:pointer; font-weight:600}
  .btn-primary{background:linear-gradient(180deg,rgba(91,157,255,.18),transparent),var(--panel-2)}
  .btn-primary:hover{filter:brightness(1.05)}
  /* Period switcher */
  .period-switch{position:relative}
  .period-trigger{
    display:flex; gap:8px; align-items:center; cursor:pointer; user-select:none;
    background:var(--chip); border:1px solid var(--stroke); padding:10px 12px; border-radius:999px; font-weight:700; color:#dcd9d9;
  }
  .period-menu{
    position:absolute; top:110%; left:0; min-width:163px; background:var(--panel); border:1px solid var(--stroke);
    border-radius:14px; box-shadow:var(--shadow); padding:6px; display:none; z-index:10;
  }
  .period-menu.open{display:block}
  .period-item{
    display:flex; justify-content:space-between; gap:10px; padding:5px 12px; border-radius:10px; cursor:pointer;
  }
  .period-item:hover{background:var(--panel-2)}
  .badge{padding:8px 12px;border-radius:999px;background:var(--chip);border:1px solid var(--stroke);font-weight:600;font-size:13px}
  /* Timeline */
  .timeline{ margin-top:22px; display:grid; gap:14px}
  .group{padding:14px 14px 10px 14px; border-radius:18px; background:var(--panel); border:1px solid var(--stroke)}
  .group h2{margin:0 0 12px 0; font-size:clamp(15px,1.8vw,18px); color:var(--muted); display:flex; align-items:center; gap:8px; font-weight:700}
  .grid{display:grid; gap:12px; grid-template-columns:repeat(12,1fr)}
  @media (max-width:900px){.grid{grid-template-columns:repeat(6,1fr)}}
  @media (max-width:600px){.grid{grid-template-columns:repeat(1,1fr)}}
  .card{grid-column:span 4; padding:14px; border-radius:16px; background:linear-gradient(180deg,rgba(255,255,255,.02),transparent),var(--panel-2);
        border:1px solid var(--stroke); box-shadow:var(--shadow); display:grid; gap:8px;}
  .top{display:flex; align-items:center; gap:10px}
  .dot{width:12px;height:12px;border-radius:999px;background:var(--brand);border:2px solid rgba(255,255,255,.4); box-shadow:0 0 0 4px rgba(91,157,255,.15)}
  .title-evt{margin:0; color: #ece8e8;font:600 15px/1.2 ui-sans-serif,system-ui }
  .date{font-size:13px; color:var(--muted)}
  .chips{display:flex; flex-wrap:wrap; gap:8px}
  .chip{font-size:11px; padding:6px 8px; border-radius:999px; background:var(--chip); border:1px solid var(--stroke); color:var(--muted)}
  .chip--confirm{background:rgba(255,209,102,.18); color:#f6c453; border-color:rgba(255,209,102,.5)}
  .chip--final{background:rgba(138,219,184,.18); color:#8adbb8; border-color:rgba(138,219,184,.5)}
  .chip--eval{background:rgba(99,230,190,.18); color:#63e6be; border-color:rgba(99,230,190,.5)}
  .chip--docs{background:rgba(91,157,255,.18); color:#9fd0ff; border-color:rgba(91,157,255,.45)}
  /* Empty state */
  .empty{
    border:1px dashed var(--stroke); border-radius:16px; padding:28px; background:var(--panel-2);
    display:grid; place-items:center; color:var(--muted); text-align:center;
  }
  .empty strong{color:var(--ink)}

  @media print{
    body{background:#fff}
    .controls, .period-switch, .btn, .badge{display:none !important}
    header.hero{box-shadow:none; grid-template-columns:auto 1fr}
    .container-dos{padding:0}
    .card{break-inside:avoid}
    footer{margin-top:8px}
  }