@import url("https://fonts.googleapis.com/css2?family=Montserrat:wght@100;200;300;400;500;600;700;800;900&display=swap");

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  width: 100%;
  height: 100%;
  background: #E4D9D2;
  font-family: "Montserrat", sans-serif;
}

.page {
  min-height: 100vh;
  max-height: 100vh;
  width: 100%;
  padding: 2rem 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 1.5rem;
}

.page-content {
  width: 100%;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2rem;
}

.logo-placeholder {
  width: calc((min(900px, 100%) - 1rem) / 3);
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
}

.boxes {
  width: min(900px, 100%);
  display: flex;
  gap: 2rem;
}

.box h1 {
    margin: 0;
    font-size: 5rem;
    font-weight: 600;
    text-align: center;
    line-height: 0.8;
    letter-spacing: 0.1em;
}

.box h1 span {
    font-weight: 100;
    font-style: italic;
}

.box {
  flex: 1;
  aspect-ratio: 1 / 1;
  border: 1px solid #932820;
  background: #932820;
  color: #FCDCDE;
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3rem;
}

.menu-button {
  padding: 0.5rem 1rem;
  font-size: 1.25rem;
  font-family: "Montserrat", sans-serif;
  font-weight: 300;
  border: 1px solid #FCDCDE;
  background: transparent;
  color: #FCDCDE;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.menu-button:hover {
  background: #FCDCDE;
  color: #932820;
}

.site-footer {
  width: min(900px, 100%);
  border-top: 1px solid rgba(147, 40, 32, 0.35);
  padding-top: 0.75rem;
  display: inline;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  column-gap: 1rem;
  row-gap: 0.5rem;
  color: #6f1f1a;
  font-size: 0.78rem;
  text-align: center;
  line-height: 1.45;
}

.footer-item {
  margin: 0, 0, 0.5rem, 0;
}

.footer-item strong {
  font-weight: 600;
}

.site-footer a {
  color: inherit;
  text-decoration: none;
}

.site-footer a:hover {
  text-decoration: underline;
}

.footer-low {
  opacity: 0.5;
}

@media (max-width: 700px) {
  .logo-placeholder {
    width: 50%;
  }

  .boxes {
    flex-direction: column;
  }

  .site-footer {
    grid-template-columns: 1fr;
    font-size: 0.74rem;
  }

  .box h1 {
    font-size: 3rem;
  }
}

@media (max-height: 720px) {
  .page-content {
    justify-content: flex-start;
    gap: 1rem;
  }

  .logo-placeholder {
    width: min(18vh, 50%);
  }

  .boxes {
    align-items: center;
  }

  .box {
    flex: 0 1 auto;
    width: min(36vh, 100%);
  }
}
