
body {
  position: relative;
  margin: 0;
  padding: 0;
  font-family: "Helvetica Neue", sans-serif;
  text-align: center;
  color: white;
}

.titan-background {
  position: absolute;
  width: 100%;
  background-image: linear-gradient(-180deg, #000000 0%, #083d51 100%);
  overflow: hidden;
  z-index: 1;
  /* Make the rubber band scroll not show empty white space */
  top: -10%;
  height: 120%;
  min-height: 120vh;
  margin-bottom: -20%;
}

.stars {
  position: absolute;
  top: 0;
  width: 300vw;
  height: 100vh;
  transform: translate(0%, 0%);
  background-size: contain;
  background-repeat: repeat;
  transform-origin: top left;
}

.stars-L {
  background-image: url("assets/stars-L.svg");
  background-size: 890px;
  height: 750px;
  animation: panning-stars 100s linear infinite alternate;
}

.stars-M {
  background-image: url("assets/stars-M.svg");
  height: 830px;
  animation: panning-stars 200s linear infinite alternate;
}

.stars-S {
  background-image: url("assets/stars-S.svg");
  height: 370px;
  animation: panning-stars 400s linear infinite alternate;
}
.stars-XXL {
  background-image: url("assets/stars-L.svg");
  background-size: 1390px;
  height: 1750px;
  left: 0;
  animation: panning-stars 100s linear infinite alternate;
}

.stars-XL {
  background-image: url("assets/stars-L.svg");
  height: 1830px;
  animation: panning-stars 200s linear infinite alternate;
}

.stars-XS {
  background-image: url("assets/stars-S.svg");
  height: 1370px;
  animation: panning-stars 400s linear infinite alternate;
}

@keyframes panning-stars {
  from {
    transform: translate(0%, 0%);
  }
  to {
    transform: translate(0%, 140%);
  }
}

.container {
  position: relative;
  z-index: 2;
  padding: 56px 0 36px 0;
  width: 100%;
  max-width: 1200px;
  min-width: 400px;
  margin: auto;
}

h1 {
  display: block;
  font-size: 50px;
  margin: 0 0 34px 0;
  text-wrap: pretty;
}

@media (max-width: 500px) {
  h1 {
    font-size: 16vw;
  }
}

h2 {
  font-weight: 500;
  font-size: 44px;
  margin-bottom: 10px;
  text-wrap: pretty;
}

a {
  color: #83BEC7;
  text-decoration: none;

  &:hover {
    color: #58949d;
  }
}


.generate-button {
  width: 300px;
  height:  135px;
  display: block;
  position: relative;
  margin: 0;
  cursor: pointer;

  &:disabled {
    filter: grayscale(100%);
  }

  &:hover {
    transform: translateY(5px);
  }
}

.image-container {
  display: flex;
  margin: 20px auto;
  justify-content: center;
  gap: 20px;
  max-width: 800px;
}

.number-container {
  width: 100%;
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  margin:  0;
}

.number {
  display: block;
  font-size: 8vmin;
  animation: countUp 1s ease-in-out;
}

.banner {
  width: 100vw;
  position: relative;
  z-index: 99;
  object-fit: cover;
  aspect-ratio: 10/2;
}

img {
  width: 100%;
  height: auto;
}

@keyframes countUp {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.footer {
  margin-top: 50px;
  line-height: 1.5;
  border: 5px solid #083d51;
  padding: 10px 40px;
  font-size: 20px;
  display: flex;
  gap: 40px;
  font-weight: bold;
  justify-content: center;
}