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

html,
body {
  height: 100%;
  font-family: 'Montserrat', sans-serif;
  font-size: 16px;
  font-weight: 400;
  color: #ffffff;
  background: #1e1e1e;
  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: 550px;
  width: 100%;
  margin: 0 auto;
  padding: 0 16px;
}

/* Header */

.header {
  width: 100%;
  background: #e7202d;
  position: relative;
  z-index: 1;
}
.header__inner {
  display: flex;
  justify-content: center;
  padding: 20px 0;
}
.logo {
  width: 250px;
  max-width: 80%;
  display: block;
}

/* Main */

.image__decoration {
  display: block;
  max-width: 550px;
  width: 100%;
  margin: 0 auto;
  padding: 0 16px;
}
.image__decoration--first {
  margin-top: -25px !important;
}
.image__decoration--second {
  margin-top: 70px !important;
}
.title {
  text-transform: capitalize;
  max-width: 365px;
  text-align: center;
  font-size: 20px;
  font-weight: 700;
  margin: 0 auto 25px;
}
.main__buttons-wrapper {
  margin-bottom: 50px;
}
.main__button {
  font-family: 'Roboto', sans-serif;
  max-width: 365px;
  text-decoration: none;
  display: block;
  text-align: center;
  background-color: #e7202d;
  font-size: 20px;
  font-weight: 700;
  color: #ffffff;
  padding: 16px;
  border-radius: 8px;
  margin: 5px auto;
}
.main__button:hover {
  background-color: #aa0f19;
}
.review {
  margin-bottom: 45px;
}
.review__author {
  display: flex;
  align-items: center;
  margin-bottom: 15px;
}
.review__author-image {
  width: 28px;
  height: 28px;
  display: block;
}
.review__author-text {
  font-weight: 600;
  margin-left: 13px;
}
.review__image {
  display: block;
  width: 100%;
  max-width: 100%;
}

.description {
  margin-top: 40px;
}
.description__text {
  font-size: 12px;
  margin-bottom: 20px;
  font-weight: 400;
}
/* Footer */

.footer {
  width: 100%;
  background: #1e1e1e;
}
.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: 8px;
  line-height: 1.05;
  color: #fff;
  margin-top: 10px;
}
.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: 550px) {
  .header__inner {
    padding: 10px 0;
  }
  .image__decoration {
    padding: 0;
  }
  .logo {
    max-width: 180px;
  }
  .footer__links-item {
    font-size: 14px;
  }
  .footer__text {
    margin-top: 15px;
  }
}
