
header {
    background: linear-gradient(90deg, #0074f9, #2db2ff, #0f67da);
    background-size: 300% 300%;
    animation: gradientAnimation 6s ease infinite;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.356);
}

/* Animación de gradiente */
@keyframes gradientAnimation {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

.logo-image {
    position: absolute;
    width: 50px;
    height: 34px;
    left: 10px;
}

nav {
    max-width: 100%;
    margin-left: 50px;
    margin-right: 50px;
    padding: 1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

nav div a {
    margin-right: 10px;
    text-decoration: none;
    color: #ffffff;
    padding: 10px 15px;
    border-radius: 10px;
    transition: background-color 0.3s ease;
    text-align: center;
    text-decoration: none;

}

.infoA {
  color: #ffffff;
  text-decoration: none;
  font-weight: bold;
  font-size: 24px;
}


nav .relative {
    position: relative;
}

nav .relative img {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 9999px;
    border-width: 2px;
    border-color: transparent;
    transition: border-color 0.2s;
}

nav .relative img:hover {
    border-color: #4561db;
}

.user-menu {
    display: none;
    position: absolute;
    top: 50px;
    right: 0;
    background-color: #0a7bdf;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    padding: 0.5rem;
    border-radius: 8px;
    width: 150px;
    z-index: 9999;
    text-decoration: none;
}

.user-menu a {
    display: block;
    color: #ffffff;
    padding: 0.5rem;
    text-decoration: none;
}

.user-menu a:hover {
    background-color: #ffffff;
    color: #0561ff;
    border-radius: 5px;
}

.user-menu a:last-child {
    border-bottom: none;
}

#user-avatar {
    position: absolute;
    top: 10px;
    right: 10px;
    margin-right: 10px;
}

/* Menú en pantallas pequeñas */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: white;
}

/* El menú por defecto está visible en pantallas grandes */
.menu {
    display: flex;
    gap: 10px;
}

/* Menú en pantallas pequeñas */
@media (max-width: 870px) {
    .menu {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 60px;
        right: 10px;
        background-color: #0074f9;
        padding: 1rem;
        border-radius: 8px;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
        z-index: 9999;
    }

    .menu a {
        color: white;
        margin: 10px 0;
        text-align: center;
    }

    .menu a:hover {
        background-color: #ffffff;
        color: #0561ff;
        border-radius: 5px;
    }

    .menu-toggle {
        display: block;
    }

    .menu.visible {
        display: flex;
    }
}

/* Para pantallas grandes */
@media (min-width: 880px) {
    #menu {
        display: flex;
        position: static;
        flex-direction: row;
    }

    #user-menu {
        display: none; /* Se mantiene oculto en pantallas grandes */
    }
}

