* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: "Orbitron", sans-serif;
}
.darkMode {
  position: relative;
  min-height: 100vh;
  width: 100%;
  padding-top: 40px;
  background-color: rgba(15, 15, 15, 0.95);
  color: rgb(240, 240, 240);
}
.lightMode {
  position: relative;
  min-height: 100vh;
  width: 100%;
  padding-top: 40px;
  background-color: rgba(240, 240, 240, 0.95);
  color: rgb(15, 15, 15);
}
h1 {
  margin-top: 40px;
}
h1,
span {
  text-align: center;
}
#control {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  width: 250px;
  margin: 40px auto;
}
button {
  border: none;
  padding: 10px 16px;
  border-radius: 5px;
  background-color: rgb(240, 240, 240);
  color: rgb(15, 15, 15);
  transition: 0.2s ease-in-out;
  cursor: pointer;
}
.lightMode button {
  border: none;
  padding: 10px 16px;
  border-radius: 5px;
  background-color: rgb(15, 15, 15);
  color: rgb(240, 240, 240);
  transition: 0.2s ease-in-out;
  cursor: pointer;
}
button:hover {
  transform: scale(1.1);
}
button:active {
  transform: scale(0.8);
}
#boxContainer {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  max-width: 800px;
  margin: 20px auto;
}
#boxOne,
#boxTwo,
#boxThree,
#boxFour,
#boxFive,
#boxSix {
  height: 200px;
  width: 200px;
  border-radius: 10px;
  margin: 10px;
}
.fa-moon {
  position: absolute;
  top: 20px;
  right: 20px;
  font-size: 1.2rem;
  color: rgb(255, 255, 255);
  border-radius: 50%;
  transition: 0.2s ease-in-out;
  cursor: pointer;
}
.lightMode .fa-moon {
  position: absolute;
  top: 20px;
  right: 20px;
  font-size: 1.2rem;
  color: rgb(0, 0, 0);
  transition: 0.2s ease-in-out;
  cursor: pointer;
}

@media screen and (max-width: 600px) {
  #boxOne,
  #boxTwo,
  #boxThree,
  #boxFour,
  #boxFive,
  #boxSix {
    height: 100px;
    width: 100px;
  }
  .fa-moon {
    top: 10px;
    right: 10px;
  }
  .lightMode .fa-moon {
    top: 10px;
    right: 10px;
  }
}
@media screen and (max-width: 400px) {
  h1 {
    font-family: 10px;
  }
}
@media screen and (max-height: 580px) {
  #boxOne,
  #boxTwo,
  #boxThree,
  #boxFour,
  #boxFive,
  #boxSix {
    height: 100px;
    width: 100px;
  }
}
@media screen and (max-height: 375px) {
  #boxOne,
  #boxTwo,
  #boxThree,
  #boxFour,
  #boxFive,
  #boxSix {
    height: 70px;
    width: 70px;
  }
}
