html, body {
  height: 100%;
  margin: 0;
}

/* Estilos generales */
body {
  font-family: 'Barlow', sans-serif;
  margin: 0;
  padding: 0;
  background-color: #fafafa; /* azul claro de la paleta */
  display: flex;
  flex-direction: column;
  min-height: 100vh; /* Asegura que el body tenga al menos la altura de la viewport */
  width: 100vw;
  overflow-x: hidden;
}

.container {
  flex: 1; /* Permite que el contenido principal se expanda para ocupar todo el espacio disponible */
  min-height: 100vh;
  margin-right: 20%;
  margin-left: 20%;

}

footer {
  flex-shrink: 0;
  background-color: #fff;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: auto;
}

.content__all {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem; /* Aumentamos el espacio entre elementos */
  padding: 2rem;
  padding-top: 30vh;
  align-content: center;
  
}
.contenth1{
  position: absolute;
  margin-top: 6vh;
  text-align: center; 
  width: 100%;
  height: auto;
  font-family: 'Roboto', sans-serif;
  font-size: 2vw;
  z-index: 4;
}
h1{
color: #003366;
}

.content__info__blog {
  background-color: rgba(0, 0, 0, 0.8);
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.7);
  overflow: hidden; /* Para que las sombras se vean bien */
  transition: transform 0.2s ease-in-out;
  border: 2px solid white ;
  z-index: 4;
  overflow-wrap: break-word;
}

.content__info__blog:hover {
  transform: translateY(-5px); /* Efecto de elevación al pasar el ratón */
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.7);
}

.content__info__blog h2 {
  background-color: inherit; /* Hereda el color del contenedor */
  color:  white;
  font-family: 'Roboto', sans-serif;
  font-size: 1.8rem;
  font-weight: 700;
  text-align: center;
  padding: 1rem;
  margin: 0;

}

.content__info__blog img {
  width: 100%; /* Imagen a todo ancho */
  height: 20vh;
  object-fit: cover; /* Ajusta la imagen al contenedor */
}

.content__info__blog p {
  font-family: 'Barlow', sans-serif;
  font-size: 1.2rem;
  line-height: 1.5;
  padding: 1rem;
  color: white;
  letter-spacing: 2px;
  text-overflow: ellipsis;
}

.content__info__blog a{
text-decoration: none;
color: #E37C3E;
font-style: italic;
}

.superoverlay{
  position: fixed;
  background: linear-gradient(to bottom, white 3%, transparent 100%);
  width: 100vw;
  height: 100%;
  top: 0;
  z-index: 1;
}

body {
    margin: auto;
    overflow: auto;
    background: linear-gradient(315deg,  #fafafa 80%, #E37C3E 100%);
    animation: gradient 10s ease infinite;
    background-size: 400% 400%;
    background-attachment: fixed;
    overflow-x: hidden;
    min-height: 100vh;
    height: auto;
}

@keyframes gradient {
    0% {
        background-position: 0% 0%;
    }
    50% {
        background-position: 100% 100%;
    }
    100% {
        background-position: 0% 0%;
    }
}



@keyframes wave {
    2% {
        transform: translateX(1);
    }

    25% {
        transform: translateX(-25%);
    }

    50% {
        transform: translateX(-50%);
    }

    75% {
        transform: translateX(-25%);
    }

    100% {
        transform: translateX(1);
    }
}

@media only screen and (min-width: 851px) and (max-width: 1050px) {

.content__info__blog{
  width: 40%;
  height: 40%;
}

.content__info__blog h2{
}
.content__info__blog img{
  width: 250px;
  height: 250px;
}

.content__info__blog h3{
  font-size: 1.8vw;
}

.content__info__blog p{
  font-size: 1.5vw;
}


}





@media (max-width: 900px) {

 .contenth1{
  font-size: 5vw;
  padding-top: 5vh;
} 

.content__info__blog{
  width: 80%;
  margin-left: -10vw;
}

.content__info__blog:nth-child(1){
  margin-top: -10%;
}

.content__info__blog h2{
  font-size: 4.5vw;
}
.content__info__blog img{
 
}

.content__info__blog h3{
  font-size: 2.5vw;
}

.content__info__blog p{
  font-size: 3.5vw;
}

}