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

body, html {
  height: 100%;
  width: 100%;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
  display: flex;
  justify-content: center;
  color: #242938;
}

main.container {
  width: 920px;
  margin: 20px 20px;
}

h1 {
  text-decoration: underline;
}

.aspect-ratio-output {
  font-size: 1.4rem;
}

span {
  margin: 0px 10px;
  font-weight: bold;
}

input {
  height: 40px;
  text-align: center;
  border: 1px solid #AEA3B0;
  border-radius: 3px;
}
input[type="text"]:disabled {
  background: #dddddd;
}

fieldset {
  margin: 25px 0;
  padding: 10px 35px;
  border-color: #00E;
  border-style: solid;
}

fieldset > div {
  margin: 25px 0;
}
fieldset > div.error-message {
  margin: 15px 0;
  padding: 10px;
  background-color: #D7263D;
  color: #f8fafc;
  font-size: 0.8rem;
  border-radius: 3px;
}
.error-message-first, .error-message-second {
  display: none;
}
label {
  width: 90px;
  display: inline-block;
}
legend {
  font-style: italic;
}

.preview {
  background-color: #e0e0e0;
  padding: 50px;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 15px;
  height: 250px;
}

#previewBox {
  background-color: #f8fafc;
  border: 1px solid #AEA3B0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  width: 200px;
  height: 113px;
}

/* Mobile Styles */
@media only screen and (max-width: 400px) {
  input{
    width: 100%;
  }
}