* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
body {
  background-color: #2d042d;
}
.container {
  height: 90vh;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}
.container h1 {
  font-size: 2rem;
  text-transform: uppercase;
  font-weight: 300;
  font-family: Arial, Helvetica, sans-serif;
  padding: 1rem;
  letter-spacing: 0.2rem;
  color: white;
}
.inputbox {
  position: relative;
  width: 20rem;
  text-align: center;
  margin: 1rem 0;
}
.inputbox input {
  width: 20rem;
  font-size: 1.2rem;
  padding: 0.5rem;
  outline: none;
  border: none;
  border: 0.15rem solid white;
  border-radius: 0.2rem;
}
#warning {
  position: absolute;
  height: 25px;
  width: 25px;
  right: 0.2rem;
  top: 0.6rem;
  display: none;
}
#btn1,
#btn2 {
  width: 20rem;
  text-align: center;
  padding: 0.5rem;
  background-color: white;
  color: rgb(45, 4, 45);
  font-family: Arial, Helvetica, sans-serif;
  font-weight: 400;
  outline: none;
  border: none;
  font-size: 1.2rem;
  text-transform: uppercase;
  letter-spacing: 0.2rem;
  border-radius: 0.2rem;
  transition: 0.4s ease-in-out;
  cursor: pointer;
}
#btn1 {
  margin: 1rem 0 0.5rem 0;
}
#btn2 {
  margin: 0.5rem 0 1rem 0;
}
#btn1:hover,
#btn2:hover {
  background-color: rgb(92, 3, 92);
  color: white;
}
.outputbox {
  height: auto;
  padding: 1rem 0;
  width: 20rem;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}
.outputbox .box {
  height: auto;
  width: 100%;
  margin: 0.2rem auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: white;
}
.box p,
.box input {
  font-size: 1.2rem;
  font-family: Arial, Helvetica, sans-serif;
  font-weight: 400;
}
footer {
  position: absolute;
  height: 10vh;
  width: 100%;
  bottom: 0;
  text-align: center;
  font-family: Arial, Helvetica, sans-serif;
  font-weight: 300;
  background-color: rgb(45, 4, 45);
  color: #b413b4;
}
footer p {
  line-height: 10vh;
}
#Armstrong_check,
#Palindrome_check,
#Prime_check,
#Spy_check,
#Special_check {
  display: none;
}
.chk {
  width: 27.5px;
  height: 27px;
  text-align: center;
  color: #02c50c;
}

@media only screen and (max-width: 476px) {
  .container h1 {
    font-size: 1.5rem;
  }
  .inputbox,
  .inputbox input,
  .outputbox,
  #btn1,
  #btn2 {
    width: 18rem;
  }
}

.mode {
  position: absolute;
  top: 1rem;
  right: 2rem;
  height: 2rem;
  width: 6rem;
  background-color: rgb(180, 19, 180);
  display: flex;
  justify-content: space-evenly;
  align-items: center;
}
.light-btn,
.dark-btn {
  height: 1.5rem;
  line-height: 2rem;
  width: 2.5rem;
  background-color: rgb(45, 4, 45);
  margin: 0rem 0.2rem;
  cursor: pointer;
  color: white;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 1.3rem;
}
