/* Roboto */
@import url("https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,400;0,500;0,700;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: "Roboto", 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: 600px;
  width: 100%;
  margin: 0 auto;
  padding: 0 20px;
}

.wrapper {
  min-height: 100%;
  display: flex;
  flex-direction: column;
}
/* Header */

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

/* Main */

.main {
  flex: 1 1 auto;
  padding: 60px 0 125px;
}
.title {
  text-align: center;
  font-family: "Roboto", sans-serif;
  text-transform: capitalize;
  color: #c73830;
  font-weight: 800;
  font-size: 28px;
  margin-bottom: 15px;
}
.subtitle {
  text-align: center;
  font-family: "Open Sans", sans-serif;
  font-size: 20px;
  margin-bottom: 80px;
}
.question {
  text-align: center;
  font-family: "Open Sans", sans-serif;
  font-size: 26px;
  font-weight: 700;
}
.main__box {
  margin: 15px 10px 0;
}
.button {
  text-align: center;
  font-family: "Open Sans", sans-serif;
  display: block;
  text-decoration: none;
  color: #ffffff;
  font-weight: 700;
  font-size: 22px;
  background: #52ab51;
  border-radius: 8px;
  padding: 19px;
  margin-bottom: 10px;
}
.button:hover {
  background: #2c7b2a;
}
/* Footer */

.footer {
  width: 100%;
  background: #294291;
}
.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:hover {
  text-decoration: underline;
}
.footer__links-item:last-child {
  margin-bottom: 0;
}

@media (max-width: 550px) {
  .title {
    font-size: 26px;
  }
  .logo {
    max-width: 180px;
  }
  .footer__links-item {
    font-size: 14px;
  }
  .footer__text {
    margin-top: 15px;
  }
}
@media (max-width: 400px) {
  .title {
    font-size: 22px;
  }
  .subtitle {
    font-size: 17px;
  }
}
