@font-face {
  font-family: "MainFont";
  src: url("/fonts/Higuen-Serif.otf") format("woff2"),
    url("/fonts/Higuen-Serif.woff2") format("woff"),
    url("/fonts/Higuen-Serif.woff") format("woff");
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: "LogoFont";
  src: url("/fonts/Mistrully.ttf") format("truetype");
  font-weight: 100 900;
  font-style: normal;
}

@font-face {
  font-family: "SubFont";
  src: url("/fonts/Montserrat-Italic-VariableFont_wght.ttf") format("truetype");
  font-weight: 100 900;
  font-style: italic;
}

@font-face {
  font-family: "SubFont";
  src: url("/fonts/Montserrat-VariableFont_wght.ttf") format("truetype");
  font-weight: 100 900;
  font-style: normal;
}

:root {
  --color-Main: #dc7979;
  --color-SubA-Dark: #2b403e;
  --color-SubA-Light: #395956;
  --color-SubB-Dark: #f2c4c4;
  --color-SubB-Light: #f2ebe9;
  --color-Dark: #000000;
  --color-Light: #ffffff;
  --font-primary: "MainFont", serif;
  --font-secondary: "SubFont", sans-serif;
  --font-logo: "LogoFont", sans-serif;
}

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

h1 {
  font-size: 3vw;
  font-family: var(--font-primary);
  font-weight: normal;
  letter-spacing: 0.38em;
  width: 50%;
}

h2 {
  font-size: 2.25rem;
  font-family: var(--font-primary);
  font-weight: normal;
  letter-spacing: 0.5em;
  padding-left: 0.2em;
}

h3 {
  font-size: 1.5rem;
}

p {
  font-size: 0.75rem;
  letter-spacing: 0.23rem;
}

a {
  text-decoration: none;
}

section {
  height: 90vh;
}

html,
body,
section,
main,
header,
footer {
  width: 100%;
  margin: 0px;
}

.mobile-logo {
  display: none;
}

.p-highlight {
  font-family: var(--font-primary);
  color: var(--color-Main);
}

body {
  background-color: var(--color-SubA-Dark);
  box-sizing: border-box;
  padding: 0px;
  margin: 0px;
}

/* header */
header {
  position: fixed;
  margin: 0px;
  padding: 1%;
  background-color: transparent;
  z-index: 995;
  display: grid;
  grid-template-columns: 33% 67%;
  align-content: center;
}

header,
.logo-by-yarialis,
.logo-nailtherapy {
  transition: all 1s ease;
}

.quick-access {
  display: none;
  position: fixed;
  z-index: 999;
  height: 8vh;
  width: 8vh;
  bottom: 4vw;
  right: 3vw;
  fill: var(--color-SubB-Dark);
  background-color: #25d3659c;
  border-radius: 100%;
  padding: 3%;
}

.hero-logo {
  position: relative;
  grid-area: 1/1/2/2;
  z-index: 999;
  color: var(--color-SubA-Light);
  align-items: center;
  justify-items: center;
  margin: 0px;
  padding: 0px;
}

.logo-by-yarialis {
  position: absolute;
  font-family: var(--font-logo);
  height: 100%;
  width: 100%;
  text-align: center;
}
.logo-by {
  position: relative;
  font-size: 1rem;
  vertical-align: top;
  width: 100%;
}
.logo-yarialis {
  position: relative;
  font-size: 2.5rem;
  color: var(--color-Main);
  width: 100%;
}

.nav-bar {
  grid-area: 1/2/2/3;
  align-content: center;
}

.nav-bar > ul {
  font-family: var(--font-primary);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08rem;
  width: 100%;
  padding: 0px;
  display: flex;
  justify-content: space-around;
  list-style-type: none;
  align-items: center;
  color: var(--color-SubA-Light);
  cursor: pointer;
}

.nav-bar > ul > li {
  position: relative;
  align-content: center;
}

.nav-bar > ul > li > a {
  color: var(--color-SubA-Light);
}

.language-flag {
  height: 1rem;
  margin-left: 0.4rem;
  vertical-align: middle;
}

