@import url('https://fonts.googleapis.com/css2?family=Open+Sans&display=swap'); 

html {
  scroll-behavior: smooth;
  --transitiontime: 200ms;
  --bgcolor: #faf4ed;
  --bgcolordark: #eee8e1;
  --lineheight: 1.5;
  font-smoothing: antialiased;
}

body {
  font-family: 'Open Sans', sans-serif;
  font-size: 1.6cqw;
  font-weight: 500;
  line-height: var(--lineheight);
  margin: 0;
  background-color: var(--bgcolor);
}

a {
  text-decoration: none;
}

footer {
  background-color: #8a9f85;
  height: auto;
  color: #FFFFFF;
  padding: 0.5em;
}

h2 {
  font-size: 7cqw;
  margin: auto;
  z-index: 21;
}

h3 {
  font-size: 4.2cqw;
}

hr {
  display: none;
}

header {
  box-sizing: border-box;
  position: fixed;
  font-size: 2.3vh;
  width: 100%;
  height: 3em;
  padding: 0.5em 1em;
  gap: 1em;
  z-index: 35;
  top: 0;
  left: 0;
  background-color: var(--bgcolor);
  display: flex;
  justify-content: flex-start;
  align-items: center;
  border-radius: 0 0 4vh 4vh;
  box-shadow: 0 0 1vh black;
}

main {
  container-type: inline-size;
  max-width: max(60vw, 130vh);
  width: auto;
  margin: auto;
}

nav {
  display: flex;
  height: 100%;
  justify-content: center;
  align-items: center;
}

p {
  font-size: 1.6cqw;
}

.nav-link {
  margin: 0 1em;
  color: #000000;
}

.filler {
  display: block;
  z-index: -1;
}

#menu {
  display: flex;
  right: auto;
}

#header-logo {
  margin: 0 1em 0 0;
  height: 100%;
}

#header-button {
  display: none;
}

#anchor-showcase {
  position: absolute;
  transform: translateY(-6.9vh);
}

#anchor-booking {
  position: absolute;
  transform: translateY(-6.9vh);
}

#anchor-about {
  position: absolute;
  transform: translateY(-5vh);
}

#anchor-reviews {
  position: absolute;
  transform: translateY(-6.9vh);
}

#clickoff {
  display: none;
}

#page-landing {
  height: 100vh;
  margin: 0 0 0;
  border-radius: 0 0 4vh 4vh;
  background-image: url("/img/landing-background.jpg");
  background-size: 160%;
  background-position: center 75%;
  background-repeat: no-repeat;
}

#landing-container {
  container-type: inline-size;
  width: 100%;
  margin-left: auto;
  max-width: max(60vw, 130vh);
  height: 100%;
  display: flex;
  flex-flow: column nowrap;
  justify-content: center;
  align-items: center;
}

#banner-logo {
  width: 65cqw;
  padding-left: 20%;
  filter: invert(100%) drop-shadow(0 0 0.5em black);
}

#banner-logo-mobile {
  display: none;
}

#book-button-container {
  padding-left: 22.5%;
  display: flex;
}

#book-button {
  background-color: #d42853;
  color: white;
  height: 100%;
  width: 33cqw;
  border-radius: 2.5vw;
  padding: 0;
}

#book-button > p {
  font-family: 'Open Sans', sans-serif;
  font-size: 3cqw;
  font-weight: 600;
  line-height: 0;
}

#showcase-container {
  display: grid;
  background-color: var(--bgcolordark);
  border: 2cqw solid var(--bgcolordark);
  border-radius: 4cqw;
  margin: 5vh auto 5vh;
  justify-content: space-around;
  grid-template-columns: 3fr 4fr;
  grid-template-rows: 1fr auto auto 1fr;
}

#showcase-container > * {
  z-index: 12;
}

#showcase-container > div {
  padding: 0 3.2cqw;
  min-height: 0;
  display: flex;
  align-items: center;
}

#showcase-image {
  grid-row: 1 / 5;
  grid-column: 1 / 2;
}

#showcase-image-img {
  width: 100%;
  border-radius: 2cqw;
}

#showcase-text-title {
  grid-row: 2 / 3;
  grid-column: 2 / 3;
}

