.container {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  min-height: 100dvh;
}
.main.container {
  min-height: 100dvh;
}
.not-found {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px 0px;
  width: 100vw;
  padding: 30px 0;
  overflow: hidden;
}
.not-found .text {
  display: flex;
  flex-direction: column;
  align-items: center;
  -webkit-user-select: none;
     -moz-user-select: none;
          user-select: none;
}
.not-found .text span {
  display: inline-flex;
  font-size: 110px;
  font-weight: 900;
  line-height: 70%;
  color: color-mix(in srgb, var(--template-primary-color) 80%, transparent);
}
.not-found .text span em {
  font-style: normal;
}
.not-found .text span em.first {
  -webkit-animation: announceLeft 1700ms ease;
          animation: announceLeft 1700ms ease;
}
.not-found .text span em.second {
  -webkit-animation: announceDown 1500ms ease;
          animation: announceDown 1500ms ease;
}
.not-found .text span em.third {
  -webkit-animation: announceRight 1700ms ease;
          animation: announceRight 1700ms ease;
}
.not-found .text small {
  display: inline-flex;
  font-size: 15px;
  font-weight: var(--template-font-regular);
  color: var(--template-font-color);
  text-transform: uppercase;
  letter-spacing: .375rem;
  margin-left: .375rem;
  -webkit-animation: announceUp 1700ms ease;
          animation: announceUp 1700ms ease;
}
.large {
  font-size: 30px;
  line-height: 100%;
  margin-bottom: 5px;
}
.lead {
  font-weight: var(--template-font-medium);
  line-height: 100%;
  margin: 0 20px 30px 20px !important;
}

@-webkit-keyframes announceUp {
  0% { opacity: 0; -webkit-transform: translateY(1000%); transform: translateY(1000%); }
  100% { opacity: 1; -webkit-transform: translateY(0); transform: translateY(0); }
}

@keyframes announceUp {
  0% { opacity: 0; -webkit-transform: translateY(1000%); transform: translateY(1000%); }
  100% { opacity: 1; -webkit-transform: translateY(0); transform: translateY(0); }
}
@-webkit-keyframes announceDown {
  0% { opacity: 0; -webkit-transform: translateY(-1000%); transform: translateY(-1000%); }
  100%  { opacity: 1; -webkit-transform: translateY(0); transform: translateY(0); }
}
@keyframes announceDown {
  0% { opacity: 0; -webkit-transform: translateY(-1000%); transform: translateY(-1000%); }
  100%  { opacity: 1; -webkit-transform: translateY(0); transform: translateY(0); }
}
@-webkit-keyframes announceLeft {
  0%  { opacity: 0; -webkit-transform: translateX(-1000%); transform: translateX(-1000%); }
  100%  { opacity: 1; -webkit-transform: translateX(0px); transform: translateX(0px); }
}
@keyframes announceLeft {
  0%  { opacity: 0; -webkit-transform: translateX(-1000%); transform: translateX(-1000%); }
  100%  { opacity: 1; -webkit-transform: translateX(0px); transform: translateX(0px); }
}
@-webkit-keyframes announceRight {
  0%  { opacity: 0; -webkit-transform: translateX(1000%); transform: translateX(1000%); }
  100%  { opacity: 1; -webkit-transform: translateX(0); transform: translateX(0); }
}
@keyframes announceRight {
  0%  { opacity: 0; -webkit-transform: translateX(1000%); transform: translateX(1000%); }
  100%  { opacity: 1; -webkit-transform: translateX(0); transform: translateX(0); }
}

@media (min-width: 768px) {
  .not-found {
    padding: 60px 0 30px 0;
  }
  .not-found .text span {
    font-size: 160px;
  }
  .not-found .text small {
    font-size: 17px;
    letter-spacing: .725rem;
    margin-left: .725rem;
  }
  .large {
    font-size: 36px;
  }
  .large br {
    display: none;
  }
  .lead {
    margin: 0 auto 30px auto !important;
  }
}

@media (min-width: 992px) {
  .not-found .text span {
    font-size: 180px;
  }
  .not-found .text small {
    font-size: 20px;
    letter-spacing: .85rem;
    margin-left: .85rem;
  }
  .large {
    font-size: calc(28px + 1vw);
  }
}

@media (min-width: 1366px) {
  .not-found {
    padding: 70px 0 40px 0;
  }
}