:root {
  --blue: #dfebe9;
  --blue-darker: #919f9c;
  --grey: #2c3f3e;
  --grey-light: #aaa;
  --grey-lighter: #f9f9f9;
  --orange: #d57474;
  --border: #e9e9e9;
}

@font-face {
  font-family: 'Playfair Display';
  font-weight: 400;
  font-style: normal;
  src: url('./assets/fonts/Playfair-Regular.woff2') format('woff2'),
       url('./assets/fonts/Playfair-Regular.woff') format('woff'),
       url('./assets/fonts/Playfair-Regular.ttf')  format('truetype');
}

@font-face {
  font-family: 'Playfair Display';
  font-weight: 400;
  font-style: italic;
  src: url('./assets/fonts/Playfair-Italic.woff2') format('woff2'),
       url('./assets/fonts/Playfair-Italic.woff') format('woff'),
       url('./assets/fonts/Playfair-Italic.ttf')  format('truetype');
}

@font-face {
  font-family: 'Playfair Display';
  font-weight: 700;
  font-style: normal;
  src: url('./assets/fonts/Playfair-Bold.woff2') format('woff2'),
       url('./assets/fonts/Playfair-Bold.woff') format('woff'),
       url('./assets/fonts/Playfair-Bold.ttf')  format('truetype');
}

@font-face {
  font-family: 'Playfair Display';
  font-weight: 700;
  font-style: italic;
  src: url('./assets/fonts/Playfair-Bold-Italic.woff2') format('woff2'),
       url('./assets/fonts/Playfair-Bold-Italic.woff') format('woff'),
       url('./assets/fonts/Playfair-Bold-Italic.ttf')  format('truetype');
}

@font-face {
  font-family: 'Poppins';
  font-weight: 400;
  font-style: normal;
  src: url('./assets/fonts/Poppins-Regular.woff2') format('woff2'),
       url('./assets/fonts/Poppins-Regular.woff') format('woff'),
       url('./assets/fonts/Poppins-Regular.ttf')  format('truetype');
}

@font-face {
  font-family: 'Poppins';
  font-weight: 400;
  font-style: italic;
  src: url('./assets/fonts/Poppins-Italic.woff2') format('woff2'),
       url('./assets/fonts/Poppins-Italic.woff') format('woff'),
       url('./assets/fonts/Poppins-Italic.ttf')  format('truetype');
}

@font-face {
  font-family: 'Poppins';
  font-weight: 500;
  font-style: normal;
  src: url('./assets/fonts/Poppins-Medium.woff2') format('woff2'),
       url('./assets/fonts/Poppins-Medium.woff') format('woff'),
       url('./assets/fonts/Poppins-Medium.ttf')  format('truetype');
}

@font-face {
  font-family: 'Poppins';
  font-weight: 500;
  font-style: italic;
  src: url('./assets/fonts/Poppins-Medium-Italic.woff2') format('woff2'),
       url('./assets/fonts/Poppins-Medium-Italic.woff') format('woff'),
       url('./assets/fonts/Poppins-Medium-Italic.ttf')  format('truetype');
}

@font-face {
  font-family: 'Poppins';
  font-weight: 600;
  font-style: normal;
  src: url('./assets/fonts/Poppins-Semi-Bold.woff2') format('woff2'),
       url('./assets/fonts/Poppins-Semi-Bold.woff') format('woff'),
       url('./assets/fonts/Poppins-Semi-Bold.ttf')  format('truetype');
}

@font-face {
  font-family: 'Poppins';
  font-weight: 600;
  font-style: italic;
  src: url('./assets/fonts/Poppins-Semi-Bold-Italic.woff2') format('woff2'),
       url('./assets/fonts/Poppins-Semi-Bold-Italic.woff') format('woff'),
       url('./assets/fonts/Poppins-Semi-Bold-Italic.ttf')  format('truetype');
}

html {
  box-sizing: border-box;
}

*,
*:after,
*:before {
  box-sizing: inherit;
}

