@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500&display=swap");

*,
*::after,
*::before {
 box-sizing: border-box;
 padding: 0;
 margin: 0;
}

html,
body {
 height: 100%;
}

body {
 font-family: "Inter", sans-serif;
 display: flex;
 flex-direction: column;
}

.container {
 max-width: 1180px;
 margin: 0 auto;
 padding-left: 15px;
 padding-right: 15px;
}

.show {
 display: block;
}

.hide {
 display: none;
}

.button {
 font-family: "Inter", sans-serif;
 width: 306px;
 height: 56px;
 background-color: #4d90fe;
 border: 2px solid rgba(0, 0, 0, 0.47);
 border-radius: 45px;
 border: none;
 cursor: pointer;
 font-weight: 500;
 font-size: 30px;
 line-height: 100%;
 text-align: center;
 letter-spacing: -0.05em;
 color: #ffffff;
}

.question-outer {
 padding: 20px 0;
 display: flex;
 flex-direction: column;
 gap: 40px;
}

.question-box {
 width: 100%;
 padding: 2px;
 margin: 0 auto;
 background: #ffffff;
 border-radius: 20px;
 display: flex;
 justify-content: space-between;
 flex-direction: column;
 gap: 20px;
}

.question__title {
 font-weight: 500;
 font-size: 25px;
 line-height: 100%;
 letter-spacing: -0.03em;
 color: #000000;
 margin-bottom: 40px;
}

.buttons-answers {
 display: flex;
 flex-direction: column;
 gap: 30px;
}

.btn-answer {
 width: 380px;
 height: 50px;
 border-radius: 30px;
 border: none;
 font-weight: 400;
 font-size: 18px;
 cursor: pointer;
 padding: 0px 10px;
 background: radial-gradient(
   73.6% 1087.2% at 50% 50%,
   rgba(0, 0, 0, 0) 0%,
   #382068 100%
  ),
  #5050ba;
 box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
 color: #ffffff;
 position: relative;
}

.btn-answer.selected {
 background: rgb(255, 255, 255, 0.2);
 box-shadow: inset 0px -4px 10px rgba(0, 0, 0, 0.2);
 color: #5b72de;
 position: relative;
}

.btn-answer.selected::after {
 content: "\2713";
 font-size: 23px;
 position: absolute;
 display: block;
 width: 36px;
 height: 36px;
 border-radius: 50%;
 right: -10px;
 top: -10px;
 background: #e4e591;
}

.button.selected {
 background-color: rgba(255, 255, 255, 0.96);
 box-shadow: inset 0px -4px 10px rgba(0, 0, 0, 0.2);
 color: #5b72de;
 position: relative;
}

.button.selected::after {
 content: "\2713";
 font-size: 32px;
 position: absolute;
 display: block;
 width: 36px;
 height: 36px;
 border-radius: 50%;
 right: -10px;
 top: -10px;
 background: #e4e591;
}

/* main bg */
.main.show {
 flex: 1 0 auto;
 background: url("../images/background.jpg") top center no-repeat;
 background-size: 150% 100%;
 padding: 20px 0 40px 0;
 background-position: 20%;
 /* height: 100vh; */
 /* display: flex; */
 /* align-items: center; */
}

@media all and (max-width: 567px) {
 .main.show {
  background-size: cover;
  background-position: center;
 }
}
.main__right {
 max-width: 750px;
 margin-left: auto;
}

.main__right h2.title {
 max-width: 700px;
 text-transform: uppercase;
 font-weight: 600;
 font-size: 40px;
 text-align: left;
 text-shadow: 1px 1px #000;
}

.main__wrapper {
 max-width: 500px;
 margin: 40px auto;
 background: radial-gradient(
  81.93% 175.56% at 46.45% 17.91%,
  #474343 0%,
  rgba(34, 34, 34, 0) 93.75%
 );
 backdrop-filter: blur(16px);
 border-radius: 38px;
 padding: 30px;
 position: relative;
}

.main--offer {
 position: absolute;
 right: -100px;
 top: -60px;
}

.main__logo {
 display: flex;
 justify-content: end;
 align-items: center;
}

@media all and (max-width: 567px) {
 .main__logo {
  justify-content: center;
 }
}

.flag__wrapper {
 display: flex;
 justify-content: space-between;
 flex-direction: column;
 align-items: center;
}

.flag__wrapper-logo {
 margin: 0 auto;
}

.flag__wrapper-logo img {
 max-width: 300px;
}

.flag__wrapper-text {
 max-width: 140px;
}

