@import url("https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap");

* {
  padding: 0;
  margin: 0;
  text-decoration: none;
  font-family: "Poppins", sans-serif;
  font-weight: 400;
  font-style: normal;
}

/*encabezado inicio*/

header {
  background-image: url(/img/casaInicio.jpg);
  height: 100px;
}

.wellcome {
  background-image: url(/img/casaInicio.jpg);
  background-repeat: no-repeat;
  background-size: cover;
  height: 700px;
}

.head {
  display: flex;
  justify-content: space-around;
  align-items: center;
  background-color: rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(50px);
  padding-top: 15px;
}

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

#sidebar-active {
  display: none;
}

nav {
  display: flex;
  flex-wrap: wrap;
  flex-direction: row;
  gap: 0 40px;
}

nav a {
  color: white;
  font-size: 16px;
  transition: 0.3s;
  margin: 0 20px;
}

.active {
  text-decoration: underline;
  color: #efb810;
}

nav a:not(.active):hover {
  color: #efb810;
}

.icons {
  color: white;
  font-size: 40px;
  display: none;
}

.bx {
  color: white;
  font-size: 30px;
}

.contact {
  display: flex;
  align-items: center;
  gap: 10px;
}

.contact a {
  color: white;
  font-size: 16px;
  transition: 0.3s;
}

.contact a:hover {
  color: #efb810;
}

header img {
  width: 80px;
}

.wellcome {
  text-align: center;
}

.wellcome2 {
  text-align: center;
}

.wellcome h1 {
  color: white;
  font-family: "Montserrat", sans-serif;
  font-size: 50px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.9);
  padding: 0px 20px;
}

.wellcome h2 {
  margin-top: 120px;
  margin-bottom: 140px;
  font-family: "Montserrat", sans-serif;
  color: white;
  font-size: 50px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.9);
}

.wellcome a {
  background-color: rgb(0, 81, 255);
  padding: 20px;
  border-radius: 15px;
  color: white;
  font-weight: bold;
  transition: 0.3s ease-in-out;
}

.wellcome a:hover {
  background-color: white;
  padding: 20px;
  border-radius: 15px;
  color: rgb(0, 81, 255);
  font-weight: bold;
  outline: 2px solid blue;
}

.wellcome2 a {
  background-color: rgb(0, 81, 255);
  padding: 20px;
  border-radius: 15px;
  color: white;
  font-weight: bold;
  transition: 0.3s ease-in-out;
  position: relative;
  bottom: 50px;
}

.wellcome2 a:hover {
  background-color: white;
  padding: 20px;
  border-radius: 15px;
  color: rgb(0, 81, 255);
  font-weight: bold;
  outline: 2px solid blue;
}

/* destacados carrusel*/

.destacados h2 {
  margin: 60px;
  text-align: center;
}

.destacado {
  display: flex;
  flex-direction: row;
  justify-content: space-around;
  align-items: center;
  margin: 20px;
}

.destacado img {
  width: 500px;
  border-radius: 15px;
}

.propiedadesDestacadas {
  margin-top: 55%;
}

.propiedadesDestacadas h2 {
  text-align: center;
  color: blue;
}

.venderAlquilar {
  margin-top: 100px;
}

/*SLIDER DE IMAGENES*/

.slide img {
  max-width: 100%;
}

.container-all {
  position: relative;
  max-width: 1000px;
  width: 100%;
  border-radius: 6px;
  overflow: hidden;
}

.container-all2 {
  position: relative;
  max-width: 1000px;
  width: 100%;
  border-radius: 6px;
  overflow: hidden;
}

.slide {
  display: flex;
  transform: translate3d(0, 0, 0);
  transition: all 600ms;
  animation-name: autoplay;
  animation-duration: 6.5s;
  animation-direction: alternate;
  animation-fill-mode: forwards;
  animation-iteration-count: infinite;
}

.item-slide {
  position: relative;
  display: flex;
  flex-direction: column;
  flex-shrink: 0;
  flex-grow: 0;
  max-width: 100%;
}

.pagination {
  position: absolute;
  bottom: 20px;
  left: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  width: 100%;
}

.pagination-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  border: 2px solid white;
  width: 16px;
  height: 16px;
  border-radius: 4px;
  overflow: hidden;
  cursor: pointer;
  background: rgba(255, 255, 255, 0.5);
  margin: 0 10px;
  text-align: center;
  transition: all 300ms;
}

.pagination-item:hover {
  transform: scale(2);
}

.pagination-item img {
  display: inline-block;
  max-width: none;
  height: 100%;
  transform: scale(1);
  opacity: 0;
  transition: all 300ms;
}

.galeria {
  display: flex;
  justify-content: space-around;
  flex-direction: row;
  align-content: center;
  padding: 50px;
  gap: 20px;
}

.pagination-item:hover img {
  opacity: 1;
  transform: scale(1);
}

input[id="1"]:checked ~ .slide {
  animation: none;
  transform: translate3d(0, 0, 0);
}

input [id="1"]:checked ~ .pagination .pagination-item[for="1"] {
  background: white;
}

input[id="2"]:checked ~ .slide {
  animation: none;
  transform: translate3d(calc(-100% * 1), 0, 0);
}

input [id="2"]:checked ~ .pagination .pagination-item[for="2"] {
  background: white;
}

input[id="3"]:checked ~ .slide {
  animation: none;
  transform: translate3d(calc(-100% * 2), 0, 0);
}

