@font-face {
  font-family: "StranaFont";
  src: url("/assets/fonts/StranaFont-Medium.otf") format("opentype"),
    url("/assets/fonts/StranaFont-Regular.otf") format("opentype"),
    url("/assets/fonts/StranaFont-SemiBold.otf") format("opentype");
}

.popup {
  padding: 0 5px;
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
  justify-content: center;
  align-items: center;
  z-index: 1000;
}

.popup-content {
  padding: 25px 56px 0 56px;
  background: radial-gradient(circle at bottom, #ffca3c, #a50124 90%);

  border-radius: 10px;
  width: 560px;
  text-align: center;
  position: relative;
  font-family: "Roboto", sans-serif;
}
.popup-content h2 {
  margin-bottom: 35px;
  font-family: "Roboto";
  font-size: 18px;
  color: #fcb634;
  text-align: center;
  position: relative;
  padding-bottom: 10px; /* Отступ, чтобы линия не касалась текста */
}

.answers-buttons {
  display: flex;
}

.popup-content h2::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px; /* Толщина линии */
  background: linear-gradient(to right, #fcb63400, #fcb634, #fcb63400);
}

.close {
  color: #ffffff;
  position: absolute;
  top: 0;
  right: 0;
  padding: 10px 20px;
  font-size: 20px;
  cursor: pointer;
  font-family: "Roboto", sans-serif;
}

/* button {
  font-size: 20px;
  margin-top: 10px;
  padding: 10px 20px;
  background: linear-gradient(91.34deg, #e8c987 30.79%, #f7395a 149.67%);
  color: black;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-family: "Exo 2", sans-serif;
}

button:hover {
  transform: scale(1.05);
  transition: all 0.3s;
} */

/* Стили для кнопок ответов */
.answer-button2,
.answer-button {
  width: 100%;
  text-transform: capitalize;
  margin-right: 20px;
  margin-top: 0;
  padding: 0;
  min-width: 135px;
  height: 44px;
  background: #ffffff;
  border-radius: 20px;
  color: #000;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  font-weight: 500;
  font-size: 18px;
  line-height: 140%;
  cursor: pointer;
  transition: 0.3s all;
  font-family: "Roboto", sans-serif;
}
.answer-button2:hover,
.answer-button:hover {
  background-color: #fcb634;
  color: #ffffff;
  transform: scale(1.05);
  transition: all 0.3s;
}
.answer-button2.selected,
.answer-button.selected {
  background: #fcb634;
  color: #fff;
  transition: 0.3s all;
}

.answer-title {
  text-transform: uppercase;
  font-family: "StranaFont";
  font-size: 30px;
  font-weight: 600;
  line-height: 120%;
  color: #ffffff;
  padding-bottom: 18px;
  margin-bottom: 8px;
}
@media (max-width: 768px) {
  .answer-title {
    text-transform: uppercase;
    font-family: "StranaFont";
    font-size: 22px;
    font-weight: 600;
    color: #ffffff;
    padding-bottom: 18px;
    margin-bottom: 8px;
  }
}
#questionContainer1,
#questionContainer {
  flex-direction: column;
  align-items: center;
  display: flex;
  font-family: "Exo 2", sans-serif;
}
#closeResultPopup2,
#continueButton,
#showResultButton,
#nextQuestionButton1,
#nextQuestionButton {
  text-transform: capitalize;
  color: #ffffff;
  background: transparent;
  font-weight: 400;
  font-size: 20px;
  margin: auto;
  font-family: "Roboto", sans-serif;
  width: 150px;
  height: 75px;
  border: 2px solid #fcb634;
  border-top-left-radius: 200px;
  border-top-right-radius: 200px;
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
  border-bottom-color: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-size: 18px;
}
#showResultButton,
#closeResultPopup2,
#continueButton {
  color: #000000;
  background: #fcb634;
}

#nextQuestionButton1,
#nextQuestionButton:hover {
  background: #fcb634;
  color: #000000;
}

#answerFeedbackText {
  margin-bottom: 40px;
  flex-direction: column;
  display: flex;
}

.results {
  font-family: "StranaFont";
  color: #ffffff;
  font-weight: 600;
  font-size: 32px;
}
.dropdown {
  position: relative;
  display: inline-block;
}

.dropdown-button {
  cursor: pointer;
}

.dropdown-menu {
  margin-top: -20px;
  margin-bottom: 15px;
  text-align: center;
  display: none;
  position: relative;
  background: white;
  border: 1px solid #ffffff;
  width: 100%;
  padding: 5px;
  box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.2);
  opacity: 0;
  transform: translateY(-5px); /* Легкое смещение вверх */
  transition: opacity 0.5s ease, transform 0.5s ease; /* Плавное появление */
}

.dropdown-menu.show {
  display: block;
  opacity: 1;
  transform: translateY(0);
}

.dropdown-button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 5px 10px;
  gap: 8px; /* Отступ между текстом и стрелкой */
}

.arrow {
  font-size: 14px;
  color: #000; /* Цвет стрелки */
}

.dropdown-menu.show {
  display: block;
}

.dropdown-item {
  display: flex;
  width: 100%;
  text-align: left;
  padding: 5px;
  cursor: pointer;
  background: none;
  border: none;
}

.dropdown-item:hover {
  background: #fcb634;
}
.vertical-layout {
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: flex-start;
}

.arrow {
  font-size: 14px;
  margin-left: 8px;
}
.explanation-text {
  color: #fcb634;
}
