body{
  background-color: #e0e0e0;
}
/* Estilos para el encabezado */
.encabezado {
  width: 100%;
  height: 120px;
  background-image: url('http://meteo.uv.cl/parametros_convectivos/assets/images/thunderstorm-3441687_1280.jpg');
  background-size: cover;
  background-position: center;
  margin-bottom: 0;
  margin-top: 0px !important;
  overflow: hidden;
  z-index: 9999;
}

.encabezado ul {
  display: flex;
  justify-content: center;
  align-items: center;
}

.encabezado li {
  display: inline;
  margin-right: 10px;
}

.logo-uv {
  height: 70px;
  display: flex;
  align-items: center;
}
.logo-meteo{
  height: auto;
  max-height: 100px;
  /*margin-right: 30px;*/
}

.encabezado h1 {
  color: #fff;
  display: inline;
  padding: 10px;
}

/* Estilos para los navbars */
.navbar {
  background-color: #333;
  width: 100%;
}
.lista_ul{
  margin-left: 3%;
}

.navbar2 {
  position: fixed;
  height: 50px;
  top: 0;
  left: 0;
  width: 100%;
  z-index: -1; /* Colocar detrás del encabezado */
  opacity: 0; /* Ocultar inicialmente */
  transition: opacity 0.3s ease-in-out;
}

.navbar2 ul{
margin-top: 5px;
}
.scroll-show {
  opacity: 1;
  z-index: 1000;
}

.icon_ing{
  max-height: 40px;
  margin-right: 25%;
  justify-content: end;
  display: flex;
  align-items: end;
}

.a_icon{
  justify-content: end;
  display: flex;
  align-items: end;
}

/*Estilos para seccion1*/
.seccion_1{  
  margin-left: 6%;
  margin-bottom: 2%;
  margin-top: 170px;
  width: 100%;
  max-width: 88% !important;
  overflow: hidden;
  background-color:#fff;
  border-radius: 10px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);

}

.seccion_1 p{
  font-size: 20px;
  line-height: 40px;
  text-align: justify;
}


/* Estilos para las tarjetas */
.container {
  width: 100%;
  max-width: 90% !important;
}

.card-body {
  padding-top: 0px !important;
  display: flex;
  flex-direction: column;
}

.card-title {
  font-size: 24px;
}

.card-text {
  font-size: 18px;
  text-align: justify;
  overflow: hidden;
}

.card-img-top{
  width: 100%;
}

.mapa{
  margin-bottom: 20px;
  margin-left: 20px;

}

/* Estilos para el buscador de gráficos */
.seccion3 {
  margin-left: 3%;
  margin-bottom: 2%;
  background-color: #fff;
  width: 94%;
  border-radius: 10px;
  border: 0.5px solid;
  border-color: #2125292c;
  position: relative; /* Agregamos posicionamiento relativo */
}

.select-container {
  margin-top: 15px;
  margin-bottom: 10px;
  overflow: hidden;
}

.lista-productos {
  width: 100%;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  list-style: none;
  border: none !important;
}

.list-group-item {
  flex: 1;
  width: calc(70% - 20px);
  margin: 5px;
  border: none !important;
}

.list-group-item select{
  width: 150px;
}

.list-group-item button {
  width: 100%;
}

.list-group-item button {
  margin-left: auto;
}
/* Cambiar el diseño cuando la página se colapse */
@media (max-width: 768px) {
  .lista-productos {
    flex-direction: column;
  }

  .list-group-item {
    width: 100%;
  }
  
}
/*---------------Estilos para la seccion Skew-t----------*/
.skew-t_container {
  overflow: hidden;
  margin-bottom: 15px;
}
.skewt_lista{
  margin-top: 15px;
}
#skewt-titulo{
  font-size: 20px;
  margin-left: 5px;
}

#lista_imagen_skewt {
  height: 500px;
  overflow-y: scroll; 
}

.lista_imagen_skewt .list-group-item.active {
  background-color: #e0e0e0;
  color: #000;
}

.skewt_imagen{
  display: block;
  text-align: center;
  align-items: center;
  width: 85%;
}

/*------------ Estilos para el mapa de Series Temporales ---------*/
.images-container{
  border-radius: 10px;
  height: auto;
  overflow: hidden;
}

.imagen_mapa{
  width: 50%;
  display: block;
  text-align: center;
  align-items: center;
}

#mapa_titulo{
  font-size: 25px;
  margin-left: 30px;
}


/* Estilos para el footer */
.footer {
  bottom: 0;
  background-color: #212529;
  color: #a09c9c;
  padding: 10px;
  text-align: center;
}

.footer p{
  margin: 10px;
  font-size: 20px;
}



