body {
  background: linear-gradient(to right, #1A237E, #0D47A1, #1A237E);
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
  margin: 0;
  font-family: ui-sans-serif,system-ui,sans-serif,apple color emoji,segoe ui emoji,segoe ui symbol,noto color emoji;
  font-weight: 300;
}

#generator {
  background: white;
  max-width: 25em;
  animation: fadeIn 1s ease-in-out;
  backface-visibility: hidden;
  transition: all 0.5s;
  box-shadow: 0 4px 30px rgba(0,0,0,.5);
}

@keyframes fadeIn {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}
#title {
  color: #ffffff;
  font-size: 1.0em;
  padding: 1em;
  background: #0D47A1;
}

#rNum {
  padding: 0.8em;
  font-size: 3em;
  margin: 0;
  color: #212121;
  transition: padding 0.2s;
}

#inputs, #headers {
  display: flex;
  align-content: center;
  flex-flow: row wrap;
  justify-content: space-around;
  color: #212121;
}
#inputs input, #headers input {
  border: 0;
  font-size: 1.1em;
  width: 20%;
  border-bottom: 5px solid #0D47A1;
  margin-bottom: 2em;
  background: #f0f0f0;
  padding: 0.4em;
  border-radius: 0;
  transition: margin 0.2s;
}
#inputs p, #headers p {
  font-size: 1em;
  color: #212121;
  font-weight: 400;
}
#inputs #generate, #headers #generate {
  width: 100%;
  padding: 1em 0;
  color: #ffffff;
  font-size: 1.2em;
  margin: 0;
  display: block;
  background: #1A237E;
  cursor: pointer;
  transition: background 0.3s;
  width: 100%;
}
#inputs #generate:hover, #headers #generate:hover {
  background: #0D47A1;
}

@media screen and (max-height: 30em) {
  #generator #rNum {
    padding: 0;
    padding-top: 0.1em;
  }

  #inputs input {
    margin-bottom: 1em;
  }
}

#glass-container {
  position: relative;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: 24px;
  padding: 5em 1.8em;
  width: 260px;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
}

#logo {
  position: absolute;
  top: 3%;
  left: 3%;
  width: 30px;
  height: 30px;
}

#glass-container h1 {
  margin: 0 0 1em;
  color: #fff;
  font-size: 2em;
  font-weight: 500;
  margin-top: 8%;
}

#generated-number {
  font-size: 2.5em;
  color: #fff;
  margin: 0 0 1em;
}

#range-inputs {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 2em;
}

#range-inputs input {
  margin-bottom: 1em;
  padding: 0.5em;
  border: none;
  border-radius: 5px;
  background: rgba(255, 255, 255, 0.3);
  color: #fff;
  min-width: 80px;
}

#range-inputs button {
  padding: 0.6em 1em;
  border: none;
  color: #fff;
  border-radius: 1em;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  cursor: pointer;
  font-size: 1em;
  margin-top: 1.5em;
}

#range-inputs button:hover {
  background: rgba(255, 255, 255, 0.35);
  transition: background 0.3s ease;
}

footer {
  position: fixed;
  bottom: 0;
  width: 100%;
  color: #ffffffa3;
  padding: 0.5em 0;
  font-size: 0.9em;
}
