html, body {
    height: 100%;
    width: 100%;
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif;
}

body {
    background: linear-gradient(to right, rgb(0 0 0 / 53%), rgb(255 255 255 / 0%)) ,url('/images/tcm1nbx10fom1bozmp0v.jpg') no-repeat center center fixed;
    background-size: cover;
}
h2 {
        font-family: Montserrat, Gilroy, Helvetica, Arial, sans-serif;
}

h2 b {    text-decoration: underline;}
.quiz-overlay {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    background: rgba(0, 0, 0, 0.5);
    min-height: 1000px;
    color: #fff;
}

.header {
    display: flex;
    align-items: center;
    padding: 20px;
}


.wa-text {
      padding: 13px;
    text-align: left;
    min-width: 240px;
    max-width: 360px;
    background: #fff;
    color: #000;
    border-radius: 20px;
    font-size: 13px;
    margin-bottom: 10px;
    line-height: 16px;
}

.header img {
    width: 89px;
    height: 37px;
    margin-right: 20px;
}

.header h1 {
    font-size: 14px;
        font-family: Montserrat, Gilroy, Helvetica, Arial, sans-serif;
}

.question {
    font-size: 18px;
}

.quiz-container {
    margin: 20px;
    display: flex;
    justify-content: flex-start;
    flex-wrap: wrap;
    flex-direction: column;
}

.choice {
    cursor: pointer;
    background-color: white;
    border: 1px solid gray;
    width: 263px;
    height: 217px;
    margin: 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    transition: background-color 0.3s ease;
}

.choice img {
    width: 100%;
    height: auto;
    max-height: 165px;
    max-width: 260px;
}

.choice p {
  color: black;
  text-align: center;
  word-wrap: break-word;
      font-family: Montserrat, Gilroy, Helvetica, Arial, sans-serif;
    padding: 10px;
    font-size: 12px;
        line-height: 15px;
    margin-bottom: 15px;
}

.quiz-container div {
    animation: slideIn 0.5s ease-out;
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
}

.content {
    text-align: left;
    padding: 50px;
    background: #fff0;
    margin: 50px;
    border-radius: 20px;
    color: #fff;
}

.content h2 {
    font-size: 38px;
    margin-bottom: 20px;
    max-width: 730px;
    font-family: 'Montserrat', 'Gilroy', 'Helvetica', 'Arial', sans-serif;
}

.content p {
    font-size: 18px;
        line-height: 19px;
}

.content ul {
    padding: 0;
    font-size: 18px;
        line-height: 19px;
    margin-left: 17px;
}

.content li {
    margin-bottom: 10px;
}

#start-quiz {
display: inline-block;
    background: #dc6b52;
    color: #fff;
    padding: 15px 30px;
    border: none;
    line-height: 23px;
    border-radius: 10px;
    cursor: pointer;
    font-size: 13px;
    margin-top: 20px;
    transition: transform 0.3s ease-in-out;
    font-family: Montserrat, Gilroy, Helvetica, Arial, sans-serif;
}

#start-quiz:hover {
    transform: scale(1.1);
}

/* Медиа запросы для мобильных устройств */
@media (max-width: 767px) {
  .header {
    align-items: start;
  }

.choice {
    height: auto;
}
  .header img {
    margin-bottom: 20px;
  }

  .content {
    padding: 20px;
    margin: 20px;
  }

  .content h2 {
    font-size: 22px;
  }

  .content p, .content ul {
    font-size: 16px;
  }

  .choice {
    width: calc(50% - 20px);
    margin: 10px auto;
    max-width: 260px;
  }

  .quiz-container {
    flex-direction: column;
    align-items: center;
  }
}

.results-page {
  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
  align-content: center;
  justify-content: center;
  align-items: center;
}

.content-section {
  flex-basis: 60%;
  padding: 20px;
}

.form-section {
  flex-basis: 40%;
  width: 90%;
  padding: 20px;
  font-family: Montserrat, Gilroy, Helvetica, Arial, sans-serif;
  background-color: #ffffff;
  display: flex;
  justify-content: center;
  border-radius: 10px;
  max-width: 360px;
  color: #000;
  align-items: center;
}

form {
  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
  align-content: flex-start;
  justify-content: flex-start;
  align-items: stretch;
  width: 100%;
}

label, input {
  margin-bottom: 10px;
line-height: 22px;
    height: 60px;
}

input[type="submit"] {
  cursor: pointer;
  background-color: #dc6b52;
  color: #fff;
  padding: 10px 20px;
  border: none;
  border-radius: 5px;
  font-size: 16px;
  margin-top: 20px;
}

/* Медиа запросы для мобильных устройств */
@media (max-width: 767px) {
  .results-page {
    /* flex-direction: column; */
  }

  .content-section, .form-section {
    flex-basis: 100%;
  }
}

/* Add mobile responsiveness using media queries */
@media (max-width: 768px) {
  .quiz-container {
    flex-direction: column;
    min-height: 1100px;
  }

  .question-block {
    display: block;
    margin-bottom: 20px;
  }

  .content {
    text-align: left;
  }
}

/* Add rounded corners to the cards */
.choice {
  border-radius: 10px;
  overflow: hidden; /* This ensures that the image corners are also rounded */
}

.choice img {
  width: 100%;
  height: auto;
  display: block;
}



/*Animation*/
.choice {
  border-radius: 10px;
  overflow: hidden;
  transition: transform 0.3s ease; /* Add the transition property */
}

.choice img {
  width: 100%;
  height: auto;
  display: block;
}

.choice:hover {
  transform: scale(1.1); /* Add the transform property on hover */
}

.slide-in {
  opacity: 0;
  transform: translateX(-10%);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.slide-in.active {
  opacity: 1;
  transform: translateX(0);
}

/* Анимация исчезновения */
@keyframes fadeOut {
  from { opacity: 1; }
  to { opacity: 0; }
}

/* Анимация появления */
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* Применяем анимацию для элемента с классом 'quiz-item' */
.quiz-item {
  animation-duration: 1s;
  animation-timing-function: ease-out;
}

/* Анимация для исчезновения */
.quiz-item.fade-out {
  animation-name: fadeOut;
}

/* Анимация для появления */
.quiz-item.fade-in {
  animation-name: fadeIn;
}


/* Стили для контейнера и кнопки */
.whatsapp-container {
position: fixed;
    bottom: 20px;
    right: 20px;
    display: flex;
    /* align-items: center; */
    color: #fff;
    max-width: 350px;
    flex-direction: column;
}

.floating-btn {
  background-color: #25D366;
  color: #fff;
  padding: 15px 20px;
  border: none;
  border-radius: 30px;
  font-size: 18px;
  cursor: pointer;
  display: none;
  display: flex;
  align-items: center;
  justify-content: center;
}

.floating-btn img {
  width: 25px;
  height: 25px;
  margin-right: 10px;
}

/* Медиа запрос для мобильных устройств */
@media (max-width: 767px) {
  .floating-btn {
    display: block;
  }
}