:root {
  line-height: 1.5;
  font-weight: 400;
  color-scheme: dark;

  /* color-scheme: light dark;
  color: rgba(255, 255, 255, 0.87);
  background-color: #242424; */

  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;

  --red: #b62d38;
  --lgrn: #3e630f;
  --dgrn: #233906;
  --blue: #43c2d1;
  color: #ececec;
  --prim: "Roboto Slab", "Work Sans", sans-serif;
  --sec: "Monsterrat", sans-serif;
}

/* a {
  font-weight: 500;
  color: #646cff;
  text-decoration: inherit;
}
a:hover {
  color: #535bf2;
} */

body {
  margin: 0;
  display: flex;
  place-items: center;
  min-width: 320px;
  min-height: 100vh;
}

h1 {
  font-size: 3.2em;
  line-height: 1.1;
}

button {
  border-radius: 8px;
  border: 1px solid transparent;
  padding: 0.6em 1.2em;
  font-size: 1em;
  font-weight: 500;
  font-family: inherit;
  background-color: var(--lgrn);
  cursor: pointer;
  transition: border-color 0.25s ease, background-color 0.25s ease;
}
button:hover {
  border-color: var(--lgrn);
  background-color: var(--blue);
}
button:focus,
button:focus-visible {
  outline: 4px auto -webkit-focus-ring-color;
}

/* @media (prefers-color-scheme: light) {
  :root {
    color: #213547;
    background-color: #ffffff;
  }
  a:hover {
    color: #747bff;
  }
  button {
    background-color: #f9f9f9;
  }
} */

.other-button {
  border-radius: 8px;
  border: 1px solid transparent;
  padding: 0.6em 1.2em;
  font-size: 0.7em;
  font-weight: 500;
  font-family: inherit;
  cursor: pointer;
  transition: border-color 0.25s;
  background-color: rgba(0, 0, 0, 0);
}

.sticky-bar {
  position: absolute;
  top: 0;
  left: 0;
  width: calc(100% - 5px);
  height: 5%;
  background-color: #127f18;
  border: 3px solid #004604;
  display: flex;
  justify-content: center;
  align-items: center;
}

ul {
  list-style-type: none;
  margin: 0;
  padding: 0;
  overflow: hidden;
}

li {
  float: left;
}

li .d-a, .dropbtn {
  display: inline-block;
  text-align: center;
  padding: 14px 16px;
  text-decoration: none;
}

li .d-a:hover, .dropdown:hover .dropbtn {
  background-color: #319fac;
}

li.dropdown {
  display: inline-block;
}

.dropdown-content {
  display: none;
  position: absolute;
  background-color: var(--dgrn);
  min-width: 160px;
  box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
  z-index: 1;
}

.dropdown-content a {
  color: white;
  padding: 12px 16px;
  text-decoration: none;
  display: block;
  text-align: left;
}

.dropdown-content a:hover {
  background-color: var(--lgrn);
}

.dropdown:hover .dropdown-content {
  display: block;
}

