body {
  margin: 0;
  font-family: 'Montserrat', sans-serif;
  position: relative;
}

.header-background {
  height: 80vh;
  background-size: cover;
  background-position: center;
  position: relative;
  z-index: 1;
}

.remaining-background {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 20vh;
  background-color: black;
  z-index: 1;
}

.container {
  width: 78%;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 3;
}

.logo {
  width: 160px;
  height: auto;
  flex-shrink: 0;
  margin-left: 0;
}

.nav-link {
  color: #f6f6f6;
  font-family: 'Montserrat', sans-serif;
  font-size: 16px;
  font-style: normal;
  font-weight: 800;
  line-height: normal;
  letter-spacing: -0.32px;
  margin-right: 1.5vw;
}

.menu-button {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
}

.menu-icon {
  width: 30px;
  height: auto;
}

.text-box {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.5vh;
  width: 30vw;
  height: 35vh;
  padding: 3vh 3.5vw;
  border-radius: 0.5vh;
  background-color: #161616; 
  color: #f6f6f6;
  margin-bottom: 1vh;
  transform: translateY(-5vh);
}

.headline1 {
  color: #f6f6f6;
  font-family: 'Montserrat', sans-serif;
  font-size: 36px;
  font-style: normal;
  font-weight: 800;
  line-height: 44px;
  letter-spacing: -0.72px;
  margin: 0;
}

.headline2 {
  font-family: 'Montserrat', sans-serif;
  font-size: 36px;
  font-style: normal;
  font-weight: 800;
  line-height: 44px;
  letter-spacing: -0.72px;
  background: linear-gradient(104deg, #00FFC2 0%, #00C0FF 100%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  margin: 0;
}

.description-text {
  font-family: 'Montserrat', sans-serif;
  font-size: 22px;
  font-style: normal;
  font-weight: 600;
  line-height: 32px;
  color: #f6f6f6;
  margin-top: 2vh;
  max-width: 100%;
}

.text-highlight {
  background: linear-gradient(103deg, #00FFC2 15.48%, #00C0FF 39.9%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-family: 'Montserrat', sans-serif;
  font-size: 22px;
  font-style: normal;
  font-weight: 700;
  line-height: 25px;
  letter-spacing: -0.44px;
}

.email-signup-box {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1vh;
  width: 30vw;
  padding: 2vh 3.5vw;
  border-radius: 0.5vh;
  background-color: #292F38;
  color: #f6f6f6;
  box-shadow: 0px 0.5vh 1.5vh rgba(0, 0, 0, 0.25); 
  transform: translateY(-7vh);
}

.email-input {
  width: 284px;
  height: 48px;
  border-radius: 4px;
  border: 1px solid #667085;
  background-color: #161616;
  color: #ffffff;
  padding: 0.5vh 1vw;
}

.gradient-button {
  background: linear-gradient(90deg, #00ffc2 0%, #00c0ff 100%);
  color: white;
  padding: 1vh 2vw;
  border-radius: 0.4vh;
  border: none;
  cursor: pointer;
  transition: background 0.3s ease;
}

.header-gradient {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 200vh;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0) 80%);
  z-index: 2;
  pointer-events: none;
}

@media only screen and (max-width: 768px) {
  .header-container {
    background-size: 250%;
    background-position: center top;
    flex-direction: column;
    padding: 2vh 5vw;
  }

  .header-background {
    background-size: cover;
    background-position: center;
    height: 80vh;
    background-color: black;
  }

  .container {
    width: auto;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }

  .logo {
    width: 180px;
    height: auto;
    margin-top: 40px;
    margin-left: 45px;
  }

  .nav-link {
    display: none;
  }

  .menu-button {
    display: flex;
    align-items: center;
    margin-right: 40px;
    margin-top: 45px;
  }

  .menu-icon {
    display: block;
    width: 33px;
    height: auto;
  }

  .text-box, .email-signup-box {
    width: 80vw;
    margin-left: -7vw;
    margin-right: 0;
    text-align: left;
    transform: translateY(3vh);
  }

  .text-box {
    padding: 3vh 4vw;
    height: auto;
  }

  .email-signup-box {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    padding: 20px;
    background-color: #292F38;
    color: #f6f6f6;
    box-sizing: border-box;
    border-radius: 8px;
    height: auto;
    min-height: 210px;
    transform: translateY(1vh);
  }

  .email-input {
    width: 87.5%;
    height: 48px;
    padding: 12px;
    border-radius: 4px;
    border: 1px solid #667084;
    background-color: #161616;
    color: #f6f6f6;
    margin: 0;
    margin-bottom: 10px;
    box-sizing: border-box;
    position: absolute;
    top: 76px;
    left: 20px;
  }

  .gradient-button {
    width: 87.5%;
    height: 48px;
    padding: 12px;
    background: linear-gradient(90deg, #00ffc2 0%, #00c0ff 100%);
    color: #ffffff;
    text-align: center;
    cursor: pointer;
    border: none;
    border-radius: 16px;
    box-sizing: border-box;
    position: absolute;
    top: 140px;
    left: 13px;
  }

  .gradient-button:hover {
    background: linear-gradient(90deg, #00c0ff 0%, #00ffc2 100%);
  }
}
