body {
  margin: 0;
  font-family: 'Open Sans', sans-serif;
  background: url('/background.png') no-repeat center center;
  background-size: 100% auto;
  background-position: 50% 50%;
  background-attachment: fixed;
  color: #e0e0e0;
}

.banner {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  flex-direction: column;
}

header {
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(5px);
  padding-top: 0.5em;
  padding-bottom: 1em;
  width: 100%;
  text-align: center;
  border-bottom: 1px solid #3c5e4a;
  position: relative;
  z-index: 10;
}

img.logo {
  position: fixed;
  top: 0.5em;
  right: 1em;
  height: 164px;
  width: auto;
  z-index: 8999;
  transition: opacity 0.5s ease;
  filter: drop-shadow(0 1rem 1rem #000000FF);
}

.logo.scrolled {
  opacity: 0.2;
}

header h1 {
  font-family: 'Tahoma';
  font-size: 6em;
  margin: 0;
  color: #fff;
  text-shadow: 0 2px 4px #000;
}

header p {
  font-style: italic;
  color: #b9dfb4;
  margin: 0;
  font-size: 1.3em;
  margin-top: -20px;
  font-weight: bold;
  text-shadow: 0 2px 4px #000;
}

a {
  color: #a3e0b8;
  font-weight: bold;
  font-style: italic;
  text-decoration: none;
  transition: color 0.2s ease, border-color 0.2s ease;
}

a:hover {
  color: #7fdb8d;
  font-style: italic;
  border-bottom: 1px dashed #6cb991;
  border-color: #7fdb8d;
}

nav {
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(10px);
  display: flex;
  justify-content: center;
  padding: 0.5em;
  z-index: 100;
  border-bottom: 1px solid #3c5e4a;
  margin-bottom: 1em;
}

nav a {
  color: #d6f6dd;
  margin: 0 1em;
  text-decoration: none;
  font-weight: bold;
}

nav a:hover {
  color: #7fdb8d;
  text-decoration: none;
  border-bottom: none;
}

.section {
  padding: 3em 2em;
  max-width: 750px;
  margin: auto;
  border-radius: 18px;
  box-shadow: 0 0 6px rgba(0,0,0,0.4);
  margin-bottom: 1em;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(5px);
}

.section h2 {
  font-family: 'Merriweather', serif;
  font-size: 1.8em;
  color: #b3e3c0;
  border-left: 4px solid #4a7856;
  padding-left: 0.5em;
  margin-top: -0.5em;
}

.section p {
  line-height: 1.6;
  z-index: 10;
}

footer {
  color: #000;
  padding: 1em;
  font-size: 0.6em;
  line-height: 0.85em;
  font-weight: 500;
  margin-top: -1em;
  backdrop-filter: blur(10px);
  border-top: 1px solid #3c5e4a;
  border-bottom: 1px solid #3c5e4a;
  overflow-x: clipped;
}

.footer-legal {
  max-width: 750px;
  margin-left: auto;
  margin-right: auto;
  text-align: justify;
  text-justify: inter-word;
}

.footer-legal em {
  white-space: nowrap;
}

.copyright-line {
  color: #222;
  font-size: 0.9em;
  font-weight: bold;
  text-align: center;
  margin: 5px;
}

.accent {
  font-family: 'Arial';
  font-weight: 900;
  cursor: pointer;
  transition: text-shadow 0.3s ease;
}

.glow {
  text-shadow: 0 0 8px #f00, 0 0 12px #f00;
  color: #FFF;
}

.quote {
  font-size: 0.75em;
  font-style: italic;
  color: #ccc;
  margin: 2em 0 0;
  margin-bottom: -2.5em;
  border-top: 1px solid #444;
  padding-top: 1em;
  padding-right: 1em;
  text-align: right;
}

#blackout {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: black;
  opacity: 0;
  z-index: 9990;
  pointer-events: none;
  transition: opacity 1s ease;
}

#final-words {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 9999;
  display: flex;
  flex-direction: row;
  gap: 3em;
  font-size: 3em;
  font-weight: bolder;
  color: #fff;
  opacity: 0;
  transition: opacity 2s ease;
  pointer-events: none;
}

.final-word {
  text-transform: uppercase;
}

#scplogo {
  background: url('/scplogo.png') no-repeat center center;
  background-size: contain;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  height: 75%;
  width: 75%;
  opacity: 0;
  z-index: 9998;
  transition: opacity 5s ease;
  pointer-events: none;
}

@media screen and (max-width: 390px) {
  img.logo {
    position: static;
    display: block;
    margin: 0 auto;
    width: 100%;
    height: auto;
  }

  header h1 {
    font-size: 2.5em;
  }

  header p {
    font-size: 1em;
    margin-top: 0;
  }

  nav {
    flex-direction: column;
    justify-content: center;
    text-align:center;
  }

  nav a {
    margin: 0.5em 0;
  }

  #final-words {
    flex-direction: column;
    font-size: 2em;
    text-align: center;
  }

  .section {
    padding: 2em 1em;
  }

  .quote {
    text-align: center;
    padding-right: 0;
    padding-bottom: 10px;
  }
  
  .copyright-line {
  color: #222;
  font-size: 0.7em;
  font-weight: bold;
  text-align: center;
  margin: 5px;
}

}
