@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-v {
  max-width: 830px;
  width: 100%;
  margin: 0 auto;
  padding: 0 16px;
}

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

/* Header */

.header-v {
  width: 100%;
  background: linear-gradient(180deg, #8e2b84 0%, #571b51 100%);
  color: #ffffff;
}
.header__inner-v {
  display: flex;
  justify-content: center;
  padding: 15px 0;
}
.header__text-v {
  text-transform: capitalize;
  font-size: 24px;
  color: #ffffff;
  font-weight: 700;
}
.logo-v {
  width: 260px;
  max-width: 80%;
  display: block;
}
/* Main */

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

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

.about-title-v {
  text-transform: uppercase;
  color: #8e2b84;
  font-size: 26px;
  font-weight: 700;
}
.text-title-v {
  font-size: 16px;
  font-weight: 600;
  margin: 10px 0 30px;
}
.list__item-v {
  font-size: 16px;
  margin-bottom: 15px;
}
.list-v {
  margin-bottom: 30px;
}
.text-v {
  font-size: 16px;
}
.button__wrapper-v {
  max-width: 450px;
  margin: 30px auto;
}
.button-v {
  text-align: center;
  display: block;
  text-decoration: none;
  background: linear-gradient(180deg, #8e2b84 0%, #621a5b 100%);
  border-radius: 8px;
  color: #ffffff;
  font-weight: 700;
  font-size: 24px;
  padding: 20px;
  margin: 25px 0;
}
.button-v:hover {
  background: linear-gradient(180deg, #691d62 0%, #3a0b35 100%);
}
.reviews__title-v {
  text-align: center;
  font-size: 20px;
  font-weight: 700;
  color: #8e2b84;
  margin-bottom: 20px;
}
.review-v {
  margin-bottom: 50px;
}
.review__image-v {
  display: block;
  width: 100%;
  max-width: 100%;
}
.author-v {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  margin: 25px 0 15px;
}
.author__image-v {
  width: 30px;
  margin-right: 15px;
}
.author__text-v {
  font-size: 20px;
  font-weight: 700;
}
.review__text-v {
  text-align: end;
  font-size: 22px;
  
}

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


/* Footer */

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


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

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


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