body {
  background-color: beige;
  text-align: center;
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

.container {
  border: 1px solid black;
  width: 80%;
  margin: 30px auto;
  background-color: darkseagreen;
  border: 5px solid white;
  border-radius: 30px;
  padding: 5px 20px 15px;
  border-collapse: collapse;
  position: relative;
  overflow: hidden;
}

.titles {
  background-color: beige;
  max-height: 60px;
  padding: 0;
  margin-top: 10px;
  margin-bottom: 30px;
  border: 5px solid white;
  border-radius: 10px;
}

h1, h2 {
  font-family: Helvetica, sans-serif;
}

h1 {
  font-size: 1.3em;
  margin-top: 5px;
  margin-bottom: 5px;
  font-weight: bolder;
}

h2 {
  font-size: 1em;
  margin-top: 5px;
  margin-bottom: 5px;
}

.resultTextBox {
  width: 89%;
  height: 10vh;
  border: 5px solid beige;
  background-color: teal;
  font-weight: bold;
  color: white;
  font-size: calc(12px + 2vh);
  text-align: center;
  padding-top: 2%;
  padding-bottom: 5%;
  margin-bottom: 0;
}

.resultTextBox::placeholder {
  color: lightblue;
}

p {
  font-family: 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
}

.separator {
  position: absolute;
  border: 5px solid beige;
  left: 0;
  top: 92px;
  width: 110%;
  margin: auto 0 20px;
  padding: 0;
}

label {
  font-family: sans-serif;
}

.settingsContainer {
  width: 90%;
  margin: 0 auto 10px;
  border: 5px solid beige;
  background-color: lightblue;
  padding-bottom: 0;
}

.settingsHeader {
  margin: 7px auto 10px;
  padding-bottom: 0;
  background-color: beige;
  width: 70%;
  border-radius: 10px;
  border: 5px solid white;
}

.settings {
  margin: 0 auto;
  padding-top: 0;
  height: 40vh;
  display: flex;
  flex-direction: column;
  vertical-align: center;
  gap: 0;
  justify-content: space-between;
  padding-bottom: 0;
}

.settingsUpper, .settingsLower {
  display: flex;
}

.settingDescription {
  color: grey;
  font-size: 0.8em;
  padding: 0 10px 5px;
}

.settingBox {
  width: 50%;
  min-height: 100px;
  max-height: 160px;
  border: 5px solid white;
  background-color: beige;
  display: flex;
  flex-direction: column;
  margin: 0;
}

.settingDescription {
  margin-top: 5px;
}

#generate {
  width: 50%;
  height: 50px;
  border-radius: 10px;
  background-color: lightcoral;
  border: 5px solid beige;
  color: white;
  font-weight: bold;
  font-size: 3vh;
  cursor: pointer;
}

#generate:active {
  background-color: maroon;
}

@media only screen and (min-width: 390px) {
  
  .container {
    margin-top: 100px;
  }

  .settings {
    height: 31vh;
  }

  .separator {
    top: 92px;
  }
}

@media only screen and (min-width: 500px) {

  .container {
    width: 60%;
    height: 50%;
    margin-top: 0;
  }

  .resultTextBox {
    height: 100%;
    padding-top: 50px;
    font-size: 2.2vh;
  }

  .settingsContainer {
    height: 50%;
  }

  .settings {
    height: 100%;
  }

  #generate {
    font-size: 2vh;
  }

  #generate:hover {
  background-color: lightsalmon;
  }

  #generate:active {
    background-color: maroon;
  }
}

@media only screen and (min-width: 300px){ 

  .container {
    margin-top: 10px;
  }

  .settings {
    height: 45vh;
  }

  .resultTextBox {
    color: white;
  }

}

@media only screen and (min-width: 600px) {
  .container {
    margin-top: -83px;
    transform: scale(0.7);
  }

  .resultTextBox {
    font-size: 7vh;
    padding-top: 5%;
    padding-bottom: 0;
  }
}

@media only screen and (min-width: 1024px) {

  .container {
    margin-top: 0;
  }

  body {
    margin: 0;
    padding: 0;
  }

  .resultTextBox {
    font-size: 3vh;
  }
}

@media only screen and (min-width: 1280px) {
  
  .container {
    margin: -20px auto;
    transform: scale(0.9);
  }

  #generate {
    font-size: 5vh;
  }

  .resultTextBox {
    font-size: 7vh;
  }

}

@media only screen and (min-width: 1400px) {

  .container {
    margin-top: 0;
  }
}

@media only screen and (min-width: 1920px) {
  
  .container {
    width: 40%;
    margin-top: 150px;
  }


}