:root {
  --bg: rgb(30, 31, 37);
  --font: "Inter", sans-serif;
  --color: rgba(255, 255, 255, 0.8);
  --color2: rgba(255, 255, 255, 0.75);
  --color3: rgba(255, 255, 255, 1);
  --accentColor: #c1fdc3;
  --accentColor2: #2bb080;
}

body {
  background-color: var(--bg);
  color: var(--color);
  font-family: var(--font);
}

.centeredText {
  text-align: center;
}

.title {
  position: absolute;
  top: 25vh;
  left: 17vw;
  transform: translateY(30%);
  opacity: 0;
  display: flex;
  animation: fadeUp 1s ease forwards;
  animation-delay: 250ms;
}

h1 {
  max-width: 350px;
  overflow-x: hidden;
  font-weight: 800;
}

.title p {
  max-width: 250px;
  font-weight: 600;
  color: var(--color2);
}

.title img {
  width: 250px;
  height: 250px;
  margin-left: 15vw;
}

footer {
  position: fixed;
  bottom: 1em;
  left: 1em;
  color: rgba(255, 255, 255, 0.25);
}

.footer {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translate(-50%, -50%);
}

button {
  background: linear-gradient(
    to bottom right,
    var(--accentColor),
    var(--accentColor2)
  );
  background-repeat: no-repeat;
  background-size: 2000%;
  outline: none;
  border: 2px solid
    linear-gradient(to bottom right, var(--accentColor), var(--accentColor2));
  margin: 0.5em;
  padding: 7px;
  padding-left: 25px;
  padding-right: 25px;
  border-radius: 10px;
  color: var(--color3);
  font-family: var(--font);
  transition: all 250ms ease;
  text-decoration: none;
  font-weight: 500;
}

button:disabled {
  background: var(--accentColor2);
  filter: brightness(70%);
}

button:disabled:hover {
  background-position: 0% 0%;
  box-shadow: none;
  cursor: not-allowed;
}

button:hover {
  background-position: 50% 50%;
  box-shadow: 0px 0px 13px -2px var(--accentColor2);
  cursor: pointer;
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(30%);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 768px) {
  .title {
    flex-direction: column;
  }
  .title {
    left: 2vw;
  }
  .title div {
    text-align: center;
  }
  .title p {
    max-width: 100%;
  }
  .title img {
    display: none;
  }
}
