/* Prevents horizontal scrolling and any overflow on the right */
html,
body {
  margin: 0;
  padding: 0;
}

/*--------------------*/
/* Font Declaration */
/*--------------------*/
@font-face {
  font-family: "ADLaM Display Regular";
  font-style: normal;
  font-weight: 400;
  /* src: local("ADLaM Display Regular"), url("../fonts/ADLaMDisplay-Regular.woff") format("woff"); */
  src: local("ADLaM Display Regular"), url("https://static.igem.wiki/teams/5218/image/static/images/adlamdisplay-regular.woff") format("woff");
}

/*--------------------*/
/* General Body Styling */
/*--------------------*/
body {
  font-family: "ADLaM Display Regular", sans-serif;
  margin: 0;
  padding: 0;
  line-height: 1.6;
  color: #fff;
  background-color: #000;
}

/*--------------------*/
/* Preloader full-screen container */
/*--------------------*/
#preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background-color: #000;
  /* Black background */
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  /* Highest z-index to cover everything */
  flex-direction: column;
  color: white;
  font-family: "ADLaM Display Regular";
}

/* Spinner for loading effect */
.spinner {
  width: 50px;
  height: 50px;
  border: 5px solid white;
  border-top: 5px solid #a8f900;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

/* Spinner animation */
@keyframes spin {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

/* Text below the spinner */
#preloader p {
  font-size: 1.2rem;
  color: white;
  /* Text color */
  margin: 0;
}

/*--------------------*/
/* Media Queries */
/*--------------------*/