body {
  background-color: #eaeaea;
  font-family: "Hanken Grotesk", sans-serif;
}

.page-container {
  position: relative;
}

.page-wrapper {
  max-width: 1140px;
  margin: 0 auto 50px;
  padding: 0 0 180px;
  position: relative;
  z-index: 1;
}

.main-title {
  font-weight: 800;
  font-size: 70px;
  color: #4361ec;
  margin-top: 50px;
  text-align: left;
}

.sub-title {
  font-weight: 800;
  font-size: 40px;
  color: #4361ec;
  margin-top: 20px;
  text-align: left;
}

.image-text-container {
  margin-top: 50px;
  display: flex;
  align-items: center;
  gap: 33px;
}

.image-text-container .image-container {
  flex: 0 0 454px;
  align-self: flex-start;
}

.image-text-container .robert-name {
  margin-bottom: 25px;
}

.image-text-container .text-container {
  flex: 1;
  padding-left: 2rem;
}

.image-text-container h3 {
  font-weight: 800;
  font-size: 70px;
  color: #f0016a;
  line-height: 100%;
}

.image-text-container p {
  font-weight: 500;
  font-size: 30px;
  color: #4361ec;
  margin-bottom: 0;
}

.personality-test {
  margin-top: 50px;
}

.personality-test h3 {
  font-weight: 800;
  font-size: 50px;
  color: #4361ec;
}

.personality-test ul {
  font-weight: 500;
  font-size: 30px;
  color: #4361ec;
  list-style-position: inside;
  padding-left: 0;
}

.lets-start {
  margin-top: 30px;
  text-align: center;
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  width: 100%;
  height: 300px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.question {
  display: flex;
  align-items: flex-start;
  margin-bottom: 4rem;
}

.question .number {
  background-color: #4361ec;
  color: white;
  font-weight: 800;
  font-size: 40px;
  width: 51px;
  height: 51px;
  text-align: center;
  line-height: 51px;
  margin-right: 2rem;
  flex-shrink: 0;
}

.question .content h2 {
  font-weight: 800;
  font-size: 40px;
  color: #4361ec;
  margin: 0;
}

.question .answers {
  margin-top: 2rem;
}

.question .answer {
  display: flex;
  align-items: flex-start;
  margin-bottom: 1rem;
  cursor: pointer;
  transition: opacity 0.3s ease;
}

.question.answered .answer:not(.selected) {
  opacity: 0.5;
}

.question .answer .checkbox {
  width: 33px;
  height: 33px;
  border: 2px solid #4361ec;
  margin-right: 1.5rem;
  flex-shrink: 0;
  position: relative;
}

.cappy-head {
  display: none;
  position: absolute;
  top: -3px;
  left: 0;
  width: 46px;
}

.question .answer.selected .cappy-head {
  display: block;
}

.question .answer p {
  font-weight: 500;
  font-size: 30px;
  color: #4361ec;
  margin: 0;
}

.send-btn-container {
  margin-top: 5rem;
}

.send-btn {
  background-color: #f0016a;
  border-radius: 10px;
  display: inline-block;
  padding: 1.5rem 3rem;
  text-decoration: none;
}

.send-btn.disabled {
  background-color: #ffc0da;
  pointer-events: none;
}

.send-btn h3 {
  font-weight: 800;
  font-size: 40px;
  color: #ffffff;
  margin: 0;
}

.results-section {
  margin-top: 5rem;
}

.result-box {
  background-color: #f0016a;
  color: white;
  padding: 16px 25px;
  text-align: left;
}

.result-box.summary {
  display: flex;
  align-items: center;
  border-radius: 10px;
  width: fit-content;
}

.result-box.summary .ennyi-text {
  font-size: 2rem;
  font-weight: 800;
  margin-right: 1rem;
}

.result-box.summary .cappy-heads {
  display: flex;
  gap: 10px;
}

.result-box.summary .cappy-heads img {
  width: 34px;
}

.result-box-container {
  margin-top: -30px;
}

.result-box.details {
  font-size: 2rem;
}

.designed-lines .designed-line {
  display: flex;
  height: 31px;
}

.designed-lines .designed-line .long-white {
  flex-grow: 1;
  background-color: transparent;
}

.designed-lines .designed-line .pink-box {
  width: 31px;
  background-color: #f0016a;
}

.designed-lines .designed-line .white-rectangle {
  width: 62px;
  background-color: transparent;
}

.designed-lines .designed-line .long-pink {
  flex-grow: 1;
  background-color: #f0016a;
}

.designed-lines .designed-line .pink-rectangle {
  width: 62px;
  background-color: #f0016a;
}

.designed-lines .designed-line .white-box {
  width: 31px;
  background-color: transparent;
}

.email-phone-form {
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.email-input-wrapper {
  position: relative;
  margin-top: 10px;
}

.input-style {
  width: 100%;
  border: 2px solid #f0016a;
  background-color: transparent;
  padding: 1rem;
  font-size: 1.5rem;
  color: #f0016a;
  border-radius: 10px;
}

.input-style:focus {
  outline: none;
  background-color: rgba(240, 1, 106, 0.1);
}

.email-phone-form .inputs-container {
  flex-grow: 1;
  position: relative;
}

.email-submit-btn {
  background-color: #f0016a;
  border: none;
  padding: 1rem;
  cursor: pointer;
  border-radius: 10px;
  width: 200px;
  align-self: flex-end;
}

.email-submit-btn img {
  width: 50px;
}

.phone-input-wrapper {
  position: relative;
}

.email-saved .inputs-container .email-input-wrapper::after,
.email-saved .inputs-container .phone-input-wrapper::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 100%;
  height: 100%;
  background-color: #f0016a;
  border-radius: 10px;
  width: 0;
}

.email-saved .inputs-container .phone-input-wrapper::after {
  transition: width 0.5s ease-in-out 0.1s;
}

.email-saved .inputs-container .email-input-wrapper::after {
  transition: width 0.5s ease-in-out;
}

.email-saved.fill .inputs-container .email-input-wrapper::after,
.email-saved.fill .inputs-container .phone-input-wrapper::after {
  width: 100%;
}

.email-saved .email-submit-btn img {
  content: url("https://diversityads.ro/assets/img/pixeled-check.svg");
}

.error-message {
  color: red;
  font-size: 0.9rem;
  margin-top: 5px;
}

#email-sent-section {
  opacity: 0;
  max-height: 0;
  overflow: hidden;
  transform: translateY(-50px);
  transition: all 0.5s ease-in-out;
}

