h1, h2, h3, h4, h5, h6 {
  font-family: 'Neucha', cursive;  
}

p {
  line-height: 1.55;
  color: #333;
  font-size: 400;
  font-family: 'Lato', sans-serif;  
}

h1 {
  font-size: 60px;
  margin-bottom: 60px;
}

h2 {
  font-size: 30px;
  margin-bottom: 65px;
}

h3 {
  font-size: 24px;
}

h4 {
  font-size: 18px;
}

a {
  transition: 0.5s;
  color: #199EB8;
}

a:hover {
  color: #23c2e1;
}

/* ==================================================
  Elements
  ================================================== */
.btn {
  background-color: hsl(190, 62%, 46%);
  color: #fff;
  padding: 15px 40px;
  border-radius: 50px;
}

.btn:hover {
  background-color: #a85427;
  color: #fff;
}

.btn:focus {
  color: #fff;
}

.btn-ghost {
  border: 3px solid #fff;
  background-color: transparent;
}

.btn-ghost:hover {
  background-color: #fff;
  color: #199EB8;
}

section {
  padding: 85px 0;
}

.card {
  position: relative;
  padding: 0;
  border: 0;
  border-radius: 0;
  margin: 0;
  overflow: hidden;
}

a:hover {
  text-decoration: none !important;
}

/*--------------------------------------------------------------
# Header
--------------------------------------------------------------*/
#header {
  background: #199EB8;
  height: 70px;
}

#header #logo {
  margin: 14px 25px 0 0;
}

#header #logo h1 {
  font-size: 36px;
  margin: 0;
  padding: 2px 0;
  line-height: 1;
  font-family: "Raleway", Helvetica, Arial, sans-serif;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
}

#header #logo h1 a,
#header #logo h1 a:hover {
  color: #fff;
}

#header #logo img {
  padding: 0;
  margin: 0;
  max-height: 40px;
}

@media (max-width: 768px) {
  #header {
    height: 50px;
  }
  #header #logo {
    margin: 10px 0 0 0;
  }
  #header #logo h1 {
    padding: 2px 0;
    font-size: 26px;
  }
  #header #logo img {
    max-height: 30px;
  }
}

#header .social-nav {
  margin-top: 15px;
}

#header .social-nav a {
  font-size: 24px;
  margin-left: 15px;
  color: #fff;
}

#header .social-nav a:hover {
  color: rgba(255, 255, 255, 0.75);
}

#mobile-body-overly {
  width: 100%;
  height: 100%;
  z-index: 997;
  top: 0;
  left: 0;
  position: fixed;
  background: rgba(0, 0, 0, 0.6);
  display: none;
}

.frontpage {
  position: relative;
  display: grid;
  place-items: center;
  isolation: isolate;
  min-height: 100vh;
  min-height: 100svh;
  width: 100%;
  padding: clamp(48px, 8vh, 88px) 24px;
  color: #fff;
  text-align: center;
  background: #211711 url(../img/talitta_bg.jpg) center / cover no-repeat;
}

.frontpage::before {
  content: '';
  position: absolute;
  z-index: -1;
  inset: 0;
  background: linear-gradient(180deg, rgba(27, 18, 13, 0.42), rgba(27, 18, 13, 0.68));
}

.hero-content {
  width: min(100%, 760px);
  margin: auto;
}

.frontpage-logo {
  display: block;
  width: clamp(120px, 16vw, 150px);
  height: auto;
  aspect-ratio: 1;
  object-fit: contain;
  margin: 0 auto clamp(36px, 5vh, 50px);
  animation: hero-rise 700ms ease-out both;
}

.hero-eyebrow {
  margin: 0 0 clamp(22px, 3vh, 30px);
  color: #f7d9a9;
  font-family: 'DM Sans', sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  line-height: 1.5;
  text-transform: uppercase;
  animation: hero-rise 700ms 100ms ease-out both;
}

.frontpage h1 {
  max-width: 760px;
  margin: 0 auto clamp(24px, 4vh, 36px);
  color: #fff;
  font-family: 'DM Sans', sans-serif;
  font-size: clamp(42px, 7vw, 76px);
  font-weight: 700;
  line-height: 1.08;
  animation: hero-rise 800ms 180ms ease-out both;
}

.frontpage h1 span {
  display: block;
  color: #f7d9a9;
}

.hero-description {
  max-width: 500px;
  margin: 0 auto clamp(38px, 5vh, 52px);
  color: rgba(255, 255, 255, 0.9);
  font-family: 'DM Sans', sans-serif;
  font-size: clamp(16px, 2vw, 19px);
  line-height: 1.6;
  animation: hero-rise 800ms 280ms ease-out both;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  animation: hero-rise 800ms 360ms ease-out both;
}

.hero-button {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  padding: 0 25px;
  border: 1px solid transparent;
  border-radius: 4px;
  font-family: 'DM Sans', sans-serif;
  font-size: 15px;
  font-weight: 700;
  transition: transform 180ms ease, background-color 180ms ease, border-color 180ms ease;
}

.hero-button:hover {
  color: #fff;
  text-decoration: none;
  transform: translateY(-2px);
}

.hero-button:focus-visible {
  outline: 3px solid #fff;
  outline-offset: 4px;
}

.hero-button-primary {
  background: #b65d2b;
  color: #fff;
}

.hero-button-primary:hover {
  background: #99471f;
}

.hero-button-secondary {
  border-color: rgba(255, 255, 255, 0.75);
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}

.hero-button-secondary:hover {
  border-color: #fff;
  background: rgba(255, 255, 255, 0.18);
}

@keyframes hero-rise {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 480px) {
  .frontpage {
    padding: 44px 22px;
    background-position: 55% center;
  }

  .frontpage-logo {
    margin-bottom: 32px;
  }

  .hero-eyebrow {
    margin-bottom: 20px;
    font-size: 11px;
    letter-spacing: 0.1em;
  }

  .frontpage h1 {
    margin-bottom: 24px;
  }

  .hero-description {
    margin-bottom: 30px;
  }

  .hero-actions {
    width: min(100%, 340px);
    margin: 0 auto;
  }

  .hero-button {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .frontpage-logo,
  .hero-eyebrow,
  .frontpage h1,
  .hero-description,
  .hero-actions {
    animation: none;
  }

  .hero-button {
    transition: none;
  }
}

@-webkit-keyframes animate-loading {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

@keyframes animate-loading {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

/* Mobile */
@media (max-width: 61.9em) {
  section,
  .block,
  .cta {
    padding: 35px 0;
  }
  .features {
    padding-bottom: 5px;
  }
  p,
  .block p {
    margin: 0;
  }
  .tagline {
    margin: 35px 0;
  }
  h2,
  .tagline {
    font-size: 24px;
  }
  h2 {
    margin-bottom: 25px;
  }
  h3 {
    font-size: 14px;
  }
  .block {
    height: auto;
  }
}

@media (max-width: 767px) {
  .block {
    padding-left: 30px;
    padding-right: 30px;
  }
}
