/* inter-regular - latin */
@font-face {
  font-family: 'Inter';
  font-weight: 400;
  font-style: normal;
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  src: url('/fonts/inter-v13-latin-regular.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* inter-600 - latin */
@font-face {
  font-family: 'Inter';
  font-weight: 600;
  font-style: normal;
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  src: url('/fonts/inter-v13-latin-600.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

:root {
  --col-text: #222222;
  --col-secondary: hsl(212, 50%, 50%);
  --width-content: min(100%, 80rem);

  --fnt-100: clamp(1.2rem,calc(1.6/80*100vw),1.6rem);
  --fnt-200: clamp(1.35rem,calc(2/80*100vw),1.8rem);
  --fnt-300: clamp(1.5rem,calc(2/80*100vw),2rem);
  --fnt-400: clamp(2.4rem,calc(4/80*100vw),4rem);

  font-size: 62.5%;
}

html {
  height: 100%;
  scroll-behavior: smooth;
}

body {
  display: flex;
  flex-flow: column;
  background-color: #efefef;
  line-height: 1.6;
  color: var(--col-text);
  font-family: "Inter", sans-serif;
  font-size: var(--fnt-300);
}

menu {
  margin: 0;
  padding: 0;
}

/* TYPO */
p {
  -ms-hyphens: auto;
  -webkit-hyphens: auto;
  hyphens: auto;
}

p + p {
  margin-top: 1.2rem;
}

main a:not([class]) {
  text-wrap: nowrap;
  color: var(--col-secondary);
}

/* HEADER */
header.page_header {
  display: block;
  position: fixed;
  align-items: center;
  justify-content: center;
  background-color: rgba(255, 255, 255, .3);
  width: 100%;
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}
header.page_header > nav {
  display: flex;
  align-items: center;
  padding: 0 2rem;
  width: calc(var(--width-content) + 4rem);
  height: 5rem;
}

header.page_header > nav > a {
  text-transform: uppercase;
  text-decoration: none;
  text-decoration: none;
  font-size: var(--fnt-100);;
}
header.page_header > nav > a:hover {
  text-decoration: underline;
}

/* MAIN */
main {
  flex: 1;
}
main > div {
  width: var(--width-content);
}
main > div > header {
  margin-bottom: 8rem;
  text-align: center;
}
main section div + div {
  margin-top: 3rem;
}
main section + section {
  margin-top: 6rem;
}
main :is(h2,h3,h4) {
  color: var(--col-secondary);
}
main :is(h2,h3,h4) + * {
  margin-top: 1.6rem;
}

/* INTRO */
.intro {
  display: grid;
  position: relative;
  padding: 4rem 2rem;
  width: 100%;
  min-height: 100vh;
  min-height: 100svh;
  place-items: center;
  border-top: 5px solid var(--col-secondary);
}
@media (min-width: 800px) {
  .intro {
    padding: 8rem 2rem;
  }
}
.intro__text header {
  margin: 0 auto;
  max-width: 50ch;
  text-align: center;
}
.intro__text header > p {
  margin: 0 auto;
  max-width: 50ch;
  font-size: var(--fnt-300);
  font-weight: 600;
}
.intro__text h1 {
  margin: 1.6rem auto;
  line-height: 1.2;
  color: var(--col-secondary);
  font-size: var(--fnt-400);
}

.intro__text h1 div {
  position: relative;
}
.intro__text h1 > div + div {
  margin-top: 4rem;
}
.intro__text h1 .title {
  position: absolute;
  top: -2rem;
  left: 50%;
  transform: translateX(-50%);
  font-size: var(--fnt-100);
}

/* APPOINTMENT */
.appointment {
  margin: 5rem auto 0 auto;
  border: 1px rgba(0, 0, 0, .10);
  border-style: solid none;
  border-radius: 1rem;
  padding: 2rem;
  width: min(100%, 45ch);
  text-align: center;
  font-family: sans-serif;
  font-size: var(--fnt-200);
}
  @media (min-width: 600px) {
    .appointment {
      margin: 8rem auto 0 auto;
      padding: 3rem;
    }
  }

.label {
  display: inline-block;
  font-weight: 600;
}

.scroll {
  display: flex;
  position: absolute;
  bottom: 2rem;
  left: 50%;
  align-items: center;
  justify-content: center;
  transform: translateX(-50%);
  border-radius: 100%;
  background-color: rgba(0, 0, 0, .25);
  width: 3.5rem;
  height: 3.5rem;
}
@media (min-width: 800px) {
  .scroll {
    margin: 10rem auto 0 auto;
  }
}
.scroll svg {
  transform: rotate(180deg);
  width: 2rem;
}

.text {
  margin: 8rem auto 18rem;
  padding: 0 1rem;
}
@media (min-width: 500px) {
  .text {
    margin: 8 auto 18rem;
    padding: 0 4rem;
  }
}
.text h1 {
  color: var(--col-secondary);
}


#info::before {
  display: block;
  visibility: hidden;
  margin-top: -8rem;
  height:      8rem;
  content: '';
}

/* FOOTER */
footer {
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: rgba(255, 255, 255, .1);
  padding: 2rem;
}
footer > nav > menu {
  display: flex;
  list-style: none;
  gap: 3rem;
}
footer > nav > menu a {
  text-transform: uppercase;
  text-decoration: none;
  font-size: var(--fnt-100);;
}
footer > nav > menu a:hover {
  text-decoration: underline;
}

/* TOTOP */
#toTop {
  display: none;
  position: fixed;
  right: 0;
  bottom: 2rem;
  align-items: center;
  justify-content: center;
  border: none;
  border-radius: 1rem 0 0 1rem;
  box-shadow: 0 0 1rem .1rem rgba(0, 0, 0, .25);
  background: black;
  width: 4rem;
  height: 4rem;
  color: #fff;
}

#toTop svg {
  width: 2rem;
  height: 2rem;
}
