#logo {
  opacity: 0;
  animation: fadeIn 3s forwards;
  border-radius: 50%;
  overflow: hidden;
  width: 100px;
  height: 100;
  display: flex;
  margin: 0 auto;
}

@keyframes fadeIn {
  to {
    opacity: 1;
  }
}
@keyframes blink {
  0% {
    opacity: 1;
  }
  50% {
    opacity: 0.5;
  }
  100% {
    opacity: 1;
  }
}
.dev-message {
  font-size: large;
}
#search-container {
  margin: 20px 0;
  display: flex;
  justify-content: center;
  align-items: center;
}

#search-input {
  width: 300px;
  padding: 12px 15px;
  font-size: 16px;
  border: 2px solid var(--text-color);
  border-radius: 25px 0 0 25px;
  outline: none;
  transition: border-color 0.3s ease;
}

#search-input:focus {
  border-color: var(--button-bg);
}

#clear-search {
  padding: 12px 20px;
  font-size: 16px;
  background-color: #e74c3c;
  color: white;
  border: none;
  border-radius: 25px;
  cursor: pointer;
  margin-left: 10px;
  transition: background-color 0.3s ease;
}

#clear-search:hover {
  background-color: #c0392b;
}

/* Responsive design for smaller screens */
@media (max-width: 600px) {
  #search-container {
    flex-direction: column;
    align-items: stretch;
  }

  #search-input {
    width: 100%;
    border-radius: 25px;
    margin-bottom: 10px;
  }

  #clear-search {
    margin-left: 0;
    margin-top: 10px;
    width: 100%;
  }
}

/* Dark theme styles */
.dark-theme #search-input {
  background-color: #2c3e50;
  color: #ecf0f1;
  border-color: #34495e;
}

.dark-theme #search-input:focus {
  border-color: #3498db;
}

.dark-theme #clear-search {
  background-color: #c0392b;
}

.dark-theme #clear-search:hover {
  background-color: #e74c3c;
}
#search-container {
  position: relative;
  margin: 20px 0;
  display: flex;
  justify-content: center;
  align-items: center;
}

#search-results {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background-color: var(--bg-color);
  border: 1px solid var(--text-color);
  border-radius: 0 0 10px 10px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  max-height: 300px;
  overflow-y: auto;
  z-index: 1000;
}

.search-results-content {
  padding: 10px;
}

.search-result-item {
  padding: 10px;
  border-bottom: 1px solid var(--text-color);
  cursor: pointer;
}
.search-result-item:last-child {
  border-bottom: none;
}
.search-result-item:hover {
  background-color: rgba(0, 255, 174, 0.232);
}

.dark-theme .search-results-dropdown {
  background-color: #2c3e50;
  border-color: #34495e;
}

.dark-theme .search-result-item:hover {
  background-color: rgba(255, 255, 255, 0.05);
}

.sidebar-image {
  position: fixed;
  top: 50%;
  right: 0;
  transform: translateY(-50%);
  width: 480px;
  height: auto;
  margin: 20px;
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
}
body {
  margin: 0;
  padding: 0;
  font-family: Arial, sans-serif;
  color: #000000;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
}
#pagination {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  margin: 20px 0;
}

.pagination-select {
  font-size: 16px;
  padding: 10px 35px 10px 15px;
  border: 2px solid var(--text-color);
  border-radius: 25px;
  background-color: var(--bg-color);
  color: var(--text-color);
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-image: url("data:image/svg+xml;charset=US-ASCII,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 15px center;
  background-size: 14px;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.pagination-select:hover {
  border-color: var(--button-bg);
}

.pagination-select:focus {
  outline: none;
  border-color: var(--button-bg);
  box-shadow: 0 0 0 3px rgba(0, 89, 148, 0.2);
}
:root {
  --bg-color: #ffffff;
  --text-color: #333333;
  --button-bg: #005994;
  --button-text: #ffffff;
  --button-hover-bg: #003a61;
  --button-hover-text: #ffffff;
  --selection-bg: #478ccf;
  --selection-text: #ffffff;
  --footer-text-color: #333333;
  --footer-link-color: #005994;
  --footer-link-hover-color: #003a61;
}

.dark-theme {
  --bg-color: #2c2c2c;
  --text-color: #ffffff;
  --button-bg: #003a61;
  --button-hover-bg: #002b4a;
  --button-hover-text: #ffffff;
  --selection-bg: #2c5680;
  --selection-text: #ffffff;
  --footer-text-color: #e0e0e0;
  --footer-link-color: #7cb9e8;
  --footer-link-hover-color: #a7d8ff;
}

body {
  background-color: var(--bg-color);
  color: var(--text-color);
  transition: background-color 0.3s, color 0.3s;
}

.blue-button,
.orange-button {
  padding: 10px 20px;
  border: 2px solid transparent;
  border-radius: 8px;
  font-size: 1em;
  cursor: pointer;
  margin: 0 10px;
  font-weight: bold;
  width: 200px;
  transition: all 0.3s ease;
  color: var(--button-text);
}
.blue-button:hover,
.orange-button:hover {
  color: var(--button-hover-text);
}

.blue-button:hover {
  background-color: var(--button-hover-bg);
}

.orange-button:hover {
  background-color: #ca4518;
}
#theme-toggle {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 1000;
  background: none;
  border: none;
  cursor: pointer;
  padding: 5px;
  display: flex;
  align-items: center;
  justify-content: center;
}

#theme-toggle svg {
  width: 24px;
  height: 24px;
  color: var(--text-color);
}

