.page {
  margin: 0 auto;
  padding: 46px 60px 100px;
  box-sizing: border-box;
  min-width: 320px;
  max-width: 1440px;
  width: 100%;
  min-height: 100vh;
  height: 100%;
  display: grid;
  grid-template-rows: min-content auto min-content;
  grid-template-areas:
  'header'
  'content'
  'footer';

  background-image: url('../images/Background.png');
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;

  font-family: Arial, sans-serif;

  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  -webkit-text-size-adjust: 100%;
  -ms-text-size-adjust: 100%;
  -moz-text-size-adjust: 100%;
}

.header {
  grid-area: header;
  width: 100%;
  margin-bottom: 37px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.header__logo {
  min-width: 406px;
  min-height: 148px;
  /* aspect-ratio: 2.75; */
  background-image: url('../images/Logo.png');
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
}

.content {
  grid-area: content;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  row-gap: 21px;
}

.content__text {
  margin: 0;
  text-align: center;
  font-weight: 400;
  font-size: 29px;
  line-height: 1;
}

.footer {
  grid-area: footer;
  width: 100%;
  margin-top: 40px;
  display: grid;
  grid-template-columns: 1fr min-content 1fr;
  grid-template-areas:
  'en-contacts code ru-contacts';
  column-gap: 48px;
}

.footer__contacts {
  margin-top: 29px;
  display: flex;
  flex-direction: column;
  row-gap: 36px;
}

.footer__contacts_align_right {
  grid-area: en-contacts;
  text-align: right;
}

.footer__contacts_align_left {
  grid-area: ru-contacts;
  text-align: left;
}

.footer__title {
  margin: 0;
  font-weight: 700;
  font-size: 17px;
  line-height: 1;
}

.footer__text {
  margin: 0;
  font-weight: 400;
  font-size: 17px;
  line-height: 1;
}

.footer__qr {
  grid-area: code;
  justify-self: center;
  width: 128px;
  height: 128px;
  object-fit: cover;
}

@media (max-width: 800px) {
  .page {
    padding: 40px;
  }

  .content__text {
    font-size: 25px;
    line-height: 1;
  }

  .footer {
    grid-template-columns: repeat(2, auto);
    grid-template-rows: min-content auto;
    grid-template-areas:
    'code code'
    'ru-contacts en-contacts';
    column-gap: 30px;
  }

  .footer__contacts {
    margin-top: 50px;
  }

  .footer__qr {
    width: 256px;
    height: 256px;
  }
}

@media (max-width: 600px) {
  .page {
    padding: 40px 18px;
  }

  .header__logo {
    min-width: 280px;
  }

  .footer {
    grid-template-columns: 100%;
    grid-template-rows: min-content;
    grid-template-areas:
    'code'
    'ru-contacts'
    'en-contacts';
  }

  .footer__contacts_align_right {
    text-align: left;
  }

  .footer__contacts_align_left {
    padding-bottom: 25px;
    border-bottom: 1px solid #000;
  }

  .footer__title {
    font-size: 15px;
    line-height: 1.1;
  }

  .footer__text {
    font-size: 15px;
    line-height: 1.1;
  }
}
