:root {
  --crema: #ede7c8;
  --azul: #1a3b68;
  --cyan: #1a7a8a;
  --cyan-bajo: #27a3ac;
  --caribbean-current: #006d77ff;
  --tiffany-blue: #83c5beff;
  --alice-blue: #edf6f9ff;
  --pale-dogwood: #ffddd2ff;
  --atomic-tangerine: #e29578ff;
  --gris: #efefec;
  --verde: #386641;
  --verde-claro: #6a994e;
  --black: #000000ff;
  --white: #fff;
  --verde-back: #f3fbf4;
  --rich-black: #001219ff;
  --midnight-green: #004346;
  --dark-cyan: #0a9396ff;
  --tiffany-blue: #94d2bdff;
  --vanilla: #e9d8a6ff;
  --gamboge: #ee9b00ff;
  --alloy-orange: #ca6702ff;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "DM Sans", sans-serif;
  font-weight: 100;
  font-style: normal;
}

ul {
  list-style: none;
}

a {
  color: var(--keppel);
  text-decoration: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Marcellus", serif;
  font-weight: 400;
  font-style: normal;
  line-height: 1.4em;
}

p {
  margin: 10px 0;
}

.btn,
a {
  font-family: "Marcellus", serif;
  font-weight: 400;
  font-style: normal;
  letter-spacing: 2px;
}

.buffer-1 {
  width: 100%;
  min-height: 8vh;
  background-color: var(--white);
}

.buffer-2 {
  width: 100%;
  min-height: 8vh;
  background-color: var(--white);
}

.buffer-3 {
  width: 100%;
  min-height: 8vh;
  background-color: var(--white);
}

.buffer-4 {
  width: 100%;
  min-height: 8vh;
  background-color: var(--white);
}

.buffer-5 {
  width: 100%;
  min-height: 8vh;
  background-color: var(--white);
}

.hero .navbar {
  z-index: 11;
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background-color: var(--black);
  color: #fff;
  opacity: 0.9;
  width: 100%;
  height: 90px;
  position: fixed;
  top: 0;
  padding: 0 30px;
  transition: 0.5s;
}

.navbar.top-scroll {
  background-color: transparent;
  opacity: 1;
}

.navbar.top-scroll-n {
  background-color: var(--black);
}

.navbar.top-scroll ul li {
  transition: background-color 2.3s ease, border-bottom 0.3s ease;
}

.navbar a {
  color: #fff;
  padding: 0rem 1rem;
  font-weight: 500;
  letter-spacing: 1px;
  text-decoration: none;
  padding-top: 1rem;
}

.navbar ul ul li a {
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: var(--white);
  padding-bottom: 1rem;
  background-color: rgba(0, 0, 0, 0.7);
}

.navbar ul {
  list-style: none;
  margin: 0;
  display: flex;
  margin-right: 3rem;
  position: relative;
}

.navbar ul ul {
  position: absolute;
  padding: 0;
  min-width: 160px;
  display: none;
  top: 100%;
  box-shadow: 2px rgba(0, 0, 0, 0.3);
  background-color: var(--black);
  cursor: pointer;
}

.navbar .logo img {
  width: 60%;
  cursor: pointer;
  margin-left: 3rem;
  margin-top: 0.2rem;
}

/* Header */
.hero {
  position: relative;
  color: #fff;
  padding-top: 25em;
  padding-bottom: 20em;
  background-image: url("../img/Masaje-Profundo-Espalda.webp");
  background-position: center;
  background-size: cover;
  height: 100vh;
  background-attachment: fixed;
}

.hero .content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  height: 100%;
  padding: 0 20px;
}

.hero .content h1 {
  font-weight: 900;
  font-size: 64px;
  margin-bottom: 1.4em;
  margin-top: 0.6em;
  max-width: 800px;
}

.hero .content p {
  font-size: 18px;
  max-width: 600px;
  margin: 20px 0 30px;
  line-height: 1.4em;
}

.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.4);
}

.hero * {
  z-index: 10;
}

.hero h1::before {
  content: "";
  position: absolute;
  display: block;
  height: 0.0625em;
  width: 2em;
  background: var(--cyan-bajo);
  opacity: 1;
  bottom: 5em;
  left: 50%;
  transform: translateX(-50%);
}

.content a {
  font-size: 12px;
}

/*resume 1*/
#before-about {
  transform: translateZ(0);
  margin: 0;
  padding: 0;
}
.text-resume {
  display: flex;
  text-align: center;
  justify-content: center;
  flex-direction: column;
  background-color: var(--white);
}

.text-resume h1 {
  color: var(--caribbean-current);
  font-weight: 900;
  font-size: 52px;
}

