* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-family: 'Helvetica Neue', sans-serif;
  -ms-scroll-snap-type: mandatory;
      scroll-snap-type: mandatory;
  -ms-scroll-snap-points-y: repeat(100vh);
      scroll-snap-points-y: repeat(100vh);
  -ms-scroll-snap-type: y mandatory;
      scroll-snap-type: y mandatory;
}

body {
  overflow-x: hidden;
  background-color: #003594;
}

section {
  background-color: #003594;
  padding: 1rem;
  height: 100vh;
  scroll-snap-align: start;
  text-align: left;
  position: relative;
}

.intro {
  background-color: #003594;
}

.logo {
  display: block;
  margin: 1rem auto;
  max-width: 150px;
  width: 20vw;
  z-index: 1; /* Add this line to set the z-index of the logo */
  position: relative; /* Add this line to make the z-index take effect */
}

h1, h2, h3 {
  font-weight: bold;
  color: white;
  font-size: calc(1rem + 3vw);
}

h1 {
  position: absolute;
  top: 40%;
  text-align: left;
  width: 90%;
}

h2 {
  font-weight: normal;
  font-size: calc(1rem + 1vw);
  margin-top: 40vh;
}

h3 {
  color: white;
  margin-top: 10vh;
}

.scroll-indicator {
  position: absolute;
  bottom: 10rem;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  color: white;
  animation: fadeIn 1s ease-in-out forwards;
  animation-delay: 0.5s;
}

.arrow-down {
  display: block;
  margin: 0.5rem auto;
  font-size: 1rem;
  animation: fadeIn 1s ease-in-out forwards;
  animation-delay: 0.5s;
}

p {
  color: white;
  font-size: calc(1rem + 1vw);
  text-align: left;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 90%;
}

.button {
  display: inline-block;
  background-color: #FFB81C;
  color: white;
  text-decoration: none;
  padding: 0.75rem 1.5rem;
  font-size: 1.1rem;
  border-radius: 4px;
  position: absolute;
  bottom: 10rem;
  left: 50%;
  transform: translateX(-50%);
}

.button:hover {
  background-color: #e6a517;
  cursor: pointer;
}

.pattern {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 33.33%;
  background-image: url("https://cdn.tjh.app/circuit_board_pattern.svg");
  background-size: cover;
  opacity: 0.3;
  background-size: 250%;
  z-index: 0;
}

.intro-pattern {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("https://cdn.tjh.app/circuit_board_pattern.svg");
  background-size: 250%; /* Zoom in the background image */
  background-repeat: repeat;
  opacity: 0.3; /* Set the opacity to a low value */
  z-index: 0;
}

@keyframes fadeIn {
  100% {
    opacity: 1;
  }
}

.intro h1, .intro h2 {
  opacity: 0;
  animation: fadeIn 1s ease-in-out forwards;
  animation-delay: 0.5s;
}

.content h3, .content p, .content .button {
  opacity: 0;
  animation: fadeIn 1s ease-in-out forwards;
  animation-delay: 0.5s;
}

section.content:last-child {
  min-height: 100vh;
  height: auto;
  max-height: -webkit-fill-available; /* for iOS support */
}