.solid-background {
  background-color: var(--color-SubB-Dark);
  filter: opacity(0.9);
}
.hide {
  opacity: 0;
}
.smaller {
  font-size: 1rem;
  color: var(--color-SubA-Light);
}

/* hero */
#hero {
  color: var(--color-SubA-Dark);
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 2fr 3fr;
}

#hero > img {
  grid-area: 1 / 2 / 3 / 3;
  width: 100%;
  height: 100%;
  min-height: 100%;
  margin-bottom: 0px;
  border-bottom-left-radius: 25vw 26vw;
  border-bottom-right-radius: 25vw 26vw;
  align-self: end;
  z-index: 15;
  object-fit: cover;
  object-position: 50% 70%;
}

.hero-text {
  grid-area: 2 / 1 / 3 / 3;
  color: var(--color-SubA-Light);
  margin: 0% 10% 5% 10%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  z-index: 15;
}

.hero-text > p {
  font-family: var(--font-secondary);
  font-size: 1vw;
  width: 40%;
  line-height: 1.6em;
}

#book-now {
  font-family: var(--font-secondary);
  font-weight: 700;
  color: var(--color-SubB-Light);
  background-color: var(--color-Main);
  width: 25%;
  letter-spacing: 0.3rem;
  padding: 2rem;
  border-radius: 0.5rem;
  border: none;
  text-align: center;
}
.wavy-border {
  grid-area: 1/1/3/3;
  width: 100%;
  margin: 0px;
  padding: 0%;
  height: 110%;
  z-index: 10;
  fill: var(--color-SubB-Light);
}

/*Coverage Area*/
#coverage-area {
  height: auto;
  padding: 5% 10%;
}

#coverage-area > div {
  display: grid;
  grid-template-rows: repeat(3, auto);
  grid-template-columns: 50% 50%;
  background: linear-gradient(
    135deg,
    var(--color-SubA-Dark),
    var(--color-Dark)
  );
  height: auto;
  padding: 10%;
  box-shadow: 0rem 0rem 5rem;
  border-radius: 20px;
  align-items: center;
  outline: 1px var(--color-SubA-Light) solid;
}

#coverage-area > div > h2 {
  grid-area: 1/1/2/3;
  height: 100%;
  color: var(--color-SubB-Dark);
  font-family: var(--font-primary);
  font-size: 6rem;
  text-align: center;
  letter-spacing: 0.3rem;
  line-height: 4rem;
}

.spanA {
  color: var(--color-SubB-Light);
}

#coverage-area > div > p {
  grid-area: 2/1/3/2;
  height: auto;
  padding: 10%;
  color: var(--color-SubB-Light);
  font-family: var(--font-secondary);
  font-size: 1vw;
  line-height: 1.5em;
}

#coverage-list {
  grid-area: 2/2/2/3;
  height: 100%;
  list-style: none;
  color: var(--color-SubA-Light);
  font-family: var(--font-secondary);
  font-size: 1vw;
  display: flex;
  flex-wrap: wrap;
  flex-direction: row; /* important */
  width: 100%;
  row-gap: 1em;
  align-content: center;
  justify-content: center;
  padding: 0% 15%;
}

#coverage-list p {
  width: 30%;
  font-size: 1vw;
  color: var(--color-SubB-Light);
  font-family: var(--font-primary);
}

#puerto-rico-map {
  width: 100%;
  grid-area: 3/1/4/3;
  justify-self: center;
}

.map-town {
  stroke: var(--color-SubB-Dark);
  stroke-width: 0.1px;
  fill: var(--color-SubA-Light);
}

#manati,
#vega-baja,
#vega-alta,
#toa-baja,
#toa-alta,
#dorado,
#bayamon,
#santurce,
#guaynabo,
#san-juan {
  stroke: var(--color-SubA-Light);
  fill: var(--color-SubB-Dark);
}

/*My Work*/
#my-work {
  position: relative;
  justify-items: center;
  height: auto;
}
.my-work-header {
  font-family: var(--font-primary);
  position: relative;
  width: 100%;
  text-align: center;
  color: var(--color-SubB-Dark);
  font-size: 10rem;
  line-height: 0.7em;
  top: 0%;
  z-index: 8;
  letter-spacing: 0.05em;
  transform: translate(0, 5rem);
}
.spanB {
  color: var(--color-Light);
}

