/* Basic Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --bg-dark: black;
  --bg-light: #f2f2f2;
}


#moodpic {
  width: 100%;
}

.mpcontainer {
  margin: 0 auto;
  margin-bottom: 32px;
  margin-top: 32px;
  max-width: 600px;
  background: #f2f2f2af;
}

body {
  font-family: serif;
  padding: 20px;
}

.container {
  max-width: 600px;
  margin: 0 auto;
  border-radius: 6px;
}

h1 {
  text-align: center;
  margin-bottom: 20px;
  font-size: 1.8rem;
}

.input-section {
  margin-bottom: 20px;
  display: flex;
  justify-content: center;
  gap: 10px;
  align-items: center;
}

#character-input {
  padding: 8px;
  font-size: 1.2rem;
  width: 100px;
  text-align: center;
}

button {
  padding: 10px 15px;
  background-color: #212121;
  color: white;
  border: none;
  border-radius: 2px;
  cursor: pointer;
}

button:hover {
  background-color: #000000;
}

.options {
  margin: 0 auto;
  margin-bottom: 20px;
  display: flex;
  justify-content: space-between;
  max-width: 78%;
  align-items: center;
}

#character-target-div {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 300px;
  border: 1px solid #ccc;
  margin-top: 20px;
  background-color: #f2f2f2;
  border-radius: 5px;
}

#infobox {
  margin-top: 20px;
}

/* Mobile responsiveness */
@media (max-width: 600px) {
  .container {
    padding: 15px;
  }

  h1 {
    font-size: 1.5rem;
  }

  .input-section {
    flex-direction: column;
    align-items: center;
  }

  #character-input {
    width: 80px;
  }

  button {
    margin-top: 10px;
  }

  #submit-button {
    width: 62%;
  }

  .options {
    flex-direction: column;
    gap: 10px;
    max-width: 100%;
    align-items: center;
  }

  #character-display {
    height: 250px;
  }
}