body.construction-page {
  min-height: 100vh;
}

body.construction-page > div {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  position: relative;
  background-image: url("../img/error-bg.jpg");
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
}

body {
  margin: 0;
  padding: 0;
}
.content {
  position: absolute;
  text-align: center;
  left: 50%;
  top: 10vh;
  width: 40vw;
  transform: translateX(-50%);
}

body.construction-page .content {
  position: relative;
  left: auto;
  top: auto;
  width: min(42rem, 85vw);
  margin: 8vh auto 0;
  transform: none;
  z-index: 1;
}

.header-content {
  color: white;
  font-family: "Josefin Sans", sans-serif;
  font-size: 10rem;
  line-height: 4rem;
}
.text-content {
  color: white;
  font-family: "Josefin Sans", sans-serif;
  font-size: 2rem;
}
.return {
  color: white;
  font-family: "Josefin Sans", sans-serif;
  font-size: 1.5rem;
  text-decoration: none;
  position: relative;
  display: inline-block;
}

.return::after {
  content: "";
  position: absolute;
  width: 100%;
  transform: scaleX(0);
  height: 2px;
  bottom: 0;
  left: 0;
  background-color: white;
  transform-origin: bottom left;
  transition: transform 0.25s ease-out;
}
.return:hover::after {
  transform: scaleX(1);
  transform-origin: bottom left;
}

.footer {
  position: absolute;
  text-align: center;
  left: 50%;
  width: 100%;
  transform: translateX(-50%);
}

footer {
  position: absolute;
}

body.construction-page .footer {
  position: relative !important;
  left: auto;
  width: 100%;
  transform: none;
  margin-top: 0;
  z-index: 1;
}

body.construction-page .footer-container {
  margin-top: auto;
  z-index: 1;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: 20px 20px 0 0;
  padding-top: 0.5rem;
}

body.construction-page footer {
  position: relative !important;
  display: flex;
  justify-content: space-around;
  align-items: flex-start;
  width: 100%;
  margin-top: 0;
  padding: 3.5rem 1rem 1.5rem;
  box-sizing: border-box;
  bottom: auto;
  top: auto;
  z-index: 1;
}

body.construction-page hr {
  border: 0;
  height: 1px;
  width: calc(100% - 2rem);
  margin: 0 auto;
  background: rgba(255, 255, 255, 0.647);
}

body.construction-page .footer-logo,
body.construction-page .footer-links {
  margin-top: 0;
}

body.construction-page .footer-links {
  text-align: left;
}

body.construction-page .logo-text {
  transition: color 0.35s ease-in-out;
  background-image: linear-gradient(to right, #1b98ff, #357dfa);
  background-clip: text;
  -webkit-background-clip: text;
}

body.construction-page .logo-text:hover,
body.construction-page .logo-text:focus-visible {
  color: transparent;
}

@media (max-width: 700px) {
  body.construction-page .content {
    margin-top: 10vh;
    width: 88vw;
  }

  body.construction-page .header-content {
    font-size: clamp(4rem, 20vw, 6rem);
    line-height: 1;
  }

  body.construction-page .text-content {
    font-size: 1.4rem;
    margin-top: 3rem !important;
  }

  body.construction-page footer {
    display: block;
    padding: 1rem;
    text-align: center;
  }

  body.construction-page .footer-logo {
    text-align: center;
    display: block;
    margin: 0 auto 0.75rem;
  }

  body.construction-page .footer-links,
  body.construction-page .social-media {
    text-align: center;
  }
}
