/* Improve readability of main homepage heading and subheading */
h1.display-5.fw-bold, .homepage-main-desc, .col-md-8.fs-4.homepage-main-desc {
  text-shadow: 0 2px 8px #000, 0 0 2px #222;
}
#instructions .accordion-body,
#instructions .accordion-header,
#instructions .accordion-button {
  background-color: rgba(20, 20, 20, 0.6) !important;
  color: white !important;
  text-shadow: 0 2px 8px #000, 0 0 2px #222;
}
* {
  margin: 0;
  padding: 0;
}

.webgl {
  background-image: linear-gradient(black, grey);
  position: fixed;
  top: 0;
  left: 0;
}

.section {
  display: flex;
  align-items: center;
  height: 100vh;
  position: relative;
  font-family: "Cabin", sans-serif;
  color: #ffeded;
  padding-left: 10%;
  padding-right: 10%;
  z-index: 1000 !important;
}
/* Made the steps 1 - 3 bold */
.accordion-button {
  font-weight: bold !important;
}

/* changed the dropdown icon color to white for better readibility and visibility */
.accordion-button::after {
  filter: invert(1) brightness(2);
}

.accordion-button:hover {
  background-color: lightgray;
  color: black;
}

section:nth-child(odd) {
  justify-content: flex-end;
}

html {
  background: #1e1a20;
}

body {
  margin: 0;
}

.footerbuttons {
  z-index: 1100 !important;
  position: relative;
}

.navbar {
  z-index: 1100 !important;
  position: sticky;
  top: 0;
}

.nav-link {
  font-size: larger;
}

.dataTables_filter input {
  color: white;
  background-color: white;
}

.dataTables_length select {
  color: white;
}

table,
thead,
tbody {
  color: white;
}

.instructions {
  color: white;
  background-color: transparent;
}

@media screen and (min-width: 601px) {
  a.btn.btn-outline-light.btn-lg {
    font-size: 1.8rem;
  }

  p {
    font-size: 1.4rem;
  }

  h1.display-5.fw-bold {
    font-size: 3.6rem;
  }

  h2.display-5.fw-bold {
    font-size: 2.8rem;
  }

  h4 {
    font-size: 2rem;
  }

  a.btn.btn-primary {
    background-color: grey;
    outline-color: grey;
    text-decoration: none;
    border-color: grey;
    padding: 0.5vw 1vw;
    padding-bottom: 0.5vw;
    text-align: center;
    font-size: 1.125rem;
  }

  .nav-link {
    font-size: larger;
  }

  /* About Page */
  .about-page p {
    font-size: 1.13rem;
  }

  .about-page h2 {
    font-size: 2.13rem;
  }

  .about-page h4 {
    font-size: 1.63rem;
  }
}

@media screen and (max-width: 600px) {
  a.btn.btn-outline-light.btn-lg {
    font-size: 0.66rem;
  }

  p {
    font-size: 0.78rem;
  }

  h1.display-5.fw-bold,
  h2.display-5.fw-bold {
    font-size: 1.5rem;
  }

  h4 {
    font-size: 4.6vw;
  }

  ul {
    padding-left: 0rem;
  }

  a.btn.btn-primary {
    background-color: grey;
    outline-color: grey;
    text-decoration: none;
    border-color: grey;
    padding: 0.5vw 1vw;
    padding-bottom: 0.5vw;
    text-align: center;
    font-size: 0.94rem;
  }

  /* About Page */
  .about-page p {
    font-size: 0.88rem;
  }

  .about-page h2,
  .admin-page h2 {
    font-size: 1.63rem;
  }

  .about-page h4,
  .admin-page h4 {
    font-size: 1.38rem;
  }

  .footer-text {
    font-size: 0.75rem;
  }

  .changePassword {
    width: 100%;
    font-size: 1rem;
  }

  #changePasswordBtn {
    font-size: 1.13rem;
    width: 170px;
  }
}

.btn.btn-primary {
  height: 50px;
  font-size: 1.38rem;
  background-color: black;
  border-color: rgb(255, 255, 255);
  border-width: 2px;
}

.btn.btn-primary:hover {
  background-color: white;
  color: black;
}

::placeholder {
  color: black;
}

/* Example CSS */
.nav-link {
  color: rgba(255, 255, 255, 0.5); /* Dimmed state */
  text-decoration: none;
}

.nav-link.active {
  color: #fff; /* "Popped" state */
  font-weight: bold;
}
