* {
  margin: 0;
  padding: 0;
  font-family: "Poppins", sans-serif;
}

@keyframes bounce {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

/* /////////////////////// APP ///////////////////////////////// */

.app-container {
  max-width: 600px;
  margin: auto;
  padding: 30px;
  background-color: #fff;
  border-radius: 10px;
  text-align: center;
  margin-bottom: 30px;
  /* box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); */
}

.heading {
  font-size: 2em;
  margin-bottom: 30px;
  color: #4d4d4d;
}

.input-group {
  text-align: left;
  margin-bottom: 10px;
  display: flex;
  flex-direction: column;
}

.label {
  font-size: 1em;
  color: #272727;
  font-weight: 600;
  margin-bottom: 7px;
  display: block;
}

.number-input {
  display: flex;
  justify-content: space-between;
  gap: 10px;
}

.input {
  width: 100%;
  padding: 4px 20px;
  border: 1px solid #cccccc;
  border-radius: 5px;
  font-size: 14px;
  color: #5c5c5c;
  margin-bottom: 6px;
  box-sizing: border-box; /* Include padding and border in element's total width */
}
.input:focus {
  border-color: #70b5ff; /* Set border color on focus */
  outline: none; /* Remove default focus outline */
}

#characterSet {
  resize: none;
}

.button {
  padding: 10px 20px;
  font-size: 1.1em;
  background-color: #007bff;
  color: #fff;
  border: none;
  border-radius: 5px;
  cursor: pointer;
}

.button:hover {
  background-color: #0056b3;
}

.generated-codes {
  margin-top: 20px;
  text-align: center; /* Center the generated codes */
}

.generated-code {
  font-size: 16px;
  padding: 10px;
  margin-bottom: 10px;
  background-color: #ccf0ff;
  border-radius: 5px;
  display: inline-block;
  cursor: pointer;
  width: 45%; /* Set width to fit 2 elements in a line with some spacing */
  margin-right: 2%; /* Add some space between elements */
  box-sizing: border-box; /* Include padding and border in element's total width */
  transition: background-color 0.3s;
}

.generated-code:hover {
  background-color: #7ebcff;
  color: rgb(0, 0, 0);
}

.advance-options {
  width: fit-content;
  display: flex;
  margin-bottom: 20px;
  text-align: left;
  cursor: pointer;
  color: #007bff; /* Same color as the button */
  font-weight: bold;
  margin-top: 15px;
  transition: color 0.3s; /* Add transition for smooth color change */
}

.advance-options::before {
  content: "\25BC"; /* Unicode for dropdown arrow */
  display: inline-block;
  margin-right: 5px;
}

.advanced-options-active::before {
  content: "\25B2"; /* Unicode for dropup arrow */
}

.hidden {
  height: 0;
  overflow: hidden;
  transition: height 0.3s ease-out;
}

.advanced-options-active ~ .hidden {
  height: auto; /* Auto will make it expand to the natural height of its content */
  transition: height 0.3s ease-in;
}

