.one-p {
  position: relative;
}
.one-p .container {
  max-width: 1440px;
  min-height: 100vh;
  margin: 0 auto;
  padding: 10px 30px 30px;
  width: 100%;
}
.one-p .main {
  display: flex;
  flex-direction: column;
  justify-content: center;
  margin-bottom: 20px;
}
.one-p .main__block {
  position: relative;
}
.one-p .main__pic {
  overflow: hidden;
  display: flex;
  max-width: 500px;
  max-height: 300px;
  width: 100%;
  margin: auto;
  border-radius: var(--image-border-radius);
}
.one-p .main__pic::before {
  position: absolute;
  content: "";
  display: block;
  margin: 5px auto;
  height: 3px;
  width: 60%;
  bottom: -20px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--main-color);
}
.one-p .main__pic img {
  width: 100%;
  height: auto;
  object-fit: contain;
}
.one-p .main__text {
  color: var(--main-text-color);
  font-size: var(--title-font-size);
  text-align: center;
  margin: 30px auto 0;
  font-weight: 700;
}
.one-p .main__subtext {
  font-size: var(--subtitle-font-size);
  color: var(--main-color);
  text-align: center;
  margin: 30px auto;
}
.one-p .slider {
  max-width: 500px;
  position: relative;
  margin: 0 auto 15px;
  height: auto;
}
.one-p .slider-item {
  animation: fade 1.5s;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  max-width: 500px;
  margin: 0 auto;
  width: 100%;
}
.one-p .slider-text {
  color: #000;
  font-size: var(--main-text-font-size-deck);
  font-weight: 500;
  margin: 15px auto 8px;
}
.one-p .slider-description {
  color: #000;
  text-align: center;
  padding: 10px 5px;
  margin-bottom: 15px;
  width: 100%;
}
.one-p .slider .item__question {
  padding: 15px;
  margin-top: 50px;
  border-radius: 20px;
  background: #fff;
  box-shadow: 0px -1px 21px 0px rgba(0, 0, 0, 0.75);
}
.one-p .slider .item__question.last {
  text-align: left;
  font-size: 18px;
  display: flex;
  flex-direction: column;
  width: 100%;
  gap: 10px;
  height: 100%;
}
.one-p .slider .item__question .number__question {
  width: 100%;
  padding: 3px;
  background: var(--main-color);
  color: #fff;
  text-align: center;
  font-size: 20px;
  font-weight: bold;
  border-radius: 10px;
}
.one-p .slider .final_text {
  display: block;
  width: 100%;
}
.one-p .form_radio_btn {
  max-width: 450px;
  width: 100%;
  margin: 0 auto 7px;
  display: block;
  cursor: pointer;
  border: 1px solid var(--main-color);
  border-radius: 6px;
  user-select: none;
  transition: all 0.2s linear;
}
.one-p .form_radio_btn p {
  line-height: 30px;
  font-weight: 400;
  font-size: var(--main-text-font-size-deck);
  padding: 6px 10px;
}
.one-p .form_radio_btn:hover {
  background: var(--main-color);
  opacity: 0.8;
}
.one-p .form_radio_btn:hover p {
  color: #fff;
}
.one-p .quiz-button {
  background: var(--main-color);
  padding: var(--quiz-button-padding-height) var(--quiz-button-padding-width);
  margin: 12px;
  display: inline-block;
  color: #ffffff;
  font-size: 20px;
  letter-spacing: 2.5px;
  text-align: center;
  text-transform: uppercase;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
  cursor: pointer;
  position: relative;
  overflow: hidden;
}
.one-p .one-p-background {
  position: fixed;
  z-index: -1;
  top: 0;
  left: 0;
  height: 100%;
  width: 100vw;
}
.one-p .one-p-background .one-p-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  pointer-events: none;
}
.one-p .one-p-background .one-p-overlay.black {
  background-color: rgb(0, 0, 0);
}
.one-p .one-p-background .one-p-overlay.white {
  background-color: rgb(255, 255, 255);
}
.one-p .one-p-background.color {
  background-color: var(--bg-color);
}

@media (max-width: 1024px) {
  .one-p .main__text {
    font-size: 25px;
  }
  .one-p .slider-text {
    font-size: var(--main-text-font-size-deck);
  }
  .one-p .slider .form_radio_btn p {
    font-size: var(--main-text-font-size-deck);
  }
  .one-p .slider .item__question {
    margin-top: 40px;
  }
  .one-p .slider .item__question.last {
    margin-top: 50px;
  }
}
@media (max-width: 768px) {
  .one-p .container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    max-width: 560px;
  }
  .one-p .main__text {
    font-size: 20px;
  }
  .one-p .main__subtext {
    font-size: 16px;
  }
  .one-p .slider-text {
    font-size: var(--main-text-font-size-mob);
  }
  .one-p .slider .form_radio_btn p {
    font-size: var(--main-text-font-size-mob);
  }
  .one-p .quiz-button {
    padding: 20px 30px;
    font-size: 18px;
  }
}
@media screen and (max-width: 576px) {
  .one-p .container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    max-width: 560px;
  }
  .one-p .main__text {
    font-size: var(--title-font-size-mob);
    margin-top: 24px;
  }
  .one-p .main__subtext {
    font-size: var(--subtitle-font-size-mob);
  }
  .one-p .slider-text {
    font-size: var(--main-text-font-size-mob);
    margin: 5px auto;
  }
  .one-p .slider-description {
    font-size: 16px;
  }
  .one-p .slider .form_radio_btn p {
    font-size: var(--main-text-font-size-mob);
  }
  .one-p .slider .quiz-button {
    padding: var(--quiz-button-padding-height-mob) var(--quiz-button-padding-width-mob);
    font-size: 16px;
  }
}
.scaleOnHover:hover {
  transform: scale(1.1);
}

.pulsing {
  animation: pulsing 1s infinite;
}

.lines span {
  position: absolute;
}
.lines span:nth-child(1) {
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(to left, rgba(43, 8, 8, 0), #e8b7db);
  animation: animateTop 2s linear infinite;
}
.lines span:nth-child(2) {
  top: 0;
  right: 0;
  height: 100%;
  width: 2px;
  background: linear-gradient(to left, rgba(43, 8, 8, 0), #e8b7db);
  animation: animateRight 2s linear -1s infinite;
}
.lines span:nth-child(3) {
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(to left, rgba(43, 8, 8, 0), #e8b7db);
  animation: animateBottom 2s linear infinite;
}
.lines span:nth-child(4) {
  top: 0;
  left: 0;
  height: 100%;
  width: 2px;
  background: linear-gradient(to left, rgba(43, 8, 8, 0), #e8b7db);
  animation: animateLeft 2s linear -1s infinite;
}

@keyframes fromLeftToRightInfinite {
  from {
    background-position: -1000px 0;
  }
  to {
    background-position: 0 0;
  }
}
@keyframes pulsing {
  50% {
    transform: scale(1.1);
  }
}
@keyframes animateTop {
  0% {
    transform: translateX(100%);
  }
  100% {
    transform: translateX(-100%);
  }
}
@keyframes animateRight {
  0% {
    transform: translateY(100%);
  }
  100% {
    transform: translateY(-100%);
  }
}
@keyframes animateBottom {
  0% {
    transform: translateX(-100%);
  }
  100% {
    transform: translateX(100%);
  }
}
@keyframes animateLeft {
  0% {
    transform: translateY(-100%);
  }
  100% {
    transform: translateY(100%);
  }
}
@keyframes fade {
  from {
    opacity: 0.4;
  }
  to {
    opacity: 1;
  }
}

/*# sourceMappingURL=one-page-quiz.css.map */
