:root {
    --color-black: #000;
    --color-title: #111;
    --color-grey: #818181;

    --font-primary: "Mulish", sans-serif;
    --font-display: "Scheherazade New", serif;
}

body {
    margin: 0;
    color: var(--color-grey);
    font-family: var(--font-primary);
    font-size: 17px;
    font-style: normal;
    font-weight: 400;
    line-height: 24px;
}

/* Préheader */
.preheader-text {
    color: var(--color-black);
    font-family: var(--font-primary);
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: 20px;
}

/* H1 */
h1,
.h1 {
    margin: 0;
    color: var(--color-title);
    font-family: var(--font-display);
    font-size: 45px;
    font-style: normal;
    font-weight: 400;
    line-height: 50px;
}

/* H2 */
h2,
.h2 {
    margin: 0;
    color: var(--color-title);
    font-family: var(--font-primary);
    font-size: 27px;
    font-style: normal;
    font-weight: 800;
    line-height: 28px;
}

/* H3 */
h3,
.h3 {
    margin: 0;
    color: var(--color-title);
    font-family: var(--font-primary);
    font-size: 20px;
    font-style: normal;
    font-weight: 800;
    line-height: 25px;
}

/* Body text */
p,
.body-text {
    color: var(--color-grey);
    font-family: var(--font-primary);
    font-size: 17px;
    font-style: normal;
    font-weight: 400;
    line-height: 24px;
}

/* Étiquette */
.label-text {
    color: var(--color-title);
    font-family: var(--font-primary);
    font-size: 17px;
    font-style: normal;
    font-weight: 600;
    line-height: 28px;
}
/* Public exception pages */
.dt-public-error {
    display: grid;
    min-height: 50vh;
    padding: 72px 20px;
    place-items: center;
}

.dt-public-error__card {
    width: min(100%, 620px);
    padding: 42px;
    border: 1px solid #e8e4df;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 10px 32px rgb(14 14 14 / 8%);
    text-align: center;
}

.dt-public-error__code {
    margin: 0 0 8px;
    color: #a77a21;
    font: 700 18px/1 "Mulish", sans-serif;
}

.dt-public-error__card h1 {
    margin: 0;
    color: #0e0e0e;
    font-family: "Scheherazade New", serif;
    font-size: clamp(36px, 5vw, 52px);
    font-weight: 400;
}

.dt-public-error__card p:not(.dt-public-error__code) {
    margin: 14px auto 26px;
    max-width: 460px;
    color: #47413c;
    font: 400 17px/1.5 "Mulish", sans-serif;
}

.dt-public-error__card a {
    display: inline-flex;
    min-height: 42px;
    padding: 10px 20px;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    background: #e3ba67;
    color: #0e0e0e;
    font: 700 16px/1 "Mulish", sans-serif;
    text-decoration: none;
}