#email-sent-section.visible {
  opacity: 1;
  max-height: 10000px;
  transform: translateY(0);
  margin-top: 60px;
  border-radius: 8px;
}
.results-table {
  width: 100%;
  border-collapse: collapse;
  margin: 0 auto;
  overflow: hidden;
}
.results-table th,
.results-table td {
  border: 2px solid #eaeaea;
  padding: 5px;
  text-align: left;
  vertical-align: top;
}
.results-table th {
  background-color: #f0016a;
  color: white;
  font-size: 30px;
  font-weight: 400;
  width: 33.33%;
}
.results-table td {
  background-color: #b2bff6;
  color: #f0016a;
  font-size: 25px;
  font-weight: 500;
}

.results-table th:nth-child(2),
.results-table th:nth-child(3) {
  text-transform: lowercase;
}

.results-table td:first-child {
  font-weight: 900;
}

.results-table td:last-child,
.results-table th:last-child {
  display: none;
}

#email-sent-section h2 {
  color: #4361ec;
  font-weight: bold;
  text-align: left;
  margin-bottom: 15px;
  font-size: 50px;
}

.stages-container {
  display: flex;
  justify-content: space-between;
  gap: 50px;
  margin-top: 100px;
}

.stage-column {
  flex: 1;
  color: #4361ec;
}

.stage-title {
  display: flex;
  align-items: center;
  gap: 10px;
  background-color: #d9d9d9;
  padding: 8px 15px;
  border-radius: 34px;
  display: inline-flex;
  margin-bottom: 50px;
  width: 345px;
}

.stage-title .dot {
  width: 32px;
  height: 32px;
  border-radius: 50%;
}

.stage-title span {
  font-weight: bold;
  color: #4361ec;
  font-size: 26px;
}

.stage-title.starter .dot {
  background-color: #7ce883;
} /* Green */
.stage-title.in-crestere .dot {
  background-color: #c90159;
} /* Red */
.stage-title.matura .dot {
  background-color: #102ca6;
} /* Blue */

.stage-column h3 {
  font-weight: 500;
  font-size: 25px;
  font-style: italic;
  margin-bottom: 15px;
  height: 60px;
}

.stage-column p {
  font-size: 20px;
  margin: 0;
  text-align: justify;
}

.bonus {
  position: relative;
  padding-top: 100px;
}

#email-sent-section .bonus h2.subtitle {
  font-size: 40px;
  color: #f0016a;
  font-weight: 900;
}

#email-sent-section .bonus h2.title {
  font-size: 50px;
  color: #4361ec;
  font-weight: 700;
}

.bonus .list-title {
  font-size: 35px;
  color: #f0016a;
  font-weight: 800;
}

.bonus .list {
  font-size: 35px;
  color: #4361ec;
  font-weight: 600;
  margin-left: 175px;
  list-style-type: square;
}

.have-questions {
  position: relative;
  text-align: center;
  padding-top: 120px;
}

