h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-main);
}

h1 {
    font-size: 11.4rem;
    font-family: var(--font-title);
    font-weight: 700;
    text-transform: uppercase;
    color: var(--current-title);
}

h1 .title-sub {
    text-transform: none;
    font-family: var(--font-main);
}

h2,
h1 .title-sub {
    font-size: 2.8rem;
    color: var(--secondary);
    font-weight: 500;
}
h2.pad-left,
h1 .title-sub {
    padding-left: 7rem;
}

.title-row {
    width: 100%;
    position: relative;
    padding-left: 2rem;
}

.title-container {
    width: fit-content;
    position: relative;
}

.title-cartouche {
    --color: var(--current-title);
    --bracket-thickness: 0.4rem;
    width: fit-content;
    position: relative;
    padding: 0.5rem 1rem;
    margin-block: 5rem;
}

.title-cartouche:before,
.title-cartouche:after {
    --x: var(--bracket-thickness);
    --size: 3.2rem;
    content: '';
    position: absolute;
    /* background: var(--color); */
    border-color: var(--color);
    border-width: var(--x);
    width: var(--size);
    height: var(--size);
}

.title-cartouche:before {
    bottom: calc(-1*var(--x));
    left: calc(-1*var(--x));
    border-left-style: solid;
    border-bottom-style: solid;
    /* clip-path: polygon(0 0, var(--x) 0, var(--x) calc(100% - var(--x)), 100% calc(100% - var(--x)), 100% 100%, 0 100%); */
}

.title-cartouche:after {
    top: calc(-1*var(--x));
    right: calc(-1*var(--x));
    border-right-style: solid;
    border-top-style: solid;
    /* clip-path: polygon(0 0, 100% 0, 100% 100%, calc(100% - var(--x)) 100%, calc(100% - var(--x)) var(--x), 0 var(--x)); */
}

.title-container h1 {
    color: var(--color);
    line-height: 11.4rem;
}

[css-dropshadow] {
    display: inline-block;
    --offset: 0.02em;
    position: relative;
    line-height: 1em;
    /* color: transparent; */
}
[css-dropshadow]:after {
    position: absolute;
    display: block;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    font-family: var(--font-title);
    font-weight: 700;
    text-transform: uppercase;
    content: attr(css-dropshadow);
    transform: translate(
        calc(1.6*var(--offset)),
        calc(1.2*var(--offset))
    );
    color: transparent;
    -webkit-text-stroke: var(--offset) var(--color);
    margin: calc(-1*var(--stroke));
}

.title-top-right-dots {
    position: absolute;
    top: 0;
    right: calc(-50% + 0.7rem);
    height: 3rem;
    width: 50%;
    z-index: 2;
}

.title-bottom-left-dots {
    position: absolute;
    bottom: -2.3rem;
    left: -4.8rem;
    height: 7rem;
    width: 7rem;
    z-index: 2;
}

.title-bg {
    background-color: var(--current-highlight);
    position: absolute;
    top: 40%;
    bottom: 0;
    width: 80%;
    right: -4rem;
    border-radius: 1rem;
}

.title-triangles-left {
    position: absolute;
    bottom: 0;
    left: -11.3rem;
}
.title-triangles-right {
    position: absolute;
    top: 4.5rem;
    right: -15.1rem;
}

.title-left-stripes {
    position: absolute;
    right: 100%;
    width: 50vw;
    margin-right: -2rem;
    top: 1.4rem;
    height: calc(11*var(--stripe-height))
}
.title-right-stripes {
    --notch: 16rem;
    position: absolute;
    left: 100%;
    width: 50vw;
    bottom: 0;
    height: calc(15*var(--stripe-height));
    clip-path: polygon(
        var(--notch) 0,
        100% 0,
        100% 100%,
        0 100%,
        0 calc(1.5*var(--stripe-height)),
        var(--notch) calc(1.5*var(--stripe-height))
    );
}