#frontPage {
  position: relative;
  width: 100%;
  height: 75vh;
  overflow: hidden;
}

#frontPage .video-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

#frontPage .background-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  margin: 0;
}

#frontPage .video-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(128, 0, 128, 0.7);
  z-index: 1;
}

#frontPage .content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  color: white;
  z-index: 2;
  max-width: 360px;
  width: 100%;
}

#frontPage .content h1 {
  font-size: 36px;
  line-height: 1.2em;
}

#frontPage .button-container {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 1rem;
  flex-direction: column;
}

#frontPage .button-container .home-hero-job {
  background-color: #fff;
  color: #6A26C8;
}

#frontPage .button-container .home-hero-teaching {
  background-color: #2AA5DB;
  color: #fff;
}

#frontPage .button-container .home-hero-paid {
  background-color: #B9008F;
  color: #fff;
}

#frontPage .button-container .btn {
  padding: 10px 20px;
  text-decoration: none;
  border-radius: 5px;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

#frontPage .button-container .btn:hover {
  background-color: #3700b3;
}

#frontPage .button-container .btn.special {
  background-color: #03dac6;
}

#frontPage .button-container .btn.special:hover {
  background-color: #018786;
}


@media (min-width: 768px) {
  #frontPage {
    height: 85vh;
  }

  #frontPage .background-video {
    height: 100%;
    width: 100%;
  }

  #frontPage .content h1 {
    color: #FFFFFF;
    font-family: "Roboto", Sans-serif;
    font-size: 75px;
    font-weight: 600;
    text-shadow: 0px 0px 17px rgba(0, 0, 0, 0.99);
    width: 100%;
    margin-bottom: 60px;
  }

  #frontPage .button-container {
    gap: 20px;
    flex-direction: row;
  }

  #frontPage .content {
    max-width: 1100px;
    padding: 0 35px;
  }
}