input [id="3"]:checked ~ .pagination .pagination-item[for="3"] {
  background: white;
}

/*otra 2*/

input[id="4"]:checked ~ .slide {
  animation: none;
  transform: translate3d(0, 0, 0);
}

input [id="4"]:checked ~ .pagination .pagination-item[for="4"] {
  background: white;
}

input[id="5"]:checked ~ .slide {
  animation: none;
  transform: translate3d(calc(-100% * 1), 0, 0);
}

input [id="5"]:checked ~ .pagination .pagination-item[for="5"] {
  background: white;
}

input[id="6"]:checked ~ .slide {
  animation: none;
  transform: translate3d(calc(-100% * 2), 0, 0);
}

input [id="6"]:checked ~ .pagination .pagination-item[for="6"] {
  background: white;
}

/* LUGARES */

.lugares h2 {
  text-align: center;
  margin: 50px;
  color: blue;
}

.zona {
  display: flex;
  flex-wrap: wrap;
  flex-direction: row;
  justify-content: space-around;
  align-items: center;
  gap: 10px;
  text-align: center;
}

.lugar1 {
  padding: 100px 100px;
  background-image: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)),
    url(/img/ciudades/cajamarca.jpg);
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  border-radius: 15px;
  width: 100px;
  height: 100px;
}

.lugar2 {
  padding: 100px 100px;
  background-image: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)),
    url(/img/ciudades/baños.jpg);
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  border-radius: 15px;
  width: 100px;
  height: 100px;
}

.lugar3 {
  padding: 100px 100px;
  background-image: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)),
    url(/img/ciudades/otuzco.jpg);
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  border-radius: 15px;
  width: 100px;
  height: 100px;
}

.lugar4 {
  padding: 100px 100px;
  background-image: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)),
    url(/img/ciudades/llacanora.jpg);
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  border-radius: 15px;
  width: 100px;
  height: 100px;
}

.lugar5 {
  padding: 100px 100px;
  background-image: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)),
    url(/img/ciudades/namora.jpg);
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  border-radius: 15px;
  width: 100px;
  height: 100px;
}

.lugar6 {
  padding: 100px 100px;
  background-image: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)),
    url(/img/ciudades/polloc.jpg);
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  border-radius: 15px;
  width: 100px;
  height: 100px;
}

.zona h3 {
  color: white;
  font-weight: bold;
}

.vender h2 {
  text-align: center;
  margin: 50px;
  color: blue;
}

.alquilar h2 {
  text-align: center;
  margin: 50px;
  color: blue;
}

.vender h3 {
  text-align: center;
  margin-bottom: 40px;
  color: blue;
}

.vender {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 80px;
  gap: 10px;
}

.alquilar {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 50px;
  margin-bottom: 100px;
  gap: 10px;
}

.vender1,
.vender2,
.alquilar1 {
  width: 400px;
  height: auto;
  background-color: rgb(195, 208, 255);
  border-radius: 15px;
  text-align: center;
  padding-bottom: 20px;
}

.vender1 h3 {
  color: blue;
  font-weight: bold;
  font-size: 20px;
  margin-top: 20px;
}

.alquilar1 h3 {
  color: blue;
  font-weight: bold;
  font-size: 20px;
  margin-top: 20px;
}

.vender2 h3 {
  color: blue;
  font-weight: bold;
  font-size: 20px;
  margin-top: 20px;
}

.vender1 h4 {
  color: rgb(99, 99, 99);
  font-weight: bold;
  font-size: 16px;
  position: relative;
  top: -35px;
}

.alquilar1 h4 {
  color: rgb(99, 99, 99);
  font-weight: bold;
  font-size: 16px;
  position: relative;
  margin-bottom: 20px;
}

.vender2 h4 {
  color: rgb(99, 99, 99);
  font-weight: bold;
  font-size: 16px;
  position: relative;
  top: -35px;
}

.vender1 ul li {
  margin-left: 40px;
}

.alquilar1 ul li {
  margin-left: 40px;
}

.vender2 ul li {
  margin-left: 40px;
}

.vender1 p {
  text-align: left;
  padding: 5px;
  color: black;
}

.alquilar1 p {
  text-align: left;
  padding: 5px;
  color: black;
}

.vender2 p {
  text-align: left;
  padding: 5px;
  color: black;
}

@media (max-width: 900px) {
  header {
    height: 100vh;
  }

  .wellcome {
    height: 88%;
  }

  .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;
  }

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

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

  .wellcome {
    align-items: center;
  }

  .wellcome h1 {
    margin-top: 10px;
    margin-bottom: 20px;
    font-size: 35px;
  }

  .wellcome h2 {
    margin-bottom: 50px;
    margin-top: 50px;
    font-size: 30px;
  }

  .wellcome a {
    margin-top: 20px;
  }

  .wellcome {
    padding: 5px;
  }

  .vender {
    display: flex;
    flex-direction: column;
    width: 90%;
    position: relative;
    left: 20px;
  }

  .vender1 {
    width: 100%;
    height: 100%;
  }

  .vender2 {
    width: 100%;
    height: 100%;
  }

  .alquilar {
    display: flex;
    flex-direction: column;
    width: 90%;
  }

  .alquilar1 {
    width: 100%;
    position: relative;
    left: 20px;
  }
  .propiedadesDestacadas {
    margin-top: 45%;
  }
}
