<!-- styles.css -->
* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  padding: 0 20px;
}

.navbar {
  position: relative; /* Added for mobile menu positioning */
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem;
  background: #FFA500;
  color:black;
}

.logo img { height: 50px; }

.site-info h1 { font-size: 1rem; }
.site-info p { font-size: 0.9rem; margin-top: 0.25rem; }

.hamburger {
  display: none;
  font-size: 1.5rem;
  cursor: pointer;
}

.nav-links {
  display: flex;
  list-style: none;
}

.nav-links li { margin-left: 1.5rem; }
.nav-links a { color: black; text-decoration: none; }

#menu-toggle { display: none; }

@media (max-width: 768px) {
  .hamburger { display: block; }
  .nav-links {
    display: none;
    flex-direction: column;
    width: 100%;
    background:#FFA500;
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 1000; /* Added for menu visibility */
  }
  #menu-toggle:checked ~ .nav-links { 
    display: flex; 
    position: absolute;
    width: 100%;
  }
}

footer {
  background: #4169E1;
  color: white;
  text-align: center;
  padding: 1rem;
  margin-top: 2rem;
}

footer a {
  color: white;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

.social-media a {
  color: white;
  margin: 0 0.5rem;
  font-size: 1.2rem;
}

@media (max-width: 768px) {
  .footer-content { flex-direction: column; }
  .social-media { margin-top: 1rem; }
}

.content {
  max-width: 800px;
  margin: 2rem auto;
  padding: 0 20px;
}
.content h1, h2 {
  text-align: center;
}
.content img {
  width: 100%;
  height: auto;
}
.post-list { margin-top: 2rem; }
.post-item { margin-bottom: 2rem; }

.gallery-item {
  display: grid;
  grid-gap: 10px;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
}

.gallery-item img {
  width: 100%;
}


/* Added to styles.css */
.pagination {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin: 2rem 0;
}

.pagination button {
  background: #333;
  color: white;
  border: none;
  padding: 0.5rem 1rem;
  cursor: pointer;
}

.pagination button.active {
  background: #555;
}

.pagination button:disabled {
  background: #999;
  cursor: not-allowed;
}

/* RPG */
.container {
    text-align: center;
    padding: 20px;
}

button {
    font-size: 18px;
    padding: 10px 20px;
    background-color: #007bff;
    color: white;
    border: none;
    cursor: pointer;
}

button:hover {
    background-color: #0056b3;
}


#descript {
    margin-top: 20px;
    font-size: 20px;
}

#output {
    margin-top: 20px;
    font-size: 20px;
    background: #FFA500;
}

#instructions {
    margin-top: 20px;
    font-size: 20px;
}

.frozen {
    font-weight: bold;
}
