
:root {
  --primary-gradient: linear-gradient(135deg,#9900ff 0%, #0099ff 50%, #00FF99 100%);
  --body-gradient: linear-gradient(
    135deg, 
    rgba(50, 50, 50, 0.75),  /* Opacidad reducida (0.3 en lugar de 0.5) */
    rgba(0, 0, 0, 0.75)
  );
  --dark-bg: #1a1a2e;
  --institution-card-bg: rgba(255, 255, 255, 0.05);
  --institution-card-hover: rgba(255, 255, 255, 0.1);
}

body {
  font-family: "Ubuntu", Verdana, sans-serif;
  font-size: 16px;
  background: 
    var(--body-gradient),  /* Gradiente encima */
    url('../img/ff.jpg');     /* Imagen debajo */
  background-attachment: fixed; 
  overflow-x: hidden;
}
.hero-section {
  background: var(--primary-gradient);
  color: white;
  animation: gradientBG 30s ease infinite;
  background-size: 400% 400%;
}

@keyframes gradientBG {
  0% { background-position: 0% 25%; }
  25% { background-position: 25% 50%; }
  50% { background-position: 50% 100%; }
  75% { background-position: 50% 25%; }
  100% { background-position: 25% 0%; }

}
.schoolweb-logo {
  transition: all 1.5s ease;
}
.schoolweb-logo:hover {
  transform: scale(1.1);
}
.institution-card {  
  border-left: 4px solid transparent;
  transition: all 0.4s ease;
        opacity: 0; /* Inicialmente invisible para la animación */
        animation-fill-mode: forwards !important;
}

.institution-card:hover {
  transform: translateY(-3px);
  background: var(--institution-card-hover) !important;
  border-left: 4px solid #667eea;
  box-shadow: 0 5px 15px rgba(0,0,0,0.3) !important;
}

.scroll-container {
  scrollbar-width: thin;
  scrollbar-color: rgba(255,255,255,0.2) transparent;
}

.scroll-container::-webkit-scrollbar {
  width: 8px;
}

.scroll-container::-webkit-scrollbar-thumb {
  background: rgba(255,255,255,0.2);
  border-radius: 4px;
}

.btn-cta {
  background: rgba(255,255,255,0.2);
  border: 2px solid white;
  transition: all 0.3s ease;
  animation: pulse 2s infinite;
}


.btn-cta:hover {
  background: rgba(255,255,255,0.3);
  transform: translateY(-2px);
}
@keyframes pulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.05); }
  100% { transform: scale(1); }
}
.text-gradient-primary {
  background: linear-gradient(90deg, #0d6efd 0%, #6610f2 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.icon-lg {
  width: 70px;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0,0,0,0.1) !important;
}

.bg-light {
  background-color: #f8f9fa !important;
}

/****seccion contacto***/
.contacto-section {
  background: var(--primary-gradient);
  color: white;
  animation: gradientBG 15s ease infinite;
  background-size: 400% 400%;
}

.icon-contact {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

#form-contacto .form-control {
  background: transparent;
  border-radius: 0;
  padding-left: 0;
  transition: all 0.3s;
}

#form-contacto .form-control:focus {
  box-shadow: none;
  border-color: #4e73df;
}

.hover-opacity-100:hover {
  opacity: 1 !important;
}

@media (max-width: 992px) {
  .rounded-4 {
      border-radius: 1rem !important;
  }
}
/**boton volver arriba***/
#btn-volver-arriba {
  background-color: #ff00ff;
  border: none;
}

#btn-volver-arriba:hover {
  background-color: #9c009c;
  transform: scale(1.1) !important;
}

#btn-volver-arriba i {
  font-size: 1.2rem;
  color: white;
}
/**footer portal***/
footer a {
  transition: all 0.3s ease;
  text-decoration: none;
}

footer a:hover {
  color: #4e73df !important;
  padding-left: 3px;
}

footer .list-unstyled li {
  margin-bottom: 0.5rem;
}

footer h5 {
  font-size: 1rem;
  position: relative;
  padding-bottom: 10px;
}

footer h5:after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 50px;
  height: 2px;
  background: #4e73df;
}


