/**
 * Fichier  : /ott/404/assets/css/hero.css
 * Fonction : hero de la page 404
 */


/* ==================================================
   HERO
================================================== */

#error .error .hero {
    position: relative;
    isolation: isolate;
}

#error .error .hero {
    width: 100%;
}

#error .error .hero {
    min-height: 360px;
}

#error .error .hero {
    display: flex;
    align-items: center;
    justify-content: center;
}


/* ==================================================
   WATERMARK
================================================== */

#error .error .watermark {
    position: absolute;
    inset: 50% auto auto 50%;
    z-index: -1;
}

#error .error .watermark {
    transform: translate(-50%, -54%);
}

#error .error .watermark {
    font-family: 'title-font';
    font-size: clamp(9rem, 28vw, 18rem);
    font-weight: 900;
    line-height: .75;
    letter-spacing: -.12em;
}

#error .error .watermark {
    color: rgba(255,255,255,.035);
    text-shadow:
        0 0 70px rgba(255,123,0,.08);
}

#error .error .watermark {
    user-select: none;
    pointer-events: none;
}


/* ==================================================
   CONTENT
================================================== */

#error .error .content {
    position: relative;
    z-index: 1;
}

#error .error .content {
    width: 100%;
    max-width: 680px;
}

#error .error .content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: .85em;
}

#error .error .content {
    text-align: center;
}


/* ==================================================
   LABEL
================================================== */

#error .error .content h5 {
    position: relative;
    width: fit-content;
}

#error .error .content h5 {
    font-family: 'content-font';
    font-size: .8em;
    font-weight: 600;
    line-height: 1.2;
}

#error .error .content h5 {
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--color-text-muted);
}


/* ==================================================
   TITLE
================================================== */

#error .error .content h1 {
    font-family: 'title-font';
    font-size: 4em;
    font-weight: 800;
    line-height: .92;
}

#error .error .content h1 {
    letter-spacing: -.06em;
    text-wrap: balance;
    color: var(--color-white);
}

#error .error .content h1 {
    text-shadow:
        0 2px 24px rgba(0,0,0,.28);
}


/* ==================================================
   KICKER
================================================== */

#error .error .content h2 {
    font-family: 'bold-font';
    font-size: clamp(16px, 1.45vw, 22px);
    font-weight: 700;
    line-height: 1.25;
}

#error .error .content h2 {
    color: rgba(255,255,255,.9);
}


/* ==================================================
   DESCRIPTION
================================================== */

#error .error .content p {
    max-width: 560px;
}

#error .error .content p {
    font-family: 'content-font';
    font-size: clamp(14px, 1.1vw, 17px);
    line-height: 1.55;
    color: var(--color-text-soft);
}


/* ==================================================
   RESPONSIVE
================================================== */

@media screen and (max-width: 768px) {

    #error .error .hero {
        min-height: 330px;
    }

    #error .error .watermark {
        font-size: 9rem;
    }

    #error .error .content h1 {
        font-size: 2.5em;
    }

    #error .error .content h5 {
        font-size: 10px;
    }

}