img {
    height: 352px;
}

:root {
    --bg-backdrop: #f2ebde;
    --bg-backdrop-outline: #9e947e7b;
    --u: 8px;
    --uu: 16px;
    --uuu: 24px;
    --uuuu: 32px;
    --uuuuu: 48px;
    --uuuuuu: 64px;
    font-family: 'Outfit', sans-serif;
}

body {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    background-color: #8eb8ca;
    font-size: 18px;
    overflow-x: hidden;
    color: #000000cc;
}

.column {
    /* Max width 800px, resize when the width is smaller, center the content */
    max-width: 640px;
    width: 100%;
    resize: horizontal;

    margin: 0 auto;
    position: relative;
}

#skirt {
    position: absolute;
    top: 0;
    left: -100px;
    z-index: 1;
}

#trousers {
    position: absolute;
    top: 0;
    right: -100px;
    z-index: 1;
}

#logo {
    width: calc(100% + (-5 * var(--uuuu)));
    margin: var(--uuu) auto var(--u);
}

main {
    background-color: var(--bg-backdrop);
    padding: var(--uuu);
    border: var(--bg-backdrop-outline) 1px solid;
    margin-bottom: var(--uuu);
}

.card {
    /* padding: var(--uuuuu); */
    text-align: center;
    margin-bottom: var(--u);
    font-weight: bold;

    &.-center {
        display: grid;
        justify-content: center;
        align-items: center;
    }
}

.over-edge {
    padding: var(--uu) calc(2 * var(--uuuu));
    position: relative;
}

.over-edge>* {
    z-index: 2;
    position: relative;
}

.over-edge::after {
    border-bottom: var(--bg-backdrop-outline) 1px solid;
    content: ' ';
    display: block;
    position: absolute;
    top: 0;
    bottom: 0;
    left: calc(-5 * var(--u));
    right: calc(-5 * var(--u));
    background-color: white;
    z-index: 0;
}

.date {
    padding: 5px 20px;
    color: white;
    background-color: #ff7d2d;

    line-height: 1.25;
    font-size: 1.5rem;
    font-weight: bold;
    margin: var(--u) 0;
    display: inline-block;
    border-bottom: var(--bg-backdrop-outline) 1px solid;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Outfit', sans-serif;
    line-height: 1.25;
    margin-bottom: var(--u);
}

header {
    h1 {
        font-weight: bold;
    }
}

footer {
    margin-bottom: var(--uuu);
    display: block;

    p {
        opacity: .5;
        text-align: right;
    }
}

h1 {
    font-size: var(--uuuuu);
    text-align: center;
    font-weight: normal;
    line-height: 1.1;
}

p {
    font-family: Outfit, sans-serif;
    margin-bottom: var(--u);
}

.stretched {
    text-align: center;
    letter-spacing: 0.25em;
}

.ct {
    margin-bottom: var(--u);
}

a, a:link, a:visited {
    color: inherit;
    font-weight: bold;
    /* underline text in same colour */
    text-decoration: underline;
    text-decoration-color: #38859e;
    
}

#legs-header {
    z-index: 1;
    position: fixed;
    top: 0;
    width: 100%;
    max-width: 640px;
}

button {
    /* reset all properties */
    all: unset;
    font-family: inherit;
    font-size: inherit;
    line-height: inherit;
    color: inherit;
    margin: 0;
    padding: 0;
    display: flex;
}