html, body {
  margin: 0;
  padding: 0;
  height: 100%;
  overflow: hidden;
}

.home {
  background-image: url(../img/1.jpg);
  background-image: image-set(
    url(../img/1.webp) type("image/webp"),
    url(../img/1.jpg) type("image/jpeg")
  );
  background-size: cover;
  background-position: center center;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: -1;
  user-select: none;
}

/* Mobile: smaller image */
@media (max-width: 768px) {
  .home {
    background-image: url(../img/1-mobile.jpg);
    background-image: image-set(
      url(../img/1-mobile.webp) type("image/webp"),
      url(../img/1-mobile.jpg) type("image/jpeg")
    );
  }
}

.home .main-container {
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.home .main-container .container {
  font-family: Helvetica, Arial, sans-serif;
  transform-style: preserve-3d;
  z-index: 9;
  max-width: 90vw;
}

.home .main-container .container h1 {
  color: #5db5ce;
  font-size: 4rem;
  margin: 0;
  text-shadow: 10px 10px 6px rgba(0, 0, 0, 0.425);
}

.home .main-container .container p {
  color: #4391a7;
  font-size: 1.2rem;
  position: relative;
  margin: 0;
  text-shadow: 8px 8px 6px rgba(0, 0, 0, 0.425);
  word-break: break-word;
}

@media (max-width: 768px) {
  .home .main-container .container h1 {
    font-size: 3rem;
  }
  .home .main-container .container p {
    font-size: 1rem;
  }
}

@media (max-width: 500px) {
  .home .main-container .container h1 {
    font-size: 2.2rem;
  }
  .home .main-container .container p {
    font-size: 0.9rem;
  }
}

@media (max-width: 360px) {
  .home .main-container .container h1 {
    font-size: 1.8rem;
  }
  .home .main-container .container p {
    font-size: 0.85rem;
  }
}

@media (max-height: 450px) and (orientation: landscape) {
  .home .main-container .container h1 {
    font-size: 2rem;
  }
  .home .main-container .container p {
    font-size: 0.85rem;
  }
}