.text-resume h2 {
  color: var(--cyan-bajo);
  font-weight: 900;
  font-size: 38px;
}

.text-resume p {
  margin: 20px 0 30px;
  line-height: 1.4em;
  font-size: 18px;
}

/*items*/

.flex-items {
  display: flex;
  text-align: center;
  justify-content: space-evenly;
  background-color: var(--white);
  max-width: auto;
}

.icon-container {
  width: 500px;
  transform: translateZ(0);
}

.flex-items h2 {
  text-align: center;
  color: var(--cyan-bajo);
  font-size: 22px;
  font-weight: 900;
  margin-top: 0.5rem;
}

.flex-items p {
  font-size: 18px;
  margin: 1rem 6rem 1rem 6rem;
  line-height: 1.4em;
}

.icon-container svg {
  color: var(--cyan);
  width: 6em;
  height: 6em;
}

/*Services*/

#home-services {
  background: var(--white);
}

#home-services .container {
  display: flex;
  flex-direction: column;
}

#home-services .container h1 {
  padding-top: 2rem;
  text-align: center;
  color: var(--caribbean-current);
  font-weight: 800;
  font-size: 52px;
  letter-spacing: 2px;
}

#home-services .container p {
  padding-bottom: 1rem;
  text-align: center;
  font-size: 18px;
  color: var(--black);
  line-height: 1.4rem;
}

#home-services .container h2 {
  text-align: center;
  font-size: 18px;
  color: var(--white);
  margin-bottom: 1.5rem;
  font-weight: 500;
}

#home-services .services-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-gap: 1rem;
}

#home-services .container {
  max-width: 1100px;
  margin: auto;
  padding: 0 5rem;
  overflow: hidden;
}

.card {
  padding: 0;
  transition: 0.5s ease;
  margin: 0.1rem;
  height: 350px;
  width: 300px;
  border-radius: 10px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
  overflow: hidden;
}

.card img {
  display: none;
}

.card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5));
  z-index: 1;
}

.card div {
  position: absolute;
  bottom: 0;
  left: 0;
  padding: 1rem;
  width: 100%;
  text-align: center;
  color: #fff;
  z-index: 2;
}

.card a {
  font-size: 12px;
}

.card .btn {
  cursor: pointer;
  display: inline-block;
  padding: 15px 70px;
  background-color: rgba(0, 0, 0, 0.3);
  border: 2px solid var(--cyan-bajo);
  border-radius: 25px;
  margin-bottom: 4rem;
}

/* Text before */

#before-about-2 {
  height: 300px;
  background-color: #004346;
  background-image: radial-gradient(
      circle at 83% 43%,
      #30a6bb1f 41%,
      transparent 41.05%
    ),
    radial-gradient(circle at -75% -79%, #27a3ac2f 46%, transparent 46.05%),
    radial-gradient(circle at -81% 14%, #00434627 54%, transparent 54.05%),
    linear-gradient(-195deg, #1a7a8a2d 53%, transparent 53.05%);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.custom-animation h1 {
  font-size: 40px;
  font-style: italic;
  color: var(--white);
  font-weight: 300;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.custom-animation.animate h1 {
  opacity: 1;
  transform: translateY(0);
}

#before-about-2 h1::before {
  color: var(--gris);
  transform: translateX(-50%);
}

/* About info*/

#about-info {
  overflow: hidden;
  background-color: var(--white);
}

#about-info .info-left {
  float: left;
  width: 50%;
  min-height: 100%;
}

#about-info .info-left img {
  display: block;
  margin: auto;
  width: 450px;
  border-radius: 10px;
}

#about-info .info-right {
  float: right;
  width: 50%;
  min-height: 100%;
  padding-top: 4rem;
}

.info-right h1 {
  color: var(--caribbean-current);
  font-size: 68px;
  font-weight: 900;
}

.info-right h2 {
  color: var(--cyan);
  margin-left: 13rem;
  font-weight: 600;
}

.info-right p {
  color: var();
  font-size: 18px;
  font-weight: 500;
  margin-right: 8rem;
  margin-top: 2rem;
  line-height: 1.9rem;
}

.info-right a {
  margin-right: 1rem;
}

.info-right svg {
  margin-top: 1rem;
}

/* gallery */

.parallax-container {
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  background-image: url(../img/gallery/gallery.webp);
  background-position: center;
  background-size: cover;
  min-height: 40vh;
  background-attachment: fixed;
  flex-direction: column;
  position: relative;
}

.parallax-container::before {
  content: "";
  position: absolute;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(92, 64, 51, 0.6);
  z-index: -1;
}

