/* General styles for body and html */
html, body {
  margin: 0;
  padding: 0;
  height: 100%;
  min-height: 100vh;
  background-color: rgb(202, 240, 174); /* Light green background */
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

/* Main container and other related elements */
.main-container, #banner-table, .other-container {
  background-color: rgb(202, 240, 174) !important;
}

/* Style for header and links */
h1:focus {
  outline: none;
}

a, .btn-link {
  color: #0071c1;
}

/* Button styles */
.btn-primary {
  color: red;
  background-color: green; /* #1b6ec2 */
  border-color: blue; /* #1861ac */
}

/* Custom styles */
.content {
  padding-top: 1.1rem;
}

/* Navbar and link styling */
.navbar-nav .nav-link {
  color: red;
  padding-right: 0;
  padding-left: 0;
}

/* Loading screen */
#loading {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background-color: #fff;
  z-index: 9999;
}

.spinner {
  border: 16px solid #f3f3f3; /* Light grey */
  border-top: 16px solid #3498db; /* Blue */
  border-radius: 50%;
  width: 120px;
  height: 120px;
  animation: spin 2s linear infinite;
}

@keyframes spin {
  100% {
    transform: rotate(360deg);
  }
}

.loading-message {
  margin-top: 20px;
  font-size: 1.2em;
  color: red;
}

/* Error UI styles */
#blazor-error-ui {
  background: lightyellow;
  bottom: 0;
  box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
  display: none;
  left: 0;
  padding: 0.6rem 1.25rem 0.7rem 1.25rem;
  position: fixed;
  width: 100%;
  z-index: 1000;
}

  #blazor-error-ui .dismiss {
    cursor: pointer;
    position: absolute;
    right: 0.75rem;
    top: 0.5rem;
  }

.blazor-error-boundary {
  background: url(data:image/svg+xml;base64,...); /* SVG as background */
  padding: 1rem 1rem 1rem 3.7rem;
  color: white;
}

  .blazor-error-boundary::after {
    content: "An error has occurred.";
  }

/* Table styling */
#table1 {
  font-family: Arial, Helvetica, sans-serif;
  border-collapse: collapse;
  width: 100%;
}

  #table1 td, #table1 th {
    border: 1px solid #ddd;
    padding: 8px;
  }

  #table1 tr:nth-child(even) {
    background-color: #f2f2f2;
  }

  #table1 tr:hover {
    background-color: #ddd;
  }

  #table1 th {
    padding-top: 12px;
    padding-bottom: 12px;
    text-align: left;
    background-color: #04AA6D;
    color: white;
  }

/* Miscellaneous styles */
.noWord {
  background: transparent;
  border: none;
  font-size: 0;
}

.myHover1:hover {
  background-color: cyan;
  border: none;
  font-size: 0;
}

.blankTop {
  color: transparent;
  background-color: transparent;
  border: none;
}

.notPicked {
  color: rgb(88, 129, 235);
  background-color: transparent;
  border: none;
}

  .notPicked:hover {
    background-color: cyan;
  }

.correctTop {
  background-color: yellow;
  color: black;
  border: none;
}

.correctTopComputer {
  background-color: palegoldenrod;
  color: black;
  border: none;
}

.correct {
  background-color: green;
  color: white;
  border: none;
}

.correctComputer {
  background-color: darkorange;
  color: black;
  border: none;
}

.elsewhere {
  background-color: olivedrab; /* #C8B446 */
  color: white;
  border: none;
}

.wrong {
  background-color: gray;
  color: white;
  border: none;
}

.myHover8 {
  background: transparent;
  border: none;
  font-size: 0;
}

.item {
  max-width: 33%;
  width: fit-content;
  padding: 5px;
  margin-bottom: 1em;
}

.marginRight10 {
  margin-right: 10px;
}

.inline-items p {
  display: inline;
}

.small-button {
  width: 20px;
  height: 10px;
  font-size: 6px;
  padding: 1px; /* Optional: adjust padding as needed */
  margin: 1px; /* Optional: adjust margin as needed */
}

.spacing-below {
  margin-bottom: 7rem; /* Adjust as needed for more or less space */
}
