/* Global styles */
html, body {
    -webkit-font-smoothing: antialiased;
    font-family: 'space-mono-regular';
    line-height: 1.4;
    margin: 0 auto;
    max-width: 100%;
    height: 100%;
    font-size: 18px;
}

.center {
    text-align: center;
}

.intro {
    font-size: 4em;
}

/* Menu */
#menu {
    position: sticky;
    top: 0;
    background-image: url("img/SHZe50s.gif");
    background-color: #f1f1f1;
    padding-top: 20px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
    z-index: 1000;
}

#menu h4 {
    margin-top: 0;
}

/* Base link styles */
a {
    display: inline-block;
    padding: 10px 20px;
    font-family: 'space-mono-regular';
    text-decoration: none;
    color: white;
    font-size: 18px;
    transition: all 0.2s ease;
}

a:hover {
    background-color: #8C52FF;
    text-decoration: underline;
    color: white;
}

/* Menu-specific links (inherits base, allows tweak if needed) */
#menu a {
    background: transparent;
}

/* Special "chili" links */
a.chili {
    font-size: 1.5em;
    color: white;
    padding: 10px 20px;
    background-color: #8C52FF;
    text-decoration: none;
}

a.chili:hover {
    color: white;
    text-decoration: underline;
}

.max {
    display: block;
    width: 100%;
    word-wrap: break-word;
}

.bg2 {
    background-image: url("img/SHZe50s.gif");
}

#home {
    padding-top: 60px;
}

#wm-ipp #wm-ipp-inside {
    margin: 0 6px;
    border: 5px solid #000;
    border-top: none;
    background-color: rgba(255, 255, 255, 0.9);
    -moz-box-shadow: 1px 1px 4px #333;
    -webkit-box-shadow: 1px 1px 4px #333;
    box-shadow: 1px 1px 4px #333;
    border-radius: 0 0 8px 8px;
}

.container {
    width: 100%;
    max-width: 1000px;
    height: 100%;
    border: 2px solid black;
    box-sizing: border-box;
    margin: 0 auto;
}

h1 {
    color: #8C52FF;
    font-family: "Alfa Slab One", serif;
    font-size: 32pt;
    font-weight: 300;
    font-style: normal;
}

h2, h3, p {
    color: #fff;
}

h2#contact {
    color: #8C52FF;
}

hr {
    width: 80%;
}

p {
    font-size: 24px;
}

ul {
    color: yellow;
    list-style-type: none;
    text-align: center;
}

span.line {
    color: red;
}

img.label {
    width: 50%;
    max-width: 100%;
}

span.chili {
    color: red;
}

/* Media query for smaller screens */
@media (max-width: 768px) {
    html, body {
        font-size: 24px;
        margin: 5px;
    }

    #menu a {
        font-size: 22px;
    }
}

@media (max-width: 412px) {
    html, body {
        font-size: 24px;
        margin: 5px;
    }

    #menu a {
        font-size: 22px !important;
    }
}

.hamburger {
  display: none;
  cursor: pointer;
  padding: 10px;
  background: none;
  border: none;
  z-index: 1000;
  position: fixed;
  top: 20px;
  right: 20px;
}

.hamburger span {
  display: block;
  width: 30px;
  height: 3px;
  margin: 6px 0;
  background-color: white;
  transition: all 0.3s ease;
}

@media screen and (max-width: 768px) {
  .hamburger {
    display: block;
  }

  #menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 250px;
    height: 100vh;
    background-image: url("img/SHZe50s.gif");
    padding: 80px 20px 20px;
    transition: 0.3s;
    flex-direction: column;
    z-index: 999;
  }

  #menu.active {
    right: 0;
  }

  #menu a {
    display: block;
    margin: 15px 0;
    color: white;
  }

  .hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
    background-color: white;
  }

  .hamburger.active span:nth-child(2) {
    opacity: 0;
  }

  .hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
    background-color: white;
  }

  #menu .line {
    display: none;
  }

  .overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 998;
  }

  .overlay.active {
    display: block;
  }
}
