body {
  margin: 0;
  font-family: sans-serif;
  overflow-x: hidden;
  background-color: #F0F2F3;
}

.header-background {
  height: 15vh;
  background: linear-gradient(to bottom, #FB9600 0%, #F0F2F3 100%);
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.logo-container {
  text-align: center;
  position: absolute;
  top: 20px;
  left: 0;
  width: 100%;
}

.logo-container img {
  max-width: 150px;
  height: auto;
}

.media-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0px 20px;
  max-width: 100vw;
  margin: 0 auto;
  margin-top:-0vw;
}

#scrollGif {
  max-width: 600px;
  width: 100%;
  height: auto;
  display: block;
  transition: opacity 0.5s ease-in-out;
}

.text-block {
  font-family: sans-serif;
  font-weight: bold;
  font-size: 5em;
  color: rgba(0, 0, 0, 0.16);
  text-align: center;
  text-transform: none;
  line-height: 1;
  margin-top: 2vw;
  user-select: none;
  white-space: normal;
  margin-top: -5vw;
}

.video-launcher {
  display: flex;
  justify-content: center;
  padding: 60px 20px;
}

#playButton {
  background: #FB9600;
  border: none;
  color: white;
  font-size: 3rem;
  padding: 20px 30px;
  border-radius: 100px;
  cursor: pointer;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
  transition: background 0.3s;
}

#playButton:hover {
  background: #e17d00;
}

#videoOverlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  backdrop-filter: blur(12px) brightness(0.5);
  background-color: rgba(0, 0, 0, 0.6);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s ease;
}

#videoOverlay.show {
  opacity: 1;
  visibility: visible;
}

.video-container {
  position: relative;
  max-width: 90vw;
  width: 800px;
}

.video-container video {
  width: 100%;
  border-radius: 16px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
}

#closeButton {
  position: absolute;
  top: -40px;
  right: -40px;
  background: #FB9600;
  border: none;
  color: white;
  font-size: 2rem;
  border-radius: 50%;
  width: 60px;
  height: 60px;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.3);
  transition: background 0.3s;
}

#closeButton:hover {
  background: #e17d00;
}

@media (max-width: 768px) {
  .text-block {
    font-size: 14vw;
  }

  .video-container {
    width: 95vw;
  }

  #closeButton {
    top: -30px;
    right: -30px;
    width: 50px;
    height: 50px;
    font-size: 1.5rem;
  }
}
