/* Reset and base styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background: #000;
  color: #fff;
  overflow: hidden;
  height: 100vh;
}

/* Header styles */
.header-container {
  position: absolute;
  top: 20px;
  left: 20px;
  right: 20px;
  z-index: 100;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  pointer-events: none;
}

header {
  flex: 1;
}

header h1 {
  font-size: 2.5rem;
  font-weight: 300;
  margin-bottom: 0.5rem;
  letter-spacing: 0.1em;
}

header p {
  font-size: 0.9rem;
  opacity: 0.8;
  line-height: 1.4;
  max-width: 400px;
}

header2 {
  text-align: right;
}

header2 p {
  font-size: 2.5rem;
  opacity: 0.7;
  letter-spacing: 0.2em;
  font-weight: 300;
}

/* Main artwork container */
main {
  position: relative;
  width: 100vw;
  height: 100vh;
}

.artwork-container {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.artwork-container canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: block;
}

/* Button styles */
.artwork-container button {
  position: absolute;
  bottom: 40px;
  padding: 12px 24px;
  margin: 0 10px;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 4px;
  font-size: 14px;
  font-weight: 400;
  cursor: pointer;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
  pointer-events: auto;
  z-index: 50;
}

.artwork-container button:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.5);
  transform: translateY(-2px);
}

.artwork-container button:active {
  transform: translateY(0);
}

#reset-button {
  left: 50%;
  transform: translateX(-50%);
}
#generate-new-button {
  left: 50%;
  transform: translateX(100%);
}

#save-edition-button {
  left: 50%;
  transform: translateX(-200%);

}


/* Responsive design */
@media (max-width: 768px) {
  .header-container {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }
  
  header h1 {
    font-size: 2rem;
  }
  
  header2 {
    text-align: left;
  }
  
  .artwork-container button {
    bottom: 20px;
    padding: 10px 20px;
    font-size: 13px;
  }
  
  #generate-new-button {
    transform: translateX(-80px);
  }
}
