:root {
  --fontFamily: Roboto, Arial, sans-serif;
  --fontSize: 1.3125rem;

  --fontProd_LG: 1.8rem;
  --fontProd_MD: 1.1rem;
  --fontProd_SM: 0.8rem;
  --fontProd_Stars: 1.5rem;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  overflow-y: scroll;
}

@media (min-width: 62em) {
  body {
    width: 100vw;
    overflow-x: hidden;
  }
}

body,
h1,
h2,
h3,
h4,
p {
  font-family: var(--fontFamily);
  font-weight: 400;
  font-size: var(--fontSize);
}

body {
  background-color: var(--BodyBackgroundColor);
  color: var(--MainFontColor);
}

img {
  display: block;
  max-width: 100%;
}

/* Hide default tooltip */
[title] {
  position: relative;
}
[title]:hover {
  text-decoration: none;
}
[title]:hover:before {
  display: none !important;
}
[title]:hover:after {
  display: none !important;
}

[data-tooltip] {
  position: relative;
}

[data-tooltip-below] {
  position: relative;
}

/* Custom style for tooltip */
[data-tooltip]:hover:after {
  content: attr(data-tooltip);
  background: var(--formBkgColorGradient);
  color: #fff;
  font-size: 0.8rem !important;
  padding: 8px;
  position: absolute;
  z-index: 999;
  border-radius: 4px;
  bottom: 30px;
  left: 0;
  text-align: center;
  visibility: visible;
  opacity: 1;
  white-space: pre-wrap;
  transition: opacity 0.3s ease-in-out;
  min-width: 200px;
  max-width: 300px;

  /* Add box shadow */
  box-shadow: 3px 3px 10px 3px rgba(0, 0, 0, 0.6);
}

@media (min-width: 62em) {
  [data-tooltip]:hover:after {
    min-width: 300px;
    max-width: 400px;
  }
}

/* Custom style for tooltip */
[data-tooltip-below]:hover:after {
  content: attr(data-tooltip);
  background: var(--formBkgColorGradient);
  color: #fff;
  font-size: 0.8rem !important;
  padding: 8px;
  position: absolute;
  z-index: 999;
  border-radius: 4px;
  bottom: 30px;
  left: 30px;
  text-align: center;
  visibility: visible;
  opacity: 1;
  white-space: pre-wrap;
  transition: opacity 0.3s ease-in-out;
  min-width: 200px;
  max-width: 400px;

  /* Add box shadow */
  box-shadow: 3px 3px 10px 3px rgba(0, 0, 0, 0.6);
}

.webpage {
  display: grid;
  grid-template-columns: 1fr;
  grid-template-areas:
    "header"
    "contentArea"
    "nav"
    "footer";
}

@media (min-width: 62em) {
  .webpage {
    margin-top: 1rem;
    max-width: 1440px;
    margin-inline: auto;
    display: grid;
    grid-template-columns: 200px 1fr;
    grid-template-areas:
      "header header"
      "nav contentArea"
      "footer footer";
  }
}

.spinner {
  width: 100%;
  grid-area: contentRow2;
  display: none;
  justify-content: center;
  margin-bottom: 1.5rem;
}
.spinner img {
  height: 5rem;
}

.content {
  grid-area: contentArea;
  display: grid;
  justify-items: center;
  align-items: center;
  grid-template-columns: 1fr;
  grid-template-areas:
    "contentRow1"
    "contentRow2"
    "contentRow3";
}

.results {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 1rem;
}

@media (min-width: 62em) {
  .results {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
  }
}

.tools {
  display: none;
}

.form {
  margin: 0.8rem 0 !important;
  width: 100%;
  padding: 0.75rem;
  background: var(--formBkgColorGradient);
  color: var(--formInputTextColor);
  border-radius: 10px;
}

@media (min-width: 62em) {
  .form {
    margin: 2rem 0 !important;
  }
}

.form h1 {
  line-height: 1;
  text-align: center;
  font-weight: 900;
  margin-bottom: 0.5rem;
}

.form h1 span.material-icons {
  font-size: 3.5rem;
}

.form h2 {
  color: white;
  line-height: 1;
  text-align: center;
  font-size: 2rem;
  font-weight: 400;
  margin: 2rem 0;
}

.form h3 {
  color: white;
  line-height: 1;
  text-align: center;
  font-size: 1.5rem;
  font-weight: 400;
  margin-top: 2rem;
  margin-bottom: 1rem;
}

.form h4 {
  color: white;
  line-height: 1;
  text-align: center;
  font-size: 1rem;
  font-weight: 400;
  margin-top: 2rem;
  margin-bottom: 1rem;
}

