/* style.css */

@import url('https://fonts.googleapis.com/css2?family=Press+Start+2P&display=swap');

:root {
  --main-highlight: #7ca6e9;
  --text-highlight: #a14e32;
  --subheader-highlight: #ebb538;
}

body {
  margin: 0;
  font-family: 'Press Start 2P', monospace;
  background-color: #1d1d1d;
  color: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

nav {
  background-color: #111;
  width: 100%;
  padding: 1rem 0;
  display: flex;
  justify-content: center;
  gap: 3rem;
  border-bottom: 2px solid #444;
}

nav a {
  color: #ffffff;
  text-decoration: none;
  font-size: 0.8rem;
}

nav a:hover {
  color: var(--text-highlight);
}

nav a.active {
  color: var(--text-highlight);
}

main {
  padding: 2rem;
  max-width: 700px;
}

h1 {
  font-size: 2rem;
  margin-bottom: 1rem;
  color: var(--main-highlight);
}

h2 {
  color: var(--subheader-highlight);
}

p {
  font-size: 0.75rem;
  line-height: 1.4;
  color: #ccc;
}

p a {
  color: var(--main-highlight);
}

subp {
  font-size: 0.50rem;
  line-height: 1.0;
  color: #ccc;
}

ul.list {
  padding-left: 1.5rem;
  margin-top: 0.5rem;
  font-size: 0.75rem;
  color: #ccc;
  list-style-type: disc; /* or circle, disc */
}

ul.list li {
  margin-bottom: 0.5rem;
  line-height: 1.4;
}

.keyword {
  color: var(--main-highlight);
}

.keylabel {
  color: var(--text-highlight);
}

.gif-container {
  margin: 2rem 0;
}

.gif-container img {
  width: 100%;
  max-width: 600px;
  image-rendering: pixelated;
  background-color: #1b0f0b; /* matches the body background */
  border: none;
}

footer {
  margin-top: 4rem;
  font-size: 0.6rem;
  color: #666;
}

.hidden {
  display: none;
}

.event {
  margin-top: 3rem;
  text-align: left;
  background-color: #111;
  padding: 1.5rem;
  border-radius: 8px;
}

.event img {
  max-width: 100%;
  border-radius: 6px;
  margin-top: 1rem;
}

.event a {
  color: #00ccff;
  text-decoration: underline;
}

.iframe-wrapper {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%; /* 16:9 aspect ratio */
  height: 0;
  overflow: hidden;
  border-radius: 6px;
  margin-top: 1rem;
}

.iframe-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

input[type="text"], button {
  font-family: 'Press Start 2P', monospace;
  font-size: 0.7rem;
  margin-top: 1rem;
  width: 300px;
}

input[type="text"] {
  padding: 0.5rem;
  text-align: center;
}

button {
  padding: 0.6rem 1rem;
  background-color: var(--text-highlight);
  border: none;
  border-radius: 4px;
  cursor: pointer;
}

.error {
  color: red;
  font-size: 0.6rem;
  margin-top: 1rem;
}