#navbartop {
  background-color: rgba(255,255,255,0.75);
  box-shadow: 0 2px 5px rgba(0, 0, 0, 1);  /* Opcional: sin sombra inicialmente */
  /*z-index: 2000;*/
}
/* Estilo al hacer scroll: cambia de color */
#navbartop.scrolled {
  background-color: rgba(255, 255, 255, 0.75);
  box-shadow: 0 2px 3px rgba(0, 0, 0, 1); /* Opcional: agrega una sombra */
}

.nav-item.dropdown:hover .dropdown-menu {
  display: block;
  margin-top: 0;
  right: 0;
  left: auto;
}


n{
  color:#fff;
}
/*-------- CSS Login---------*/


#togglePassword{
  position: absolute;
  right: 10px;
  color:#800;
  top:10px;
  cursor: pointer;
  z-index: 5;
}
/*------   fin login   -------*/


/*************Modulo Estudiante 0****************/
#mn-sm{  
  position: absolute;
  width: 90%;
  left:5%;
  display: none;
  z-index: 1021;
}
#fotoEst {
  position: relative;
  box-shadow: 0 0 2px 0 #000;  
}
.est_foto{
  aspect-ratio: 2/3;
  width:100%;
  max-width: 150px;
  object-fit: cover;
  border-radius: 5%; 
  max-height: 200px;
}
#iconcam {  
  position: absolute;
  right: 0;
  bottom: 0;
}
.imgSex{
  aspect-ratio: 1/1;
  width:32px;
  object-fit: cover;
  border-radius: 50%;
}

.foto_flot{
  z-index: 5000;
  position: absolute;
  top:0;
  right:0;
  left: 0;
  bottom: 0;  
  background-color:rgba(0, 0, 0, 0.5);  
  display: none;
  text-align: center;
}
#img-flot{
  width:250px;  
}
  
/******************************/
.full-dvh {
  min-height: 100dvh;  
}

#imgver {
  display: block;
  max-height: 300px; /* ajusta esto según el alto que deseas */
  width: auto;
  max-width: 100%;
  margin: 0 auto;
  border-radius: 6px;
  object-fit: contain;
}





.bg-orange{
  background: #fd7e14;
  color: #fff;
}
.bg-orange.bg-opacity-25{
  background: #ff9983;
  color: #fff;
}
.btn-orange {
  background: #fd7e14;
  color: #fff;
}
.btn-orange.bg-opacity-25{
  background: #ff9983;
  color: #fff;
}
.btn-orange:hover {
  background: #cb2502;
  color: #fff;
}
.btn-outline-orange {
  border: 1px solid #fd7e14;
  color: #fd7e14;
}
.btn-outline-orange:hover {
  background: #fd7e14;
  color: #fff;
}
.text-orange{
  color: #fd7e14;
}
.alert-orange{
  background-color: #fdb4a4;
}
.table-orange{
  --bs-table-bg: #fdb4a4;
}

.border-orange {
  border-color: #fd7e14 !important;
}

/****color Purple  ****/
.bg-purple{
  background: #6f42c1;
  color: #fff;
}
.bg-purple.bg-opacity-25{
  background: #c5b3e6;
  color: #fff;
}
.btn-purple {
  background: #6f42c1;
  color: #fff;
}
.btn-purple:hover {
  background: #c5b3e6;
  color: #fff;
}
.btn-outline-purple {
  border: 1px solid #6f42c1;
  color: #6f42c1;
}
.btn-outline-purple:hover {
  background: #6f42c1;
  color: #fff;
}
.text-purple{
  color: #6f42c1;
}
.alert-purple{
  background-color: #c5b3e6;
}
.table-purple{
  --bs-table-bg: #c5b3e6;
}
.border-purple {
  border-color: #6f42c1 !important;
}
/*********color indigo  ****/
.bg-indigo{
  background-color: #6610f2;
}
.bg-indigo.bg-opacity-25{
  background: #290661;
  color: #fff;
}
.btn-indigo {
  background: #c29ffa;
  color: #fff;
}
.btn-indigo:hover {
  background: #9b59b6;
  color: #fff;
}
.btn-outline-indigo {
  border: 1px solid #6610f2;
  color: #6610f2;
}
.btn-outline-indigo:hover {
  background: #6610f2;
  color: #fff;
}



/*******************vino*********************/

