@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: linear-gradient(180deg, #2B348E 0%, #090F47 100%);
  color: #ffffff;
}
.header__inner {
  display: flex;
  justify-content: center;
  padding: 15px 0;
}
.header__text {
  text-transform: capitalize;
  font-size: 24px;
  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: #2B348E;
  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: #2B348E;
  color: #ffffff;
  font-size: 16px;
  font-weight: 500;
  padding: 15px;
}

.about-title {
  text-transform: uppercase;
  color: #2B348E;
  font-size: 26px;
  font-weight: 700;
}
.text-title {
  font-size: 16px;
  font-weight: 600;
  margin: 10px 0 30px;
}
.list__item {
  font-size: 16px;
  margin-bottom: 15px;
}
.list {
  margin-bottom: 30px;
}
.text {
  font-size: 16px;
}
.button__wrapper {
  max-width: 450px;
  margin: 30px auto;
}
.button {
  text-align: center;
  display: block;
  text-decoration: none;
  background: linear-gradient(180deg, #2B348E 0%, #090F47 100%);
  border-radius: 8px;
  color: #ffffff;
  font-weight: 700;
  font-size: 24px;
  padding: 20px;
  margin: 25px 0;
}
.button:hover {
  background: linear-gradient(180deg, #1b2166 0%, #030624 100%);
}
.reviews__title {
  text-align: center;
  font-size: 20px;
  font-weight: 700;
  color: #2B348E;
  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;
}


/* Footer */

.footer {
  width: 100%;
  background: #090F47;
}
.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: 420px) {
  .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;
  }
}


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