.nail-gallery {
  display: block;
  position: relative;
  text-align: center;
}

.gallery-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  justify-content: space-between;
  width: 70%;
  margin: 0 auto;
}

.gallery-grid img {
  height: 30rem;
  width: 31%;
  object-fit: cover;
  border-radius: 5px;
  box-shadow: 0rem 0rem 5rem;
  transition: transform 0.7s ease, box-shadow 1.3s ease;
}

.gallery-grid img:nth-child(3n-1) {
  transform: translate(0, 10rem);
}

.gallery-grid img:hover {
  transform: scale(1.3);
}

.vertical-grid {
  flex-direction: column;
}

/* about me */
.shared-background {
  background: linear-gradient(
    to bottom,
    var(--color-SubA-Dark) 40%,
    var(--color-Main)
  );
  height: auto;
}
#about-me {
  justify-items: center;
  position: relative;
  overflow: hidden;
}

.about-me-container {
  height: 100%;
  display: grid;
  position: relative;
  z-index: 10;
  justify-items: center;
  align-items: center;
  color: var(--color-SubB-Light);
}

.thin-box {
  border-radius: 25px;
  outline: 1px var(--color-SubA-Light) solid;
  border: 1px var(--color-SubB-Light) solid;
  position: relative;
  display: grid;
  grid-template-columns: 50% 50%;
  grid-template-rows: 50% 50%;
  background-image: linear-gradient(
    to right,
    var(--color-SubA-Light),
    var(--color-SubA-Dark)
  );
  overflow: hidden;
  z-index: 0;
  height: 80%;
  width: 90%;
  align-items: center;
  justify-items: center;
  box-shadow: 0rem 0rem 3rem black;
}

.thin-box > img {
  position: relative;
  object-fit: cover;
  width: 100%;
  height: 100%;
  z-index: 10;
  grid-area: 1/1/3/2;
  object-position: 50% 40%;
}

.thin-box-text {
  position: relative;
  grid-area: 1/2/3/3;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  padding: 15% 0% 15% 0%;
}

.thin-box-text > h2 {
  font-size: 5vh;
  z-index: 10;
  grid-area: 1/2/2/3;
  width: auto;
  height: auto;
  font-family: var(--font-primary);
}

.thin-box-text > p {
  position: relative;
  font-family: var(--font-secondary);
  font-size: 1.3vh;
  letter-spacing: 0.4em;
  line-height: 2em;
  z-index: 5;
  grid-area: 2/2/3/4;
  width: 50%;
}

.blurred-circle {
  position: absolute;
  border-radius: 50%;
  filter: blur(8px); /* 👈 Super soft edge */
  opacity: 0.2;
}
.bc11 {
  top: 65%;
  right: 30%;
  background-color: var(--color-SubB-Dark);
  width: 350px;
  height: 350px;
}

.bc12 {
  top: 30%;
  right: -5%;
  background-color: var(--color-SubB-Dark);
  width: 250px;
  height: 250px;
}
.bc13 {
  top: 48%;
  right: 49%;
  background-color: var(--color-Main);
  width: 100px;
  height: 100px;
}
.bc14 {
  top: -20%;
  right: 25%;
  background-color: var(--color-Main);
  width: 175px;
  height: 175px;
}

.blurred-circle2 {
  position: absolute;
  border-radius: 50%;
  filter: blur(5px); /* 👈 Super soft edge */
  opacity: 0.6;

  width: 350px;
  height: 350px;
}

/*Services*/
#services {
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  justify-content: space-around;
  align-items: center;
  padding: 2.5%;
}
#services > img {
  position: absolute;
  object-fit: cover;
  width: 100%;
  height: 100%;
  object-position: 0% 60%;
  filter: contrast(1.1);
  filter: brightness(0.4);
}

.overlay {
  position: absolute;
  height: 0%;
  width: 0%;
  background-color: #0e27256e;
}

