main h1 {
  color: blue;
  text-align: center;
  margin: 40px;
}

/*estilo filtro*/

.filtro {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  align-items: center;
}

.filtro label,
.filtro select {
  margin-bottom: 10px;
}

.filtro select {
  width: 150px;
  padding: 5px;
  border: 1px solid #ccc;
  border-radius: 5px;
}

.filtro button {
  padding: 8px 15px;
  background-color: #ccc;
  color: blue;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.3s;
}

.filtro button:hover {
  background-color: blue;
  color: white;
}

/*fin estilos filtro*/

.informacion h2,
h3,
p {
  color: black;
}

ul li ul li {
  position: relative;
  left: 15px;
}

.propiedad {
  background-color: rgb(246, 248, 255);
  margin: 20px;
  border-radius: 15px;
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.384);
}

.imagen {
  width: 30%;
}

.propiedad .imagen a img {
  border-radius: 10px;
  position: relative;
  bottom: 9px;
  left: 50px;
  width: 400px;
  height: 640px;
}

.propiedad {
  width: 97.5%;
}

.propiedad .imagen {
  width: 35%;
}

.propiedad .informacion {
  left: 120px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 20px;
  width: 60%;
  text-align: center;
}

.propiedad .imagen p {
  position: relative;
  background-color: blue;
  padding: 3px 3px;
  width: 200px;
  top: 30px;
  left: 70px;
  color: white;
  border-radius: 5px;
  font-weight: bold;
  z-index: 1;
  box-shadow: 2px 2px 4px black;
  text-align: center;
}

.informacion p {
  text-align: left;
}

.informacion h2 {
  text-align: right;
  color: blue;
}

.filtro {
  margin-bottom: 20px;
}
.propiedad {
  display: flex;
  justify-content: left;
  margin-bottom: 20px;
}
.oculto {
  display: none;
}

.propiedad .imagen .rojo {
  background-color: red;
}

.propiedad .imagen .celeste {
  background-color: skyblue;
}

footer > h3 {
  color: white;
}

.propiedades .propiedad .informacion {
  display: block;
}

.propiedad .imagen h4 {
  background-color: yellow;
  z-index: 1;
  display: none;
}

.subir {
  margin-left: 50%;
  display: flex;
  flex-direction: row;
  align-items: center;
  text-align: center;
  gap: 30px;
}

.subir a {
  opacity: 80%;
  transition: 0.75s ease;
}

.subir a:hover {
  opacity: 100%;
}

@media (max-width: 1330px) {
  .propiedades .propiedad .informacion {
    display: none;
  }

  .propiedad {
    width: 90%;
  }

  .propiedad .imagen a img {
    max-width: 95%;
    height: auto;
    position: relative;
    left: 18px;
  }

  .propiedad .imagen {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    justify-content: center;
    align-items: center;
    width: 95%;
  }

  .propiedad .imagen p {
    position: relative;
    left: 10px;
    top: 25px;
  }

  .head {
    display: flex;
    flex-direction: column;
  }

  .filtro {
    display: flex;
    flex-direction: column;
    gap: 10px;
  }

  .links-container {
    visibility: hidden;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    position: fixed;
    top: 0;
    right: -45%;
    z-index: 10;
    width: 170px;
    background-color: hsla(0, 0%, 32%, 0.7);
    box-shadow: -5px 0 5px hsla(0, 0%, 0%, 0.25);
    transition: 0.56s ease-in;
  }

  nav a {
    box-sizing: border-box;
    height: auto;
    width: 100%;
    padding: 20px 30px;
    justify-content: flex-start;
  }

  .open-sidebar-button,
  .close-sidebar-button {
    display: block;
  }

  #sidebar-active:checked ~ .links-container {
    display: flex;
    right: 0;
    visibility: visible;
  }
}