/* Diseño para la reticula  */
@keyframes border-glow {
    0%, 100% {
      box-shadow: 0 0 3px rgba(0, 154, 214, 0.6), 0 0 15px rgba(0, 154, 214, 0.4);
    }
    50% {
      box-shadow: 0 0 6px rgba(0, 154, 214, 0.8), 0 0 20px rgba(0, 154, 214, 0.6);
    }
  }
  @keyframes border-glow2 {
    0%, 100% {
      box-shadow: 0 0 3px rgba(213, 201, 51, 0.6), 0 0 15px rgba(213, 201, 51, 0.6);
    }
    50% {
      box-shadow: 0 0 6px rgba(213, 201, 51, 0.6), 0 0 20px rgba(213, 201, 51, 0.6);
    }
  }

  @keyframes border-glow3 {
    0%, 100% {
      box-shadow: 0 0 3px rgba( 161, 93, 241 , 0.6), 0 0 15px rgba( 161, 93, 241 , 0.6);
    }
    50% {
      box-shadow: 0 0 6px rgba( 161, 93, 241 , 0.6), 0 0 20px rgba( 161, 93, 241 , 0.6);
    }
  }

   @keyframes border-glow4 {
    0%, 100% {
      box-shadow: 0 0 3px rgba( 216, 126, 42, 0.6), 0 0 15px rgba( 216, 126, 42 , 0.6);
    }
    50% {
      box-shadow: 0 0 6px rgba( 216, 126, 42 , 0.6), 0 0 20px rgba( 216, 126, 42 , 0.6);
    }
  }

  @keyframes border-glow5 {
    0%, 100% {
      box-shadow: 0 0 3px rgba( 40,210,89, 0.6), 0 0 15px rgba( 40,210,89 , 0.6);
    }
    50% {
      box-shadow: 0 0 6px rgba( 40,210,89 , 0.6), 0 0 20px rgba( 40,210,89 , 0.6);
    }
  }

  @keyframes border-glow6 {
    0%, 100% {
      box-shadow: 0 0 3px rgba( 140, 87, 220 , 0.6), 0 0 15px rgba( 140, 87, 220  , 0.6);
    }
    50% {
      box-shadow: 0 0 6px rgba( 140, 87, 220  , 0.6), 0 0 20px rgba( 140, 87, 220  , 0.6);
    }
  }

  
  
  .animate-border {
    animation: border-glow 2s infinite ease-in-out;
  }

  .animate-border2 {
    animation: border-glow2 2s infinite ease-in-out;
  }

  .animate-border3 {
    animation: border-glow3 3s infinite ease-in-out;
  }
  .animate-border4 {
    animation: border-glow4 3s infinite ease-in-out;
  }

  .animate-border5 {
    animation: border-glow5 3s infinite ease-in-out;
  }

  .animate-border6 {
    animation: border-glow6 3s infinite ease-in-out;
  }
  .semestres {
    height: 3rem; 
    width: 6rem; 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    border: 1px solid rgb(194, 162, 233); 
    background-color: rgb(151, 83, 233); 
    color: rgb(255, 255, 255); 
    margin-bottom: 1rem; 
    border-radius: 0.5rem; 
    text-align: center; 
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out; 
  }
  .semestres:hover {
    transform: scale(1.1); 
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); 
  }

  .Materias {
    height: 6rem; 
    width: 6rem; 
    display: flex;
    align-items: center; 
    justify-content: center; 
    border: 1px solid #1e3a8a; 
    border-radius: 0.5rem; 
    text-align: center;
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out, background 0.3s ease-in-out; 
    font-size: 0.75rem; 
    color: inherit; 
  }
  
  .Materias:hover {
    background: linear-gradient(to bottom, rgb(0, 154, 214), white);
    transform: scale(1.1); 
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); 
  }


  .Talleres{
    height: 6rem; 
    width: 6rem; 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    border: 1px solid rgb(186, 139, 0); 
    border-radius: 0.5rem; 
    text-align: center;
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out, background 0.3s ease-in-out;
    font-size: 0.75rem; 
    color: inherit; 
    
  }

  .Talleres:hover {
    background: linear-gradient(to bottom, rgb(213,201,51), white); 
    color: #000; 
    transform: scale(1.1); 
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); 
  }

  .Servicio{
    height: 6rem; 
    width: 6rem; 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    border: 1px solid rgb(179, 74, 0); 
    border-radius: 0.5rem; 
    text-align: center; 
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out, background 0.3s ease-in-out; 
    font-size: 0.75rem; 
    color: inherit; 
    
  }

  .Servicio:hover {
    background: linear-gradient(to bottom, rgb(218,106,0), white); 
    color: #000; 
    transform: scale(1.1); 
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); 
  }

  .Residencias{
    height: 6rem; 
    width: 6rem; 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    border: 1px solid rgb(68,236,116); 
    border-radius: 0.5rem; 
    text-align: center; 
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out, background 0.3s ease-in-out; 
    font-size: 0.75rem; 
    color: inherit; 
    
  }

  .Residencias:hover {
    background: linear-gradient(to bottom, rgb(40,210,89), white); 
    color: #000; 
    transform: scale(1.1); 
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); 
  }

  .Especialidad{
    height: 6rem; 
    width: 6rem; 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    border: 1px solid rgb(96,8,231); 
    border-radius: 0.5rem; 
    text-align: center; 
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out, background 0.3s ease-in-out; 
    font-size: 0.75rem; 
    color: inherit; 
    
  }

  .Especialidad:hover {
    background: linear-gradient(to bottom, rgb(175,135,237), white); 
    color: #000; 
    transform: scale(1.1); 
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); 
  }

  /*termina la reticula */

  /*footer//////////////////////////////////////////////////////////////////////////////////////////////////*/

  /* Diseno de footer */