.parallax-container {
  color: var(--white);
  z-index: 1;
}

.parallax-container h1 {
  font-size: 42px;
  padding-bottom: 3rem;
}

.parallax-container .btn {
  cursor: pointer;
  text-align: center;
  padding: 15px 50px;
  border: 1px solid var(--white);
  border-radius: 25px;
  background-color: var(--atomic-tangerine);
}

/* Footer */

#main-footer {
  background-color: var(--black);
  color: var(--white);
}

.footer-container {
  width: 100%;
  max-width: 82.375rem;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  text-align: center;
  padding: 2rem;
}

#main-footer img {
  width: 150px;
}

.footer1 {
  display: flex;
  flex-direction: column;
  height: 70%;
}

.footer1 a {
  display: inline-block;
  width: 34px;
  height: 34px;
  cursor: pointer;
  background-color: var(--cyan-bajo);
  border-radius: 25px;
  font-size: 18px;
  color: #ffffff;
  text-align: center;
  line-height: 35px;
  margin-top: 1rem;
  margin-right: 0.5rem;
}

.footer2 {
  display: flex;
  flex-direction: column;
}

.footer2 .list li {
  display: inline-block;
  padding-right: 1rem;
}

.footer3 {
  display: flex;
  flex-direction: column;
}

.footer-container2 {
  color: var(--white);
  background-color: var(--black);
}

.footer-container2 h1 {
  text-align: center;
  padding: 1rem;
  font-size: 12px;
}

.footer-container2 a:hover {
  color: var(--cyan-bajo);
}

form {
  display: flex;
  justify-content: center;
  align-items: center;
}

.footer3 {
  display: flex;
  flex-direction: column;
  width: 30%;
}

.footer3 p {
  font-size: 16px;
  text-align: left;
  padding-left: 1rem;
  padding-bottom: 0.5rem;
}

.footer3 input[type="email"] {
  width: 60%;
  padding: 0.75rem;
  margin-right: 1rem;
  border: 2px solid var(--white);
  background-color: var(--rich-black);
  color: var(--white);
}

.footer3 .btn {
  font-size: 10px;
  padding: 0.87rem 1rem;
  border-radius: 0;
  background-color: var(--cyan-bajo);
}

/*boton*/

.btn {
  cursor: pointer;
  display: inline-block;
  padding: 15px 35px;
  color: var(--white);
  background-color: var(--cyan-bajo);
  border: none;
  text-transform: uppercase;
  border-radius: 25px;
  font-weight: bold;
  border: 2px solid var(--white);
}

/*Corporal - hero*/

#home-corporal {
  background: var(--white);
}

.servicio-corporal .hero {
  background: url("../img/servicesImg/Masaje-Corporal.webp") no-repeat center
    center/cover;
  height: 42vh;
  padding-top: 10em;
  padding-bottom: 5em;
}

.servicio-corporal .hero .content h1 {
  font-size: 40px;
  margin: 0;
}

.servicio-corporal .hero .content p {
  font-size: 18px;
  margin: 0;
}

.servicio-corporal .hero::before {
  height: 100%;
}

.servicio-corporal .hero h1::before {
  display: none;
}

/*Energetico - hero*/

#home-energetico {
  background-color: var(--white);
}

.servicio-energetico .hero {
  background: url("../img/servicesImg/Naturaleza-Holistico.webp") no-repeat
    center center/cover;
  height: 42vh;
  padding-top: 10em;
  padding-bottom: 5em;
}

.servicio-energetico .hero .content h1 {
  font-size: 40px;
  margin: 0;
}

.servicio-energetico .hero .content p {
  font-size: 18px;
  margin: 0;
}

.servicio-energetico .hero::before {
  height: 100%;
}

.servicio-energetico .hero h1::before {
  display: none;
}

.page-container {
  display: flex;
  justify-content: space-between;
  align-items: top;
}

.page-container-2 {
  display: flex;
  justify-content: space-between;
  align-items: top;
}

.page-container-3 {
  display: flex;
  justify-content: space-between;
  align-items: top;
}

/* Gallery */

#home-gallery {
  background-color: var(--gris);
}

.gallery .hero {
  background: url("../img/gallery/gallery.webp") no-repeat center center/cover;
  height: 42vh;
  padding-top: 10em;
  padding-bottom: 5em;
}

.gallery .hero .content h1 {
  font-size: 40px;
  margin: 0;
}
.gallery .hero .content p {
  font-size: 18px;
  margin: 0;
}

.gallery .hero::before {
  height: 100%;
}

.gallery .hero h1::before {
  display: none;
}

.gallery-container {
  position: relative;
  height: 100%;
  width: 100%;
}

