body {
  font-family: SFMono-Regular, Consolas, "Liberation Mono", Menlo, monospace;
}

.wrapper {
  max-width: 50em;
  margin: 0 auto;
}

h1 {
  margin-bottom: 4rem;
}

.flex {
  display: flex;
  column-gap: 1rem;
}

.input-wrapper {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  column-gap: 10px;
  row-gap: 1em;
  margin-top: 3rem;
}

.buttons {
  margin-top: 3rem;
}

input, select {
  box-sizing: border-box;
  margin: 10px 0 20px 0;
  width: 100%;
  display: block;
  padding: 10px;
  border: 1px solid #d7d7d7;
  border-radius: 5px;
  font-family: SFMono-Regular, Consolas, "Liberation Mono", Menlo, monospace;
}

label {
  font-weight: 600;
}

.debug-console {
  margin-top: 2rem;
  border-radius: 5px;
  overflow: auto;
  background-color: black;
  color: white;
  font-family: 'Courier New', Courier, monospace;
  font-size: 12px;
  height: 300px;
  padding: 1rem;
  line-height: 1.2;
  white-space: pre;
  overflow-x: auto;
}

.center-img {
  display: block;
  margin-left: auto;
  margin-right: auto;
  width: 50%;
}

button {
  font-family: SFMono-Regular, Consolas, "Liberation Mono", Menlo, monospace;
  font-size: 1em;
  border-radius: 1em;
  border-width: 2px;
  padding: 0.5em 1em;
  border-color: #2c2b2f;
  outline: none;
}

hr {
  border: 1px dashed black;
  margin-top: 3rem;
  margin-bottom: 3rem;
}

footer {
  margin: 2rem 0;
  font-size: 0.8rem;
  display: block;
}

footer p {
  text-align: center;
}

/* Image Popup Modal */
.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.9);
  justify-content: center;
  align-items: center;
  cursor: pointer;
}

.modal-content {
  max-width: 90%;
  max-height: 90%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.modal-content img {
  max-width: 100%;
  max-height: 90vh;
  object-fit: contain;
  cursor: pointer;
}
