/* Dark Mode Theme */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Roboto+Mono:wght@400;500;600&display=swap');

:root {
  color-scheme: only dark;
}

body {
  font-family: 'Inter', sans-serif;
  background-image: url('/static/images/background.png');
  background-repeat: repeat-y;
  background-size: cover;
  color: #fff;
  margin: 10px;
}

select {
  background-color: #222;
  border: 1px solid #333;
  color: #fff;
  padding: 0.5rem;
  font-family: 'Inter', sans-serif;
}

/* Input fields */
input[type="text"],
input[type="email"],
input[type="password"] {
  background-color: #222;
  border: 1px solid #333;
  color: #fff;
  padding: 0.5rem;
  font-family: 'Inter', sans-serif;
}

input[type="text"]:disabled,
input[type="email"]:disabled,
input[type="password"]:disabled {
  background-color: #555;
  cursor: not-allowed;
}

.announcement-container {
  width: 50vw;
  height: 40vh;
}

#container, #container2, #container3 {
  height: 50vh;
  width: 50vw;
}

/* Buttons */
button {
  background-color: #333;
  border: 1px solid #444;
  color: #fff;
  padding: 0.5rem 1rem;
  cursor: pointer;
  font-family: 'Inter', sans-serif;
}

/* Textarea */
textarea {
  background-color: #222;
  border: 1px solid #333;
  color: #fff;
  padding: 0.5rem;
  font-family: 'Inter', sans-serif;
}

#source, #source2, #source3 {
  font-family: 'Roboto Mono', 'Courier New', Courier, monospace;
  resize: both;
}

/* Links */
a {
  color: #0af;
  text-decoration: none;
  font-family: 'Inter', sans-serif;
}

a:hover {
  color: coral;
  text-decoration: underline;
}

/* Other elements (adjust as needed) */
h1, h2, h3, h4, h5, h6 {
  color: #fff;
  font-family: 'Inter', sans-serif;
}

p, li, blockquote {
  color: #ccc;
  font-family: 'Inter', sans-serif;
}

/* Table styles */
table {
  border-collapse: collapse;
  width: 100%;
}

th, td {
  border: 1px solid white;
  padding: 0.5rem;
  text-align: left;
}

th {
  background-color: #222;
}

.divider {
  border-bottom: 1px solid #333;
  margin: 1rem 0;
}

.timer-overlay {
  position: fixed;
  bottom: 20px;
  right: -90px;
  transform: translateX(-50%);
  background-color: rgba(255, 255, 255, 0.2); /* White with opacity */
  padding: 1em 1.5em;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
  max-width: 90%;
  text-align: center;
  cursor: move;
  white-space: nowrap;
}

.timer-overlay .timer-text {
  margin: 0;
  font-size: 1.2em;
  color: #333;
}

.nav-link:hover, .navbar-brand:hover{
  text-decoration: none !important;
  color: coral !important;
}

.line-break {
  height: 4px;
}