.prefooter-container {
  background: linear-gradient(90deg, #0074f9, #2db2ff, #0f67da);
  background-size: 300% 300%;
  animation: gradientAnimation 6s ease infinite;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.356);
  padding: 1rem 0;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  width: 100%;
  height: 200px;
}

.prefooter-content {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.prefooter-left img {
  max-width: 100%;
  height: auto;
  margin-left: 20px;
  height: 90px;
}

.prefooter-center {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: 1rem;
  flex-wrap: nowrap;
}

.prefooter-center a img {
  background-color: white;
  padding: 10%;
  border-radius: 10px;
  width: 50px;
  height: 50px;
  object-fit: contain;
}

@media (max-width: 600px) {
  .prefooter-container {
      justify-content: center;
  }

  .prefooter-center {
      justify-content: center;
      width: 100%;
      flex-wrap: wrap;
  }

  .prefooter-center a img {
      width: 50px;
      height: 50px;
  }
}





  /*termina el footer */

 

  /* Contenedor de SVGs */
#svg-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none; /* Esto evita que los SVGs interfieran con la interacción de otros elementos */
}

  /* Animación de los SVGs */
.svg-animation {
    position: absolute;
    animation: moveRotate 10s linear infinite; /* Movimiento y rotación infinita */
}

@keyframes moveRotate {
    0% {
      transform: translateX(100vw) rotate(0deg); /* Comienza desde el borde derecho de la pantalla */
    }
    100% {
      transform: translateX(-100vw) rotate(360deg); /* Se mueve hasta el borde izquierdo de la pantalla */
    }
}


/* Estilo base para "Proyectos" */
/* Tipografía para "Proyectos" */
.main-text {
    font-size: 2rem; /* Tamaño predeterminado grande */
    font-weight: 700; /* Negrita para resaltar */
    font-family: 'Poppins', sans-serif; /* Fuente moderna y geométrica */
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.5); /* Sombra negra con transparencia */
}

/* Tipografía para "de Informática" */
.sub-text {
    font-size: 1rem; /* Tamaño predeterminado pequeño */
    font-weight: 300; /* Ligera para contraste */
    font-family: 'Montserrat', sans-serif; /* Fuente moderna y limpia */
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.5);
  }




/* Ajustes para pantallas grandes (laptop o computadora) */
@media (min-width: 950px) {
    .main-text {
    font-size: 5rem; 
    }
    .sub-text {
    font-size: 3rem; 
    }
}

@media (min-width: 1260px) {
    .main-text {
        font-size: 7rem;
    }
    .sub-text {
        font-size: 4rem; 
    }
}

/*footer//////////////////////////////////////////////////////////////////////////////////////////////////*/

/*log info svg eventos//////////////////////////////////////////////////////////////////////////////////////////////////*/

/* Contenedor de la imagen */
.image-container {
  position: relative;
  display: inline-block;
}

/* Imagen principal */
.main-image {
  width: 100%;
  height: auto;
}

/* SVG superpuesto */
.overlay-svg {
  position: absolute;
  top: 50%;
  left: 90%;
  transform: translate(-50%, -50%);
  width: 250px;
  height: 250px;
  animation: float 2s infinite ease-in-out; /* Aplica la animación */
}