#email-sent-section .have-questions h2.title {
  font-size: 50px;
  color: #f0016a;
  font-weight: 700;
  text-align: center;
}

.have-questions p {
  font-size: 45px;
  color: #4361ec;
  font-weight: 900;
}

.have-questions a {
  color: #4361ec;
}

.have-questions a:hover {
  color: #2a41ab;
}

.bg-images {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  z-index: 0;
  opacity: 0;
  transition: all 0.5s ease-in-out;
}

.bg-images.visible {
  opacity: 1;
}

.bg-images .dollars {
  margin: 0 0 140px 575px;
  height: 455px;
}

.bg-images .question-marks {
  height: 465px;
  margin-bottom: 30px;
  margin-left: -200px;
}

@media (max-width: 768px) {
  .page-wrapper {
    margin-bottom: 0;
    padding: 0 15px 100px;
  }

  .main-title {
    font-size: 3rem;
  }

  .sub-title {
    font-size: 25px;
  }

  .image-text-container {
    flex-direction: column;
  }

  .image-text-container .image-container {
    flex: 0;
  }

  .image-text-container .text-container {
    padding-left: 0;
  }

  .image-text-container-text {
    margin-bottom: 0;
  }

  .image-text-container h3 {
    font-size: 3rem;
  }

  .image-text-container p {
    font-size: 18px;
  }

  .personality-test h3 {
    font-size: 30px;
  }

  .personality-test ul {
    font-size: 18px;
  }

  .lets-start {
    margin: 0;
    background-size: cover;
    background-position: right center;
    height: 130px;
  }

  .question .answers {
    margin-top: 1rem;
  }

  .question .answer {
    margin-bottom: 8px;
  }

  .question .content h2 {
    font-size: 25px;
  }

  .question .answer p {
    font-size: 19px;
    margin-bottom: 0;
  }

  .question .answer .checkbox {
    width: 25px;
    height: 25px;
  }

  .cappy-head {
    width: 35px;
  }

  .question .number {
    font-size: 25px;
    width: 32px;
    height: 32px;
    line-height: 32px;
  }

  .send-btn-container {
    margin-top: 4rem;
    text-align: center;
  }

  .send-btn {
    padding: 1rem 2rem;
  }

  .send-btn h3 {
    font-size: 25px;
  }

  .results-section {
    margin-top: 4rem;
  }

  .result-box.summary .ennyi-text {
    font-size: 25px;
  }

  .result-box.details {
    font-size: 25px;
  }

  .result-box-container {
    margin-top: 10px;
  }

  .result-box.summary .cappy-heads img {
    width: 34px;
  }

  .designed-lines .designed-line {
    height: 20px;
  }

  .designed-lines .designed-line .pink-box {
    width: 20px;
  }

  .designed-lines .designed-line .white-rectangle {
    width: 40px;
  }

  .designed-lines .designed-line .pink-rectangle {
    width: 40px;
  }

  .designed-lines .designed-line .white-box {
    width: 20px;
  }

  .input-style {
    font-size: 18px;
  }

  .email-submit-btn {
    padding: 12px;
  }

  .stages-container {
    flex-direction: column;
  }

  #email-sent-section h2 {
    font-size: 40px;
  }

  .results-table th,
  .results-table td {
    font-size: 20px;
    font-weight: 700;
  }

  .results-table td:first-child {
    font-size: 15px;
  }

  .results-table td:last-child,
  .results-table th:last-child {
    display: table-cell;
    width: 66.66%;
  }

  .results-table th:nth-child(2),
  .results-table th:nth-child(3),
  .results-table td:nth-child(2),
  .results-table td:nth-child(3) {
    display: none;
  }

  .stage-column p {
    font-size: 15px;
  }

  .stages-container,
  .bonus,
  .have-questions {
    padding-left: 15px;
    padding-right: 15px;
  }

  #email-sent-section .bonus h2.subtitle {
    font-size: 25px;
    margin-bottom: 0;
  }

  #email-sent-section .bonus h2.title {
    font-size: 31px;
    margin-bottom: 25px;
    width: 225px;
  }

  .bonus .list-title {
    font-size: 22px;
    margin-bottom: 10px;
  }

  .bonus .list {
    font-size: 22px;
    margin-left: 0;
  }

  .have-questions {
    padding-top: 60px;
  }

  #email-sent-section .have-questions h2.title {
    font-size: 31px;
  }

  .have-questions p {
    font-size: 28px;
  }

  .bg-images .dollars {
    height: 228px;
    margin: 0 0 415px 220px;
  }

  .bg-images .question-marks {
    height: 205px;
    margin-left: 0;
    margin-bottom: 0;
  }
}

@media (max-width: 415px) {
  .stage-title {
    width: 100%;
  }

  .stage-title span {
    font-size: 24px;
  }
}
