:root {
  --bg-color: #111;
  --text-color: #f2f2f2;
}

html, body {
  margin: 0;
  min-height: 100%;
  font-family: 'Montserrat', sans-serif;
  background-color: var(--bg-color);
  color: var(--text-color);
  font-size: 24px;
  scroll-behavior: smooth;
}

.screenImage {
  background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url("heroimage.jpg");
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  min-height: 100vh;
  position: relative;
}
@media (max-width: 768px) {
  .screenImage {
    background-attachment: scroll;
  }
}

.screenText {
  position: absolute;
  top: 40%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  color: white;
  text-shadow: 5px 3px rgba(0, 0, 0, 0.7);
  z-index: 2;
}

.site-title {
  font-weight: 900;
  font-size: calc(7px + 3.5vw);
  padding-bottom: 2vh;
}

.tagline {
  font-weight: 700;
  font-size: calc(7px + 1.8vw);
  line-height: 1.3;
  margin: 0 auto 5vh;
  padding: 0 5vw;
}

.nowrap {
  white-space: nowrap;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

iframe {
  width: 100%;
  border: none;
}

footer {
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100%;
  color: var(--text-color);
  text-align: center;
  font-size: 1.2vmax;
  text-shadow: 1px 1px black;
  padding-bottom: 0.5rem;
  z-index: 1;
  transition: opacity 0.5s ease;
}
@media (max-width: 480px) {
  footer {
    position: static;
    padding: 1rem 0;
  }
}

@media (max-width: 350px) {
  .site-title {
    font-size: 1.8em;
  }
  .tagline {
    font-size: 1.1em;
  }
}