#showcase-text-title > h3 {
  margin: 0;
}

#showcase-text-body {
  grid-row: 3 / 4;
  grid-column: 2 / 3;
}

#showcase-filler1 {
  grid-row: 1 / 2;
  grid-column: 2 / 3;
}

#showcase-filler2 {
  grid-row: 4 / 5;
  grid-column: 2 / 3;
}

#booking-title {
  display: flex;
  margin: auto;
}

#booking-container {
  display: block;
  margin: auto;
  box-shadow: 0 0 1vh black;
  background-color: white;
}

#booking-container::before {
  content: "";
  display: none;
  position: absolute;
  z-index: 12;
  width: 70%;
  height: 112px;
}

#about-container {
  display: grid;
  z-index: 12;
  background-color: var(--bgcolordark);
  border: 0cqw solid var(--bgcolordark);
  border-radius: 4cqw;
  margin: 5cqw auto 5cqw;
  padding-bottom: 4cqw;
  justify-content: space-around;
  grid-template-columns: 3fr 3fr 3fr;
  grid-template-rows: 1fr auto auto 1fr 1fr auto auto 1fr;
}

#about-container > div {
  padding: 0 3cqw;
  min-height: 0;
  display: flex;
  align-items: center;
}

#about-container > div > h3 {
  margin: 0;
}

#about-container > div > img {
  width: 100%;
  border-radius: 2cqw;
}

#about-clinic {
  grid-row: 1 / 5;
  grid-column: 1 / 2;
}

#about-where-title {
  grid-row: 2 / 3;
  grid-column: 2 / 4;
}

#about-where-body {
  grid-row: 3 / 4;
  grid-column: 2 / 4;
}

#about-profile {
  grid-row: 5 / 9;
  grid-column: 3 / 4;
}

#about-us-title {
  grid-row: 6 / 7;
  grid-column: 1 / 3;
}

#about-us-title > h3 {
  width: 100%;
  text-align: right;
}

#about-us-body {
  grid-row: 7 / 8;
  grid-column: 1 / 3;
  text-align: right;
}

#about-filler1 {
  grid-row: 1 / 2;
  grid-column: 2 / 4;
}

#about-filler2 {
  grid-row: 4 / 5;
  grid-column: 2 / 4;
}

#about-filler3 {
  grid-row: 5 / 6;
  grid-column: 1 / 3;
}

#about-filler4 {
  grid-row: 8 / 9;
  grid-column: 1 / 3;
}

#review-title {
  display: flex;
  margin: auto;
}

#review-container {
  display: block;
  margin: 0 auto 5cqw;
  box-shadow: 0 0 1vh black;
  background-color: white;
}

#review-container::before {
  content: "";
  display: none;
  position: absolute;
  z-index: 1;
  width: 70%;
  height: 112px;
  background-color: var(--bgcolor);
}

#footer-width {
  margin: auto;
  max-width: max(60vw, 130vh);
}

#footer-container {
  margin: auto;
  width: 60%;
  display: flex;
  container-type: inline-size;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background-color: #6a7f65;
  border-radius: 3cqw;
}

#footer-container > h3 {
  margin: auto;
  width: auto;
  font-size: 7.35cqw;
}

#contact-container {
  display: flex;
  justify-content: center;
  width: 100%;
  margin: 1.75vh auto;
}

#contact-container p {
  font-size: 3.5cqw;
  margin: auto 2cqw;
}

#social-media {
  display: flex;
  justify-content: center;
  width: 100%;
  margin: 2.5cqw auto 3cqw;
}

#social-media > div > a {
  margin: auto 3cqw;
}

#social-media > div > a > img {
  width: 12.25cqw;
  height: auto;
}