.container {
  max-width: 800px;
  padding: 20px;
  margin: auto;
  height: 125vh;
  display: flex;
  flex-direction: column;
}
#content {
  flex: 1;
  overflow-y: auto;
  box-shadow: 0 6px 6px -6px rgba(0, 0, 0, 0.541);
}
header,
section,
footer {
  margin-bottom: 20px;
}

header h1 {
  font-size: 2em;
  text-align: center;
  margin-bottom: 10px;
}

section h2 {
  font-size: 1.5em;
  margin-bottom: 10px;
}

ul {
  padding-left: 20px;
}

li {
  list-style-type: disc;
  margin-bottom: 10px;
}

footer p {
  text-align: center;
  font-size: 1em;
}

.button-container {
  display: flex;
  justify-content: center;
  margin-top: 20px;
}

button {
  padding: 10px 20px;
  border: 2px solid transparent;
  border-radius: 8px;
  font-size: 1em;
  cursor: pointer;
  margin: 0 10px;
  background-color: transparent;
  transition: all 0.3s ease;
}

.blue-button {
  color: #ffffff;
  background-color: #005994;
  border-color: #005994;
  font-weight: bold;
  width: 200px;
}

.orange-button {
  color: #ffffff;
  background-color: #ff5f29;
  border-color: #ff5f29;
  font-weight: bold;
  width: 200px;
}

#footer-text a {
  color: var(--footer-link-color);
  text-decoration: none;
  transition: color 0.3s ease;
}

#footer-text a:hover {
  color: var(--footer-link-hover-color);
  text-decoration: underline;
}

/* phones in portrait */
@media screen and (max-width: 1024px) {
  body {
    flex-direction: column;
  }
  .sidebar-image {
    position: relative;
    top: auto;
    right: auto;
    transform: none;
    width: 100%;
    margin: 10px auto;
  }
  #theme-toggle {
    position: absolute;
    top: 10px;
    right: 10px;
  }
  #search-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    max-width: 300px;
    margin: 20px auto;
  }

  #search-input {
    width: 120%;
    max-width: 400px;
    margin-bottom: 10px;
    border-radius: 25px;
  }

  #search-results {
    width: 200%;
    max-width: 400px;
    left: 50%;
    transform: translateX(-50%);
  }

  #clear-search {
    width: 100%;
    max-width: 300px;
    margin-left: 0;
    margin-bottom: 10px;
    border-radius: 25px;
  }

  .search-results-dropdown {
    width: 100%;
    max-width: 300px;
    left: 50%;
    transform: translateX(-50%);
  }
  .container {
    padding: 10px;
    padding-top: 50px;
    min-height: 180vh;
    overflow-y: auto;
    overflow-x: hidden;
    max-width: 95vw;
    flex-direction: column;
  }
  .pagination-select {
    font-size: 14px;
    padding: 8px 30px 8px 12px;
    width: 100%;
    max-width: 300px;
  }
  #pagination {
    flex-direction: column;
    align-items: stretch;
  }

  #pagination label {
    text-align: center;
    margin-bottom: 10px;
  }
  header,
  section,
  footer {
    margin-bottom: 4px;
  }

  header {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
  }

  header h1 {
    font-size: 1.5em;
    text-align: center;
    margin-bottom: 10px;
    width: 100%;
  }

  #logo {
    width: 100px;
    height: 100px;
    margin-bottom: 10px;
    margin-right: 10px;
  }
  .button-container {
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 10px;
  }

  button {
    padding: 8px 16px;
    border: 2px solid transparent;
    border-radius: 8px;
    font-size: 0.9em;
    cursor: pointer;
    margin: 5px;
    background-color: transparent;
  }
  .blue-button:hover {
    color: #000000;
    background-color: #00407d;
    font-weight: bold;
  }

  .orange-button:hover {
    color: #000000;
    background-color: #e76135;
  }
}

/* Base styles */
.centered-line {
  text-align: center;
  margin: 0 auto;
  width: fit-content;
}

h3 p {
  margin: 0;
}

/* phones in landscape */
@media screen and (max-width: 926px) and (orientation: landscape) {
  .container {
    min-height: 350vh;
    overflow-y: auto;
  }
  #content {
    overflow-y: auto;
  }
  #logo {
    position: absolute;
    width: 160px;
    height: 160px;
    right: 100px;
    top: 60px;
  }
  .sidebar-image {
    position: relative;
    top: auto;
    right: auto;
    transform: none;
    width: 50%;
    height: auto;
    margin: 20px;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    z-index: 1;
  }
}

/* tablets in portrait and landscape */
@media screen and (min-width: 1080px) and (max-width: 1280px) and (orientation: landscape) {
  .sidebar-image {
    position: relative;
    top: auto;
    right: auto;
    transform: none;
    width: 60%;
    max-width: 600px;
    height: auto;
    margin: 20px 0 20px 20px;
    align-self: flex-start;
  }

  #logo {
    position: absolute;
    width: 160px;
    height: 160px;
    right: 140px;
    top: 100px;
  }
  .container {
    min-height: 175vh;
    overflow-y: auto;
  }
}
/* Very small devices */
@media screen and (max-width: 390px) {
  .container {
    min-height: 200vh;
    overflow-y: auto;
  }
}