.gallery-container .gallery {
  position: relative;
  height: auto;
  width: 90%;
  margin: auto;
  padding: 45px 0;
  display: grid;
  grid-template-columns: auto auto auto auto; /*because we want four rows*/
  grid-gap: 2vh;
  grid-auto-flow: dense;
}
.gallery-container .gallery .img {
  position: relative;
  height: 100%;
  width: 100%;
  overflow: hidden;
  border-radius: 10px;
}

.gallery-container .gallery .img:hover {
  opacity: 0.7;
}

.gallery-container .gallery .img:first-child {
  grid-column-start: span 2;
  grid-row-start: span 2;
}
.gallery-container .gallery .img:nth-child(2n + 3) {
  grid-row-start: span 2;
}
.gallery-container .gallery .img:nth-child(4n + 5) {
  grid-column-start: span 2;
  grid-row-start: span 2;
}
.gallery-container .gallery .img:nth-child(6n + 7) {
  grid-row-start: span 1;
}
.gallery-container .gallery .img:nth-child(8n + 9) {
  grid-column-start: span 1;
  grid-row-start: span 1;
}
.gallery-container .gallery .img img {
  height: 100%;
  width: 100%;
  object-fit: cover;
  border-radius: 2px;
}

/* Nosotros */

#home-nosotros {
  background-color: var(--white);
}

.class-nosotros .hero {
  background: url("../img/Masaje-Profundo-Espalda.webp") no-repeat center
    center/cover;
  height: 42vh;
  padding-top: 10em;
  padding-bottom: 5em;
}

.class-nosotros .hero .content h1 {
  font-size: 40px;
  margin: 0;
}

.class-nosotros .hero .content p {
  font-size: 18px;
  margin: 0;
}

.class-nosotros .hero::before {
  height: 100%;
}

.class-nosotros .hero h1::before {
  display: none;
}

#nosotros .container {
  max-width: 1200px;
  display: flex;
  justify-content: space-between;
  padding: 2rem;
  margin: 2rem auto 0 auto;
}

.image-container-2 {
  width: 50%;
  text-align: end;
}

.image-container-2 img {
  width: 500px;
  height: 500px;
  border-radius: 10px;
}

/* Contactanos */

.contact-class .hero {
  background: url("../img/Contacto-Laptop.webp") no-repeat center center/cover;
  height: 42vh;
  padding-top: 10em;
  padding-bottom: 5em;
}

.contact-class .hero .content h1 {
  font-size: 40px;
  margin: 0;
}

.contact-class .hero .content p {
  font-size: 18px;
  margin: 0;
}

.contact-class .hero::before {
  height: 100%;
}

.contact-class .hero h1::before {
  display: none;
}

/*map*/

#contact-map {
  width: 100%;
  height: 400px;
  z-index: 1;
}

/*contact us*/

#contact-us {
  background: url("/img/Ciudad-Vista.webp");
  background-position: center;
  background-size: cover;
  background-attachment: fixed;
  color: var(--white);
}

.contact-container {
  max-width: 1140px;
  margin: auto;
  display: flex;
  justify-content: space-around;
  align-items: center;
  text-align: center;
  height: 400px;
}

.contact-list {
  padding: 2rem;
  transition: 0.5s ease;
  margin: 0.1rem;
  height: 250px;
  width: 300px;
  border-radius: 20px;
  background-color: rgba(0, 0, 0, 0.7);
}

.contact-list svg {
  padding-bottom: 1rem;
}

.contact-list h3 {
  font-weight: bold;
  font-size: 18px;
}

.contact-list p {
  font-weight: 500;
  font-size: 18px;
}

/* corporales */

.section-corporales {
  max-width: 1200px;
  display: flex;
  justify-content: space-between;
  padding: 6.5rem 2rem 2rem 2rem;
  margin: 2rem auto 0 auto;
}

.text-container3 {
  height: 100%;
  width: 50%;
  padding-right: 6rem;
}

.text-container3 h1 {
  font-weight: 900;
  font-size: 48px;
  text-align: start;
  color: var(--cyan);
}

.text-container3 p {
  font-size: 17px;
  line-height: 1.4rem;
}

.text-container3 h3 {
  align-items: start;
  font-size: 32px;
  font-weight: 700;
  line-height: 1.8em;
  color: var(--cyan-bajo);
}

.text-container3 li {
  font-size: 17px;
  line-height: 2rem;
}

.text-container3 i {
  margin-right: 0.5rem;
  color: var(--cyan-bajo);
}

.text-container3 .btn {
  margin-top: 1rem;
  padding: 1rem 1rem;
  font-size: 14px;
}

