@font-face {
  font-family: 'Fira Sans';
  src: url('/static/fonts/fira-sans.ttf');
}

@font-face {
  font-family: 'Geologica';
  src: url('/static/fonts/geologica.ttf');
}

@font-face {
  font-family: 'Material Symbols';
  src: url('/static/fonts/material-symbols.ttf');
}

:root {
  --color-text-gray: #555;
  --color-text-default: #333;
  --color-text-white: #eee;
  --color-accent: #299f61;

  --font-primary: 'Fira Sans', sans-serif;
  --font-secondary: 'Geologica', sans-serif;
}

body {
  background-color: #f1f1f1;
  color: var(--color-text-default);
  font: 18px var(--font-primary);
}

a {
  text-decoration: none;
}

.ms {
  font-family: 'Material Symbols';
  user-select: none;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-secondary);
}

header {
  background-color: #fff;
  padding: 0 18px;
  min-height: 72px;
  position: fixed;
  width: 100%;
  z-index: 1;
  box-shadow: 0 8px 10px #0001;
}

header .brand-name {
  margin-left: 12px;
  display: inline-block;
  vertical-align: middle;
  font: 14px var(--font-secondary);
  color: #999;
  font-weight: 300;
  line-height: 18px;
}

header .brand-name * {
  display: block;
}

header .brand-name .title {
  font-size: 20px;
  color: var(--color-text-default);
  font-weight: 500;
}

header .phone {
  font-size: 22px;
  color: var(--color-text-default);
}

.phone {
  font-family: var(--font-secondary);
  font-weight: 500;
  color: var(--color-text-default);
}

.phone * {
  vertical-align: middle;
}

.phone .ms {
  margin-right: .15em;
  font-size: 1.3em;
  color: var(--color-accent);
}

header .phone .ms {
  font-size: 26px;
}

.main {
  background-size: cover;
  background-repeat: no-repeat;
  min-height: 100vh;
  z-index: -5;
  text-align: center;
  color: var(--color-text-white);
}

.main .overlay {
  z-index: -4;
  width: 100%;
  min-height: 100vh;
  background-color: #0009;
}

.main .title {
  position: relative;
  top: 40vh;
  font-size: 28px;
  font-family: var(--font-secondary);
}

.main .scroll-down {
  position: relative;
  top: 60vh;
  font-size: 96px;
  cursor: pointer;
}

@media only screen and (max-width: 800px) {
  .main .title {
    top: 30vh;
  }

  .main .scroll-down {
    top: 40vh;
  }
}

@media only screen and (max-width: 600px) {
  .main .title {
    font-size: 22px;
  }
}

.main .title h1 {
  font-size: 3.5em;
  font-weight: 700;
}

footer {
  margin-top: 96px;
  background-color: var(--color-accent);
  color: var(--color-text-white);
  min-height: 72px;
  padding: 24px 8px;
  box-shadow: 0 -6px 16px #0002;
}

footer .info {
  text-align: center;
}

footer a.phone {
  color: var(--color-text-white);
  font-size: 20px;
}

footer a.phone:hover {
  color: #ddd;
}

footer a.phone:active {
  color: #ccc;
}

footer a.phone .ms {
  color: var(--color-text-white);
}

section {
  text-align: center;
  margin-top: 36px;
  margin-bottom: 72px;
}

.section-title {
  font-size: 36px;
  font-weight: 600;
  color: var(--color-accent);
  margin-bottom: 36px;
}

.features {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
}

.feature {
  background-color: #fff;
  padding: 16px;
  border-radius: 16px;
  box-shadow: 0 8px 8px #0001;
  width: 400px;
  min-height: 200px;
  color: var(--color-text-gray);
}

.feature .title {
  margin-bottom: 12px;
}

.feature .title .ms {
  font-size: 42px;
  color: var(--color-accent);
}

.feature .title h1 {
  font-size: 32px;
  font-weight: 600;
  color: var(--color-text-default);
}

section .phone {
  font-size: 32px;
}

#gallery {
  max-width: 800px;
  box-shadow: 0 0 24px #0004;
}

#gallery img {
  width: 100%;
  display: block;
}

@media only screen and (max-width: 1280px) {
  #gallery {
    max-width: 600px;
  }
}

@media only screen and (max-width: 600px) {
  #gallery {
    max-width: 480px;
  }
}

.reviews {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
  margin-bottom: 48px;
  width: 80%;
}

.review-card {
  padding: 24px;
  text-align: left;
  border-radius: 16px;
  background-color: #fff;
  box-shadow: 0 8px 8px #0001;
  color: var(--color-text-gray);
  min-width: 360px;
  max-width: 900px;
}

.review-card .head {
  display: flex;
  align-items: center;
}

.review-card .title {
  font: 28px var(--font-secondary);
  color: var(--color-accent);
  font-weight: 600;
}

.review-card .stars {
  margin-left: 16px;
  font-size: 24px;
  color: #ccc;
  display: flex;
  flex-direction: row;
  gap: 8px;
}

.review-card .stars span {
  margin: 0 -3px;
}

.review-card .stars span.lit {
  color: #e0a910;
}

.review-card p {
  margin-top: 12px;
}

.location {
  min-height: 400px;
  text-align: left;
  box-shadow: 0 6px 12px #0002;
}

.location .info {
  padding: 42px 56px;
  background-color: var(--color-accent);
  color: var(--color-text-white);
}

.location .map {
  width: 100%;
  height: 100%;
}

@media only screen and (max-width: 768px) {
  .location .map {
    min-height: 450px;
  }
}

.loading-screen {
  position: fixed;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  z-index: 99999;
  background-color: #fff;
}

.loading-screen .animated {
  position: relative;
  top: calc(50% - 16px);
  margin: auto;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background-color: var(--color-accent);
  animation: loading-screen-animated 2s ease-in-out infinite;
}

@keyframes loading-screen-animated {
  0% {
    box-shadow: 0 0 16px 18px #299f6022;
    transform: scale(1);
  }

  50% {
    box-shadow: 0 0 24px 27px #299f6033;
    transform: scale(1.1);
  }

  100% {
    box-shadow: 0 0 16px 18px #299f6022;
    transform: scale(1);
  }
}