.sched {
  padding: 10px;
  border-radius: 5px;
  margin-top: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.sched-container {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
@media (min-width: 768px) {
  .sched-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
  }
}
.sched-bg-1 {
  background-color: #0e55a7;
}
.sched-bg-2 {
  background-color: #1d7c00;
}

.btn-box {
  display: flex;
  flex-direction: row;
  gap: 5px;
}

.search-off {
  display: none;
}
.search-on {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin-top: 10px;
}

.alert {
  position: fixed;
  margin-top: 20px;
  display: flex;
  flex-direction: column;
  pointer-events: none;
  padding: 15px;
  border-radius: 5px;
}
.alert.ok {
  background-color: #127f18;
  border-color: #004604;
}
.alert.warn {
  background-color: #ff9800;
  border-color: #ab6700;
}
.alert.err {
  background-color: #c90303;
  border-color: #750000;
}

.culver {
  width: 40vw;
  height: 40vh;
}
.culver-panel {
  background-color: #565656;
  border: #171717 8px solid;
  width: 20vw;
  height: 40vh;
}
/* The main container */
.tooltip {
  position: relative; /* Needed to position the tooltip text absolutely relative to its container */
  display: inline-block; /* Allows the container to wrap its content and receive hover events */
  cursor: help; /* Optional: changes cursor to indicate help is available */
}

/* The actual tooltip text */
.tooltip .tooltiptext {
  visibility: hidden; /* Hides the tooltip by default */
  width: 120px;
  background-color: black;
  color: #fff;
  text-align: center;
  border-radius: 6px;
  padding: 5px 0;
  position: absolute; /* Positions the tooltip relative to the container with position: relative */
  z-index: 1; /* Ensures the tooltip appears on top of other elements */

  /* Positioning the tooltip at the bottom */
  bottom: 125%; /* Places it above the hovered element */
  left: 50%;
  margin-left: -60px; /* Centers the tooltip (half of its width, e.g., 120px/2) */
  opacity: 0; /* For fade-in effect */
  transition: opacity 0.3s; /* Smooth transition for the fade-in */
  padding: 15px;
  box-sizing: border-box;
}

/* Show the tooltip text on hover */
.tooltip:hover .tooltiptext {
  visibility: visible; /* Makes the tooltip visible when hovering over the container */
  opacity: 1; /* Makes the tooltip fully opaque */
}

.nsfw-container {
  /* Set the container to position: relative so absolute positioning inside works correctly */
  position: relative; 
  /* Ensure the container width matches your image or desired size */
  width: 100%; 
  max-width: 400px; /* Example max width */
}

.nsfw-image {
  /* Make the image responsive and fill its container */
  width: 100%;
  height: auto;
  display: block; /* Helps with layout consistency */
  filter: blur(10px);
}

.nsfw-icon-overlay {
  /* Position the icon absolutely within the container */
  position: absolute;
  
  /* Example: Position in the top-right corner */
  top: 10px;
  right: 10px;
  
  /* Styling for the icon itself */
  font-size: 24px; /* Adjust size as needed */
  color: white; /* Adjust color as needed */
  cursor: pointer; /* Makes it look clickable */
  z-index: 1; /* Ensures the icon is on top of the image */
}

:root {
  --red: #b62d38;
  --lgrn: #3e630f;
  --dgrn: #233906;
  --blue: #43c2d1;
  --prim: "Roboto Slab", "Work Sans", sans-serif;
  --sec: "Monsterrat", sans-serif;
  font-family: var(--prim);
  font-display: swap;
}

body {
  background-color: #0e1802;
  color: white;
}

#root {
  max-width: 1280px;
  margin: 0 auto;
  padding: 2rem;
  text-align: center;
}

.logo {
  height: 6em;
  padding: 1.5em;
  will-change: filter;
  transition: filter 300ms;
}
.logo:hover {
  filter: drop-shadow(0 0 2em #646cffaa);
}
.logo.react:hover {
  filter: drop-shadow(0 0 2em #61dafbaa);
}

@keyframes logo-spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

@media (prefers-reduced-motion: no-preference) {
  a:nth-of-type(2) .logo {
    animation: logo-spin infinite 20s linear;
  }
}

.card {
  padding: 2em;
}

.read-the-docs {
  color: #888;
}

.topbar {
  display: flex;
  justify-content: space-evenly;
  width: 100%;
  align-items: center;
}
.topbar img {
  width: 20%;
  height: 20%;
}
.topbar button {
  height: 10%;
}
.topbar details {
  display: flex;
  align-items: center;
  flex-direction: column;
  gap: 10px;
}

.pagetitle {
  background-color: var(--lgrn);
  border-radius: 10px;
  font-size: 40px;
  padding: 15px;
}

.space { margin-bottom: 10px; }

.announcetext {
  font-size: 18px;
}

.annbtmdata {
  font-size: 9px;
  color: #60606044;
  font-weight: bold;
}

.annbg {
  background-color: #0a213a;
  border-radius: 15px;
  padding: 20px;
  margin: 20px;
  transition: background-color 0.5s ease-in-out, font-size 0.5s ease-in-out;
}
.annbg:hover {
  background-color: #103964;
  font-size: 1.1rem;
}

.mng_user_profile {
  background-color: #00404e;
  margin: 20px;
  padding: 20px;
  color: #ffffff;
  border-radius: 10px;
}

.result-stack {
  display: flex;
  flex-direction: column;
  text-align: center;
  align-items: center;
  justify-content: center;
}

table {
  border-collapse: collapse;
  width: 100%;
  font-size: 14px;
}
th {
  background-color: #7e0000;
  color: white;
  text-align: left;
  padding: 12px;
}
td {
  border: 2px solid #1d2c07;
  padding: 8px;
}
tr:nth-child(even) {
  background-color: var(--lgrn);
}
tr:nth-child(odd) {
  background-color: var(--dgrn);
}
.day-header {
  background-color: #11656e !important;
  color: white;
  font-weight: bold;
  text-align: center;
}