@import url('https://fonts.googleapis.com/css2?family=Ubuntu+Mono:wght@400;700&display=swap');

:root {
  --primary-color: #191919;
  --secondary-color: #1accfa;
  --tertiary-color: #eaeaea;
  --quaternary-color: #007896;
}

body {
  margin-top: 0;
  margin-bottom: 3rem;
  font-family: 'Ubuntu Mono', monospace;
  background-color: var(--primary-color);
  color: var(--secondary-color);
}

#banner {
  margin: auto;
  width: 60vw;
  text-align: center;
  height: 100vh;
}

#heading {
  padding-top: 2vh;
  padding-bottom: 2vh;
  font-size: 3rem;
  font-weight: 700;
}

#hero-img {
  max-width: 60vh;
  max-width: 60vw;
  display: block;
  margin-left: auto;
  margin-right: auto;
  /* margin-top: 10vh; */
  margin-bottom: 11vh;
}

#main-link {
  display: block;
  max-width: 50%;
  margin-left: auto;
  margin-right: auto;
  box-sizing: border;
  text-decoration: none;
  background-color: var(--secondary-color);
  color: white;
  border: none;
  border-radius: 1rem;
  padding: 1rem;
  font-size: 2rem;
  font-weight: 550;
  cursor: pointer;
}

.form-style {
  display: flex;
  flex-direction: column;
}

.label-style {
  font-size: 1.5rem;
  font-weight: 700;
  padding-top: 1rem;
  padding-bottom: 1rem;
  text-align: center;
}

.input-style {
  display: block;
  margin: auto;
  width: 55%;
  line-height: 28px;
  padding: 0.5rem;
  background-color: var(--tertiary-color);
  border: 2px solid transparent;
  border-radius: 5px;
  outline: none;
  font-size: 1rem;
  font-weight: 700;
  color: var(--quaternary-color);
  text-align: start;
  cursor: pointer;
  box-shadow: 5px 5px 20px rgb(49, 49, 49);
}

::placeholder {
  font-family: 'Ubuntu Mono', monospace;
  font-size: 0.85rem;
  color: var(--quaternary-color);
}

.check-style {
  background-color: var(--secondary-color);
  color: white;
  border: none;
  border-radius: 1rem;
  margin-top: 2rem;
  padding: 1rem;
  font-family: inherit;
  font-size: 1.5rem;
  font-weight: 700;
  width: 30%;
  align-self: center;
  cursor: pointer;
  max-width: 50%;
}

#result {
  margin-top: 5vh;
  max-width: 58vw;
  border: 1px solid var(--tertiary-color);
  margin-left: auto;
  margin-right: auto;
  border-radius: 0.5rem;
}

.result-style {
  box-sizing: border-box;
  border-radius: 0.5rem;
  font-size: 1.5rem;
  font-weight: 700;
  text-align: center;
  color: var(--tertiary-color);
  padding: 1rem;
  background-color: var(--quaternary-color);
  max-width: 50vw;
  margin-left: auto;
  margin-right: auto;
}

.emoji {
  color: #fff;
  font-size: 30px;
  font-family: inherit;
  text-shadow: 0 0 5px var(--primary-color);
}

@-webkit-keyframes emojis-fall {
  0% {
    top: -10%;
  }
  100% {
    top: 100%;
  }
}

@-webkit-keyframes emojis-shake {
  0% {
    -webkit-transform: translateX(0px);
    transform: translateX(0px);
  }
  50% {
    -webkit-transform: translateX(20px);
    transform: translateX(20px);
  }
  100% {
    -webkit-transform: translateX(0px);
    transform: translateX(0px);
  }
}

@keyframes emojis-fall {
  0% {
    top: 10%;
  }
  100% {
    top: 100%;
  }
}

@keyframes emojis-shake {
  0% {
    transform: translateX(0px);
  }
  25% {
    transform: translateX(15px);
  }
  50% {
    transform: translateX(-15px);
  }
  100% {
    transform: translateX(0px);
  }
}

.emoji {
  position: fixed;
  top: -10%;
  z-index: 999;
  -webkit-user-select: none;
  -moz-user-select: none;
  -moz-user-select: none;
  user-select: none;
  cursor: default;
  -webkit-animation-name: emojis-fall, emojis-shake;
  -webkit-animation-duration: 5s 3s;
  -webkit-animation-timing-function: linear, ease-in-out;
  -webkit-animation-iteration-count: infinite, infinite;
  -webkit-animation-play-state: running, running;
  animation-name: emojis-fall, emojis-shake;
  animation-duration: 5s, 3s;
  animation-timing-function: linear, ease-in-out;
  animation-iteration-count: infinite, infinite;
  animation-play-state: running, running;
}

.emoji:nth-of-type(0) {
  left: 1%;
  -webkit-animation-delay: 0s, 0s;
  animation-delay: 0s, 0s;
}
.emoji:nth-of-type(1) {
  left: 10%;
  -webkit-animation-delay: 1s, 1s;
  animation-delay: 1s, 1s;
}
.emoji:nth-of-type(2) {
  left: 20%;
  -webkit-animation-delay: 6s, 0.5s;
  animation-delay: 6s, 0.5s;
}
.emoji:nth-of-type(3) {
  left: 30%;
  -webkit-animation-delay: 4s, 2s;
  animation-delay: 4s, 2s;
}
.emoji:nth-of-type(4) {
  left: 40%;
  -webkit-animation-delay: 2s, 2s;
  animation-delay: 2s, 2s;
}
.emoji:nth-of-type(5) {
  left: 50%;
  -webkit-animation-delay: 8s, 3s;
  animation-delay: 8s, 3s;
}
.emoji:nth-of-type(6) {
  left: 60%;
  -webkit-animation-delay: 6s, 2s;
  animation-delay: 6s, 2s;
}
.emoji:nth-of-type(7) {
  left: 70%;
  -webkit-animation-delay: 2.5s, 1s;
  animation-delay: 2.5s, 1s;
}
.emoji:nth-of-type(8) {
  left: 80%;
  -webkit-animation-delay: 1s, 0s;
  animation-delay: 1s, 0s;
}
.emoji:nth-of-type(9) {
  left: 90%;
  -webkit-animation-delay: 3s, 1.5s;
  animation-delay: 3s, 1.5s;
}

.footer,
i {
  color: var(--tertiary-color);
  text-align: center;
  font-size: 2.8rem;
  margin-top: 5vh;
  margin-right: 0.6vw;
  margin-left: 0.6vw;
}

.github-repo {
    margin-top: 0;
    padding: 0;
    text-align: center;
}

.github-repo-link {
  color: var(--tertiary-color);
    text-decoration: none;
}

.redirect {
    font-size: 1rem;
}
