body {
  margin: 0;
  padding: 0;
  font-family: Arial, sans-serif;
  background-color: #000000;
  color: #ffffff;
}

#splash {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: #000000;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 10000;
  animation: splashAnimation 3s ease-in-out forwards;
}

#splash img {
  width: 400px;
  height: auto;
  animation: logoAnimation 3s ease-in-out forwards;
}

header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: #111111;
  border-bottom: 1px solid #333333;
  padding: 10px 20px;
  position: relative;
  z-index: 1001;
}

.logo img {
  height: 40px;
  width: auto;
  transition: opacity 0.3s ease;
}

.logo a {
  position: relative;
  display: inline-block;
    border: 1px solid black;

}

.logo a::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('../img/nat-logo-black.png');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.logo a:hover::after {
  opacity: 1;
}

.logo a:hover img {
  opacity: 0;
}

.logo a:hover {
  border: 1px solid white;
  background-color: white;
}

nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 30px;
  align-items: center;
}
nav a {
  color: #ffffff;
  text-decoration: none;
  margin: 0 10px;
  padding-bottom: 5px;
  border-bottom: 2px solid transparent;
  transition: border-bottom-color 0.2s ease, font-style 0.2s ease;
}

nav a:hover {
  font-style: italic;
}

nav a.active {
  border-bottom-color: #777777;
}

/* Mobile screens - reduce nav gap */
@media (max-width: 767px) {
  nav ul {
    gap: 10px;
  }
}

/* Content section - used for main content containers and sections */
.content-section {
  padding: 60px 20px;
  max-width: 1200px;
  margin: 0 auto;
}

/* Content layout - flex container for text/image layouts */
.content-layout {
  display: flex;
  flex-direction: column;
  gap: 40px;
  align-items: center;
}

.content-text h1,
.content-text h2 {
  margin: 0 0 20px 0;
  color: #ffffff;
}

.content-text h2 {
  font-size: 2.5rem;
}

.content-text p {
  font-size: 1.1rem;
  line-height: 1.6;
  color: #cccccc;
  margin: 1.2rem 0;
}

.content-text ul {
  list-style-type: square;
  margin: 0;
  padding-left: 1.5rem;
}

.content-text li {
  margin: 1.2rem 0;
}

.content-text a {
  color: #87CEEB;
}

.content-image img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
}

.content-image iframe {
  max-width: 100%;
  height: auto;
  aspect-ratio: 16/9;
  border-radius: 8px;
}

/* Medium and large screens - 2 columns */
@media (min-width: 768px) {
  .content-layout {
    flex-direction: row;
    align-items: center;
    text-align: left;
  }

  .content-text {
    flex: 1;
    padding-right: 40px;
  }

  .content-image {
    flex: 1;
  }
}

.intro {
  padding: 40px 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.intro h1 {
  font-size: 3.5rem;
  margin: 0 0 20px 0;
  color: #ffffff;
}

.intro p {
  font-size: 1.1rem;
  line-height: 1.6;
  color: #cccccc;
  margin: 1.2rem 0;
}

/* Medium screens - 80% width */
@media (min-width: 768px) and (max-width: 1199px) {
  .intro {
    width: 80%;
  }
}

/* Large screens - 60% width */
@media (min-width: 1200px) {
  .intro {
    width: 60%;
  }
}

.poster-images {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.poster-image {
  flex: 1;
  max-width: 300px;
}

.poster-image img {
  width: 100%;
  height: auto;
  border-radius: 8px;
}

.poster-image figcaption {
  text-align: center;
  margin-top: 10px;
  color: #cccccc;
  font-size: 1rem;
}

footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 20px;
  background-color: #111111;
  border-top: 1px solid #333333;
}
footer > a {
  color: #ffffff;
  text-decoration: none;
  margin: 0 10px;
}

footer > a img {
  height: 1.5rem;
  width: auto;
}
footer.links {
  font-size: 14px;
  background-color: #111111;
  border-top: 1px solid #333333;
  color: #ffffff;
}
#footer.copyright {
  float: right;
  font-size: 14px;
  background-color: #111111;
  border-top: 1px solid #333333;
}

@keyframes splashAnimation {
  0% {
    opacity: 1;
  }
  99% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    visibility: hidden;
  }
}

@keyframes logoAnimation {
  0% {
    width: 400px;
    transform: translate(0, 0);
  }
  99% {
    width: 40px;
    transform: translate(calc(-50vw + 40px), calc(-50vh + 30px));
  }
  100% {
    width: 40px;
    transform: translate(calc(-50vw + 40px), calc(-50vh + 30px));
    opacity: 0;
  }
}

@keyframes logoAnimationMobile {
  0% {
    width: 80vw;
    max-width: 300px;
    transform: translate(0, 0);
  }
  99% {
    width: 40px;
    transform: translate(calc(-50vw + 40px), calc(-50vh + 30px));
    opacity: 1;
  }
  100% {
    width: 40px;
    transform: translate(calc(-50vw + 40px), calc(-50vh + 30px));
    opacity: 0;
  }
}

/* Mobile screens - use responsive logo size that fits screen */
@media (max-width: 767px) {
  #splash img {
    width: 80vw;
    max-width: 300px;
    animation: logoAnimationMobile 3s ease-in-out forwards;
  }
}