/* 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/4.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 {
  background-color: #151515;
  padding: 20px 0;
}
.footer__inner {
  display: flex;
  justify-content: center;
}
.footer__link {
  text-decoration: none;
  color: #ffffff;
  margin-right: 15px;
}
.footer__link:last-child {
  margin-right: 0;
}
.footer__link:hover {
  text-decoration: underline;
}

@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: auto 100%;
  }
}

@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;
  }
}
