#generation {
  overflow-y: hidden;
}

#argument-hashtags {
  background-color: rgb(245, 245, 245);
  border-radius: 10px;
  outline: none;
  border: rgb(219, 219, 219) solid 1px;
  padding: 0.4em;
  height: 100%;
  color: rgb(45, 45, 45);
}

#argument-hashtags:focus {
  border: rgb(170, 170, 170) solid 1px;
}

.age-box {
  justify-content: space-evenly;
}

.age-input-box>input {
  width: 9ch;
  height: 4ch;
  outline: none;
  font-size: 0.7em;
}

.submit-btn {
  padding-inline: 0.4em;
  padding-block: 0.2em;
}

.wizard-content {
  display: grid;
  /* position: relative; */
  height: 100vh;
  width: 100%;
  grid-template:
    "a a a" 6vh
    "b c c" auto
    "d d d" 6vh;
  /* grid-template-columns: min-content; */
  grid-auto-flow: column;
  align-items: center;
  justify-content: space-evenly;
  transition: all 500ms ease-in-out;
  padding-bottom: 2em;
}

.horizontal-checkbox {
  display: flex;
  flex-direction: row;
  gap: 1em;
}

.progress-bar {
  width: 100%;
  height: 100%;
  /* background: red; */
  display: flex;
  justify-content: center;
  align-items: center;
  grid-column-start: 1;
  grid-column-end: 4;
}

.selector-container {
  /* display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
  justify-content: center;
  align-items: center; */
  display: grid;
  grid-template-rows: 1fr;
  grid-auto-flow: row;
}

.selector-container>.img-selector,
.selector-container>.img-selector>.img-selected,
.selector-container>.img-selector>.select-file {
  /* max-height: 80vh !important; */
  /* position: relative; */
  /* font-size: 1vh; */
  /* height: 40em; */
  margin: 0;
  max-height: 49vh;
  height: auto;
  width: auto;
  /* min-width: 24em; */
  max-width: 30em !important;
  /* scale: 0.9; */
  padding: 6em 0;
}

.wizard-content::after {
  content: "";
  grid-row: 2;
  grid-column-start: 1;
  grid-column-start: 2;
  /* position: absolute;
  left: 5em; */
  margin-inline: 0.5em;
  width: 2px;
  height: 75%;
  background-color: lightgray;
}

.wizard-card {
  grid-row: 2;
  width: 60vw;
  height: 80vh;
  padding-block: 10vh;
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
  /* height: ; */
}

.last-card {
  padding: 0;
}

.wizard-card>h1 {
  margin-bottom: 1em;
  transition: all 500ms ease;
}

.parameters-btns {
  display: flex;
  flex-direction: column;
  max-height: min-content;
  gap: 4vh;
}

.category-btns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  font-size: 2vh;
  /* gap: 8vh; */
  height: 100%;
  gap: 4vh;
}

.category-btns>div>button {
  width: 8em;
}

.category-btns>div>button,
.category-btns>div>input {
  /* width: 8em; */
  min-width: 8em;
  padding-block: 0.625em !important;
  padding-inline: 0;
}

.parameters-btns>div>input {
  width: 16.625em;
}

.category-bnts-container {
  display: flex;
  align-items: center;
  justify-content: left;
  width: 100%;
  height: 100%;
  position: relative;
  gap: 5vw;
}

.progress-btns {
  display: flex;
  justify-content: space-between;
  grid-row: 3;
  grid-column-start: 1;
  grid-column-end: 4;
  padding-inline: 2em;
  margin-bottom: 2em !important;
}

.post-category-btn {
  font-size: 1.6em;
  width: 100% !important;
  height: 100% !important;
}

#regForm {
  background-color: #ffffff;
  margin: 100px auto;
  padding: 40px;
  width: 70%;
  min-width: 300px;
}

button:hover,
input[type="button"]:hover {
  /* opacity: 1.5; */
}

/* Style the input fields */
input {
  padding: 10px;
  /* width: 100%; */
  font-size: 17px;
  /* font-family: Raleway; */
  border: 1px solid #aaaaaa;
  /* border: none; */
}

/* Mark input boxes that gets an error on validation: */
input.invalid {
  background-color: #ffdddd;
}

.pending-tab {
  display: none;
}

/* Hide all steps by default: */
.tab {
  display: none;
  opacity: 0;
  margin-right: 1em;
  padding-right: 1em;
  min-height: 80%;
  transition: all 500ms ease-in-out;
}

.tab>.settings-card {
  display: block;
}

/* Make circles that indicate the steps of the form: */
.step {
  height: 15px;
  width: 15px;
  margin: 0 2px;
  background-color: #bbbbbb;
  border: none;
  border-radius: 50%;
  /* display: inline-block; */
  opacity: 0.5;
}

/* Mark the active step: */
.step.active {
  opacity: 1;
}

/* Mark the steps that are finished and valid: */
.step.finish {
  background-color: #23a6d5;
}

