body {
  font-family: 'Syne', sans-serif;
  margin: 0;
  padding: 0;
  background-color: #ffffff;
  color: #39505d;
}

.page-wrapper {
  margin: 0 auto;
  overflow: hidden;
}


.error-page-section {
  max-width: 1200px;
  background-color: #ffffff;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  margin: auto;
}

.error-page-container {
  max-width: 988px;
  margin: auto;
  height: 100vh;
  padding: 0 20px;
  box-sizing: border-box;
  position: relative;
  display: flex;
  align-items: center;
}

.error-logo-img {
  position: absolute;
  top: 46px;
  right: 0;
  width: 100%;
  max-width: 195px;
  height: 34px;
}

.error-content-layout {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap:10px;
}

.error-text-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  max-width: 915px;
}

.error-message {
  text-align: left;
}

.error-message-title {
  display: block;
  font-family: 'Syne', sans-serif;
  font-weight: 400;
  font-size: 80px;
  color: #2D383B;
  line-height: 1.1em;
}

.error-message-subtitle {
  display: block;
  font-family: 'Syne', sans-serif;
  font-weight: 400;
  font-size: 32px;
  color: #2D383B;
  line-height: 38.4px;
  margin-top: 1em;
}

.error-home-button {
  background-color: #628390;
  border-radius: 20px;
  color: #ffffff;
  font-family: 'Syne', sans-serif;
  font-weight: 400;
  font-size: 24px;
  line-height: 30px;
  text-align: center;
  padding: 12.5px 20px;
  padding-bottom: 5px;
  width: 100%;
  max-width: 321px;
  box-sizing: border-box;
  text-decoration: none;
  display: inline-block;
  margin-top: 40px;
}

.error-home-button .arrow {
  color: #FFDD4E;
}

.error-illustration-img {
  width: 300px;
  height: 258px;
  object-fit: contain;
}


@media (max-width: 1200px) {
  .error-content-layout {
    gap: 30px;
  }

  .error-logo-img {
    right: 5%;
  }

  .error-message-title {
    font-size: 52px;
  }

  .error-message-subtitle {
    font-size: 24px;
  }
}

@media (max-width: 768px) {
  .error-page-container {
    width: 100%;
  }

  .error-content-layout {
    flex-direction: column-reverse;
    align-items: center;
    text-align: center;
    margin-left: 0;
    margin-top: 0;
  }
  .error-logo-img {
    width: 140px;
  } 

  .error-text-content {
    align-items: center;
    max-width: 100%;
    padding: 0 15px;
  }

  .error-message {
    text-align: center;
  }

  .error-illustration-wrapper {
    margin-top: 30px;
  }

  .error-illustration-img {
    width: 100%;
    max-width: 180px;
    height: auto;
  }

  .error-home-button {
    font-size: 24px;
    max-width: 300px;
    width: 100%;
  }
}


.site-footer {
  background-color: #004661;
  color: #ffffff;
  font-family: 'Syne', sans-serif;
  font-size: 19px;
  line-height: 28.8px;
  padding: 0 20px;

}

.footer-container {
  max-width: 1920px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding-top: 105px;
  padding-bottom: 113px;
  gap: 25px;
  min-height: calc(323px - 105px - 113px);
}

.footer-navigation a {
  color: #ffffff;
  text-decoration: none;
  margin: 0 5px;
}

.footer-link-separator {
  color: #99C8F1;
  margin: 0 5px;
}

.footer-social {
  display: flex;
  align-items: center;
}

.social-follow-text {
  margin: 0;
  margin-right: 18px;
  font-size: 19px;
}

.social-icon {
  width: 40px;
  height: 40px;
  margin-left: 17px;
}

.social-icon:first-of-type {
  margin-left: 0;
}



@media (max-width: 768px) {
  .site-footer {
    font-size: 16px;
    line-height: 1.5;
    padding-top: 40px;
    padding-bottom: 40px;
  }

  .footer-container {
    padding-top: 0;
    padding-bottom: 0;
    gap: 10px;
  }

  .footer-navigation {
    display: flex;
    align-items: center;
    gap: 0px;
  }

  .footer-social {
    gap: 10px;
  }

  .social-follow-text {
    font-size: 16px;
    margin-right: 0;
    margin-bottom: 10px;
  }

  .social-icon {
    margin-left: 10px;
  }

  .footer-social>a:not(:first-child) .social-icon {
    margin-left: 10px;
  }

  .footer-social>a:first-of-type .social-icon {
    margin-left: 0;
  }
}