@font-face {
  font-family: 'LTMuseum';
  src: url('../fonts/LTMuseum-Light.woff2') format('woff2');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'LTMuseum';
  src: url('../fonts/LTMuseum-Bold.woff2') format('woff2');
  font-weight: bold;
  font-style: normal;
}

@font-face {
  font-family: 'LTMuseum';
  src: url('../fonts/LTMuseum-LightItalic.woff2') format('woff2');
  font-weight: normal;
  font-style: italic;
}

/* Mobile-first styles */
:root {
  --accent: rgba(246, 204, 170, 0.55);
  --panel: rgba(255, 255, 255, 0.55);
  --text: #3c3c3b;
  --border-radius: 1rem;
  --default-padding: 1rem;
}

html, body {
  height: 100%;
}

body {
  margin: 0;
  font-family: 'LTMuseum', system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial;
  color: var(--text);
  background-image: url('../img/background_comp.webp');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  background-repeat: no-repeat;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  display: flex;
  justify-content: center;
}

/* wrapper to control max width like mobile screen */
.screen {
  width: 100%;
  max-width: 420px;
  min-height: 100vh;
  padding: 36px 28px;
  box-sizing: border-box;
  background: transparent;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Logo / hero */
.brand {
  margin-top: 8vh;
  text-align: center;
  line-height: 0.9;
  color: var(--text);
}

.brand img {
  width: 255px;
}

.brand p {
  font-size: 1.3rem;
  font-weight: normal;
}

/* centered kontakt-panel */
.kontakt-panel {
  margin-top: 3rem;
  background: var(--accent);
  backdrop-filter: blur(2px);
  border-radius: var(--border-radius);
  padding: var(--default-padding);
  box-sizing: border-box;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
  text-align: center;
}

.kontakt-panel h2 {
  font-weight: bold;
  font-size: 1.3rem;
  margin: 0 0 8px;
}

.kontakt-panel p {
  font-size: 1rem;
  margin-top: 0.5rem;
  overflow-wrap: normal;
  word-break: keep-all;
  hyphens: none;
}

.kontakt-panel a {
  color: var(--text);
  font-size: 1rem;
  text-decoration: underline
}

/* follow us bar */
.follow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 6rem;
  width: auto;
  background: var(--accent);
  border-radius: var(--border-radius);
  padding: var(--default-padding);
  box-sizing: border-box;
  text-align: left;
  font-style: italic;
  font-size: 2rem;

}

.follow .follow-text {
  margin-left: auto;
  text-align: right;
  font-size: 0.7rem;
}

/* quote bubble */
.quote {
  margin-top: 6rem;
  width: max-content;
  background: var(--accent);
  border-radius: var(--border-radius);
  padding: var(--default-padding);
  text-align: left;
  font-style: italic;
  font-size: 1rem;
}

.quote .ref {
  display: block;
  text-align: right;
  font-style: normal;
  font-size: 0.8rem;
  margin-top: 8px
}

/* footer note */
.footer-note {
  margin-top: auto;
  font-size: 1.5rem;
  padding: var(--default-padding);
  text-align: center;
  font-style: italic;
}

/* big screen adjustments */
@media (min-width: 900px) {
  /* desktop layout tries to match PC preview */
  body {
    background-position: center top;
  }

  .screen {
    max-width: 1400px;
    min-height: 100vh;
    padding: 80px 120px;
    align-items: stretch
  }

  .brand {
    text-align: center;
    margin-top: 9rem
  }

  .brand img {
    width: 19rem;
  }

  .brand h2 {
    font-size: 1.5rem
  }

  .kontakt-panel {
    align-self: center;
    width: max-content;
    margin-top: 1rem;
    font-size: 1rem;
  }

  .kontakt-panel h2 {
    font-size: 1.5rem;
  }

  .follow {
    position: absolute;
    left: 48px;
    top: 40px;
    width: auto;
    margin-top: 1rem;
    padding: 0;
    font-size: 2rem;
    background: none;
    backdrop-filter: none;
    box-shadow: none;
  }

  .follow .follow-text {
    margin-left: auto;
    text-align: right;
    font-size: 0.8rem;
  }

  .footer-note {
    position: absolute;
    right: 48px;
    bottom: 36px;
    font-size: 2rem;
    text-align: right;
    padding: 0
  }

  .quote {
    align-self: center;
    background: none;
    backdrop-filter: none;
    box-shadow: none;
    margin-top: 1rem;
  }

}

/* accessibility */
a, button {
  cursor: pointer
}