body {
  color: var(--grey);
  font-family: 'Poppins', sans-serif;
  font-size: 14px;
  line-height: 1.7;
}

b,
strong {
  font-weight: 600;
}

i,
em {
  font-style: italic;
}

a {
  color: var(--orange);
  transition: color 0.2s ease-out;
}

a:hover,
a:hover {
  color: var(--grey);
}

svg {
  display: inline-block;
}

.u-visually-hidden {
  position: absolute !important;
  clip: rect(1px 1px 1px 1px); /* IE6, IE7 */
  clip: rect(1px, 1px, 1px, 1px);
  padding:0 !important;
  border:0 !important;
  height: 1px !important; 
  width: 1px !important; 
  overflow: hidden;
}

.center {
  max-width: 1160px;
  margin-right: auto;
  margin-left: auto;
}

.typeset p + p {
  margin-top: 30px;
}

.typeset ul + p {
  margin-top: 30px;
}

.typeset ul li {
  position: relative;
  padding-left: 20px;
}

.typeset ul li::before {
  content: '';
  position: absolute;
  top: 12px;
  left: 0;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background-color: var(--orange);
}

.button {
  display: inline-block;
  margin: 0;
  padding: 0;
  outline: none;
  border: 0 none;
  background: none;
  cursor: pointer;
  text-decoration: none;
  text-align: center;
}

.button--circle {
  position: relative;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  border: 1px solid transparent;
}

.button--circle svg {
  position: absolute;
  top: 0;
  left: 0;
}

.button--rounded {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  height: 50px;
  padding: 10px 30px 10px 20px;
  border-radius: 25px;
  border: 1px solid transparent;
  font-family: 'Poppins', sans-serif;
  font-size: 13px;
  font-weight: 500;
  line-height: 1;
}

.button--rounded svg {
  margin-right: 20px;
}

.button--rounded .svg-calendar {
  margin-top: 3px;
}

.button--orange {
  color: #fff;
  border-color: var(--orange);
  background-color: var(--orange);
  transition: color 0.2s ease-out, background-color 0.2s ease-out;
}

.button--orange svg {
  fill: #fff;
  transition: fill 0.2s ease-out;
}

.button--orange:hover,
.button--orange:focus {
  color: var(--orange);
  background-color: #fff;
}

.button--orange:hover svg,
.button--orange:focus svg {
  fill: var(--orange);
}

.button--white {
  color: var(--orange);
  background-color: #fff;
  transition: color 0.2s ease-out, background-color 0.2s ease-out;
}

.button--white svg {
  fill: var(--orange);
  transition: fill 0.2s ease-out;
}

.button--white:hover,
.button--white:focus {
  color: #fff;
  background-color: var(--orange);
}

.button--white:hover svg,
.button--white:focus svg {
  fill: #fff;
}

.form__message {
  display: block;
  width: 100%;
  margin: -80px 0 30px;
  padding: 15px 20px;
  border: 2px solid transparent;
  border-radius: 4px;
  font-family: 'Poppins', sans-serif;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.5;
  text-align: center;
}

.form__message--error {
  color: #f00;
  border-color: #f00;
  background-color: rgba(255, 0, 0, 0.1);
}

.form__message--success {
  color: #00CC00;
  border-color: #00CC00;
  background-color: rgba(0, 255, 0, 0.1);
}

.form__field {
  margin-bottom: 40px;
}

.form__field label {
  display: block;
  margin-bottom: 7px;
  color: var(--orange);
  font-family: 'Poppin', sans-serif;
  font-size: 14px;
  font-weight: 600;
  line-height: 1;
}

.form__row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  margin-right: -15px;
  margin-left: -15px;
}

.form__row .form__field {
  width: 50%;
  padding-right: 15px;
  padding-left: 15px;
}

.form__control {
  display: block;
  width: 100%;
  height: 50px;
  padding: 15px 20px;
  outline: none;
  border: 1px solid var(--border);
  border-radius: 4px;
  background-color: #fff;
  color: var(--grey);
  font-size: 13px;
  font-weight: 400;
  line-height: 1;
  -webkit-appearance: none;
}