.bg-vino{
  background: #880000;
  color: #fff;
}
.bg-vino.bg-opacity-25{
  background: #88000088;
  color: #fff;
}
.btn-vino {
  background: #880000;
  color: #fff;
}
.btn-vino:hover {
  background: rgb(133, 18, 18);
  color: #fff;
}
.btn-outline-vino {
  border: 1px solid #880000;
  color: #880000;
}
.btn-outline-vino:hover {
  background: #880000;
  color: #fff;
}
.text-vino{
  color:#880000;
}
.alert-vino{
  background-color: rgb(138, 40, 40);
}
.table-vino{
  --bs-table-bg: rgb(136, 59, 59);
}
.border-vino {
  border-color: #880000 !important;
}

/*******************pink*********************/

.bg-pink{
  background: #d63384;
  color: #fff;
}
.bg-pink.bg-opacity-25{
  background: #561435;
  color: #fff;
}
.btn-pink {
  background: #d63384;
  color: #fff;
}
.btn-pink:hover {
  background: #801f4f;
  color: #fff;
}
.btn-outline-pink {
  border: 1px solid #d63384;
  color: #d63384;
}
.btn-outline-pink:hover {
  background: #d63384;
  color: #fff;
}
.text-pink{
  color:#d63384;
}
.alert-pink{
  background-color: #d63384
}
.table-pink{
  --bs-table-bg: #d63384
}
.border-pink {
  border-color: #d63384 !important;
}
/********************estilos classes******/


#nuevaClase{
  display:none;
  /*z-index:1000;
  position:absolute;*/
  border:1px solid #555;
  box-shadow: 1px 1px 1px #000;
} 
 
#titClase{
  position: absolute;
  bottom:40px;
  left:15px;
}
#subtitClase{
  position: absolute;
  bottom:10px;
  left:15px;
}
#infoClas{
  position: absolute;
  right:15px;
  bottom: 15px;
}
#linkClase{
  outline: none;
  text-decoration: none;
  text-shadow: 1px 1px 2px #000;
}
#linkClase:link{
  color: #ffffff;
}

#linkClase:visited{
  color: #00f7ff;
}
#linkClase:hover{  
  color:#09f;
}
#link-wsp{
  outline: none;
  text-decoration: none;
  text-shadow: 1px 1px 2px #000;
}
#link-wsp:link{
  color: #25D366;
}

#link-wsp:visited{
  color: #00ffff;
}
#link-wsp:hover{  
  color:#2566D3;
}
#newTarea{  
  position:absolute;
  z-index:2000;  
  top:0;
}

.youtube-thumbnail {
  display: inline-block;
  border: none;
  margin: 0;
  padding: 0;
}

.youtube-thumbnail img {
  width: 120px; /* Ancho de la miniatura */
  height: auto; /* Altura ajustada automáticamente */
}
#tema{
  position:absolute;
  z-index:1001;
  display:none;
  
}
.justificado {
  text-align: justify;
}

.form-check-input:checked{
  background-color: #880000;
  border-color: #800;
}



/********************DISEÑO RESPONSIVO MOBIL**************/
@media only screen and (max-width: 480px) {
  .stl-login {
    max-width: 100%;
    height: 360px;
    margin: 5% auto;
  }
  body {
    background: 
    var(--body-gradient),  /* Gradiente encima */
    url('../img/ff.jpg');     /* Imagen debajo */
  }
  #logoInt {
    position: relative;
    width: 80px;
    margin:20px auto;
    clear: left;
  }
  #textid_int{
    text-align: center;
    margin: auto;
  }
  #txtMensaje{
    position: fixed;
    bottom: 50px;
    right: 10%;
    width: 80%;
  }
  footer{
    position: relative;     
  }

}

@media only screen and (max-width: 780px) {
  #tblBusq,
  #tblBusqpag {
    max-height: 150px;
  }
  #textINT {
    position: relative;
    margin-top: 45px;
    margin-bottom: -45px;
    padding: 5px;
    background: #fff;
    color: #000;
  }

  #textINT i {
    color: #000;
  }

  .vh-100-mobile {
    height: auto !important;
    min-height: 100vh;
}

.hero-section, .institutions-section {
    padding: 2rem 1rem !important;
}
  
}
