@font-face {
  font-family: "Autography";
  src: url("/assets/fonts/Autography.otf");
}

html {
  overflow-x: hidden;
}

body {
  font-family: "Montserrat", sans-serif;
  overflow-x: hidden;
}

p {
  margin: 0;
}

a {
  text-decoration: none;
}

:root {
  --primary: #141414;
  --secondary: #e8e73d;
  --secondaryLight: #eedd80;
  --secondaryPastel: #f7f4bf;
  --secondaryPastelHover: #f0edaa;
  --tertiary: #daa8b3;
  --disabled: rgb(129, 129, 129);
}

.container-small {
  width: 70%;
  margin: 0 auto;
}

/* apply a natural box layout model to all elements, but allowing components to change */
html {
  box-sizing: border-box;
}
*,
*:before,
*:after {
  box-sizing: inherit;
}

section {
  margin-bottom: 9rem;
}

.separator {
  width: 100%;
  height: 7px;
  background-color: var(--secondary);
  background: rgb(255, 255, 255);
  background: radial-gradient(
    circle,
    rgba(255, 255, 255, 1) 0%,
    rgba(232, 231, 61, 1) 100%
  );
}

.separator img {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 8rem;
  background-color: #fff;
}

/* HEADER */

nav.navbar {
  background-color: var(--primary) !important;
}