.flag__wrapper-text p {
 text-transform: uppercase;
 text-align: center;
 color: #fcfcfc;
 font-size: 14px;
 text-shadow: 1px 1px #000;
}

/* .main__logo img {
	max-width: 600px;
	width: 100%;
} */

.main__title {
 margin: 0 auto;
}

.main__title .title {
 font-weight: 600;
 font-size: 32px;
 line-height: 38px;
 color: #ffffff;
 text-align: left;
}

.title {
 font-weight: 500;
 font-size: 30px;
 line-height: 100%;
 text-align: center;
 color: #ffffff;
}

.main__subtitle .subtitle {
 font-size: 24px;
 line-height: 28px;
 color: #ffffff;
 text-align: left;
 letter-spacing: 0;
}

.subtitle {
 font-size: 26px;
 line-height: 100%;
 text-align: center;
 letter-spacing: -0.03em;
 color: #ffffff;
 margin: 20px 0;
}

.main__next {
 display: flex;
 justify-content: center;
}

.main__timer {
 margin-top: 20px;
 display: flex;
 justify-content: center;
 gap: 20px;
}

.timer__item {
 width: 25%;
 display: flex;
 flex-direction: column;
 align-items: center;
}

.timer--item_style {
 font-weight: 500;
 font-size: 66px;
 color: #ffffff;
}

.timer--title {
 font-weight: 400;
 font-size: 12px;
 line-height: 13px;
 text-transform: uppercase;
 color: #d7d7d7;
}

/* lead */

.lead.show {
 flex: 1 0 auto;
 background: url("../images/background.png") top center no-repeat;
 background-size: cover;
 display: flex;
 align-items: start;
 padding: 20px 0;
}

.lead__logo {
 padding: 15px 0;
 justify-content: center;
}

.lead__video {
 max-width: 800px;
 margin: 0 auto;
}

/* Header */

.header {
 background: url("../images/header-bg.jpg") top center no-repeat;
 background-size: cover;
 padding: 10px 0;
}

.header__logo {
 display: flex;
 justify-content: center;
 align-items: center;
}

.header__logo img {
 max-width: 220px;
 width: 100%;
}

.subtitle {
}

/* Markup form JS */

.quiz-content {
 flex: 1 0 auto;
}

.question__wrapper {
 display: flex;
 align-items: center;
 gap: 20px;
}

.question__image img {
 max-width: 520px;
}

/* Footer */

.footer {
 flex: 0 0 auto;
 width: 100%;
 background-color: #313131;
 padding: 40px 0;
}

.pr__logo {
 text-align: center;
 opacity: 0.2;
}

.pr__logo img {
 width: 280px;
}

@media screen and (max-width: 992px) {
 .main.show {
  background: linear-gradient(rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.5)),
   url("../images/background.png") top center no-repeat;
  background-size: cover;
 }

 .lead.show {
  background: linear-gradient(rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.5)),
   url("../images/background.png") top center no-repeat;
  background-size: cover;
 }

 .title {
  font-size: 28px;
  line-height: 100%;
  text-align: left;
 }

 .subtitle {
  text-align: left;
 }

 .question__wrapper {
  flex-direction: column;
  gap: 30px;
 }

 .buttons-answers {
  margin-left: 0;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
 }

 .question__title {
  font-size: 23px;
  font-weight: 400;
  text-align: left;
 }

 .question__quest-num {
  width: 50px;
  height: 50px;
  position: absolute;
  left: -14px;
  top: -20px;
 }

 .main__right h2.title {
  margin: 20px auto;
  font-size: 32px;
  text-align: center;
 }

 .main__wrapper {
  padding: 18px;
  margin-top: 75px;
 }

 .main--offer {
  right: 30px;
  top: -95px;
  transform: rotate(36deg);
 }
}

@media screen and (max-width: 768px) {
 .question__image img {
  width: 100%;
 }

 .main__wrapper {
  margin-top: 20px;
 }

 .main__title .title {
  max-width: 300px;
  font-size: 24px;
  line-height: 30px;
 }

 .main--offer {
  top: 20px;
 }

 .main__right h2.title {
  font-size: 24px;
 }

 .main__subtitle .subtitle {
  font-size: 22px;
 }

 .timer--item_style {
  font-size: 48px;
 }
}

@media screen and (max-width: 540px) {
 .buttons-answers {
  margin-top: 20px;
 }
}

@media screen and (max-width: 480px) {
 .btn-done {
  width: 100%;
 }

 .btn-answer {
  width: 100%;
 }

 .main__title .title {
  max-width: 200px;
 }
}
