/* 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');
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;700;800&display=swap');

html,
body {
  height: 100%;
  font-family: 'Open Sans', sans-serif;
  font-size: 14px;
  font-weight: 400;
  color: #000;
  background-color: #ffffff;
  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;
}

.wrapper {
  max-width: 440px;
  margin: 0 auto;
}
/* Header */

.header {
  display: flex;
  align-items: center;
  height: 80px;
  width: 100%;
  background-color: #212121;
  background-size: contain;
  padding: 12px 0;
}
.header__inner {
  display: flex;
  justify-content: center;
}
.logo {
  width: 180px;
  max-width: 80%;
  display: block;
}
/* Main */

.main {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: calc(100vh - 80px);
  /* max-height: 800px; */
  background: url(images/img1.jpg) no-repeat;
  background-position: 0 0;
  background-size: 100% auto;
}
.main__inner {
  width: 100%;
  background: rgba(27, 27, 27, 0.5);
  padding: 20px 30px;
}
.title {
  text-align: center;
  font-family: 'Montserrat', sans-serif;
  font-size: 26px;
  font-weight: 800;
  color: #ffffff;
  text-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
}
.button {
  text-align: center;
  text-decoration: none;
  display: block;
  max-width: 500px;
  width: 100%;
  text-transform: uppercase;
  font-size: 22px;
  font-weight: 700;
  color: #212121;
  background: linear-gradient(180deg, #ffef00 0%, #fdc708 100%);
  border-radius: 8px;
  padding: 18px;
  margin: 15px auto 0;
}
.button:hover {
  background: linear-gradient(180deg, #d1c301 0%, #a68306 100%);
}
/* 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 (min-width: 760px) and (min-height: 1000px) {
  .wrapper {
    max-width: 100%;
  }
  .header {
    height: 140px;
  }
  .logo {
    width: 280px;
  }
  .main {
    height: calc(100vh - 140px);
    max-height: 100%;
  }
  .title {
    font-size: 30px;
  }
  .button {
    font-size: 28px;
    margin-top: 24px;
  }
}

@media (min-width: 280px) and (min-height: 800px) {
  .main {
    background-size: 100% auto;
  }
}
@media (min-width: 500px) and (min-height: 800px) {
  .main {
    background-size: 100% auto;
  }
}

@media (max-width: 400px) {
  .logo {
    width: 170px;
  }
  .title {
    font-size: 22px;
  }
  .button {
    font-size: 18px;
  }
}

@media (max-width: 340px) {
  .title {
    font-size: 18px;
  }
  .button {
    font-size: 17px;
    padding: 14px;
  }
}
