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

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


/* Header */

.header {
  width: 100%;
  background: url(images/bg.png) center repeat rgba(40, 97, 154, 1);
  background-size: contain;
  border-radius: 0 0 20px 20px;
}
.header__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 0;
}
.logo {
  width: 250px;
  display: block;
}
.header__button {
  text-decoration: none;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: rgb(0, 138, 41);
  color: #ffff;
  font-weight: 700;
  border-radius: 10px;
  transition: all linear 0.05s;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
  padding: 10px 20px;
}
.header__button:hover {
  background-color: rgb(0, 121, 36);
}

/* Main */

.main__inner{
  padding: 30px 0 100px 0px;
}
.title__button{
  display: inline-block;
  text-decoration: none;
  font-size: 16px;
  color: #ffffff;
  background-color: #475577;
  padding: 5px 10px;
  border-radius: 4px;
}
.title__button:hover{
  background-color: #475577b9;
}
.title {
  color: rgb(71, 85, 119);
  font-size: 32px;
  font-weight: 700;
  line-height: 1.2;
  margin-top: 20px;
}

.author{
  display: flex;
  margin: 25px 0;
}
.author__image{
  display: block;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  margin-right: 10px;
}
.author__content{
  margin: auto 0;
}
.author__title{
  font-weight: 700;
}

.main__image-wrapper{
  display: flex;
  justify-content: center;
  margin: 15px 0 20px;
}
.main__image{
  display: block;
  width: 100%;
  max-width: 100%;
}
.text{
  line-height: 1.3;
  margin-bottom: 20px;
}
.link{
  text-decoration: none;
  font-weight: 700;
  color: #007bff;
}
.link:hover{
  text-decoration: underline;
}
.description{
  border-left:4px solid #6c92cd;
  background-color: #dde8f4;
  padding: 15px;
  margin-bottom: 20px;
}
.text__title{
  text-align: center;
  font-size: 30px;
  font-weight: 500;
  margin: 10px 0;
}
.main__image-link{
  width: 100%;
  display: block;
}
.list-item{
  margin-bottom: 15px;
}
.main__button-wrapper{
  display: flex;
  margin-top: 50px;
}
.main__button{
  text-decoration: none;
  display: inline-block;
  background-color: #475577;
  font-weight: bold;
  color: #ffffff;
  padding: 12px 20px;
  border-radius: 8px;
}
.main__button:hover{
  background-color: #475577b9;
}

/* Footer */

.footer {
  width: 100%;
  background: url(images/bg.png) center repeat rgba(40, 97, 154, 1);
  background-size: contain;
  border-radius: 20px 20px 0 0;
}
.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: 850px){
  body{
    font-size: 18px;
  }
  .logo{
    width: 200px;
  }
  .text__title{
    font-size: 28px;
  }
  .title{
    font-size: 26px;
  }
}

@media(max-width: 550px){
  body{
    font-size: 16px;
  }
  .logo{
    width: 180px;
  }
  .header__button{
    padding: 10px;
  }
  .text__title{
    font-size: 22px;
  }
  .main__button-wrapper{
    justify-content: center;
  }
  .footer__links-item{
    font-size: 14px;
  }
  .footer__text{
    margin-top: 15px;
  }
}

@media(max-width: 430px){
  body{
    font-size: 16px;
  }
  .logo{
    width: 160px;
  }
  .header__button-wrapper{
    display: flex;
    justify-content: center;
    align-items: center;
    margin-left: 10px;
  }
  .header__button{
    text-align: center;
    font-size: 14px;
    padding: 10px;
  }
  .text__title{
    font-size: 22px;
  }
  .main__button-wrapper{
    justify-content: center;
  }
  .footer__links-item{
    font-size: 14px;
  }
  .footer__text{
    margin-top: 15px;
  }
}
@media(max-width: 380px){
  .title{
    font-size: 22px;
  }
  .main__button{
    font-size: 15px;
    padding: 12px;
  }
}