/* Common styles for all screen sizes */
body {
  color: white;
  font-family: 'Gabarito', sans-serif;
  text-shadow: 0px 0px 5px black;
  background-color: #01002f;
  margin: 0;
  padding: 0;
  font-family: Arial, sans-serif;
}

.preloader {
  position: fixed;
  width: 100%;
  height: 100%;
  background-color: #01002f;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  transition: opacity 0.5s;
}

.loader {
  border: 8px solid #f3f3f3;
  border-top: 8px solid #3498db;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  animation: spin 2s linear infinite;
}

.content {
  display: none;
}

.MainBox {
  background-image: url(https://i.ibb.co/NSwMPtP/32-327306-32-9-wallpaper-4k.jpg);
  background-repeat: no-repeat;
  background-size: cover;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 10px;
  width: 100%;
}

.container {
  padding: 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.MainHeading {
  text-decoration: double;
}

.InputBox {
  background-color: transparent;
  outline: none;
  border: none;
  box-shadow: 0px 0px 10px black;
  padding: 10px;
  border-radius: 10px;
  color: #53caf9;
  font-family: 'Gabarito', sans-serif;
  width: 100%;
}

.InputBox::placeholder {
  color: rgb(95, 121, 150);
}

.DetailBox {
  padding: 10px;
  display: flex;
  justify-content: center;
  width: 100%;
}

.Register {
  padding: 5px 10px;
  background-color: transparent;
  border: none;
  border-radius: 10px;
  color: white;
  transition: 1s;
  font-family: 'Gabarito', sans-serif;
}

.material-symbols-outlined {
  font-size: 15px;
}

/* Hover styles */
.Register:hover {
  background-color: #53caf9;
  color: #01002f;
  box-shadow: 0px 0px 10px black;
}

/* For smaller screens, adjust the layout */
@media (max-width: 768px) {
  .MainBox {
    height: auto;
  }

  .container {
    padding: 10px;
  }
}

/* For even smaller screens, further adjust the layout */
@media (max-width: 480px) {
  .MainBox {
    padding: 5px;
  }

  .DetailBox, .InputBox {
    padding: 5px;
  }

  .Register {
    padding: 3px 8px;
  }
}
