@import url("https://fonts.googleapis.com/css2?family=Manrope:wght@400;600;700&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Cormorant:wght@400;600;700&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Cormorant+Garamond&display=swap");

:root {
  --cormorant: "Cormorant Garamond";
  --manrope: "Manrope";
  --background-section1: #093931;
  --color-texto1: #f5d38e;
  --color-texto2: #f2c66d;
  --color-texto3: #ffffff;
  --color-texto-s3: #0d554a;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

.container {
  width: 100%;
  margin: 0 auto;
  left: 0;
  right: 0;
  top: 0;
}

.section {  
  width: 100%;
  height: 100%;
  position: relative;
}

.section1 {
  background-color: var(--background-section1);
  background-image: url(../assets/img/olas_blancas.png);
}

input,
label {
  display: none;
}

.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: var(--background-section1);
}

.header__p {
  color: #f5d38e;
  font-family: var(--cormorant);
  font-size: 3vw;
  line-height: 4.5vw;
  margin-left: 3vw;
}

.header__nav {
  display: flex;
}

.nav__ul {
  display: flex;
  gap: 2.2vw;
  margin-right: 5vw;
}

.nav__li {
  list-style-type: none;
}

.li__icon {
  width: 2.5vw;
}

.nav__a {
  text-decoration: none;
  color: var(--color-texto3);
  font-size: 0.972vw;
  font-family: var(--manrope);
  cursor: pointer;
}

.nav__a-active {
  color: var(--color-texto2);
  font-weight: 700;
  padding-bottom: 7px;
  border-bottom: 4px solid var(--color-texto2);
  border-radius: 0.13rem;
}

.darling {
  color: #f5d38e;
  font-family: var(--cormorant);
  font-size: 3vw;
  line-height: 4.5vw;
  position: absolute;
  left: 5vw;
  top: 50%;
  transform-origin: 0 0;
  transform: rotate(0deg) scale(1, 1) translateY(-50%);
}

div.buscador {
  margin-top: 3vw;
  border-radius: 7vw;
  border: 1px solid #f8f9fa;
  background: var(--color-texto3);
  width: 62%;
  display: flex;
  padding: 1.5%;
}
.buscador__text {
  font-family: var(--manrope);
  font-size: 1.5vw;
  color: #323842;
  border: 0px;
  width: 100%;
  outline: none;
  padding: 2px;
  display: block;
}
input.image_buscar {
  width: 2vw;
  border: 0px;
  top: 1px;
  display: block;
}

.container__section {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  flex-direction: column;
  margin-top: 8vw;
  padding-bottom: 8vw;
}

.section1__title {
  font-size: 6vw;
  font-weight: 400;
  line-height: 94px;
  color: var(--color-texto1);
  font-family: var(--cormorant);
}

/*----------------------------SECTION 2-------------------------*/

.section2 {
  background-color: var(--color-texto3);
  padding-left: 9.167vw;
  padding-right: 9.167vw;
}

.container__filter {
  display: flex;
  width: 100%;
  justify-content: space-between;
  margin-top: 3.75vw;
}

.filter__nav {
  background-color: var(--color-texto3);
  display: flex;
}

.filter__nav__li {
  display: flex;
  gap: 43.3px;
  flex-shrink: 0;
  justify-content: center;
  text-align: center;
}

.nav__li__a {
  text-decoration: none;
  color: var(--color-texto-s3);
  width: 148.6px;
  height: 38px;
  padding: 8px 0px;
  border-radius: 19px;
  background: rgba(0, 0, 0, 0);
  transition: background-color 0.3s ease;
  font-family: var(--manrope);
  font-size: 14px;
  font-style: normal;
  font-weight: 400;
  line-height: 22px;
  border-right-width: 1px;
  border-right-color: #9aefe2;
}

.nav__li__a-active{
  background-color: var(--color-texto-s3);
  color: var(--color-texto3);
}

