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

html,
body {
  height: 100%;
  font-family: "Montserrat", sans-serif;
  font-size: 16px;
  font-weight: 400;
  color: #383a42;
  background-color: #fff;
  margin: 0;
  padding: 0;
}

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

p,
h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: inherit;
  font-size: inherit;
  margin: 0;
}

.container {
  max-width: 830px;
  width: 100%;
  margin: 0 auto;
  padding: 0 16px;
}

/* #city{
  text-decoration: underline;
} */

/* Header */

.header {
  width: 100%;
  background: #232325;

  color: #ffffff;
}
.header__inner {
  display: flex;
  justify-content: center;
  padding: 15px 0;
}
.header__text {
  text-transform: capitalize;
  font-size: 21px;
  color: #ffffff;
  font-weight: 700;
}
.logo {
  width: 260px;
  max-width: 80%;
  display: block;
}
/* Main */

.main {
  width: 100%;
  background-color: #ffffff;
  padding: 30px 0 30px;
}

.title {
  text-align: center;
  text-transform: uppercase;
  color: #040404;
  font-size: 36px;
  font-weight: 700;
}
.main__image-box {
  max-width: 600px;
  margin: 25px auto;
}
.main__image {
  display: block;
  max-width: 600px;
  width: 100%;
  margin: 0 auto;
}
.main__image-text {
  background-color: #232325;
  color: #ffffff;
  font-size: 16px;
  font-weight: 500;
  padding: 20px;
}

.text {
  font-size: 16px;
}

.reviews__title {
  text-align: center;
  font-size: 20px;
  font-weight: 700;
  color: #383a42;
  margin-bottom: 20px;
}
.review {
  margin-bottom: 50px;
}
.review__image {
  display: block;
  width: 100%;
  max-width: 100%;
}
.author {
  display: flex;
  align-items: center;
  margin: 25px 0 15px;
}
.author__image {
  width: 30px;
  margin-right: 15px;
}
.author__text {
  font-size: 20px;
  font-weight: 700;
}
.review__text {
  font-size: 22px;
}

.rule-decription {
  color: #5f6063;
  font-size: 14px;
}

.quiz__main {
  background-color: #fff;
  box-shadow: 0px 0px 27px rgba(0, 0, 0, 0.15);
  border-radius: 16px;
  padding: 30px 45px 45px;
  margin-top: 40px;
}
.question {
  text-align: center;
  font-size: 24px;
  font-weight: 700;
  color: #2a2729;
  margin-bottom: 25px;
}

.buttons-box__links {
  display: none;
}
.button {
  text-align: center;
  text-decoration: none;
  display: block;
  cursor: pointer;
  width: 100%;
  font-family: "Roboto", sans-serif;
  font-size: 20px;
  font-weight: 700;
  border: none;
  color: #ffffff;
  background: #2a2729;
  border-radius: 8px;
  padding: 16px;
  margin-bottom: 10px;
}
.button:last-child {
  margin-bottom: 0;
}
.button:hover {
  background: #383738;
}
.dot__box {
  display: flex;
  justify-content: center;
  margin-bottom: 25px;
}
.dot__item {
  width: 10px;
  height: 10px;

  background: #d9d9d9;
  margin: 0 6px;
  border-radius: 50%;
}
.show {
  display: block !important;
}
.dot__active {
  background-color: #383a42;
}

.main__image-box__video {
  display: block;
  max-width: 100%;
  width: 100%;
}

/* Footer */

.footer {
  width: 100%;
  background: #232324;
}
.footer__inner {
  font-family: "Roboto", sans-serif;
  display: flex;
  flex-direction: column;
  padding: 20px 0;
}
.footer__main {
  display: flex;
  justify-content: space-between;
  align-items: end;
}
.footer__text {
  font-size: 10px;
  font-weight: 400;
  line-height: 1.05;
  color: #b5b5c3;
  margin-top: 15px;
}
.footer__links {
  display: flex;
  flex-direction: column;
}
.footer__links-item {
  text-decoration: none;
  font-size: 18px;
  color: #fff;
  text-align: end;
  margin-bottom: 5px;
}
.footer__links-item:last-child {
  margin-bottom: 0;
}

@media (max-width: 640px) {
  .header__text {
    font-size: 18px;
  }
  .title {
    text-align: left;
    font-size: 26px;
  }
  .about-title {
    font-size: 24px;
  }
  .review__text {
    font-size: 20px;
  }
}
@media (max-width: 550px) {
  .header__text {
    font-size: 16px;
  }
  .title {
    text-align: left;
    font-size: 24px;
  }
  .button {
    font-size: 20px;
    padding: 15px;
  }
  .reviews__title {
    font-size: 18px;
  }
  .author__text {
    font-size: 16px;
  }
  .review__text {
    font-size: 16px;
  }
}

@media (max-width: 440px) {
  .logo {
    width: 180px;
  }
  .footer__links-item {
    font-size: 14px;
  }
  .header__text {
    font-size: 14px;
  }
  .title {
    font-size: 22px;
  }
  .about-title {
    font-size: 20px;
  }
  .author {
    margin-bottom: 10px;
  }
  .review {
    margin-bottom: 30px;
  }

  .quiz__main {
    padding: 30px;
  }
}

@media (max-width: 380px) {
  .header__text {
    font-size: 12px;
  }
  .title {
    font-size: 19px;
  }
  .about-title {
    font-size: 17px;
  }
  .button {
    font-size: 18px;
    padding: 12px;
  }
  .author {
    margin-top: 15px;
  }

  .quiz__main {
    padding: 25px;
  }
}
