/* Import OpenDyslexic font */
@font-face {
  font-family: 'OpenDyslexic';
  src: url('OpenDyslexicAlta.otf') format('truetype');
}

/* Modal styles */
.modal {
  position: fixed;
  z-index: 10;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0,0,0,0.5);
}

.modal-content {
  background-color: #1a1a2e;
  margin: 15% auto;
  padding: 20px;
  border: 1px solid #888;
  width: 80%;
  text-align: center;
  border-radius: 10px;
}

.button-link.clicked {
  opacity: 0.4;
}

body {
  margin: 0;
  padding: 0;
  font-family: 'OpenDyslexic', sans-serif;
  color: #ffffff;
  background: #0d0d0d;
  position: relative;
  z-index: 1;
}

#vanta-bg {
  position: fixed;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  z-index: 0;
}

header {
  display: flex;
  align-items: center;
  padding: 20px;
  background: rgba(0, 0, 0, 0.5);
  position: relative;
  z-index: 2;
  text-align: center;
}

header h1 {
  margin: 0 0 0 10px;
}

#logo {
  width: 100px;
  height: 100px;
}

main {
  padding: 20px;
  position: relative;
  z-index: 2;
}

#links-container {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.button-link {
  display: block;
  padding: 15px;
  background: rgba(255, 255, 255, 0.1);
  border: solid;
  border-radius: 5px;
  border-width: 3px;
  color: #fff;
  font-size: 1.2em;
  text-decoration: none;
  cursor: pointer;
  text-align: center;
}

.button-link:hover {
  background: rgba(255, 255, 255, 0.4);
  border-color: #fff;
  border-radius: 5px;
  border-width: 3px;
  border: solid;
}

footer {
  text-align: center;
  padding: 10px;
  background: rgba(0, 0, 0, 0.5);
  position: relative;
  z-index: 2;
  bottom: 0;
  width: 100%;
}

/* Admin page styles */
#login-section, #admin-section {
  background: rgba(0, 0, 0, 0.6);
  padding: 20px;
  border-radius: 8px;
  margin-bottom: 20px;
}

input, select, button {
  padding: 10px;
  margin: 5px 0;
  border: none;
  border-radius: 5px;
}

button {
  background: #1a1a2e;
  color: #fff;
  cursor: pointer;
}

button:hover {
  background: #162d4b;
}