/* /////////// Template ///////////// */
.template-main-container {
  max-width: 100em;
  margin: auto;
  background: linear-gradient(to bottom right, #002d5e, #0056b3);
  padding: 60px 0px;
  border-radius: 0px 200px 0px 200px;
}

.template-main-container > h1 {
  max-width: 450px;
  text-align: center;
  margin: auto;
  margin-top: 50px;
  margin-bottom: 40px;
  color: white;
}

.template-container {
  max-width: 700px;
  margin: auto;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 20px;
  margin-bottom: 50px;
}
.template-div {
  width: 100%;
  margin: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  border-radius: 8px 50px 8px 50px;
  text-align: center;
  background-color: #fff;
  padding: 20px 30px;
  box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
}
.template-div:hover {
  box-shadow: rgba(253, 253, 253, 0.24) 10px 10px 10px;
}

.template-div h3 {
  margin-bottom: 10px;
  font-size: 16px;
  color: #0056b3;
}

.template-div p {
  font-size: 12px;
  margin-bottom: 5px;
  color: #506883;
}

.template-button {
  margin-top: 10px;
  padding: 10px 20px;
  background-color: #0056b3;
  color: #fff;
  font-weight: 600;
  font-size: 15px;
  border-radius: 15px 0px 15px 0px;
  cursor: pointer;
  transition: background-color 0.2s ease-in-out;
}

.template-button:hover {
  background-color: #c0c0c0;
  color: #003b7a;
}

/* //////////// Template End ///////////// */

/* ///////////////// TOAST /////////////////  */
.toast {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  padding: 10px 20px;
  background-color: #333;
  color: #fff;
  border-radius: 5px;
  opacity: 0;
  transition: opacity 0.3s, transform 0.3s;
}
/* /////////////////////////////////// */

.mainFeatures > h1 {
  color: #4d4d4d;
  text-align: center;
  max-width: 550px;
  margin: auto;
  margin-top: 50px;
  margin-bottom: 30px;
}

.features-container {
  margin-bottom: 120px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}

.features {
  text-align: center;
  margin: 10px;
  padding: 20px 20px;
  /* background-color: #f7f7f7; */
  border-radius: 20px;
  max-width: 250px;
  box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
  transition: background-color 0.3s;
}

.features:hover {
  box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
  background: linear-gradient(to bottom, #ffffff, #add4ff), #fff; /* Linear gradient with white background on hover */
}

.features img {
  max-width: 100px;
  max-height: 100px;
}

.features h3 {
  width: 100%;
  margin: auto;
  font-size: 1.2em;
  color: #222222;
}
.features p {
  color: #727272;
  margin-top: 6px;
  font-size: 15px;
}

/* /////// faq ///////////////////// */

.main-faq-section {
  max-width: 1000px;
  margin: auto;
}
.faq-heading {
  color: #4d4d4d;
  text-align: center;
}

.faqContainer {
  display: grid;
  grid-template-columns: 1fr 1fr;
  justify-content: center;
  align-items: center;
  padding: 30px;
  line-height: 1.6rem;
}

.accordian {
  background-color: white;
  padding: 20px 16px;
  border-radius: 15px;
}
.accordian:hover {
  background-color: #c9e2fd;
}

.question {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.question h4 {
  cursor: pointer;
  color: #002955;
}

.icon {
  margin-right: 15px;
  margin-left: 15px;
  transition: transform 0.2s;
  color: #002955;
}

.icon.active {
  transform: rotate(-180deg);
}

.answer {
  color: #666;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.2s;
}
.answer p {
  margin-top: 12px;
  font-size: 14px;
}

@media (max-width: 700px) {
  .hero-heading-container h1 {
    font-size: 5vh; /* Adjust the font size as needed */
  }
  .hero-heading-container .text-change {
    margin-top: -20px;
    font-size: 7vh; /* Adjust the font size as needed */
  }
  .number-input {
    flex-direction: column;
  }
  .faqContainer {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 900px) {
  .heading {
    font-size: 20px;
  }
  .features img {
    max-width: 70px;
    max-height: 70px;
  }
  .features h3 {
    font-size: 15px;
  }

  .features p {
    font-size: 12px;
  }

  .question h4 {
    font-size: 14px;
  }
  .answer p {
    font-size: 12px;
  }

  .template-main-container {
    padding: 40px 100px;
  }

  .template-main-container h1 {
    font-size: 20px;
  }

  .template-container {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 600px) {
  .input {
    font-size: 12px;
  }
  .button {
    margin: 10px 0px;
    font-size: 12px;
  }

  .generated-code {
    font-size: 12px;
  }

  .question h4 {
    font-size: 12px;
  }
  .answer p {
    font-size: 10px;
  }

  .template-main-container {
    padding: 40px 70px;
  }
  .template-container {
    grid-template-columns: 1fr;
  }
  .template-button {
    font-size: 10px;
  }
}
