html {
  font-size: 62.5%;
}

body {
  margin: 0;
  font-family: "Lato", "sans-serif";
  font-size: 2.3rem;
  line-height: 3.5rem;
  letter-spacing: 0.02em;
  color: #1b2028;
  word-break: break-word;
  tab-size: 4;
  -webkit-font-smoothing: smoothingantialiased;
}

p {
  margin: 0;
  font-size: 1.7rem;
  line-height: 2.6rem;
  letter-spacing: 0.02em;
}

p a,
main ul > li > a {
  text-decoration: underline;
}

img {
  display: block;
  object-fit: contain;
  width: 100%;
  max-width: 100%;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  margin: 0;
  font-weight: 400;
  font-size: inherit;
  overflow-wrap: break-word;
  word-wrap: break-word;
  hyphens: auto;
  -webkit-hyphens: auto;
}

.error-page {
  padding: 7rem 1.6rem 0 1.6rem;
  @media (min-width: 1200px) {
    padding: 14.7rem 29rem 0 8.6rem;
  }
}

.heading {
  font-size: 2.2rem;
  font-weight: 400;
  line-height: 2.6rem;
  margin-top: 4.1rem;
  @media (min-width: 1200px) {
    font-size: 3.8rem;
    font-weight: 700;
    line-height: 3.6rem;
    margin-top: 6.8rem;
  }
}

img {
  display: flex;
  flex-shrink: 0;
  width: 24.6rem;
  @media (min-width: 1200px) {
    width: 46.3rem;
  }
}

.error-text {
  margin-top: 4.1rem;
  @media (min-width: 1200px) {
    margin-top: 6.8rem;
  }
}

.info {
  margin-top: 2.4rem;
  margin-bottom: 4rem;
}

.socialMedia {
  margin-top: 4rem;
}

h2 {
  font-size: 1.8rem;
  font-style: normal;
  font-weight: 600;
  line-height: 2.4rem;

  @media (min-width: 1200px) {
    font-size: 2.6rem;
    font-weight: 700;
    line-height: 2.2rem;
  }
}

.icons {
  margin-top: 1.1rem;
  display: flex;
  height: 4rem;
  gap: 2.4rem;
  flex-shrink: 0;
  align-self: stretch;
  @media (min-width: 1200px) {
    margin-top: 1.3rem;
  }
}

.address {
  margin-top: 6.8rem;
}

a {
  font-size: 1.6rem;
  font-weight: 400;
  line-height: 25px;
  outline-color: transparent;
  outline-width: 2px;
  text-decoration-color: #132943;
  text-decoration-line: underline;
  color: #132943;
  @media (min-width: 1200px) {
    font-size: 2.2rem;
  }
}

.line {
  font-size: 1.6rem;
  font-weight: 400;
  line-height: 2rem;
  letter-spacing: 0.034rem;
  @media (min-width: 1200px) {
    font-size: 2.2rem;
    line-height: 2.4rem;
    letter-spacing: 0.066rem;
  }
}