@media (orientation: portrait) {
  
  body {
    font-family: 'Open Sans', sans-serif;
    font-size: 4.5vw;
    font-weight: 500;
    line-height: var(--lineheight);
    margin: 0;
    background-color: var(--bgcolor);
    text-align: center;
  }

  a {
    text-decoration: none;
  }

  footer {
    background-color: #8a9f85;
    height: auto;
    color: #FFFFFF;
    padding: 2vh 4vw;
  }
  
  h2 {
    font-size: 13.5vw;
    margin: auto;
    z-index: 3;
  }

  h3 {
    font-size: 10vw;
    line-height: 0;
  }

  hr {
    display: block;
    margin: 0;
    border-width: 0.1em;
    border-color: grey;
    border-style: solid;
  }

  header {
    box-sizing: border-box;
    position: fixed;
    font-size: inherit;
    width: 18vw;
    height: 18vw;
    padding: auto;
    gap: 0;
    z-index: 35;
    top: 0;
    left: auto;
    right: 0;
    background-color: var(--bgcolor);
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 0 0 0 5vw;
    box-shadow: 0 0 3vw black;
  }

  main {
    container-type: initial;
    max-width: initial;
    width: auto;
    margin: auto;
  }

  nav {
    display: block;
    height: auto;
    justify-content: center;
    align-items: center;
  }

  p {
    font-size: 4.2vw;
    text-align: initial;
  }

  .nav-link {
    margin: auto;
    color: #000000;
  }

  .filler {
    display: none;
    z-index: -1;
  }
  
  .menu-div {
    padding: 0.6em 0;
    margin: 0 0.6em;
  }

  #menu {
    display: none;
    list-style-type: none;
    position: absolute;
    top: 0;
    right: 0;
    width: 40vw;
    z-index: 20;
    background-color: var(--bgcolor);
    text-align: left;
    border-radius: 0 0 0 5vw;
    box-shadow: 0 0 3vw black;
  }
  
  #menu a {
    display: block;
  }
  
  #nav-last {
    border-radius: 0 0 0 5vw;
  }

  #header-logo {
    display: none;
    margin: 0 1em 0 0;
    height: 100%;
  }
  
  #header-button {
    display: block;
    width: 12vw;
    height: auto;
  }
  
  #header-button div {
    width: auto;
    height: 2.75vw;
    background-color: black;
    margin: 1.25vw auto;
  }

  #anchor-showcase {
    position: absolute;
    transform: translateY(-5vh);
  }

  #anchor-booking {
    position: absolute;
    transform: translateY(-3vh);
  }

  #anchor-about {
    position: absolute;
    transform: translateY(1vh);
  }

  #anchor-reviews {
    position: absolute;
    transform: translateY(-3vh);
  }

  #clickoff {
    display: none;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0);
    position: fixed;
    z-index: 30;
  }

  #page-landing {
    height: 100vh;
    margin: 0 0 0;
    border-radius: 0 0 5vw 5vw;
    background-image: url("/img/landing-background.jpg");
    background-size: auto 100vh;
    background-position: center 75%;
    background-repeat: no-repeat;
  }

  #landing-container {
    position: relative;
    top: 50%;
    width: 100%;
    transform: translateY(-50%);
    margin-left: initial;
    height: auto;
    display: flex;
    flex-flow: column nowrap;
    justify-content: center;
    align-items: center;
  }

  #banner-logo {
    display: none;
    width: 50vw;
    padding-left: 30%;
    filter: invert(100%) drop-shadow(0 0 0.5em black);
  }

  #banner-logo-mobile {
    display: block;
    width: 100%;
    filter: invert(100%) drop-shadow(0 0 2vw black);
  }

  #book-button-container {
    padding-left: 0%;
    display: block;
  }

  #book-button {
    background-color: #d42853;
    color: white;
    height: 100%;
    width: 60vw;
    border-radius: 5vw;
    padding: 0;
  }

  #book-button > p {
    font-family: 'Open Sans', sans-serif;
    font-size: 7vw;
    font-weight: 600;
    line-height: 0;
    text-align: center;
  }

  #showcase-container {
    display: grid;
    background-color: var(--bgcolordark);
    border: 5vw solid var(--bgcolordark);
    border-radius: 5vw;
    margin: 5vh auto 3vh;
    justify-content: space-around;
    grid-template-columns: 1fr;
    grid-template-rows: repeat(3, auto);
    grid-column-gap: 0;
    grid-row-gap: 0;
  }

  #showcase-container > * {
    z-index: 12;
  }

  #showcase-container > div {
    padding: 0;
    min-height: 0;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  #showcase-image {
    grid-row: 1 / 3;
    grid-column: 1 / 2;
  }

  #showcase-image-img {
    width: 100%;
    border-radius: 5vw;
  }

  #showcase-text-title {
    grid-row: 2 / 3;
    grid-column: 1 / 2;
  }
  
  #showcase-text-title > h3 {
    font-size: 13vw;
    margin: 0;
    color: white;
    text-shadow: 0 0 0.15em black, 0 0 0.3em black;
  }

  #showcase-text-body {
    grid-row: 3 / 4;
    grid-column: 1 / 2;
  }

  #showcase-filler1 {
    grid-row: 1 / 2;
    grid-column: 1 / 2;
  }

  #showcase-filler2 {
    grid-row: 1 / 2;
    grid-column: 1 / 2;
  }

  #booking-title {
    display: flex;
    margin: auto;
  }

  #booking-container {
    display: block;
    margin: auto;
    box-shadow: 0 0 1vh black;
    background-color: white;
  }

  #booking-container::before {
    content: "";
    display: none;
    position: absolute;
    z-index: 12;
    width: 70%;
    height: 112px;
  }

  #about-container {
    display: grid;
    z-index: 12;
    background-color: var(--bgcolordark);
    border: 5vw solid var(--bgcolordark);
    border-radius: 5vw;
    margin: 6vh auto 5vh;
    padding-bottom: 0;
    justify-content: space-around;
    grid-template-columns: 1fr;
    grid-template-rows: auto 30vw auto auto 30vw auto;
    grid-column-gap: 0;
    grid-row-gap: 0;
  }

  #about-container > div {
    padding: 0;
    min-height: 0;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  #about-container > div > h3 {
    margin: 0;
    color: white;
    font-size: 9vw;
    text-shadow: 0 0 0.15em black, 0 0 0.3em black;
  }

  #about-container > div > img {
    width: 100%;
    border-radius: 5vw;
  }

  #about-clinic {
    grid-row: 1 / 3;
    grid-column: 1 / 2;
  }

  #about-where-title {
    grid-row: 2 / 3;
    grid-column: 1 / 2;
  }

  #about-where-body {
    grid-row: 3 / 4;
    grid-column: 1 / 2;
  }

  #about-profile {
    grid-row: 4 / 6;
    grid-column: 1 / 2;
  }

  #about-us-title {
    grid-row: 5 / 6;
    grid-column: 1 / 2;
  }

  #about-us-title > h3 {
    width: 100%;
    text-align: center;
  }

  #about-us-body {
    grid-row: 6 / 7;
    grid-column: 1 / 2;
    text-align: inherit;
  }

  #about-filler1 {
    grid-row: 1 / 2;
    grid-column: 1 / 2;
  }

  #about-filler2 {
    grid-row: 1 / 2;
    grid-column: 1 / 2;
  }

  #about-filler3 {
    grid-row: 1 / 2;
    grid-column: 1 / 2;
  }

  #about-filler4 {
    grid-row: 1 / 2;
    grid-column: 1 / 2;
  }

  #review-title {
    display: flex;
    margin: auto;
  }
  
  #review-container {
    display: block;
    margin: 0 auto 5vw;
    box-shadow: 0 0 1vh black;
    background-color: white;
  }

  #review-container::before {
    content: "";
    display: none;
    position: absolute;
    z-index: 1;
    width: 70%;
    height: 112px;
    background-color: var(--bgcolor);
  }
  
  #footer-width {
    margin: auto;
    max-width: 100vw;
  }
  
  #footer-container {
    margin: auto;
    max-width: 100vh;
    width: 78vw;
    display: flex;
    container-type: inline-size;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-color: #6a7f65;
    border-radius: 7vw;
  }

  #footer-container > h3 {
    margin: 1vh auto auto;
    width: auto;
    line-height: 1;
    font-size: 10vw;
  }

  #contact-container {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    margin: 1vh auto;
    flex-direction: column;
  }

  #contact-container p {
    font-size: 4.0vw;
    margin: auto 2vw;
    line-height: 1.75;
  }

  #social-media {
    display: flex;
    justify-content: center;
    width: 100%;
    margin: 1vw auto 2vw;
  }

  #social-media > div > a {
    margin: auto 4vw;
  }

  #social-media > div > a > img {
    width: 20vw;
    height: auto;
  }
  
}