.not-found-page
{
  position: fixed;
  inset: 0;

  display: flex;
  box-sizing: border-box;
  padding: 1.5rem;
  overflow: auto;

  background:
    radial-gradient(ellipse at 20% 25%, rgba(86, 103, 172, 0.2), transparent 55%),
    radial-gradient(ellipse at 85% 80%, rgba(104, 62, 140, 0.18), transparent 50%),
    #05070d;

  color: #FFFFFF;
  font-family: 'Montserrat', sans-serif;
  text-align: center;
  -webkit-font-smoothing: antialiased;
}

.not-found-card
{
  box-sizing: border-box;
  flex-shrink: 0;
  width: min(100%, 36rem);
  margin: auto;
  padding: clamp(1.5rem, 6vw, 3.5rem);

  border: 1px solid rgba(255, 255, 255, 0.82);
  border-radius: clamp(1.25rem, 3vw, 2rem);
  background: linear-gradient(rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.03));
  box-shadow: 0 1.5rem 5rem rgba(0, 0, 0, 0.45);
}

.not-found-code
{
  margin: 0 0 1rem;

  font-size: clamp(5rem, 18vw, 9rem);
  font-weight: 900;
  letter-spacing: 0.08em;
  line-height: 1;
}

.not-found-card h1
{
  margin: 0;

  font-size: clamp(1.5rem, 5vw, 2.25rem);
  line-height: 1.3;
}

.not-found-description
{
  margin: 1rem 0 2rem;

  color: rgba(255, 255, 255, 0.82);
  line-height: 1.6;
}

.not-found-home
{
  display: inline-block;

  padding: 0.85rem 1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.65);
  border-radius: 999px;

  color: #FFFFFF;
  font-weight: 700;
  text-decoration: none;
}

.not-found-home:hover,
.not-found-home:focus-visible
{
  background: rgba(255, 255, 255, 0.14);
}

.not-found-home:focus-visible
{
  outline: 2px solid #FFFFFF;
  outline-offset: 4px;
}
