* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-family: sans-serif;
  font-size: 110%;
  line-height: 1.2;
  min-height: 100%;
  text-size-adjust: 100%;
  -webkit-text-size-adjust: 100%;
  -moz-text-size-adjust: 100%;
  -ms-text-size-adjust: 100%;
}

body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  background-color: hsl(275, 80%, 10%);
}

h1 {
  font-size: 2.5rem;
}

h2 {
  font-size: 2rem;
}

h3 {
  font-size: 1.75rem;
}

h4, h5, h6 {
  font-size: 1.5rem;
}

p {
  font-size: 1rem;
}

.icon-button {
  display: flex;
  flex-direction: row;
  background: none;
  border: none;
  color: white;
  font-size: 2rem;
  cursor: pointer;
}
.icon-button i {
  color: inherit;
}

.logo-image {
  display: flex;
  align-items: center;
  justify-content: center;
  height: var(--logo-image-height);
  max-width: 100%;
  user-select: none;
  -webkit-user-select: none;
}
.logo-image img {
  height: 100%;
  width: auto;
  display: block;
}

@font-face {
  font-family: "Apalu";
  src: url("../fonts/Apalu.ttf") format("truetype");
  font-weight: normal;
  font-style: normal;
}
.logo-text {
  display: flex;
  flex-direction: column;
  display: flex;
  align-items: center;
  justify-content: center;
  height: var(--logo-text-height);
  flex-shrink: 0;
}
.logo-text .line1 {
  color: white;
  font-size: calc(0.7875 * var(--logo-text-height));
  font-family: "Apalu";
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
  line-height: 1;
  margin-top: calc(0.0225 * var(--logo-text-height));
  margin-bottom: calc(-0.1125 * var(--logo-text-height));
  display: block;
  user-select: none;
  -webkit-user-select: none;
}
.logo-text .line2 {
  font-size: calc(0.225 * var(--logo-text-height));
  text-transform: uppercase;
  margin-top: 0px;
  margin-bottom: calc(-0.1125 * var(--logo-text-height));
  color: rgb(235, 200, 0);
  display: block;
  user-select: none;
  -webkit-user-select: none;
}
.logo-text .line2.hero {
  animation: hero-text-color-fade 4s ease-in-out infinite;
}

@keyframes hero-text-color-fade {
  0% {
    color: rgb(235, 200, 0);
  }
  30% {
    color: rgb(235, 200, 0);
  }
  50% {
    color: rgb(255, 119, 0);
  }
  70% {
    color: rgb(235, 200, 0);
  }
  100% {
    color: rgb(235, 200, 0);
  }
}
.site-logo {
  display: flex;
  flex-direction: row;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: calc(0.15 * var(--site-logo-height));
  text-decoration: none;
  --logo-image-height: calc(1.0 * var(--site-logo-height));
  --logo-text-height: calc(0.8 * var(--site-logo-height));
}
.site-logo.site-header {
  visibility: hidden;
}

.main-header-wrapper {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: stretch;
  width: 100%;
  height: 80px;
  position: absolute;
  z-index: 10;
  background-color: transparent;
  border-bottom: 1px solid rgb(80, 80, 80);
  border-bottom-color: transparent;
}
.main-header-wrapper.menu-header {
  position: relative;
  border-bottom-color: transparent;
}

.main-header {
  display: flex;
  flex-direction: row;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 1200px;
  justify-content: space-between;
  padding-left: 1rem;
  padding-right: 1rem;
  --site-logo-height: 64px;
}

.header-icons {
  display: flex;
  flex-direction: row;
  margin-right: 16px;
}
.header-icons .icon-button .icon {
  display: block;
  width: 28px;
  height: 28px;
  fill: white;
}

.site-footer-wrapper {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: stretch;
  width: 100%;
  background-color: hsl(275, 80%, 10%);
  border-top: 1px solid rgb(80, 80, 80);
}

.site-footer {
  display: flex;
  flex-direction: row;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 1200px;
  height: 80px;
  color: rgb(128, 128, 128);
}

body.no-scroll {
  overflow: hidden;
}

.menu {
  user-select: none;
  -webkit-user-select: none;
  display: flex;
  flex-direction: column;
  background: rgba(148, 148, 148, 0.5);
  position: fixed;
  top: 0;
  right: 0;
  left: auto;
  margin: 0;
  width: 350px;
  min-width: min-content;
  border: none;
  outline: none;
  backdrop-filter: blur(20px);
  max-height: 100dvh;
  overflow-y: auto;
  transform: translateY(-110%);
  opacity: 0;
}

.menu[open] {
  transform: translateY(0);
  opacity: 1;
  transition: transform 0.2s ease, opacity 0.2s ease;
}
@starting-style {
  .menu[open] {
    transform: translateY(-110%);
    opacity: 0;
  }
}

.menu:not([open]) {
  display: none;
}

.menu::backdrop {
  background: rgba(0, 0, 0, 0);
  backdrop-filter: blur(5px);
  opacity: 0;
}

.menu[open]::backdrop {
  opacity: 1;
  transition: opacity 0.2s ease;
}
@starting-style {
  .menu[open]::backdrop {
    opacity: 0;
  }
}

