File: /var/www/viitorx.stgviitor.com/wp-content/themes/viitorx/css/404.css
/**
* ViitorX — 404 page (scoped under .viitorx-error-404-wrap)
*/
.viitorx-error-404-wrap {
--vx-404-bg: #131313;
--vx-404-text: #f0f0e5;
--vx-404-muted: #b3b3b3;
--vx-404-space: clamp(16px, 4vw, 32px);
--vx-404-radius: 16px;
--vx-font-display: 'Archivo', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
--vx-font-body: system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
}
.viitorx-error-404-main {
margin: 0;
padding: 0;
max-width: none;
}
.viitorx-error-404-wrap .error-404-hero {
position: relative;
min-height: min(92vh, 900px);
display: grid;
place-items: center;
padding:
calc(clamp(48px, 10vh, 120px) + var(--hero-top-bar-total, 0px)) var(--vx-404-space)
clamp(48px, 10vh, 120px);
overflow: hidden;
text-align: center;
background: var(--vx-404-bg);
color: var(--vx-404-text);
}
.viitorx-error-404-wrap .error-404-hero__video {
position: absolute;
inset: 0;
width: 100%;
height: 100%;
object-fit: cover;
opacity: 0.72;
pointer-events: none;
}
.viitorx-error-404-wrap .error-404-hero__overlay {
position: absolute;
inset: 0;
background:
radial-gradient(55% 55% at 50% 32%, rgba(184, 92, 32, 0.2) 0%, rgba(19, 19, 19, 0) 58%),
linear-gradient(180deg, rgba(19, 19, 19, 0.2) 0%, rgba(19, 19, 19, 0.55) 55%, var(--vx-404-bg) 100%);
pointer-events: none;
}
.viitorx-error-404-wrap .error-404-hero__inner {
position: relative;
z-index: 1;
width: min(100%, 720px);
display: flex;
flex-direction: column;
align-items: center;
gap: clamp(20px, 4vw, 28px);
}
.viitorx-error-404-wrap .error-404-hero__code {
font-family: var(--vx-font-display);
font-weight: 700;
font-size: clamp(72px, 18vw, 140px);
line-height: 0.95;
letter-spacing: -0.03em;
color: var(--vx-404-text);
opacity: 0.35;
margin: 0;
user-select: none;
}
.viitorx-error-404-wrap .error-404-hero__header {
display: flex;
flex-direction: column;
gap: 12px;
}
.viitorx-error-404-wrap .error-404-hero__title {
font-family: var(--vx-font-display);
font-weight: 700;
font-size: clamp(28px, 5vw, 44px);
line-height: 1.12;
letter-spacing: -0.02em;
color: var(--vx-404-text);
margin: 0;
}
.viitorx-error-404-wrap .error-404-hero__lead {
font-family: var(--vx-font-display);
font-weight: 300;
font-size: clamp(15px, 2.2vw, 18px);
line-height: 1.55;
color: #ffffff;
opacity: 0.88;
margin: 0;
max-width: 52ch;
}
.viitorx-error-404-wrap .error-404-hero__actions {
display: flex;
flex-wrap: wrap;
gap: 12px;
justify-content: center;
margin-top: 4px;
}
.viitorx-error-404-wrap .error-404-btn {
display: inline-flex;
align-items: center;
justify-content: center;
min-height: 52px;
padding: 16px 36px;
font-family: var(--vx-font-body);
font-weight: 700;
font-size: 17px;
line-height: 1.2;
text-decoration: none;
border-radius: 0;
border: 1px solid transparent;
cursor: pointer;
transition: background 0.4s cubic-bezier(.16,1,.3,1), color 0.4s, transform 0.4s;
}
.viitorx-error-404-wrap .error-404-btn--primary {
background: var(--vx-404-text);
color: var(--vx-404-bg);
}
.viitorx-error-404-wrap .error-404-btn:focus-visible {
outline: 2px solid rgba(240, 240, 229, 0.65);
outline-offset: 4px;
}
.viitorx-error-404-wrap .error-404-btn:hover {
background: rgba(164, 119, 100, 1);
color: rgba(240, 240, 229, 1);
transform: translateY(-2px);
opacity: 1;
}
.viitorx-error-404-wrap .error-404-hero__search {
width: 100%;
max-width: 420px;
display: flex;
flex-direction: column;
align-items: stretch;
gap: 10px;
margin-top: 8px;
}
.viitorx-error-404-wrap .error-404-hero__search-label {
font-family: var(--vx-font-display);
font-weight: 400;
font-size: 13px;
letter-spacing: 0.08em;
text-transform: uppercase;
color: var(--vx-404-muted);
margin: 0;
}
.viitorx-error-404-wrap .error-404-hero__search .search-form {
display: flex;
gap: 0;
width: 100%;
border: 1px solid rgba(240, 240, 229, 0.35);
background: rgba(15, 15, 15, 0.65);
backdrop-filter: blur(12px);
}
.viitorx-error-404-wrap .error-404-hero__search .search-form label {
flex: 1;
display: flex;
margin: 0;
}
.viitorx-error-404-wrap .error-404-hero__search .search-field {
flex: 1;
width: 100%;
min-height: 48px;
padding: 12px 16px;
border: 0;
background: transparent;
color: var(--vx-404-text);
font-family: var(--vx-font-body);
font-size: 16px;
}
.viitorx-error-404-wrap .error-404-hero__search .search-field::placeholder {
color: rgba(240, 240, 229, 0.45);
}
.viitorx-error-404-wrap .error-404-hero__search .search-field:focus {
outline: none;
}
.viitorx-error-404-wrap .error-404-hero__search .search-submit {
min-height: 48px;
padding: 12px 20px;
border: 0;
border-left: 1px solid rgba(240, 240, 229, 0.25);
background: rgba(240, 240, 229, 0.12);
color: var(--vx-404-text);
font-family: var(--vx-font-body);
font-weight: 600;
font-size: 14px;
cursor: pointer;
transition: background 0.2s ease;
}
.viitorx-error-404-wrap .error-404-hero__search .search-submit:hover,
.viitorx-error-404-wrap .error-404-hero__search .search-submit:focus-visible {
background: rgba(240, 240, 229, 0.22);
}
.viitorx-error-404-wrap .error-404-quicklinks {
display: flex;
flex-wrap: wrap;
gap: 12px 20px;
justify-content: center;
margin-top: 12px;
padding-top: 8px;
border-top: 1px solid rgba(240, 240, 229, 0.15);
width: 100%;
max-width: 420px;
}
.viitorx-error-404-wrap .error-404-quicklinks__link {
font-family: var(--vx-font-display);
font-weight: 400;
font-size: 15px;
color: var(--vx-404-text);
text-decoration: underline;
text-underline-offset: 4px;
text-decoration-color: rgba(240, 240, 229, 0.35);
}
.viitorx-error-404-wrap .error-404-quicklinks__link:hover,
.viitorx-error-404-wrap .error-404-quicklinks__link:focus-visible {
text-decoration-color: rgba(240, 240, 229, 0.65);
}
@media (max-width: 480px) {
.viitorx-error-404-wrap .error-404-hero__search .search-form {
flex-direction: column;
border: 1px solid rgba(240, 240, 229, 0.35);
}
.viitorx-error-404-wrap .error-404-hero__search .search-submit {
border-left: 0;
border-top: 1px solid rgba(240, 240, 229, 0.25);
}
.viitorx-error-404-wrap .error-404-btn {
width: 100%;
}
}