@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@200;300;400;500;600;700&display=swap");
* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
  font-family: "Poppins", sans-serif;
  border: none;
  outline: none;
}
:root {
  --dark: #1e1e1e;
  --theme: #006fff;
  --text: #e1ffff;
  --gradient: linear-gradient(
    90deg,
    rgba(0, 82, 156, 1) 0%,
    rgba(102, 178, 255, 1) 100%
  );
}
body {
  background: var(--dark);
  color: var(--text);
  display: grid;
  place-items: center;
  min-height: 100vh;
  position: relative;
}
.container {
  background-color: var(--theme);
  padding: 10px;
  border-radius: 5px;
  min-width: 90%;
}
.heading {
  padding: 10px;
}
.app-title {
  text-transform: uppercase;
  font-size: 2rem;
  font-weight: 500;
}
.dropdowns {
  padding: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}
input {
  text-align: center;
}
select {
  width: 100%;
  padding: 0.6em;
  font-size: 1em;
  border-radius: 0.2em;
  appearance: none;
  text-align: center;
  background: var(--dark);
  color: #ffffff;
  cursor: pointer;
}

button {
  display: block;
  margin: 20px auto;
  width: 150px;
  padding: 10px;
  border-radius: 5px;
  color: var(--text);
  background-color: var(--dark);
  transition: 0.3s;
  text-transform: uppercase;
  position: relative;
  overflow: hidden;
}
button:hover {
  scale: 1.1;
  letter-spacing: 1.5px;
}
button::before {
  position: absolute;
  top: 0;
  left: 0;
  content: "";
  width: 50%;
  height: 100%;
  background: linear-gradient(to left, #006eff21, transparent);
  transform: skewX(45deg) translateX(0);
  overflow: hidden;
  transition: 0.2s;
}
button:hover::before {
  transform: skewX(0deg) translateX(100%);
}
#result {
  padding: 10px;
}
::-webkit-scrollbar {
  width: 10px;
}
::-webkit-scrollbar-thumb {
  background-color: #0d6efd;
  border-radius: 10px;
}
.loading {
  display: none;
}
.loading.active {
  background-color: rgba(0, 0, 0, 0.887);
  position: absolute;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fade 0.6s linear 1;
}
@keyframes fade {
  100%,
  0% {
    opacity: 0;
  }
  50% {
    opacity: 1;
  }
}
