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

html,
body {
  height: 100%;
  font-family: 'Montserrat', sans-serif;
  font-size: 17px;
  font-weight: 400;
  color: #464e5f;
  background-color: #DCDCDC;
  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: 800px;
  width: 100%;
  margin: 0 auto;
}
.wrapper {
  min-height: 100%;
  display: flex;
  flex-direction: column;
}

/* Header */

.header {
  width: 100%;
  background: #28619a;
}
.header__inner {
  display: flex;
  justify-content: center;
  padding: 20px 0;
}
.logo {
  width: 250px;
  max-width: 80%;
  display: block;
}
/* Main */

.main {
  flex: 1 1 auto;
}
.main__inner {
  background-color: #ffffff;
  box-shadow: 0px 4px 15px rgba(0, 0, 0, 0.15);
  padding: 30px 50px 80px;

}

.title {
  text-align: center;
  font-weight: 700;
  font-size: 32px;
  color: #28619a;
}
.subtitle {
  text-align: center;
  background: #EDEDE6;
  font-family: 'Arial', sans-serif;
  font-weight: 700;
  font-size: 18px;
  color: #28619A;
  margin: 25px 0;
  padding: 10px;
}
.list__text {
  font-weight: 600;
  margin-bottom: 20px;
}
.list-item {
  font-weight: 600;
}
.box-title {
  text-align: center;
  font-weight: 700;
  font-size: 16px;
  color: #28619a;
  margin-top: 40px;
}
.box-button {
  max-width: 500px;
  text-align: center;
  display: block;
  width: 100%;
  text-decoration: none;
  background: #28619a;
  color: #ffffff;
  font-weight: 700;
  font-size: 22px;
  border-radius: 8px;
  padding: 15px;
  margin: 20px auto;
}
.box-button:hover {
  background: #163d65;
}
/* Footer */

.footer {
  width: 100%;
  background: #28619a;
}
.footer__inner {
  font-family: 'Roboto', sans-serif;
  display: flex;
  flex-direction: column;
  padding: 20px 16px;
}
.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: 650px) {
  html, body{
    background-color: white !important;
  }
}

@media (max-width: 520px) {
    .list__text{
    font-size: 16px;
  }
  .list-item{
    font-size: 16px;
  }
   .main__inner {
    padding: 18px 30px 60px;
  }
    .header__inner{
    padding: 7px;
  }
  .header__logo{
    width: 160px !important;
  }
  .logo{
    width: 160px !important;
  }
  
   .container {
    padding: 0;
  }
   body {
    font-size: 14px;
    background-color: white !important;
  }
  .header__inner {
    padding: 12px 0;
  }
  .logo {
    width: 180px;
  }
 
  .main__inner {
  margin-top: 0;
      box-shadow: none;
}
  .title {
    font-size: 24px;
  }
  .subtitle {
    font-size: 16px;
  }
  .box-title {
    font-size: 16px;
  }
  .box-button {
    font-size: 18px;
  }
  .footer__links-item {
    font-size: 14px;
  }
  .footer__text {
    margin-top: 14px;
  }
}
@media (max-width: 380px) {
  .container {
    padding: 0;
  }
  .title {
    font-size: 21px;
  }
  .subtitle {
    font-size: 16px;
    margin: 25px 0;
  }
  .main__inner {
    padding: 30px 30px 40px;
  }
  .list-item {
    font-size: 14px;
  }
  .box-button {
    padding: 12px;
  }
  .footer__inner {
    padding: 10px;
  }
}
@media (max-width: 350px) {
  .main__inner {
    padding: 30px 18px 40px;
  }
}