.nav__li__a:hover {
  background-color: var(--color-texto-s3);
  color: var(--color-texto3);
}

.line {
  background: #9aefe2;
  width: 1px;
  height: 19px;
  flex-shrink: 0;
  margin-top: 1.2%;
  margin-left: 0;
}

.sort__by__price {
  border-color: var(--color-texto3);
  color: #171a1f;
  font-family: var(--manrope);
  font-size: 14px;
  font-style: normal;
  font-weight: 400;
  line-height: 22px;
  width: 138px;
  height: 36px;
  flex-shrink: 0;
}

.select__line {
  width: 138px;
  height: 2px;
  flex-shrink: 0;
  background-color: #9095a0;
}

.container__cards {
  margin-top: 3.333vw;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(276px, 1fr));
  grid-gap: 2%;
  margin-bottom: 10%;
  flex-wrap: wrap;
}

.card {
  overflow: hidden;
  display: flex;
  flex-wrap: wrap;
  margin-bottom: 5%;
  height: 404px;
  width: 276px;
  border-radius: 8px;
  background: var(--color-texto3);
  box-shadow: 0px 0px 1px 0px rgba(23, 26, 31, 0.07), 0px 0px 2px 0px rgba(23, 26, 31, 0.12);
  cursor: pointer;
}

.card img {
  width: 100%;
  height: 75%;
}

.card__h3 {
  margin-top: 12px;
  margin-left: 12px;
  color: #171a1f;
  font-family: var(--cormorant);
  font-size: 24px;
  font-style: normal;
  font-weight: 700;
  line-height: 36px;
}

.card__price {
  color: #171a1f;
  margin-left: 12px;
  font-family: var(--manrope);
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: 26px;
  margin-bottom: 12px;
}

.pages {
  margin-top: 17%;
  margin-left: 35%;
  margin-bottom: 4.306vw;
  width: 348px;
  height: 44px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: space-around;
}

.pages a {
  text-decoration: none;
  color: #9095a0;
  font-family: var(--manrope);
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: 26px;
}

.pages__border {
  align-items: center;
  width: 41px;
  height: 44px;
  padding: 8px 15px;
  border-radius: 21px;
  border: 1px solid var(--color-texto-s3);
  color: var(--color-texto-s3);
  background: rgba(0, 0, 0, 0);
}

/* ------------------- SECTION 3 -------------- */
.section4 {
  position: relative;
  padding: 2vw;
  display: flex;
}

