* {
  box-sizing: border-box;
}
body {
  margin: 0; padding: 0; min-height: 200vh; /* para scroll */
font-family: "azo-sans-web", sans-serif;
	    background-color: var(--darkreader-background-0c0833, #0a0629);
}

img { 
max-width: 100%;
  height: auto;
}

.bannerpost {
    position: relative;
    width: 100%;
    height: 380px;
    overflow: hidden;
  }
  
  .imgpost {
    width: 100%;
    height: 100%;
    display: block;
    opacity: 25%;
    margin: 0 0 15px;
  }
  .txttitulopost {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: #00526f;
    font-size: 70px;
    font-weight: bold;
    width: 80%;
    line-height: 1;
  }
  @media screen and (max-width: 650px){
    .txttitulopost {font-size: 35px;}}
  

.quickedit {
  display: inline-block;
  float: right;
  font-size: 13px;
  background: #f1f1f1;
  padding: 4px 8px;
  border-radius: 6px;
  text-decoration: none;
  color: #333;
  margin: 4px;
}

.quickedit:hover {
  background: #ddd;
}

h2 {
    color: #faf6ef;
    font-size: 41px;
    margin: 40px;
    text-align: center;
}

h3 {
color: #004e8a;
    font-size: 15px;
    margin: 10px;
  }

.post p {
  color: #111b38;
  font-size: 16px;
  margin: 0px 55px 0px;
}

.post-body h3 {
    font-size: 20px;
    color: #ffb100;
    text-align: center;
    margin: 10px 0 15px;
}
@media screen and (max-width: 768px) {
    .post-body h3 {
        font-size: 16px;
    }
}
.imagen {
    max-width: 20%;
    background-color: #faf6ef;
    margin: 4px;
    border-radius: 20px;
        cursor: pointer;

}
@media screen and (max-width: 1000px) {
    .imagen {
        max-width: 33%;
        border-radius: 10px;
    }
}
@media screen and (max-width: 768px) {
    .imagen {
        max-width: 45%;
        border-radius: 10px;
    }
}

  .price {
        color: #0a0629;
        font-size: 40px; 
        font-weight: bold;
text-align: center;   
    text-align: center;
font-weight: 900;
    margin: 5px;
}

.galeria {
  display: flex; /* Utilizar flexbox para diseño flexible */
  flex-wrap: wrap; /* Permitir que las imágenes se envuelvan cuando no quepan en una línea */
  justify-content: center; /* Centrar las imágenes horizontalmente */
      text-align: center;

}

.imagen {
  flex: 1 1 calc(24% ); /* Establecer el tamaño base de las imágenes y permitir crecimiento flexible */
  max-width: calc(24% ); /* Ancho máximo de las imágenes */
  overflow: hidden; /* Ocultar el desbordamiento para animación de desplazamiento */
  position: relative; /* Establecer posición relativa para hijos absolutos */
}

.imagen img {
  width: 100%; /* Asegurar que las imágenes ocupen todo el espacio disponible */
  height: auto; /* Mantener la proporción de la imagen */
  transition: transform 0.3s ease; /* Agregar una transición suave al desplazamiento */
  border-radius: 15px;
}

.imagen img:hover {
  opacity: 0.7; /* Opacidad al 50% al pasar el mouse */
}

/* Media queries para pantallas más pequeñas */
@media screen and (max-width: 768px) {
  .imagen {
    flex: 1 1 calc(25%); /* Ajustar el tamaño de las imágenes para pantallas más pequeñas */
    max-width: calc(50% ); /* Ancho máximo de las imágenes en pantallas más pequeñas */
  }
}

@media screen and (max-width: 480px) {
  .imagen {
    flex: 1 1 calc(40% ); /* Ajustar el tamaño de las imágenes para pantallas muy pequeñas */
    max-width: calc(50% ); /* Ancho máximo de las imágenes en pantallas muy pequeñas */
  }
}

.bannerpost {
    position: relative;
    width: 100%;
    height: auto;
    overflow: hidden;
  }
  .imgpost {
    width: 100%;
    height: auto;
    display: block;
    margin: 0 0 15px;

  }
  .txttitulopost {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: #111b38;
    font-size: 70px;
    font-weight: bold;
    width: 80%;
    line-height: 1;
  }
  @media screen and (max-width: 650px){
    .txttitulopost {font-size: 35px;}}