:root {
  --accent-color: rgb(207, 148, 57);
}

body {
  margin: 0;
  min-height: 100vh;
  position: relative;
}

#help-text {
    display: none;
    position: fixed;
    z-index: 10;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: #1a1a2e;
    color: white;
    padding: 2rem;
    border-radius: 12px;
    width: 90%;
    max-width: 500px;
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.5);
}

#close-help {
    position: absolute;
    top: 1rem;
    right: 2rem;
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
}

#help-text p {
  margin: 1.5rem 0 1.5rem 0;
}

#help-text a {
    color: #60a5fa;
    text-decoration: underline;
}

#help-text a:hover {
    color: #93c5fd;
}

body.help-open::before {
    content: '';
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.7);
    z-index: 5;
}

#main-part {
  color: var(--accent-color);
  width: 70%;
  height: 100%;
  align-items: center;
  margin: 0 auto;
  border: 5px solid var(--accent-color);
  border-radius: 5px;
  background: rgba(0, 0, 0, 0.7);
  transform: translateY(2.5rem);
}

#header {
  display: flex;
  position:relative;
  gap: 1rem;
  padding-bottom: 1rem;
  justify-content: center;
  align-items: center;
}

#help-button {
  width: 40px;
  height: 40px;
  position:absolute;
  right:0;
  margin-right: 4px;
}

#image-container {
  width: 600px;
  height: 775px;
}

#image-container img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

#image-input {
  display: flex !important;
  flex-direction: row;
  gap: 1rem;
  justify-content: center;
  align-items: center;
}

#input-section {
  display: flex !important;
  flex-direction: column;
  gap: 1rem;
  justify-content: center;
  text-align: left;
}

#text-field {
  display: flex;
  gap: 1rem;
  flex-direction: row;
}

#buttons {
  display: flex !important;
  flex-direction: row;
  gap: 1rem;
}