#services > h2 {
  position: relative;
  color: var(--color-SubB-Dark);
  text-align: center;
  font-size: 4rem;
  font-family: var(--font-primary);
  margin: 2%;
}

.pricing-table {
  position: relative;
  margin: 3%;
  width: 35%;
  height: 60%;
  font-family: var(--font-secondary);
  color: var(--color-Light);
  font-size: 1.1rem;
  letter-spacing: 0.6rem;
}

.service-name {
  font-weight: 400;
}
.price {
  position: relative;
  font-weight: 800;
  text-align: right;
  color: var(--color-Main);
}
.dollar-sign {
  font-weight: 300;
  color: var(--color-Light);
}

/*Lets Talk*/
.lets-talk {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--color-SubA-Light);
}

.lets-talk * {
  position: relative;
}

.card {
  height: 85%;
  width: 92%;
  overflow: hidden;
  box-shadow: 0rem 0rem 5rem;
  display: grid;
  grid-template-columns: 50% 50%;
  justify-items: center;
  align-items: center;
}

.card > img {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 0% 20%;
}

.overlay2 {
  position: absolute;
  height: 100%;
  width: 100%;
  background-color: var(--color-SubA-Dark);
  opacity: 0.5;
}

.lets-talk-text {
  grid-area: 1/1/2/2;
  width: 50%;
  height: 50%;
  color: var(--color-SubB-Dark);
  display: grid;
  grid-template-rows: 50% 50%;
  justify-items: left;
  align-items: center;
}
.lets-talk-text > h2 {
  grid-area: 1/1/2/2;
  font-size: 3rem;
  text-align: left;
}
.lets-talk-text > p {
  grid-area: 2/1/3/2;
  font-family: var(--font-secondary);
  font-size: 0.8rem;
  letter-spacing: 0.4rem;
  line-height: 1.8rem;
}
#contactForm {
  grid-area: 1/2/2/3;
  height: 80%;
  width: 70%;
  display: flex;
  flex-direction: column;
  row-gap: 1%;
  justify-content: space-between;
}
#contactForm input,
#contactForm select,
#contactForm textarea {
  height: 100%;
  outline: 1px var(--color-SubB-Dark) solid;
  background-color: var(--color-SubA-Dark);
  color: var(--color-SubB-Dark);
  padding: 1rem;
  font-family: var(--font-secondary);
  font-style: italic;
  flex: 1 1 0;
}
#contactForm > textarea {
  resize: none;
}
#contactForm > input::placeholder,
#contactForm > textarea::placeholder,
.select-placeholder {
  color: var(--color-SubB-Light);
  opacity: 0.5;
  font-weight: 300;
}
#contactForm textarea {
  flex: 3 1 0;
}
#contactForm button {
  background-color: var(--color-Main);
  color: var(--color-SubB-Light);
  flex: 2 1 0;
  border-radius: 15px;
  outline: 3px var(--color-SubB-Dark) solid;
  font-family: var(--font-secondary);
  font-weight: 500;
  font-size: 1rem;
  border: none;
  margin-top: 2%;
  padding: 1%;
}

option {
  background-color: var(--color-SubB-Dark);
  color: var(--color-SubA-Light);
  font-style: normal;
  font-weight: 700;
  font-size: 0.8rem;
}

/*Footer*/
footer {
  position: relative;
  height: 45vh;
  width: 100%;
  display: grid;
  grid-template-columns: 30% 70%;
  grid-template-rows: 60% 30% 10%;
  align-content: center;
  overflow: hidden;
}

footer * {
  position: relative;
  height: 100%;
}

.socials {
  grid-area: 1/2/2/3;
  display: flex;
  justify-content: space-evenly;
  align-items: center;
}

.social-tag {
  display: grid;
  grid-template-rows: auto auto;
  grid-template-columns: 20% 80%;
  align-content: center;
  align-items: center;
  font-family: var(--font-secondary);
  color: var(--color-SubB-Dark);
  justify-content: space-between;
  text-decoration: none;
  height: 100%;
  width: auto;
  cursor: pointer;
}