.container__s4 {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.section4__img {
  width: 6vw;
  height: auto;
  object-fit: cover;
}

.section4__text-title {
  color: #171a1f;
  text-align: center;
  font-family: var(--cormorant);
  font-size: 1.5vw;
  line-height: 28px;
  font-weight: 600;
}

.section4__text-description {
  color: #9095a0;
  text-align: center;
  font-family: var(--manrope);
  font-size: 1vw;
  line-height: 1.8vw;
  font-weight: 400;
  width: 60%;
}

/* ----------------  FOOTER ---------- */
.footer {
  margin-top: 45px;
  background: var(--background-section1);
  padding: 2vw;
}

.footer__texts {
  margin-top: 1vw;
  display: flex;
  justify-content: space-around;
}

.texts1__darling {
  color: #f5d38e;
  font-family: var(--cormorant);
  font-size: 2vw;
  line-height: 2vw;
}

.texts1__copyright {
  color: var(--color-texto3);
  font-family: var(--manrope);
  font-size: 1vw;
  font-weight: 400;
  line-height: 2vw;
}

.footer__texts2 {
  display: flex;
  gap: 4vw;
}

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

.footer__texts3 {
  position: relative;
}

.texts1__copyright-suscribe {
  font-size: 1.2vw;
}

.texts1__copyright-suscribe-desc {
  font-size: 0.7vw;
  line-height: 1vw;
  margin-bottom: 1vw;
}

.container__subscribe {
  display: flex;
  border-radius: 2vw 0px 0px 2vw;
  border: 1px solid #fff;
  background: rgba(0, 0, 0, 0);
  justify-content: flex-start;
  gap: 0.3vw;
  align-items: center;
}

.input__icon {
  width: 1.5vw;
  margin-left: 1vw;
}

.subscribe__text {
  color: var(--color-texto3);
  font-family: var(--manrope);
  font-size: 1vw;
  font-weight: 400;
  line-height: 2vw;
}

.subscribe_btn {
  position: absolute;
  width: 8vw;
  border-radius: 0px 2vw 2vw 0px;
  background: #f2c66d;
  color: #6b4a09;
  font-family: var(--manrope);
  font-size: 1.1vw;
  font-weight: 400;
  padding: 0.4vw;
  left: 16vw;
  border: none;
  cursor: pointer;
}

.footer__networks {
  padding: 1vw;
  display: flex;
  justify-content: space-between;
}

.container__network-icons {
  display: flex;
  gap: 0.3vw;
}

.network__icons {
  width: 1.6vw;
}

.texts1__copyright-copy {
  margin-left: 9vw;
}

/* -----------------------    MODAL CAR --------------------------------------- */
.modal-navbar {
  background-color: hsl(0deg, 0%, 100%);
  width: 31vw;
  height: 100vh;
  padding: 2vw;
}
.modal-navbar__background {
  background-color: hsla(0deg, 0%, 0%, 0.5);
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  overflow: hidden;
  display: none;
}

.modal-navbar__close-icon:hover {
  cursor: pointer;
}
.show {
  display: flex;
  justify-content: flex-end;
}
.display-none {
  display: none;
}

.container1__title {
  color: #171a1f;
  font-family: var(--cormorant);
  font-size: 1.39vw;
  font-weight: 700;
  line-height: 1vw;
}

.section2__container1 {
  margin-top: 3vw;
  width: 100%;
  display: flex;
}

.container1__imgs {
  display: flex;
  flex-direction: column;
  gap: 0.8vw;
  margin-top: 1.4vw;
  width: 40%;
}

.container1__img {
  width: 100%;
  object-fit: cover;
}

.container__summary {
  width: 100%;
}

.summary__container__texts {
  display: flex;
  justify-content: space-between;
  padding: 0.5vw;
  margin-top: 2.7vw;
}

.texts {
  color: #171a1f;
  font-family: var(--manrope);
  font-size: 1.3vw;
  font-weight: 700;
  line-height: 1.5vw;
}

.texts__code {
  color: #565e6c;
  font-size: 1.14vw;
  font-weight: 400;
}

.summary__icon__trash {
  width: 1.6vw;
  object-fit: cover;
  cursor: pointer;
}

.texts-trash {
  margin-top: 1vw;
}

.contain__total{
  width: 100%;
  margin-top: 20vh;
}

.summary__items {
  display: flex;
  justify-content: space-between;
  margin-bottom: 0.5vw;
}

.payment__btn{
  margin-top: 2vw;
  border-radius: 22px;
  background: #0d554a;
  width: 100%;
  display: inline-flex;
  padding: 1vw;
  justify-content: center;
  align-items: center;
  color: var(--color-texto3);
  font-weight: 400;
  font-size: 1.4vw;
  border: none;
  cursor: pointer;
}

/*------------------- MEDIA QUERY----------------------------*/

@media screen and (max-width: 1264px) {
  .card__h3 {
    font-size: 20px;
  }
}

@media screen and (max-width: 1076px) {
  .section2 {
    padding-left: 4vw;
  }

  .container__cards {
    padding-left: 20vw;
  }

  .card__h3 {
    font-size: 18px;
  }

  .card__price {
    font-size: 14px;
  }

  .pages {
    margin-top: 34%;
  }

} 

@media screen and (max-width: 985px) {
  .nav__li__a {
    width: 128px;
    font-size: 12px;
  }

  .sort__by__price {
    width: 118px;
    font-size: 12px;
  }

  .select__line {
    width: 118px;
  }
}

@media screen and (max-width: 868px) {
  .container__cards {
    grid-gap: 0.2%;
  }

  .pages {
    margin-top: 22%;
  }
}

@media screen and (max-width: 851px) {
  .container__cards {
    padding-left: 17vw;
  }
}

@media screen and (max-width: 822px) {
  .filter__nav__li {
    gap: 10px;
  }

  .nav__li__a {
    width: 100px;
    font-size: 10px;
  }

  .sort__by__price {
    width: 100px;
    font-size: 10px;
  }

  .select__line {
    width: 100px;
  }
}

@media screen and (max-width: 650px) {
  .nav__li__a {
    width: 90px;
    font-size: 10px;
  }

  .sort__by__price {
    width: 90px;
    font-size: 10px;
  }

  .select__line {
    width: 90px;
  }

  .pages {
    margin-top: 30%;
  }

  .services__icon {
    width: 12%;
  }

  .services__icon-1 {
    left: 8%;
  }

  .services__icon-2 {
    left: 47%;
  }

  .services__icon-3 {
    left: 78%;
  }

  .services__title {
    font-size: 0.8rem;
    top: 43%;
  }

  .services__title-1 {
    left: 4.5%;
  }

  .services__title-2 {
    left: 37%;
  }

  .services__title-3 {
    width: 21%;
    left: 73%;
    line-height: 0.8rem;
  }

  .services__text {
    font-size: 0.55rem;
  }
}

@media screen and (max-width: 600px) {
  .nav__ul {
    display: none;
  }

  .header__nav {
    align-items: flex-end;
    display: flex;
    flex-direction: column;
    position: relative;
    width: 100%;
    padding-right: 2%;
  }

  .nav__a {
    font-size: 0.7rem;
  }

  .nav__a-active {
    padding-bottom: 2px;
    border-bottom: 2px solid var(--color-texto2);
  }

  input:checked ~ .nav__ul {
    position: absolute;
    display: flex;
    flex-direction: column;
    top: 70%;
    width: 30%;
    gap: 0.2vw;
    text-align: center;
    z-index: 1;
  }

  .button_menu {
    box-sizing: border-box;
    border: 1px solid var(--color-texto3);
    border-radius: 5px;
    width: 30px;
    height: 30px;
    line-height: 30px;
    font-weight: bold;
    text-align: center;
    user-select: none;
    color: var(--color-texto3);
    z-index: 99;
  }

  .show_menu {
    display: inline-block;
  }

  .hide_menu {
    display: none;
  }

  /* Estilo del boton cuando se pasa el mouse por encima*/
  .button_menu:hover {
    background: grey;
  }

  /* Estilo del boton cuando el menú está expandido*/
  input:checked ~ .button_menu {
    background: lightgrey;
  }

  input:checked ~ .show_menu {
    display: none;
  }

  input:checked ~ .hide_menu {
    display: inline-block;
  }

  ul {
    margin-top: 10px;
    padding: 0;
    width: 200px;
  }

  li {
    display: block;
    margin: 0;
    padding: 2%;
    list-style: none;
    border-bottom: 1px solid grey;
    background: #1f8171;
  }

  /*Estilo cuando el mouse pasa encima de cada link del menu*/
  li:hover {
    font-size: 4vw;
    filter: brightness(110%);
  }

  /*---------------- SECTION 2------------------*/
  .section2 {
    padding-left: 0vw;
  }

  .container__filter {
    flex-direction: column;
  }

  .filter__nav__li {
    border: none;
    background-color: var(--color-texto3);
  }

  .line {
    margin-top: 4%;
  }

  .select {
    margin-left: 45%;
  }

  .nav__li__a {
    width: 80px;
  }

  .sort__by__price {
    width: 90px;
    font-size: 10px;
  }

  .pages {
    margin-top: 30%;
  }
}
