.generator {
  text-align: center;
  margin: 50px auto 30px auto;
  /* background-color: var(--offcanvas-border); */
  background-color:var(--generator-bg);
  border-radius: 4px;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.4);
  padding: 3rem 1rem 1rem;
}
.generator .btn {
  margin-bottom: 5px;
}

.printout {
  display: flex;
  min-height: 130px;
  max-width: 500px;
  align-items: center;
  margin: 25px auto 5px auto;
  border: 1px solid;
  border-radius: 10px;
  padding: 5px;
  font-size: 1.32em;
  background-color: var(--printout-bg);
  border-color: var(--border-color);
}

.names-div {
  padding: 15px;
}
.names-div h2 {
  margin-bottom: 20px;
}

.printname {
  width: 200px;
  height: 45px;
  line-height: 45px;
  margin: 10px auto 25px auto;
  border: 1px solid #004000;
  border-radius: 10px;
  font-size: 1.4em;
  background: var(--printout-bg);
}

.plot {
  /* max-width: 500px; */
}

.first,
.second {
  flex: 1;
}

.printTxt {
  margin: auto;
}
.span-gap {
  margin-left: 10px;
}
.copy-btn-div {
  margin-bottom: 30px;
}

.copy-btn {
  border: 1.5px solid var(--green);
  background-color: var(--body-bg) !important;
  color: var(--body-color);
}
.copy-btn:hover {
  color: var(--body-color);
}
.copy-btn:focus {
  background-color: rgba(180, 178, 178, 0.24) !important;
  box-shadow: 1px 1px grey;
}

.flexMulti {
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
}
.flexMulti div {
  padding: 10px;
}
.flexCol {
  display: flex;
  justify-content: space-between;
}
.flexCol div {
  padding-left: 10px;
  padding-right: 10px;
}

.width20 {
  width: 20px;
}
table {
  width: 100%;
}
tr {
  height: 35px;
}
td {
  width: 50%;
}

#numbercount,
.textInput,
.textInput1 {
  font-size: 1.4em;
  display: block;
  border: 1px solid #aaa;
  border-radius: 4px;
  padding-left: 6px;
  margin: 10px 0;
}
#numbercount {
  cursor: pointer;
  width: 120px;
}

.textInput {
  width: 120px;
}
.textInput1 {
  padding-top: 10px;
  word-spacing: 0.5em;
  width: 70%;
  min-height: 100px;
}

#townDiv {
  display: block;
  text-align: center;
}
.townend {
  margin: 30px auto;
  
  font-size: 1.4em;
  height: 45px;
}

#ending {
  position: relative;
  left: -10px;
}

.occupations, .traits {
  display:flex;
  justify-content: space-around;
  font-size: 1.2em;
}

.links {
  border: 1px solid #ccc;
  padding: 10px;
  margin-bottom: 10px;
}

.pHeader {
  font-size: 1.1em;
}

.images-page {
  max-width: 1000px;
  margin: auto;
}

.randomimageDiv {
  display: flex;
  align-items: center;
  justify-content: space-around;
  max-width: 500px;
  margin: auto;
}
.randomimageDiv div {
  flex: 1;
}

#imageout {
  text-align: center;
}

#imagebutton {
  padding: 10px;
}

#thanks {
  margin-top: 20px;
  text-align: center;
}

.filmDiv {
  display: flex;
  justify-content: space-around;
  max-width: 500px;
  margin: auto;
}

.filmBtn {
  position: relative;
  /* top: -2px; */
}

.selectItem {
  height: 48px;
  width: 50%;
  padding: 0 0 0 8px;
  overflow: hidden;
  font-size: 1.2em;
}

.selectItem option {
  font-size:1em!important;
  color: var(--body-color);
}

.charex h2,.charex h3 {
  color: var(--blue);
}

.charex h4 {
  font-style:italic;
}

.input1, .input2 {
  display:flex;
}

.printlottery {
  background-color:var(--generator-bg);
  border-radius: 4px;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.4);
  padding: 3rem 1rem 1rem;
  margin-bottom:30px;
}
.printlottery input {
  font-size: 1.3em;
}

@media only screen and (min-width: 600px) {

  .generator {
    width:95%;
  }
  .printout {
    margin-top: 40px;
  }
}
@media only screen and (min-width: 768px) {
  .printout {
    padding: 10px;
  }

  .flexy {
    display: flex;
    justify-content: space-around;
  }
}

@media only screen and (min-width: 1200px) {
  .carousel {
    margin: auto;
  }
  .carousel-inner {
    max-height: 100vh;
    width: auto;
  }
}