/* Animación de subir y bajar */
@keyframes float {
  0%, 100% {
    transform: translate(-50%, -50%); /* Posición inicial y final */
  }
  50% {
    transform: translate(-50%, -60%); /* Sube un poco */
  }
}

/* Media queries para pantallas medianas */
@media (max-width: 1248px) {


  .overlay-svg {
    width: 180px; 
    height: 180px;
  }
}

/* Media queries para pantallas pequeñas, med */
@media (max-width: 900px) {

  .overlay-svg {
    width: 100px; 
    height: 100px;
    left: 90%; 
  }
}

/* Media queries para pantallas pequeñas */
@media (max-width: 700px) {

  .overlay-svg {
    width: 60px;
    height: 60px;
    left: 90%; 
  }
}

/*end log info svg eventos//////////////////////////////////////////////////////////////////////////////////////////////////*/



/* Cards de los titulados */
/* Ajustes para .card-container */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
  margin: 40px auto;
  max-width: 1200px;
  padding: 0;
}

/* Estilo de la tarjeta */
.card {
  font-family: "Quicksand", sans-serif;
  width: 250px;
  height: 480px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  background-color: #6ba3d1;
  padding: 20px;

  /* Animación 
  opacity: 0;
  transform: translateY(20px);
  animation: fadeIn 0.5s ease-in forwards;  Añadir animación */ 
}

/* Añadir un pequeño retraso para cada tarjeta 
.card:nth-child(1) { animation-delay: 0.1s; }
.card:nth-child(2) { animation-delay: 0.2s; }
.card:nth-child(3) { animation-delay: 0.3s; }
.card:nth-child(4) { animation-delay: 0.4s; }
.card:nth-child(5) { animation-delay: 0.5s; }
.card:nth-child(6) { animation-delay: 0.6s; }
.card:nth-child(7) { animation-delay: 0.7s; }
.card:nth-child(8) { animation-delay: 0.8s; }
.card:nth-child(9) { animation-delay: 0.9s; }*/

/* Ajustes en la imagen */
.card-img-container {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 15px;
}

.card-img {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid #37109f;
}

/* Estilo del contenido de texto */
.card-content {
  text-align: center;
  flex-grow: 1;
  padding: 10px;
  margin-bottom: 10px;
}

.card-name {
  font-size: 18px;
  font-weight: bold;
  margin-bottom: 5px;
}

.card-career, .card-dev {
  font-size: 14px;
  margin-bottom: 5px;
  color: #333;
}

/* Estilo del botón de LinkedIn */
.linkedin-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: #0077b5;
  color: #ffffff;
  padding: 10px 20px;
  border-radius: 5px;
  text-decoration: none;
  font-size: 14px;
  transition: background-color 0.3s ease;
  margin-top: 15px;
  margin-bottom: 10px;
}

.linkedin-btn:hover {
  background-color: #005a8e;
}

.linkedin-btn i {
  margin-right: 8px;
}

/* Media Queries para Responsividad */
@media (min-width: 1024px) {
  .card {
      width: 30%;
  }
}

@media (max-width: 1024px) and (min-width: 600px) {
  .card {
      width: 45%;
  }
}

@media (max-width: 600px) {
  .card {
      width: 90%;
  }
}

/* Animación de aparición 
@keyframes fadeIn {
  from {
      opacity: 0;
      transform: translateY(20px);
  }
  to {
      opacity: 1;
      transform: translateY(0);
  }
}*/

/* Estilos para la sección introductoria */
.intro-section {
  background:#37109f;
  color: #ffffff;
  padding: 30px 20px;
  text-align: center;
  border-radius: 15px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  margin: 20px auto;
  max-width: 1200px;
}

.intro-section h2 {
  font-family: "Quicksand", sans-serif;
  font-size: 20px;
  font-weight: bold;
  line-height: 1.6;
  margin: 10px 0;
}

.intro-section h2:first-of-type {
  font-size: 22px;
}

.intro-section h2:nth-of-type(2) {
  font-size: 18px;
  font-weight: normal;
}

