html {
  box-sizing: border-box;
  font-family: sans-serif;
  font-size: 10px;
  -webkit-text-size-adjust: 100%;
}

*,
*::before,
*::after {
  box-sizing: inherit;
}

body {
  width: 100%;
  height: 100vh;
  margin: 0;
  overflow: hidden;
  background-image: url("background.jpg");
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  color: #fff;
  font-family: "Exo", "Helvetica", sans-serif;
}

.error-page {
  position: relative;
  display: flex;
  height: 100vh;
  align-items: flex-start;
  justify-content: center;
  padding: 0 32px;
  text-align: center;
}

.error-panel {
  display: flex;
  width: min(560px, 100%);
  height: 100vh;
  margin: 0 auto;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transform: translateY(9px);
  color: #fff;
  text-align: center;
}

.brand-logo {
  width: 20vw;
  max-width: 100%;
  height: auto;
  margin-bottom: 18px;
}

.status-code {
  margin: 0 0 8px;
  color: #fff;
  font-size: clamp(5.2rem, 10vw, 9.6rem);
  font-weight: 700;
  line-height: .95;
  text-shadow: 0 1px 4px rgba(0, 0, 0, .9);
}

.status-label {
  margin: 0 0 16px;
  color: #fff;
  font-size: clamp(2rem, 3vw, 3rem);
  font-weight: 500;
  line-height: 1.2;
  text-shadow: 0 1px 4px rgba(0, 0, 0, .9);
}

.status-copy {
  max-width: 520px;
  margin: 0 auto 28px;
  color: #fff;
  font-size: clamp(1.5rem, 2vw, 1.8rem);
  line-height: 1.55;
  text-shadow: 0 1px 4px rgba(0, 0, 0, .9);
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  width: min(480px, 100%);
}

.button {
  display: inline-flex;
  width: 16vw;
  min-width: 220px;
  max-width: 100%;
  align-items: center;
  justify-content: center;
  border-radius: 25px;
  padding: 12px 20px;
  border: 1px solid transparent;
  background-color: #ce1719;
  color: white;
  font-size: 1.4rem;
  line-height: 1.25;
  text-decoration: none;
  text-transform: uppercase;
}

.button:hover,
.button:focus {
  color: white;
  outline: 0;
}

.button-secondary {
  background-color: #0a128a;
}

.button-secondary:hover,
.button-secondary:focus {
  color: white;
}

.footer-note {
  position: fixed;
  right: 18px;
  bottom: 12px;
  z-index: 1;
  margin: 0;
  color: rgba(255, 255, 255, .78);
  font-size: 1.2rem;
  text-shadow: 0 1px 4px rgba(0, 0, 0, .8);
}

@media (max-width: 1024px) {
  body {
    overflow: auto;
  }

  .error-panel {
    height: auto;
    padding: 32px 0 48px;
    transform: none;
  }

  .brand-logo {
    width: 40vw;
  }
}

@media (max-width: 600px) {
  .error-page {
    align-items: flex-start;
    padding: 28px 20px 72px;
  }

  .brand-logo {
    width: 80vw;
    margin-bottom: 26px;
  }

  .button {
    width: 80vw;
  }

  .footer-note {
    left: 50%;
    right: auto;
    width: max-content;
    max-width: calc(100vw - 32px);
    transform: translateX(-50%);
    text-align: center;
  }
}
