body {
  margin: 0;
  font-family: 'Georgia', serif;
  background: #f5f5f5;
  color: #66b3ff;
  text-align: center;
}

header {
  background: #f5f5f5;
  color: #0088cc;
  padding: 2em 1em;
}

.logo {
  height: 80px;
  margin-bottom: 10px;
}

h3 {
  margin: 0;
  font-size: 2em;
  color: #0088cc;
}

.subtitle {
  margin: 0.5em 0 0;
  font-style: italic;
  color: #0088cc;
}

.menu-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  padding: 1em;
  background-color: #f5f5f5;
}

.menu-nav button {
  background: #ffffff;
  border:  1px solid #404040;
  padding: 10px 20px;
  font-size: 1em;
  color: #0088cc;
  border-radius: 10px;
  cursor: pointer;
  transition: background 0.3s;
}

.menu-nav button:hover {
  background: #f5f5f5;
}

main {
  padding: 1em;
}

canvas {
  width: 100%;
  max-width: 600px;
  border: 1px solid #404040;
  border-radius: 12px;
  margin: 1em auto;
  background: white;
}

.controls {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  margin-bottom: 1em;
  color: #0088cc;
}

.controls button {
  background: #ffffff;
  color: #0088cc;
  border: none;
  padding: 8px 16px;
  border-radius: 2px;
  cursor: pointer;
}

.download-btn {
  display: inline-block;
  margin-top: 1em;
  padding: 10px 20px;
  background: #ffffff;
  color: #0088cc;
  text-decoration: none;
  border-radius: 10px;
}

footer {
  padding: 1em;
  font-size: 0.9em;
  background: #f5f5f5;
  color: #0088cc;
}

/* HAMBURGER MENU + HEADER RESPONSIVE */
.hamburger {
  display: none;
  font-size: 2em;
  background: none;
  border: none;
  cursor: pointer;
  color: #0088cc;
  margin-right: 10px;
}

.header-flex {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  text-align: center;
}

.header-text {
  display: flex;
  flex-direction: column;
  align-items: center;
}

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

  .header-flex {
    flex-direction: row;
    justify-content: flex-start;
    padding: 1em;
    text-align: left;
  }

  .header-text {
    align-items: flex-start;
  }

  .menu-nav {
    display: none;
    flex-direction: column;
    gap: 10px;
    padding: 1em;
    background-color: #f5f5f5;
  }

  .menu-nav.active {
    display: flex;
  }

  .menu-nav button {
    width: 100%;
    text-align: left;
  }
}