.formInputItem {
  display: grid;
  position: relative;
  padding-bottom: 1rem;
  align-items: center;
  justify-content: center;
  justify-items: center;
}

.formInputItemHorz {
  display: grid;
  position: relative;
  padding-bottom: 1rem;
  align-items: center;
  justify-content: center;
  justify-items: center;
}

.formInputItemHorz img {
  margin-top: 0;
}

@media (min-width: 62em) {
  .formInputItemHorz {
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .formInputItemHorz label {
    margin-right: 1rem;
  }
}

.formInputItem * {
  width: 300px;
}

.formInputItem,
.formInputItemHorz label {
  font-size: 1rem;
  text-align: center;
  text-transform: uppercase;
  color: var(--formInputLabelColor);
  margin-bottom: 0.2rem;
}

.formInputItem select {
  background-color: var(--formInputBkgColor);
  border-radius: 5px;
  padding: 0.5rem 1rem;
  font-size: 1rem;
}

.formInputItem input {
  border: 0 !important;
  border-radius: 5px;
  background-color: var(--formInputBkgColor);
  padding: 0.5rem 1rem;
  font-size: 1rem;
  font-weight: 500;
}

@media (min-width: 62em) {
  .formInputItem * {
    width: 350px;
  }

  .quarterWidth * {
    width: 250px;
  }

  .fullWidth * {
    width: 700px;
  }
}

.formInputItem:hover p,
.formInputItem:hover i,
.formInputItem:hover span,
.formInputItem:hover input::placeholder {
  color: var(--formHoverColor);
}

.formInputItem input:hover,
.formInputItem select:hover,
.formInputItem textarea:hover {
  box-shadow: 0 0 6px 0 var(--formHoverColor);
  color: var(--formHoverColor);
}

.formMessageRow {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  text-align: center;
  margin-top: 1rem;
  height: 2rem;
  margin-bottom: 1rem;
}

.errorMessageRow {
  display: none;
}

.formMessageRow span {
  text-transform: uppercase;
  color: white;
  font-size: 1rem;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.formSubmitMessage {
  text-align: center;
}

.formSubmitMessage p {
  font-size: 2rem;
}

.formButtonRow {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
}

.formButtonRowImagesPage {
  display: flex;
  justify-content: space-between; /* This will space out the children */
  gap: 2rem; /* Optional: Defines space between flex items */
}

.formButtonSet {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
}

@media (min-width: 62em) {
  .formButtonSet {
    gap: 1rem;
    grid-template-columns: repeat(2, 1fr);
  }
}

.formButton {
  margin: auto;
  text-align: center;
}

.formButton button {
  margin-top: 1rem;
  margin-bottom: 1rem;
  padding: 0.3rem;
  cursor: pointer;
  font-size: 1rem;

  border-radius: 5px;
  padding-inline: 2rem;
  border: 0;
  color: var(--primaryColor);
  background-color: var(--formInputBkgColor);
  box-shadow: 3px 3px 10px 3px rgba(0, 0, 0, 0.6);
  /* Add transition property */
  transition: all 0.3s ease-in-out;
}

.createPostsButton {
  height: 4rem;
  font-size: 1.1rem !important;
  text-transform: uppercase;
  letter-spacing: 0.1rem;
  color: #fff !important;
  /* background: var(--PrimaryColor) !important; */
  background-color: #7d2ae7 !important;
  border: 3px solid white !important;
  box-sizing: border-box !important;
  box-shadow: 3px 3px 10px 3px rgba(0, 0, 0, 0.6);
  /* Add transition property */
  transition: all 0.3s ease-in-out;
}

.createPostsButton:hover {
  background-color: var(--primaryColor) !important;
  color: var(--formBkgColor);
  /* font-weight: 700; */
}

.formButton button:hover {
  background-color: var(--formButtonHoverColor);
  color: var(--formBkgColor);
}

.stopButton {
  display: none;
}

.show {
  display: inline-block;
}

.hide {
  display: none;
}

.disabled-input {
  pointer-events: none;
}

.password-container {
  position: relative;
  width: fit-content;
  margin: auto;
}

.password-toggle {
  position: absolute;
  bottom: 1.5rem;
  cursor: pointer;
  font-size: 18px;
  user-select: none;
  text-align: end;
  width: 30px;
  right: 10px;
}

.input-container {
  display: flex;
  align-items: center;
}

#progressBar {
  margin-top: 1rem;
  width: 100%;
  background-color: #60bdef;
  border-radius: 5px;
  margin-inline: auto;
}

#progressIndicator {
  width: 0%;
  height: 20px;
  background-color: #7d2ae7;
  border-radius: 5px;
}
