body {
  width: 100%;
  height: 100vh;
  background: #212023;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

* {
  box-sizing: border-box;
  padding: 0;
  margin: 0;
  outline: none;
  border: none;
  font-family: 'Nunito', sans-serif;
  text-decoration: none;
}

*::-webkit-scrollbar {
  width: 16px;
}

*::-webkit-scrollbar-track {
  background: #212023;
}

*::-webkit-scrollbar-thumb {
  background-color: #3d3d3d;
  border-radius: 20px;
  border: 4px solid #212023;
}

/* ids */

#buttons {
  display: none;
}

#loading_container {
  display: none;
}

/* container */

.container {
  padding: 20px 0px;
  overflow: hidden;
}

/* card */

.card {
  width: 400px;
  padding: 20px;
  background: #29282B;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  /* -webkit-box-shadow: -10px 10px 0px 6px #ff4545;
  -moz-box-shadow: -10px 10px 0px 6px #ff4545;
  box-shadow: -10px 10px 0px 0px #ff4545; */
  border-radius: 4px;
  animation: 1.4s from-top;
}

.card h2 {
  font-weight: 600;
  font-size: 18px;
  color: rgb(216, 216, 216);
}

.card p {
  font-weight: 600;
  font-size: 12px;
  margin-top: 5px;
  color: rgb(216, 216, 216);
}

.card #result {
  width: 100%;
  margin-top: 20px;
  transition: .3s;
  border-radius: 4px;
}

.card label {
  margin-top: 30px;
  width: 100%;
  padding: 9px;
  background: #212023;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  transition: .3s;
  border-radius: 4px;
}

.card label:hover {
  background: #1e1d1f;
}

.card label svg {
  stroke-width: 1.5;
  width: 30px;
  height: 30px;
  stroke: rgb(216, 216, 216);
}

.card .buttons {
  width: 100%;
  margin-top: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  column-gap: 10px;
}

.card .buttons a {
  flex: 1;
}

.card .buttons .download {
  padding: 10px;
  background: rgb(75, 204, 129);
  cursor: pointer;
  color: white;
  font-weight: 600;
  font-size: 11px;
  transition: .6s;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
}

.card .buttons .download:hover {
  flex: 1.1;
}

.card .buttons .cancel {
  padding: 8.4px;
  background: none;
  cursor: pointer;
  color: rgb(216, 216, 216);
  border: 1.8px solid rgb(216, 216, 216);
  font-weight: 600;
  font-size: 11px;
  transition: .6s;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
}

.card .buttons .cancel:hover {
  flex: 1.1;

}

/* github label */

.github_container {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 15px;
}

.github_container svg {
  padding: 3px;
  width: 35px;
  height: 35px;
  stroke: rgb(216, 216, 216);
  stroke-width: 1.7;
  border-radius: 4px;
  cursor: pointer;
  transition: .3s;
}

.github_container svg:hover {
  stroke: rgb(75, 204, 129);
}

/* loader animation */

.loader_container {
  width: 100%;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 30px 0px;
}

.loader:before, .loader:after {
  content: '';
  position: absolute;
  display: block;
  width: 0.5em;
  height: 0.5em;
  border-radius: 0.25em;
  transform: translate(-50%, -50%);
}
.loader:before {
  animation: before 2s infinite;
}
.loader:after {
  animation: after 2s infinite;
}

/* keyframes */

@keyframes from-top {
  0% {
    margin-top: -1000px;
  }
  100% {
    margin-top: 0px;
  }
}

@keyframes before {
  0% {
    width: 0.5em;
    box-shadow: 1em -0.5em rgba(225, 20, 98, 1), -1em 0.5em rgba(111, 202, 220, 1);
  }
  35% {
    width: 2.5em;
    box-shadow: 0 -0.5em rgba(225, 20, 98, 1), 0 0.5em rgba(111, 202, 220, 1);
  }
  70% {
    width: 0.5em;
    box-shadow: -1em -0.5em rgba(225, 20, 98, 1), 1em 0.5em rgba(111, 202, 220, 1);
  }
  100% {
    box-shadow: 1em -0.5em rgba(225, 20, 98, 1), -1em 0.5em rgba(111, 202, 220, 1);
  }
}

@keyframes after {
  0% {
    height: 0.5em;
    box-shadow: 0.5em 1em rgba(61, 184, 143, 1), -0.5em -1em rgba(233, 169, 32, 1);
  }
  35% {
    height: 2.5em;
    box-shadow: 0.5em 0 rgba(61, 184, 143, 1), -0.5em 0 rgba(233, 169, 32, 1);
  }
  70% {
    height: 0.5em;
    box-shadow: 0.5em -1em rgba(61, 184, 143, 1), -0.5em 1em rgba(233, 169, 32, 1);
  }
  100% {
    box-shadow: 0.5em 1em rgba(61, 184, 143, 1), -0.5em -1em rgba(233, 169, 32, 1);
  }
}

/* mobile first? HAHAHAHAHA. no. */

@media (max-width: 420px) {
  body {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    overflow: unset;
  }
  
  .container {
    width: 100%;
    overflow: unset;
  }
  
  .card {
    width: 100%;
  }
}