.social-tag > svg {
  grid-area: 1/1/2/2;
  fill: var(--color-SubB-Dark);
  height: 5vh;
  max-width: auto;
}
.social-tag > h3 {
  grid-area: 1/2/2/3;
  align-content: center;
  letter-spacing: 1rem;
  font-size: 0.8rem;
  font-weight: 600;
  width: 100%;
}
.social-tag > p {
  grid-area: 2/1/3/3;
  font-family: var(--font-secondary);
  filter: brightness(1.2);
  letter-spacing: 0.3rem;
  font-weight: 200;
  font-size: 0.6rem;
  height: 100%;
  padding-top: 3%;
}

.footer-mark {
  grid-area: 1/1/4/2;
  width: 100%;
  padding: 5%;
}

.footer-logo {
  grid-area: 2/2/3/4;
  height: 100%;
  align-self: center;
  display: grid;
  grid-template-rows: auto auto;
  justify-content: center;
  text-align: center;
  color: var(--color-SubB-Dark);
}

.footer-logo > p span {
  font-family: var(--font-logo);
  display: inline-block;
  vertical-align: top;
}
.signature {
  grid-area: 3/1/4/3;
  align-content: center;
}

.signature > p {
  font-weight: 600;
  text-align: center;
  height: auto;
  font-family: var(--font-secondary);
  color: var(--color-SubA-Light);
}

.logo-by2 {
  font-size: 1rem;
  font-family: var(--font-logo);
  display: inline-block;
  vertical-align: top;
  font-size: min(2.8vw, 1.5em);
}

.logo-yarialis2 {
  font-size: 2.5rem;
  color: var(--color-Main);
  font-size: min(7vw, 2.5em);
}

@media screen and (max-width: 1366px) {

  #coverage-area {
    padding: 5%;
  }

  #coverage-area > div > h2 {
    font-size: 2.7rem;
    line-height: 0.6em;
    padding: 5%;
  }

  #coverage-area > div > p {
    font-size: 0.7rem;
    line-height: 1.5rem;
  }
  
  #coverage-list p {
    width: 50%;
    font-size: 0.7rem;
  }

  #puerto-rico-map {
    padding: 5%;
  }

  .gallery-grid {
    justify-content: center;
    gap: 1rem;
    width: 80%;
  }

  .gallery-grid img {
    width: 100%;
  }

  .gallery-grid img:nth-child(3n-1) {
    transform: none;
  }

  .gallery-grid img:hover {
    transform: none;
  }



  .my-work-header {
    transform: none;
    margin-bottom: 25px;
  }

  .thin-box-text {
    padding: 15%;
    justify-content: space-evenly;
    align-items: start;
  }

  .thin-box-text > h2 {
    font-size: 2vw;
    width: auto;
    padding: 1%;
  }

  .thin-box-text > p {
    font-size: 1.2vw;
    width: auto;
  }

  .socials {
    display: grid;
    grid-template-rows: 33% 33% 33%;
    justify-content: center;
  }
  .socials h3,
  .socials p {
    font-size: 0.6rem;
    letter-spacing: 0.1rem;
    width: 100%;
  }

  .social-tag > svg {
    grid-area: 1/1/3/2;
    height: 3.5vh;
  }
  .social-tag > h3 {
    grid-area: 1/2/2/3;
  }
  .social-tag > p {
    grid-area: 2/2/3/3;
  }
}