.menu-content {
  display: flex;
  flex-direction: column;
  padding: 1rem;
  gap: 1rem;
}

.menu-group {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.menu-group-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: rgb(192, 192, 192);
  letter-spacing: 0.02em;
  padding: 0.6rem 0;
}

.menu-list {
  display: flex;
  flex-direction: column;
  width: max-content;
  list-style: none;
}
.menu-list.with-icons {
  display: grid;
  grid-template-columns: auto auto;
}

.menu-item {
  display: flex;
  flex-direction: row;
  padding: 0 0;
  align-items: center;
  font-size: 1rem;
  font-weight: 500;
  gap: 0.75em;
  text-decoration: none;
  color: rgb(235, 200, 0);
  padding: 0.6rem 0.8rem;
  border-radius: 0.5rem;
  border: 1px solid transparent;
  transition: border-color 0.1s ease;
}
.menu-item:hover, .menu-item:focus {
  outline: none;
  border-color: rgb(235, 200, 0);
}
.menu-item .icon {
  display: block;
  width: 28px;
  height: 28px;
  fill: rgb(192, 192, 192);
}

.home-hero-wrapper {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: stretch;
  width: 100%;
  position: relative;
  background: linear-gradient(to bottom, hsl(275, 80%, 35%), hsl(275, 80%, 15%));
  border-bottom: 1px solid rgb(80, 80, 80);
}

.home-hero {
  display: flex;
  flex-direction: column;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 1200px;
  padding: 20px 0;
  gap: 20px;
  user-select: none;
  -webkit-user-select: none;
}
.home-hero.top {
  border-bottom: 1px solid rgb(80, 80, 80);
}
.home-hero.bottom {
  border-top: 1px solid rgb(80, 80, 80);
}

.home-hero-logo {
  display: flex;
  flex-direction: row;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  --logo-image-height: 250px;
  --logo-text-height: 150px;
  gap: 25px;
}

.hero-pane {
  display: flex;
  flex-direction: column;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.hero-verse {
  padding: 0 1rem;
  text-wrap: balance;
}
.hero-verse p {
  font-family: "Cormorant Garamond", serif;
  font-optical-sizing: auto;
  font-style: italic;
  font-weight: 400;
  font-size: 2rem;
  color: rgb(220, 220, 220);
  text-align: center;
  line-height: 1.2;
}
.hero-verse p .quote-mark {
  display: inline-block;
  font-size: 2em;
  position: relative;
  top: 0.2em;
  color: rgb(235, 200, 0);
  font-family: inherit;
  line-height: 0;
}

.hero-button {
  display: flex;
  justify-content: center;
}
.hero-button a {
  display: inline-block;
  padding: 0.6em 2em;
  font-size: 1.2em;
  font-family: inherit;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: rgb(235, 200, 0);
  background: rgba(255, 255, 255, 0.1);
  text-decoration: none;
  line-height: 1.1;
  border: 2px solid rgb(235, 200, 0);
  border-radius: 999px;
  box-shadow: 0 0 8px 2px rgba(235, 200, 0, 0.7);
  cursor: pointer;
  transition: box-shadow 0.15s, background 0.15s, color 0.15s, border 0.15s;
}
.hero-button a:hover, .hero-button a:focus {
  background: rgb(235, 200, 0);
  color: white;
  border-color: rgb(235, 200, 0);
  box-shadow: 0 0 16px 4px rgba(235, 200, 0, 0.7);
  outline: none;
}
.hero-button a:active {
  box-shadow: 0 0 0 0 transparent;
  background: rgb(255, 221.6382978723, 31);
  color: hsl(275, 80%, 15%);
}

.home-cards-wrapper {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: stretch;
  width: 100%;
}

.home-cards {
  display: flex;
  flex-direction: row;
  width: 100%;
  max-width: 1200px;
  display: grid;
  padding: 2em 1rem;
  gap: 20px;
  grid-auto-rows: auto;
  grid-template-columns: repeat(3, 1fr);
}

.home-card {
  display: flex;
  flex-direction: column;
  position: relative;
  height: auto;
  margin: 0;
  padding: 12px;
  padding-bottom: 16px;
  gap: 12px;
  border: 1px solid rgb(235, 200, 0);
  border-radius: 12px;
  background: hsl(275, 80%, 10%);
  text-decoration: none;
  color: inherit;
  overflow: hidden;
  transition: background 150ms ease, box-shadow 150ms ease;
}
.home-card:hover, .home-card:focus {
  background: hsl(275, 80%, 15%);
  transform: translateY(-2px);
  box-shadow: 0 0 12px 4px rgba(235, 200, 0, 0.7);
}
.home-card:hover img, .home-card:focus img {
  filter: none;
}

.card-image {
  width: 100%;
  aspect-ratio: 1/1;
  border-radius: 12px;
  border: 1px solid rgb(235, 200, 0);
  overflow: hidden;
  user-select: none;
  -webkit-user-select: none;
}
.card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: grayscale(50%);
}

.card-text {
  display: flex;
  flex-direction: column;
  gap: 4px;
  text-align: center;
}

.card-title {
  font-size: 1.5rem;
  font-weight: bold;
  color: rgb(235, 200, 0);
}

.card-description {
  font-size: 1rem;
  color: rgb(200, 200, 200);
}