.form__note .form__message {
  margin: 25px 0 0;
  font-weight: 700;
  background-color: var(--blue);
}

.form__note .form__message b {
  color: var(--orange);
}

.form__footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  margin-top: 10px;
}

.form__field--checkbox label {
  position: relative;
  display: block;
  width: 20px;
  height: 20px;
  margin: 0 auto;
  cursor: pointer;
  border: 1px solid var(--border);
  transition: border-color 0.2s ease-out;
}

.form__field--checkbox label::after {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 10px;
  height: 10px;
  margin-top: -5px;
  margin-left: -5px;
  background-color: var(--orange);
}

.form__field--checkbox input:checked + label::after {
  content: '';
}

.form__text span {
  font-weight: 600;
}

.form__footer .form__text {
  width: 370px;
}

.form__footer .form__submit {
  width: 230px;
  text-align: right;
}

.dropdown {
  border: 1px solid var(--border);
  border-radius: 4px;
  overflow: hidden;
}

.dropdown + .dropdown {
  margin-top: 10px;
}

.dropdown__title {
  position: relative;
  display: block;
  width: 100%;
  height: 50px;
  padding: 18px 30px 19px;
  outline: none;
  border: 0 none;
  background: #dfebe9;
  color: var(--orange);
  font-family: 'Poppin', sans-serif;
  font-size: 14px;
  font-weight: 600;
  line-height: 1;
  text-align: left;
  cursor: pointer;
}

.dropdown__button {
  position: absolute;
  top: 50%;
  right: 10px;
  width: 30px;
  height: 30px;
  margin-top: -15px;
  border-radius: 50%;
  background-color: #fff;
}

.dropdown__button::after,
.dropdown__button::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  background-color: var(--orange);
}

.dropdown__button::after {
  width: 2px;
  height: 12px;
  margin-top: -6px;
  margin-left: -1px;
}

.dropdown__button::before {
  width: 12px;
  height: 2px;
  margin-top: -1px;
  margin-left: -6px;
}

.dropdown__content {
  display: none;
}

.dropdown__inner table {
  width: 100%;
  background-color: #fff;
}

.dropdown__inner table th,
.dropdown__inner table td {
  border-bottom: 1px solid var(--border);
}

.dropdown__inner table th + th,
.dropdown__inner table td + td {
  border-left: 1px solid var(--border);
}

.dropdown__inner table th {
  padding: 16px 30px;
  background-color: var(--grey-lighter);
  color: var(--grey);
  font-family: 'Poppins', sans-serif;
  font-size: 10px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: 2px;
  text-align: center;
  text-transform: uppercase;
}

.dropdown__inner table td {
  padding: 14px 30px 12px;
  color: var(--grey);
  font-family: 'Poppins', sans-serif;
  font-size: 13px;
  font-weight: 400;
  line-height: 1.5;
  text-align: center;
  vertical-align: middle;
}

.dropdown__inner table td i {
  color: var(--grey-light);
}

.dropdown__inner table th:nth-child(1),
.dropdown__inner table td:nth-child(1) {
  width: 50%;
  text-align: left;
}

.dropdown__inner table tr:last-child td {
  border-bottom: none;
}

.dropdown__inner .form__field {
  margin-bottom: 0;
}

.dropdown > input:checked ~ .dropdown__title .dropdown__button::after {
  content: none;
}

.dropdown > input:checked ~ .dropdown__content  {
  display: block;
}

.site-wrapper {
  overflow: hidden;
}

.site-header {
  position: absolute;
  top: 35px;
  left: 0;
  width: 100%;
}

.site-header .center {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
}

.site-header__logo {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  color: var(--grey);
  font-family: 'Playfair Display', serif;
  font-size: 24px;
  font-weight: 400;
  line-height: 1;
}

.site-header__logo small {
  display: inline-block;
  color: var(--orange);
  font-family: 'Poppins', sans-serif;
  font-size: 13px;
  font-weight: 400;
}