.image-container {
  width: 50%;
  text-align: end;
}

.image-container img {
  width: 500px;
  height: 500px;
  border-radius: 50%;
}

.text-container4 {
  height: 100%;
  width: 50%;
  padding-left: 6rem;
}

.text-container4 h1 {
  font-weight: 900;
  font-size: 48px;
  text-align: start;
  color: var(--cyan);
}

.text-container4 p {
  font-size: 17px;
  line-height: 1.4rem;
}

.text-container4 h3 {
  align-items: start;
  font-size: 32px;
  font-weight: 700;
  line-height: 1.8em;
  color: var(--cyan-bajo);
}

.text-container4 li {
  font-size: 17px;
  line-height: 2rem;
}

.text-container4 i {
  margin-right: 0.5rem;
  color: var(--cyan-bajo);
}

.text-container4 .btn {
  margin-top: 1rem;
  padding: 1rem 1rem;
  font-size: 14px;
}

.image-container2 {
  width: 50%;
  text-align: start;
}

.image-container2 img {
  width: 500px;
  height: 500px;
  border-radius: 50%;
}

.text-container5 {
  height: 100%;
  width: 50%;
  padding-right: 6rem;
}

.text-container5 h1 {
  font-weight: 900;
  font-size: 52px;
  text-align: start;
  color: var(--cyan);
}

.text-container5 p {
  font-size: 17px;
  line-height: 1.7rem;
  padding-left: 0.5rem;
}

.text-container5 h5 {
  color: var(--cyan-bajo);
  font-weight: 700;
  font-size: 16px;
  line-height: 1.7rem;
  padding-left: 0.5rem;
}

.expand-right {
  position: relative;
  text-decoration: none;
  display: inline-block;
}

.expand-right:after {
  display: block;
  content: "";
  border-bottom: solid 3px var(--cyan-bajo);
  transform: scaleX(0);
  transition: transform 250ms ease-in-out;
  transform-origin: 100% 50%;
  padding-top: 5px;
}
.expand-right:hover:after {
  transform: scaleX(1);
  transform-origin: 0 50%;
}

.btn:hover {
  opacity: 0.9;
  background-color: var(--midnight-green);
  color: var(--white);
  transition: all 0.3s;
}

.footer-container .footer-icons a:hover {
  background-color: var(--cyan);
  color: var(--white);
  transition: all 0.3s;
}

.footer3 .btn:hover {
  color: var(--white);
  background-color: var(--cyan);
}

.navbar ul ul li a:hover {
  background-color: var(--caribbean-current);
  border-bottom: none;
  transition: all 0.3s;
}

.navbar ul li:hover > ul {
  display: block;
}

.card .btn:hover {
  background-color: var(--caribbean-current);
  color: var(--white);
}
.parallax-container .btn:hover {
  background-color: rgba(0, 0, 0, 0);
  color: var(--white);
}

/* text animations*/

.animated {
  -webkit-animation-duration: 3s;
  animation-duration: 3s;
  -webkit-animation-fill-mode: both;
  animation-fill-mode: both;
}

@-webkit-keyframes fadeIn {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

@keyframes fadeIn {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

.fadeIn {
  -webkit-animation-name: fadeIn;
  animation-name: fadeIn;
}

/* fade up*/
@keyframes fadeInUpAnimation {
  0% {
    opacity: 0;
    transform: translateY(20px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-fadeInUpW {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUpAnimation 0.4s ease-out 3s forwards;
}

.animate-fadeInUpW.animate {
  opacity: 1;
  transform: translateY(0);
}

.animate-on-scroll {
  opacity: 0;
  transform: translate(-300px, 0);
  transition: all 0.4s ease-out;
  transition-delay: 0.2s;
}

.animate-top-down {
  opacity: 0;
  transform: translate(0, -300px);
  transition: all 0.4s ease-out;
  transition-delay: 0.2s;
}

.animate {
  opacity: 1;
  transform: translate(0, 0);
}

.animate-fadeInUp {
  opacity: 0;
  transform: translateY(17px);
  transition: opacity 0.4s ease-out, transform 0.4s ease-out;
}

.animate-fadeInUp.animate {
  opacity: 1;
  transform: translateY(0);
}

.whatsapp-button {
  position: fixed;
  bottom: 1.5rem;
  right: 2rem;
  z-index: 1000;
  transition: transform 0.3s;
}

.whatsapp-button a svg {
  border-radius: 50%;
  background-color: #25d366;
  padding: 0.5em;
  transition: background-color 0.3s;
}

.whatsapp-button:hover a svg {
  background-color: #128c7e;
}
