body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
  background-color: #232638;
  display: flex;
  align-items: center;
  text-align: center;
  flex-direction: column;
}

.inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;

  margin: 30px auto;
  width: 1000px;
  padding-bottom: 30px;
  color: white;
}

.inner h1 {
  font-size: 5vh;
  margin-top: 0;
  margin-bottom: 0;
  text-shadow: 0 0 30px rgba(255, 255, 255, 0.315);
}

.inner p {
  font-size: 1.9vh;
  margin: 10px 0;
}

.inner a {
  color: rgb(163, 137, 255);
  text-decoration: none;
}

.inner a:hover {
  text-shadow: 0 0 10px rgb(163, 137, 255);
  transition: 0.3s ease-in-out;
}

.inner span {
  background: -webkit-linear-gradient(0deg, #a389ff 0%, #5525ff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 0 30px #a389ff56;
}

select {
  font-size: 16px;
  padding: 10px 15px;
  border-radius: 10px;
  border: 1px solid #6a40ff;
  background-color: #292e49;
  color: white;
}

.icon {
  display: inline-block;
  width: 16px;
  height: 16px;
}

#enchants {
  margin: 2vh 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
}

#enchants table {
  border-spacing: 0px;
  padding: 0.5em;
  background-color: #292e49;
  color: white;
  border-radius: 20px;
}

#enchants td {
  padding: 0.3em;
}

#enchants td i {
  font-size: 12px;
}

#enchants button {
  background-color: rgb(163, 137, 255);
  padding: 12px;
  vertical-align: top;
  box-shadow: 0px 0px 10px rgba(163, 137, 255, 0.363);
  margin: 2px 0px 2px 0px;
  border: none;
  border-radius: 10px;
  color: white;
}

#enchants button.on {
  box-shadow: 0px 0px 20px rgba(163, 137, 255, 0.363);
  margin: 4px 0px 0px 0px;
  color: rgb(255, 255, 255);
  background-color: rgb(133, 99, 255);
}

#calculate {
  padding: 8px;
  font-size: 120%;
  border-radius: 10px;
}

#left {
  width: 400px;
  float: left;
  margin-right: 50px;
}

#right {
  width: 550px;
  float: left;
}

#progress {
  margin-top: 20px;
  line-height: 20px;
  background-color: #292e49;
  padding: 20px;
  border-radius: 10px;
}

#progress img {
  vertical-align: middle;
}

#error {
  margin-top: 40px;
  line-height: 20px;
  background-color: #292e49;
  padding: 20px;
  color: black;
  border-radius: 10px;
  border: 2px solid #ff7575;
}

#error span {
  background: -webkit-linear-gradient(0deg, #ff8989 0%, #ff3c3c 50%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 0 30px #ff898956;
}

#solution {
  background-color: #292e49;
  padding: 20px;
  margin-top: 20px;
  border-radius: 10px;
}

#solution h2 {
  margin-block-start: 0;
  text-shadow: 0 0 20px rgba(255, 255, 255, 0.288);
}

#steps li {
  margin-bottom: 0.75em;
}

@media only screen and (max-width: 1000px) {
  body {
    padding: 10px;
  }

  .inner {
    width: auto;
    max-width: 100%;
    margin-top: 0;
  }

  h1 {
    font-size: 24px;
  }

  #left {
    width: auto;
    float: none;
    margin-right: 0;
  }

  #right {
    width: auto;
    float: none;
  }
  #enchants {
    width: auto;
  }

  #overrides {
    margin-right: 20px;
  }  
}
