html, body {
    margin: 0;
    padding: 0;
    font-family: monospace;
    text-transform: lowercase;
    max-width: 100vw;
  background-color: black;
}

.header {
    color: white;
    background-color: black;
    display: flex;
    align-content: center;
    justify-content: center;
}

.header h1 {
    max-width: auto;
}

#poster-container {
    max-width: 100%;
    max-height: 80vh;
    margin: 2rem;
    aspect-ratio: 1000 / 1411;
    display: flex;
    justify-content: center;
    align-items: center;
}

#poster-canvas {
    width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
  box-shadow: 0px 0px 49px 1px rgba(255,255,189,0.34);
}

#poster {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

section.generator {
  position: relative;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: center;
}

div.menu {
  flex-basis: 200px;
  flex-grow: 1;
  flex-shrink: 0;
  background-color: black;
  margin: 2rem 0rem 0rem 2rem;
  display: flex;
  position: relative;
  flex-direction: column;
  gap: 0.5rem;
  max-width: 300px;
  position: relative;
  
}

/* Style for buttons inside .menu div */
div.menu button {
    background-color: #7B15E0; /* Primary blue color */
    color: white;
   font-family: monospace;
    text-transform: lowercase;
    border: none;
    padding: 10px 20px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 16px;
    margin: 4px 2px;
    cursor: pointer;
    border-radius: 5px;
    transition: background-color 0.3s ease, transform 0.3s ease;
  max-width: 230px;
}

div.menu button:hover {
    background-color: #0056b3; /* Darker blue */
    transform: scale(1.03);
}

div.menu button:active {
    background-color: #003d7a; /* Even darker blue */
    transform: scale(1);
}

.input-overlay {
  background-color: #7B15E0;
  position: absolute;
  height: auto;
  min-height: 300px;
  width: 100%;
  padding: 0.7rem 1.5rem 1.5rem; 
   border-radius: 1rem;
}

div.menu h3 {
  color: white;
}
div.menu p {
  color: white;
}

div.input-overlay button{
  background-color: white;
  color: #7B15E0
}

#face-canvas {
  display: none; 
}

#webcam-containeo {
  max-width: 100%;
}

#emoji-container span {
  font-size: 5rem;
  padding: 1rem 0rem;
  cursor: pointer;
  margin-right:1rem;
}

#emoji-container {
  margin: 1rem 0 2rem;
}