.site-header__logo small::before {
  display: inline-block;
  content: '';
  width: 1px;
  height: 20px;
  margin-right: 12px;
  margin-bottom: -3px;
  margin-left: 12px;
  background-color: var(--blue-darker);
}

.site-footer {
  padding-top: 15px;
  padding-bottom: 15px;
  background-color: var(--blue);
}

.site-footer .center {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
}

.site-footer__text {
  opacity: 0.8;
  color: var(--grey);
  font-family: 'Poppins', sans-serif;
  font-size: 12px;
  font-weight: 400;
  line-height: 1;
}

.site-footer__socials {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  height: 30px;
}

.site-footer__socials .button--circle {
  width: 30px;
  height: 30px;
}

.site-footer__socials .button--circle svg {
  top: -1px;
  left: -1px;
}

.site-footer__socials li + li {
  margin-left: 5px;
}

.hero {
  padding-top: 145px;
  padding-bottom: 90px;
  background-color: var(--blue);
}

.hero .center {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
}

.hero__content {
  width: 465px;
}

.hero__title {
  margin-bottom: 40px;
  color: var(--orange);
  font-family: 'Playfair Display', sans-serif;
  font-size: 55px;
  font-weight: 400;
  line-height: 1;
}

.hero__title span {
  background: linear-gradient(to top, transparent 0, transparent 8px, #fff 8px, #fff 25px, transparent 25px, transparent 100%);
}

.hero__text {
  max-width: 390px;
  color: var(--grey);
  font-family: 'Poppins', sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 30px;
}

.hero__text b,
.hero__text strong {
  font-weight: 600;
}

.hero__picture {
  width: 550px;
  padding-right: 20px;
}

.hero__picture img {
  display: block;
  width: 100%;
  height: auto;
}

.gallery {
  padding-top: 100px;
  padding-bottom: 150px;
}

.gallery .glide__track {
  overflow: visible;
}

.gallery__header {
  margin-bottom: 60px;
  text-align: center;
}

.gallery__header .center {
  max-width: 565px;
}

.gallery__title {
  margin-bottom: 40px;
  color: var(--orange);
  font-family: 'Playfair Display', sans-serif;
  font-size: 35px;
  font-weight: 400;
  line-height: 1;
}
  
.gallery__title span {
  background: linear-gradient(to top, transparent 0, transparent 4px, var(--blue) 4px, var(--blue) 17px, transparent 17px, transparent 100%);
}

.gallery__content .center {
  position: relative;
  max-width: 765px;
}

.gallery__items {
  display: flex;
  align-items: center;
  width: 100%;
}

.gallery__item {
  flex-shrink: 0;
  aspect-ratio: 765 / 430;
  background-color: var(--grey-lighter);
}

.gallery__item img {
  width: 100%;
  height: 100%;
  margin: 0 auto;
  object-fit: contain;
}

.gallery__prev {
  position: absolute;
  top: 50%;
  left: 0;
  margin-top: -30px;
  margin-left: -45px;
}

.gallery__next {
  position: absolute;
  top: 50%;
  right: 0;
  margin-top: -30px;
  margin-right: -45px;
}

.appointment {
  padding-top: 120px;
  padding-bottom: 120px;
  background-color: var(--grey-lighter);
}

.appointment .center {
  display: flex;
  flex-wrap: wrap;
  align-self: flex-start;
  justify-content: space-between;
}

.appointment__header {
  width: 400px;
}

.appointment__title {
  margin-bottom: 40px;
  color: var(--orange);
  font-family: 'Playfair Display', sans-serif;
  font-size: 35px;
  font-weight: 400;
  line-height: 1;
}
  
.appointment__title span {
  background: linear-gradient(to top, transparent 0, transparent 4px, var(--blue) 4px, var(--blue) 17px, transparent 17px, transparent 100%);
}

.appointment__content {
  width: 665px;
  margin-top: 80px;
}

/* MEDIA QUERIES */
@media only screen and (max-width: 1220px) {
  .form__message {
    margin-top: 0;
  }

  .center {
    max-width: 100%;
    padding-right: 30px;
    padding-left: 30px;
  }

  .hero__content {
    width: 50%;
  }

  .hero__title {
    margin-bottom: 30px;
    font-size: 45px;
  }

  .hero__picture {
    width: 50%;
    padding-right: 0;
    padding-left: 60px;
  }

  .hero__picture img {
    width: 100%;
  }
  
  .gallery__header {
    margin-bottom: 40px;
  }
  
  .gallery__header .center {
    padding-right: 0;
    padding-left: 0;
  }
  
  .gallery__title {
    margin-bottom: 30px;
  }
  
  .gallery__content .center {
    padding-right: 0;
    padding-left: 0;
  }

  .appointment__title {
    margin-bottom: 30px;
  }

  .appointment__header {
    width: 100%;
    margin-bottom: 40px;
  }

  .appointment__content {
    width: 100%;
    margin-top: 0;
  }
}

@media only screen and (max-width: 808px) {
  .center {
    padding-right: 20px;
    padding-left: 20px;
  }

  .form__footer {
    flex-direction: column;
  }

  .form__text {
    text-align: center;
  }
  
  .form__submit .button--rounded {
    width: 100%;
    margin-top: 20px;
    justify-content: center;
  }

  .button--rounded {
    height: 40px;
    padding: 13px 20px;
    border-radius: 20px;
    font-size: 13px;
  }

  .button--rounded svg {
    display: none;
  }

  .button--circle {
    width: 50px;
    height: 50px;
  }

  .button--circle svg {
    width: 50px;
    height: 50px;
  }

  .site-header__logo {
    font-size: 18px;
  }
  
  .site-header__logo small {
    font-size: 11px;
  }

  .site-footer .center {
    justify-content: center;
  }

  .site-footer__socials {
    display: none;
  }

  .hero {
    padding-top: 125px;
    padding-bottom: 50px;
  }

  .hero__content {
    width: 100%;
  }

  .hero__title {
    font-size: 35px;
  }

  .hero__text {
    max-width: 100%;
    font-size: 14px;
    line-height: 2;
  }

  .hero__picture {
    display: none;
  }

  .gallery,
  .appointment {
    padding-top: 50px;
    padding-bottom: 50px;
  }

  .gallery__header {
    margin-bottom: 30px;
  }
  
  .gallery__header .center {
    max-width: 100%;
    padding-right: 20px;
    padding-left: 20px;
    text-align: left;
  }
  
  .gallery__content .center {
    max-width: calc(100% - 40px);
  }

  .gallery__prev,
  .gallery__next {
    position: relative;
    margin-top: 0;
    margin-right: 0;
    margin-left: 0;
  }

  .gallery__prev {
    margin-right: 5px;
  }

  .gallery__next {
    margin-left: 5px;
  }

  .gallery__controls {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 30px;
  }
}

@media only screen and (max-width: 605px) {
  .form__field {
    margin-bottom: 30px;
  }

  .form__row .form__field {
    width: 100%;
  }

  .dropdown__title {
    padding-right: 20px;
    padding-left: 20px;
  }

  .dropdown__inner table thead {
    display: none;
  }

  .dropdown__inner table td {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100% !important;
    height: 60px;
    padding-right: 20px;
    padding-left: 20px;
    border-left: 0 none !important;
    border-bottom: 1px solid var(--border) !important;
    text-align: right;
  }

  .dropdown__inner table td span {
    text-align: right;
  }

  .dropdown__inner table td::before {
    content: attr(data-title);
    margin-right: 20px;
    font-weight: 600;
  }

  .dropdown__inner table tr {
    border-bottom: 1px solid var(--border);
  }

  .dropdown__inner table tr:last-child {
    border-bottom: 0 none;
  }

  .dropdown__inner table tr:last-child td:last-child {
    border-bottom: none !important;
  }

  .site-header__button {
    display: none;
  }

  .site-footer__text {
    font-size: 10px;
  }

  .gallery__title,
  .appointment__title {
    font-size: 30px;
  }

  .form__footer .form__text,
  .form__footer .form__submit {
    width: 100%;
  }
}