@media screen and (max-width: 768px) {
  * {
    header {
      display: none;
    }

    h1 {
      font-size: 2rem;
      letter-spacing: 0.8rem;
      line-height: 3rem;
      text-align: left;
    }
    #hero {
      display: grid;
      grid-template-columns: 1fr 1fr;
      grid-template-rows: 10% 90%;
    }

    #hero > img {
      grid-area: 1 / 1 / 3 / 3;
      height: 90%;
      width: 100%;
      min-height: 50%;
      object-fit: cover;
      justify-self: center;
      align-self: flex-start;
      aspect-ratio: auto;
      border-bottom-left-radius: 50% 25%;
      border-bottom-right-radius: 50% 25%;
      filter: brightness(0.5);
    }

    .hero-text {
      justify-content: space-evenly;
      margin: 0% 15% 25% 15%;
      align-items: center;
    }

    .hero-text > p {
      font-size: 1rem;
    }

    .hero-text > p,
    h1,
    #book-now {
      width: 100%;
      color: var(--color-SubB-Dark);
      padding-left: 10%;
      padding-right: 10%;
    }

    #book-now {
      justify-content: center;
      width: 100%;
      border-radius: 50px;
    }

    .wavy-border {
      height: 105%;
    }

    .mobile-logo {
      display: block;
      width: 100%;
      height: 100%;
      grid-area: 1/1/2/3;
      z-index: 15;
      padding: 2% 0%;
      align-self: top;
      justify-self: center;
      background-color: var(--color-SubB-Light);
    }


    .thin-box {
      grid-template-rows: 50% 50%;
    }

    .thin-box > img {
      height: 90%;
      width: 90%;
      border: 2px solid var(--color-Main);
      border-radius: 25px;
    }

    #services {
      justify-content: space-evenly;
    }

    #services > h2 {
      font-size: 2rem;
      padding-left: 0.7em;
    }
    #services > img {
      object-position: 40% 60%;
    }

    .service-name {
      font-weight: 600;
    }

    .pricing-table {
      width: 70%;
    }

    .price {
      right: -0.5em;
    }

    .card {
      grid-template-rows: 40% 60%;
    }

    .card > img {
      object-position: 50% 20%;
      height: 100%;
      filter: brightness(0.4);
    }

    /*Coverage Area*/
    #coverage-area {
      padding: 10% 0%;
    }

    #coverage-area > div {
      border-radius: 0px;
      grid-template-rows: repeat(4, auto);
      grid-template-columns: 1fr;
    }

    #coverage-area > div > h2 {
      font-size: 10vw;
      line-height: 1.7rem;
      grid-area: 1/1/2/2;
    }

    #coverage-area > div > p {
      grid-area: 2/1/3/2;
      font-size: 0.8em;
      line-height: 2rem;
      text-align: center;
      padding: 20% 0%;
    }

    #coverage-list {
      grid-area: 3/1/4/2;
    }

    #coverage-list p {
      font-size: 3em;
      width: 50%;
      line-height: 2rem;
    }

    #puerto-rico-map {
      grid-area: 4/1/5/2;
      padding: 10% 0%;
    }

    /*My Work*/
    .my-work-header {
      font-size: 20vw;
    }

    /*About Me*/
    .thin-box > img {
      grid-area: 1/1/2/4;
    }

    .thin-box-text {
      grid-area: 2/1/3/3;
      padding: 3%;
    }
    .thin-box-text > h2 {
      font-size: 1.2rem;
      align-self: center;
    }

    .thin-box-text > p {
      font-size: 0.6rem;
      padding: 3%;
    }

    .lets-talk-text {
      grid-template-rows: 50% 50%;
      grid-area: 1/1/2/3;
      width: 100%;
      height: 100%;
      justify-items: center;
      padding: 2%;
      text-align: center;
    }

    .lets-talk-text > h2 {
      font-size: 2rem;
      grid-area: 1/1/2/2;
    }
    .lets-talk-text > p {
      font-size: 0.8rem;
      font-weight: 500;
      grid-area: 2/1/3/2;
    }

    #contactForm {
      grid-area: 2/1/3/3;
      height: 100%;
      width: 100%;
      padding: 10%;
    }

    #contactForm > input,
    #contactForm > textarea,
    #contactForm > select {
      font-size: 0.7rem;
      padding: 0.4rem;
    }

    footer {
      grid-template-columns: 33% 34% 33%;
      grid-template-rows: 30% 60% 10%;
      padding: 5%;
    }

    .footer-mark {
      grid-area: 1/1/2/2;
    }
    .socials {
      grid-area: 2/1/3/4;
      font-size: 0.6rem;
    }

    .footer-logo {
      grid-area: 1/2/2/4;
    }
    .signature {
      grid-area: 3/1/4/4;
    }
    .signature > p {
      font-size: 0.6rem;
    }

    .quick-access {
      display: block;
    }
  }
}
