/* Roboto */
@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,400;0,500;0,700;0,800;0,900;1,400&display=swap');
/* Open Sans */
@import url('https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,400;0,500;0,600;0,700;1,400&display=swap');

html,
body {
  height: 100%;
  font-family: 'Open Sans', sans-serif;
  font-size: 20px;
  font-weight: 400;
  color: #000000;
  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: 900px;
  width: 100%;
  margin: 0 auto;
  padding: 0 16px;
}

.--pink__text {
  color: #e5017c;
}
/* Header */

.header {
  width: 100%;
  background: #e5017c;
  background-size: contain;
}
.header__inner {
  display: flex;
  justify-content: center;
  padding: 20px 0;
}
.logo {
  width: 250px;
  max-width: 80%;
  display: block;
}

/* Intro */

.intro {
  padding-top: 40px;
}
.title {
  font-family: 'Roboto', sans-serif;
  text-align: center;
  font-size: 36px;
  font-weight: 800;
}
.main__image-wrapper {
  width: 100%;
  max-width: 600px;
  margin: 30px auto;
}
.main__image {
  display: block;
  max-width: 100%;
  width: 100%;
}

/* About  */

.about {
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
  padding: 0 16px;
}
.about__inner {
  background-color: #262C30;
  padding: 20px 40px;
}
.about__text {
  text-align: center;
  font-size: 22px;
  font-weight: 700;
  color: #ffffff;
}

/* Main */
.main {
  padding: 0 0 80px;
}
.author {
  display: flex;
  align-items: center;
}

.author__image {
  width: 40px;
}
.author__text {
  margin-left: 10px;
}
.second__image{
  display: block;
  width: 100%;
  max-width: 100%;
  margin: 30px 0;
}
.text {
  display: inline-block;
  margin-top: 20px;
}

.button__wrapper {
  width: 100%;
  max-width: 400px;
  margin: 60px auto 40px;
}
.button {
  text-align: center;
  display: block;
  text-decoration: none;
  max-width: 100%;
  width: 100%;
  color: #ffffff;
  font-weight: 700;
  font-size: 26px;
  background-color: #E5017C;

  border-radius: 8px;
  padding: 20px;
}
.button:hover {
  background-color: #a00859;
}
.description {
  margin: 50px 0 30px;
}
.description__text {
  color: #383a42;
  font-size: 12px;
}
/* Footer */

.footer {
  width: 100%;
  background: #383A42;
}
.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;
  line-height: 1.05;
  color: #fff;
  margin-top: 25px;
}
.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: 780px) {
  .logo {
    width: 200px;
  }
  .header__inner {
    padding: 15px;
  }
  .title {
    font-size: 32px;
  }
}

@media (max-width: 600px) {
  body {
    font-size: 18px;
  }
  .about__inner {
    padding: 15px 30px;
  }
  .about__text {
    font-size: 20px;
  }
  .footer__text {
    margin-top: 15px;
  }
  .about {
    padding: 0;
  }
}
@media (max-width: 450px) {
  .logo {
    width: 180px;
  }
  body {
    font-size: 16px;
  }
  .title {
    font-size: 26px;
  }
  .about__text {
    font-size: 18px;
    font-weight: 700;
  }
  .main__image-wrapper {
    margin: 20px auto;
  }
  .author__image {
    width: 30px;
  }
  .button {
    font-size: 22px;
    padding: 15px;
  }

  .footer__main {
    justify-content: center;
    flex-direction: column;
    align-items: center;
  }
  .footer__links {
    flex-direction: row;
    margin: 15px 0;
    color: #B5B5C3;
  }
  .footer__links-item{
    margin: 0 10px;
  }
}
@media (max-width: 380px) {
  .title {
    font-size: 23px;
  }
}