.nav-link {
  font-size: 1.3em;
  background: -webkit-linear-gradient(var(--secondary), #ffffff);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  margin: 0 1rem;
}

.navbar-brand img {
  height: 4rem;
}
header {
  height: 40vh;

  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

.header-index {
  background: linear-gradient(rgba(0, 0, 255, 0), rgb(255, 255, 255)),
    url("/assets/img/fotoinicio.webp");
  background-position: center;
  background-size: cover;
  height: 58vh;
}

.header-text {
  /* position: absolute; */
  /* left: 50%; */
  /* bottom: 0; */
  /* transform: translateX(-50%); */
  font-family: "Montserrat", sans-serif;
  text-align: center;
  font-size: 3.4em;
  line-height: 55px;
}

.header-text span {
  font-family: "Autography";
  font-size: 2.8em;
  background: #efe187;
  background: linear-gradient(to bottom, #efe187 0%, #f1eca3 50%, #b2813a 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;

  color: #ceb524;

  display: block;
  padding: 4rem 1rem;
  margin-top: -3rem;
}

.logo-background {
  position: absolute;
  top: -60%;
  left: -5%;
  width: 35%;
}
.categories-container {
  width: 70%;
  margin: 8rem auto 0 auto;
}

.category {
  width: 100%;
  box-shadow: 4px 5px 6px rgb(230, 230, 230);
  margin: 0 1rem;
  text-align: center;
  cursor: pointer;
  transition: scale 0.3s ease-in-out;
  z-index: 2;
  color: #000;

  padding-bottom: 1rem;
}

.category:hover {
  scale: 1.1;
}

.category img {
  width: 100%;
}

.category h3 {
  font-family: "Autography";
  font-size: 3em;
  margin-top: 1rem;
  margin-bottom: -1rem;
}

.category p {
  font-size: 0.8em;
}

.section-title {
  text-align: center;
  margin-top: 5rem;
  font-weight: 100;
  line-height: 45px;
  font-size: 3em;
}

.section-title span {
  font-weight: 300;
  font-family: "Autography";
  font-size: 2em;
  background: #efe187;
  background: linear-gradient(to bottom, #efe187 0%, #f1eca3 50%, #b2813a 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

a.check-more {
  margin: 0;
}
div.check-more-container {
  margin-top: 4rem;
}
.gallery-container {
  /* grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: minmax(150px auto);
  
  display: grid; */
  max-width: 50%;
  margin: 4rem auto 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(5, 1fr);
  grid-column-gap: 1rem;
  grid-row-gap: 1rem;
}

.one {
  width: 100%;
  grid-area: 1 / 1 / 4 / 2;
}
.two {
  width: 100%;
  grid-area: 1 / 2 / 3 / 3;
}
.three {
  width: 100%;
  grid-area: 1 / 3 / 4 / 4;
}
.four {
  width: 100%;
  grid-area: 4 / 1 / 6 / 2;
}
.five {
  width: 100%;
  grid-area: 3 / 2 / 6 / 3;
}
.six {
  width: 100%;
  grid-area: 4 / 3 / 6 / 4;
}

.gallery-container div {
  width: 100%;
}

.gallery-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

footer {
  background-color: var(--primary);
  padding: 0.5rem 0;
}

footer img {
  width: 5%;
}

footer p {
  color: #fff;
  margin: 0;
  text-align: center;
}
.socials img {
  width: 3.5rem;
  height: 3.5rem;
}

/* SERVICES PAGE */
.header-text-services {
  bottom: 20%;
}

.header-services {
  background: linear-gradient(rgba(0, 0, 255, 0), rgb(255, 255, 255)),
    url("/assets/img/fotoservicios.webp");
  background-position: 0% 35%;
  background-repeat: no-repeat;
  background-size: cover;
  height: 40vh;
}
.section-services {
  margin: 3rem 0 4rem 0;
}
.section-title-container {
  background: var(--secondaryLight);
  height: 4.5rem;
  width: fit-content;

  padding: 0.5rem 3rem 0.5rem 0;
  border-top-right-radius: 100px;
  border-bottom-right-radius: 100px;
  padding-left: 2rem;
}

.section-title-container img {
  height: 100%;
}

.section-title-container h2 {
  margin: 0;
  font-weight: 200;
  font-size: 2.2em;
}

.services-list {
  margin-top: 2rem;
  margin-bottom: 4rem;
}

.services-list:last-of-type {
  margin-bottom: 0;
}

.services-list li {
  border-bottom: 1px solid var(--secondary);
  padding: 0.7rem 2rem;
  transition: background-color 0.2s ease-in-out;
}

.services-list li:hover {
  background-color: rgb(243, 243, 243);
}

.services-list li:last-of-type {
  border-bottom: none;
}

.services-list p {
  margin: 0;
}

.service-name {
  font-size: 1.3em;
}

.service-price {
  font-size: 1.5em;
  font-weight: 200;
}

.service-duration {
  color: var(--disabled);
}

.longer {
  width: fit-content;
  padding-right: 3rem;
}

.logo-services {
  top: auto;
  left: auto;
  right: -12%;
  bottom: 55%;
  transform: translateY(50%);
}

/* CONTACT PAGE */

.header-contact {
  height: 40vh;
  background: linear-gradient(rgba(0, 0, 255, 0), rgb(255, 255, 255)),
    url("/assets/img/foto-contacto.webp");
  background-position: top;
  background-size: cover;
  background-repeat: no-repeat;
}

.separator-contact-header {
  position: relative;
  top: 50%;
  width: 100%;
  height: 7px;
  background-color: var(--secondary);
  background: rgb(255, 255, 255);
  background: radial-gradient(
    circle,
    rgba(255, 255, 255, 1) 60%,
    rgba(232, 231, 61, 1) 100%
  );
}

.separator-title-container {
  width: fit-content;
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
  padding: 0 1rem;
}
.separator-title {
  font-family: "Autography";
  font-size: 6em;
  background: #efe187;
  background: linear-gradient(to bottom, #efe187 0%, #f1eca3 50%, #b2813a 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 0;
}

.contact-grid {
  max-width: 40%;
  margin: 4rem auto 6rem auto;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-template-rows: repeat(11, 1fr);
  grid-column-gap: 1rem;
  grid-row-gap: 1rem;
}

.contact-grid a {
  background: var(--secondaryPastel);
  border-radius: 30px;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  text-align: center;
  padding: 1.5rem 0;
  color: var(--primary);
  cursor: pointer;
  transition: background 0.25s ease-in-out;
}

.contact-grid a:hover {
  background: var(--secondaryPastelHover);
}

.contact-grid a:last-of-type {
  cursor: auto;
}

.contact-one {
  grid-area: 1 / 1 / 5 / 2;
}

.contact-two {
  grid-area: 1 / 2 / 4 / 3;
}

.contact-three {
  grid-area: 5 / 1 / 8 / 2;
}

.contact-four {
  grid-area: 4 / 2 / 8 / 3;
}

.contact-five {
  grid-area: 8 / 1 / 12 / 3;
}

.contact-title {
  font-weight: bold;
  font-size: 1.4em;
}

.contact-info {
  font-weight: 300;
  font-size: 1.2em;
}
.contact-icon {
  width: 9%;
}

/* BOOKING PAGE */

.header-booking {
  background: linear-gradient(rgba(0, 0, 255, 0), rgb(255, 255, 255)),
    url("/assets/img/foto-booking.webp");
  background-position: 50% 60%;
  background-repeat: no-repeat;
  background-size: cover;
  height: 60vh;
}
.title-divider {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.divider-container {
  top: 60%;
  position: relative;
  width: 100%;
  margin-bottom: 3rem;
}

.title-divider div {
  height: 7px;
  width: 100%;
  background: rgb(255, 255, 255);
  background: radial-gradient(
    circle,
    rgba(255, 255, 255, 1) 50%,
    rgba(232, 231, 61, 1) 100%
  );
  position: absolute;
  top: 50%;
  left: 0;
  z-index: -1;
}

.title-divider p {
  width: 100%;
  font-family: "Montserrat", sans-serif;
  text-align: center;
  font-size: 2.4em;
  line-height: 55px;
}

.title-divider p span {
  font-family: "Autography";
  font-size: 3em;
  background: #efe187;
  background: linear-gradient(to bottom, #efe187 0%, #f1eca3 50%, #b2813a 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  padding: 1rem;
}

.special {
  font-family: "Autography";
  font-size: 9em;
  background: #efe187;
  background: linear-gradient(to bottom, #efe187 0%, #f1eca3 50%, #b2813a 100%);
  background-clip: border-box;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  padding: 3rem 2rem 1rem 2rem;
  margin-top: -3rem;
  text-align: center;
}

.booking-container {
  max-width: 32%;
  margin: 0 auto;
  text-align: center;
  font-size: 1.2em;
  font-weight: 300;
}

.btn-booking {
  background: rgb(221, 199, 107);
  background: linear-gradient(
    90deg,
    rgba(221, 199, 107, 1) 0%,
    rgba(243, 238, 164, 1) 100%
  );
  font-size: 1.5em;
  font-weight: 300;
  color: #000;
  padding: 1rem 2rem;
  border-radius: 100px;
  margin-top: 2rem;
}

/* 
FIND US PAGE */

.header-find {
  background: linear-gradient(rgba(0, 0, 255, 0), rgb(255, 255, 255)),
    url("/assets/img/findus.webp");
  background-position-x: 0%, 0%;
  background-position-y: 0%, 0%;
  background-repeat: repeat, repeat;
  background-size: auto, auto;
  background-position: 50%, 60%;
  background-repeat: no-repeat;
  background-size: cover;
}

.map-container {
  max-width: 50%;
  margin: 0 auto;
  height: 37rem;
  background: var(--secondaryPastel);
  border-radius: 2rem;
}

.map-container h2 {
  padding: 1rem 0 0 1rem;
  font-weight: 500;
}

.map-container iframe {
  border-radius: 2rem;
  height: 90%;
  position: absolute;
  bottom: 0;
  box-shadow: 5px 5px 10px #00000053;
}

.header-text-services.find {
  margin-top: -3rem;
}
@media screen and (max-width: 1450px) {
  .category {
    margin-bottom: 2.5rem;
  }
  .gallery-container {
    max-width: 80%;
  }
  /* .section-title-container {
    width: 20rem;
    height: 4.5rem;
  } */

  /* .longer {
    width: 23rem;
  } */
  .services-list p {
    margin-right: 1rem;
  }

  .contact-info {
    font-size: 1em;
  }

  .contact-title {
    font-size: 1.2em;
  }
}
@media screen and (max-width: 1200px) {
  .contact-grid {
    max-width: 80%;
  }

  .map-container {
    max-width: 90%;
  }

  .header-text-services.find {
    margin-top: -2rem;
  }
}

@media screen and (max-width: 780px) {
  .header-text-services span {
    padding-top: 1rem;
  }
  .header-index {
    height: 40vh;
  }
  .header-text {
    font-size: 1.3em;
    bottom: 20%;
  }
  .header-text span {
    font-size: 5rem;
  }

  .special {
    font-size: 5em;
  }
  .categories-container {
    margin: 3rem auto 0 auto;
    width: 75%;
  }

  .category {
    width: 90%;
    overflow: hidden;
    margin-bottom: 3rem;
  }

  .category:last-of-type {
    margin-bottom: 0;
  }

  .category img {
    width: 100%;
  }

  .gallery-container {
    margin: 4rem auto 0 auto;
    max-width: 90%;
    padding-right: 0;
  }

  footer img {
    width: 20%;
  }

  .socials img {
    width: 2.3rem;
    height: 2.3rem;
    margin: 0 0.5rem;
  }

  /* SERVICES PAGE */

  .header-services {
    background-position: center;
  }

  .services-list {
    padding: 0;
  }

  .container-small {
    width: 90%;
  }

  .service-name {
    font-size: 0.95em;
  }
  .service-price {
    font-size: 1.2em;
  }

  .service-duration {
    text-align: left;
    font-size: 0.8em;
    padding-top: 0.7rem;
  }

  .section-title-container h2 {
    font-size: 1.5em;
  }

  /* CONTACT PAGE */

  .separator-title {
    font-size: 4em;
  }

  .contact-grid {
    max-width: 90%;
  }

  .contact-title {
    font-size: 0.8em;
  }
  .contact-info {
    font-size: 0.7em;
  }

  /* SERVICES PAGE */
  .header-services {
    height: 40vh;
  }

  .title-divider p {
    font-size: 1.5em;
    margin: 0 1rem;
  }

  .booking-container {
    max-width: 80%;
  }

  .header-booking {
    height: 40vh;
  }
}

@media screen and (max-width: 500px) {
  .title-divider p {
    font-size: 1.2em;
  }
  .special {
    font-size: 4em;
  }
  .title-divider p span {
    font-size: 5em;
  }
}

@media screen and (max-width: 380px) {
  .section-title-container {
    width: 15rem;
    height: 3.5rem;
  }

  .contact-title {
    font-size: 0.7em;
  }

  .contact-info {
    font-size: 0.6em;
  }

  .section-title-container h2 {
    margin: 0;
    font-weight: 200;
    font-size: 1.2em;
  }

  /* .longer {
    width: 17rem;
  } */
  .title-divider div {
    background: rgb(255, 255, 255);
    background: radial-gradient(
      circle,
      rgba(255, 255, 255, 1) 80%,
      rgba(232, 231, 61, 1) 100%
    );
  }
}
@media screen and (min-width: 768px) {
  .categories-container {
    flex-wrap: wrap;
  }
  .category {
    width: 40%;
  }
}

@media screen and (min-width: 1200px) {
  /* .section-title-container {
    width: 25%;
    height: 4.5rem;
  } */

  /* .longer {
    width: 35%;
  } */

  /* Booking page */
  /* SERVICES PAGE */
  .header-booking {
    height: 40vh;
  }
}

@media screen and (min-width: 1450px) {
  .categories-container {
    flex-wrap: nowrap;
  }
  .category {
    width: 100%;
  }
  /* .section-title-container {
    width: 20%;
    height: 4.5rem;
  } */

  /* .longer {
    width: 25%;
  } */
}
