/* style.css */

body {
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 0;
  line-height: 1.6;
  background-color: #f9f9f9;
  font-size: 16px;
}

/* Navigation */
nav {
  background-color: #333;
  padding: 1em;
  position: relative;
}

nav a {
  color: white;
  margin: 0 15px;
  text-decoration: none;
  font-weight: bold;
}

nav a:hover {
  text-decoration: underline;
}

.nav-links {
  text-align: center;
}

/* Hamburger hidden by default (desktop) */
.hamburger {
  display: none;
  font-size: 28px;
  color: white;
  cursor: pointer;
  user-select: none;
}

/* Hide the checkbox */
#menu-toggle {
  display: none;
}

/* Main content container */
.container {
  max-width: 800px;
  margin: 2em auto;
  padding: 20px 20px;
  background-color: #fff;
  border-radius: 8px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

h1, h2 {
  color: #333;
  margin-top: 0;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto 20px;
}

/* Expandable details */
details {
  margin-bottom: 15px;
  border: 1px solid #ccc;
  border-radius: 8px;
  padding: 10px 15px;
  background-color: #fff;
}

summary {
  font-weight: bold;
  cursor: pointer;
  list-style: none;
}

summary::-webkit-details-marker {
  display: none; /* Hide default marker */
}

details[open] summary::after {
  content: "▲"; /* Change marker when open */
  float: right;
}

summary::after {
  content: ' ▼';
  float: right;
}

footer {
  text-align: center;
  padding: 1em;
  margin-top: 3em;
  background-color: #eee;
  color: #777;
}

/* Centering */
.content-center {
  text-align: center;
}

.logo {
  max-width: 100%;
  height: auto;
  width: 500px;
  margin-bottom: 1em;
}

/* -------- Responsive Design -------- */
@media (max-width: 768px) {
  .logo {
    width: 80%; /* Adjust logo size for smaller screens */
  }

  .container {
    margin: 1em;
    padding: 1em;
  }

  h1 {
    font-size: 1.75em;
  }

  p {
    font-size: 1em;
  }

  body {
    font-size: 15px;
  }

  .container {
    margin: 1em;
    padding: 1em;
  }

  nav a {
    display: block;
    margin: 0.5em 0;
  }

    .hamburger {
    display: block;
    text-align: right;
  }

  .nav-links {
    display: none;
    flex-direction: column;
    margin-top: 1em;
  }

  nav a {
    display: block;
    margin: 0.5em 0;
  }

  #menu-toggle:checked + .hamburger + .nav-links {
    display: flex;
  }

  summary::after,
  details[open] summary::after {
    float: none;
    display: inline-block;
    margin-left: 5px;
  }
}