.disabled {
  opacity: 0.5;
}

.tab>.settings-card {
  margin-inline: 0;
}

.settings-tab {
  /* gap: 1em; */
  grid-template-columns: repeat(2, 1fr);
  grid-auto-flow: row;
  column-gap: 3vw;
  row-gap: 2vh;
  font-size: 1.25vw;
}

.platform-checkbox {
  display: none;
}

.platform-checkboxes {
  font-size: 1.625em;
  justify-content: center;
}

.event-parameters {
  padding-inline: 0.3em !important;
  border-radius: 10px;
  border: rgb(219, 219, 219) solid 1px;
  background-color: rgb(245, 245, 245);
  width: 100%;
  color: rgb(45, 45, 45);
}

.event-parameters:focus {
  outline: none;
  border: rgb(170, 170, 170) solid 1px;
}

.platform-label {
  display: block;
  aspect-ratio: 1;
  padding-inline: 0.3em;
  border-radius: 12px;
  transition: all 250ms ease;
}

.platform-label>i {
  position: relative;
}

.platform-label>i>i {
  display: none;
  position: absolute;
  top: 0;
  color: white;
}

.platform-checkbox:checked~.platform-label {
  background: rgba(0, 0, 0, 0.438);
}

.platform-checkbox:checked~.platform-label>i>i {
  display: block;
}

fieldset {
  border: none;
}

fieldset>legend {
  font-weight: 700;
}

textarea {
  resize: none;
  width: 100%;
  height: 100%;
}

.fieldset-wrapper,
.platform-card {
  background: white;
  border-radius: 1em;
  box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.25);
  padding-top: 0.5em;
  transition: all 250ms ease-in-out;
}

.platform-card {
  padding: 1em;
}

.platform-header {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  font-weight: 700;
  line-height: 1.7em;
}

.output-tab {
  height: 100%;
}

.prompt-container {
  font-size: 1.5vh;
  transform: translateY(-100);
  margin-block: 1.3em;
  /* width: 32em; */
  width: 100%;
  transition: all 500ms ease-in-out;
  background: white;
  box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.25);
  border-radius: 20px;
  padding: 0.4em;
  padding-top: 0.8em;
  padding-bottom: 1.3em;
}


/* .settings-tab {
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
  height: 100%;
} */

.active-tab {
  display: block;
}

.settings-tab.active-tab {
  display: grid;
}

@media screen and (max-height: 430px) {
  .settings-tab {
    font-size: 1vw;
  }
}

@media screen and (max-height: 616px) {
  body {
    font-size: 0.9em;
  }
}

@media screen and (max-width: 870px) {
  #generation {
    overflow-y: scroll;
  }

  .wizard-content {
    display: flex;
    flex-direction: column;
    margin: 0;
    padding: 0;
    min-height: auto !important;
    height: auto !important;
    /* height: 200vh; */
    /* grid-auto-flow: row; */
    /* grid-template: 1fr 1fr; */
    /* grid-template-columns: 1fr 1fr; */
    /* flex-wrap: wrap; */
  }

  .wizard-content::after {
    display: none;
  }

  .progress-bar {
    display: none;
  }

  .selector-container,
  .selector-container>.img-selector,
  .selector-container>.img-selector>.img-selected,
  .selector-container>.img-selector>.select-file {
    width: auto !important;
    justify-content: center;
    max-width: 100% !important;
  }

  .wizard-card {
    display: flex;
    /* flex-direction: column; */
    margin: 0;
    padding: 0 1em;
    width: 100%;
    height: auto !important;
    margin-bottom: 2em;
    /* height: 100%; */
  }

  .active-tab {
    display: flex;
    padding: 0;
    margin: 0;
  }

  .category-btns {
    display: flex;
    flex-direction: column;
    font-size: 0.8rem;
    width: 100%;
  }

  .category-bnts-container,
  .category-btns button {
    padding: 0 !important;
    height: 2em !important;
    text-align: center;
  }

  .category-btns button {
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .category-bnts-container>small {
    display: none;
  }

  .parameters-btns {
    width: 100%;
  }

  .parameters-btns>.category-bnts-container {
    justify-content: center;
  }

  .settings-tab.active-tab {
    display: flex;
    flex-direction: column;
    width: 100%;
    font-size: 1rem;
  }

  .progress-btns {
    padding: 0 1em;
    width: 100%;
    justify-content: space-between;
  }

  .progress-btns>button {
    padding: 0.625em 1.5em;
  }

  .post-container {
    font-size: 1rem;
    margin-bottom: 5em;
  }

  .prompt-container {
    background: white;
    box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.25);
    /* backdrop-filter: blur(10px); */
    border-radius: 1em;
    font-size: 1rem;
    position: fixed !important;
    margin: 0;
    padding: 0.5em;
    padding-bottom: 1.5em;
    height: 25% !important;
    bottom: 0 !important;
    left: 0 !important;
    right: 0 !important;
    z-index: 99;
  }
}