/* Ajuste para pantallas pequeñas */
@media (max-width: 768px) {
  .intro-section h2 {
      font-size: 18px;
  }

  .intro-section h2:first-of-type {
      font-size: 20px;
  }

  .intro-section h2:nth-of-type(2) {
      font-size: 16px;
  }
}
/* FIN de Cards de los titulados */

/*start carrusel welcome //////////////////////////////////////////////////////////////////////////////////////////////////*/
.slider {
  width: 80%;  /* Ajusta el ancho del slider al 80% de la pantalla */
  width: 100%;
  overflow: hidden;
  position: relative;
  background: linear-gradient(180deg, #0074f9,#0074f9, #fafafa);
}

/* Estilo para la lista de imágenes */
.slider ul {
  display: flex;
  padding: 0;
  margin: 0;
  transition: transform 0.5s ease-in-out;
  align-items: center;  /* Centra las imágenes verticalmente */
  height: 100%;  /* Hace que la lista ocupe toda la altura del slider */
}

/* Estilo para cada imagen */
.slider li {
  list-style: none;
  flex-shrink: 0;
  width: 100%; /* Ancho del slider */
}

.slider img {
  width: 100%;
  height: auto;
}

/*end carrusel welcome //////////////////////////////////////////////////////////////////////////////////////////////////*/

.section-with-blur {
  position: relative;
  height: 100vh;
  overflow: hidden;
}

/* Estilo para editar perfil */
.section-with-blur::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url('/img/teczap.jpg');
  background-size: cover;
  background-position: center;
  filter: blur(8px);
  opacity: 0.5;
  z-index: 0;
}

.section-with-blur > * {
  position: relative;
  z-index: 1;
}


.custom-blur-bg {
  background: rgba(59, 130, 246, 0.8); /* Azul semitransparente */
  backdrop-filter: blur(10px);        /* Desenfoque */
  -webkit-backdrop-filter: blur(10px); /* Desenfoque para Safari */
  border-radius: 0.5rem;              /* Bordes redondeados */
  padding: 1rem;                      /* Espaciado interno */
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* Sombra */
}





.registro {
  position: relative;
  height: 100vh;
  overflow: hidden;
}

/* Estilo para editar perfil */
.registro::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url('/img/zapo2.jpg');
  background-size: cover;
  background-position: center;
  filter: blur(8px);
  opacity: 0.5;
  z-index: 0;
}

.registro > * {
  position: relative;
  z-index: 1;
}


.custom-blur-bg {
  background: rgba(59, 130, 246, 0.8); /* Azul semitransparente */
  backdrop-filter: blur(10px);        /* Desenfoque */
  -webkit-backdrop-filter: blur(10px); /* Desenfoque para Safari */
  border-radius: 0.5rem;              /* Bordes redondeados */
  padding: 1rem;                      /* Espaciado interno */
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* Sombra */
}

/* Find de Estilo para editar perfil */

 /* Contenedor para boton de descarga */
 .containerdescarga {
      display: flex;
      justify-content: center; /* Centrar horizontalmente */
      align-items: center; /* Centrar verticalmente */
      height: 5; /* Altura total de la pantalla */
      margin: 2; /* Eliminar márgenes predeterminados del navegador */
      background-color: #ffffff; /* Fondo claro para ver el botón */
}

/* Botón */
.btnDes {
  display: inline-block;
  color: white;
  background: linear-gradient(to right, #06b6d4, #3b82f6); 
  border: none;
  padding: 0.5rem 3rem;
  font-size: 1rem;
  font-weight: 500;
  border-radius: 0.5rem;
  cursor: pointer;
  transition: all 0.3s ease;
  text-align: center;
  margin: 4px;
}

.btnDes:hover {
  background: linear-gradient(to bottom left, #3b82f6, #06b6d4); 
}

.btnDes:focus {
  outline: none;
  box-shadow: 0 0 0 4px rgba(34, 211, 238, 0.5); 
}
