:root {
    --opie-green: #109877;
    --opie-fg: #111111;

    --opie-beige: #e7dbc1;
    --opie-red: #ba2451;
    --opie-blue: #395ca3;
    --opie-green-light: #49e3bd;
    --opie-beige-light: #faf1de;
    --opie-red-light: #ed5e89;
    --opie-blue-light: #7ea0e6;
    --opie-green-dark: #05634c;
    --opie-beige-dark: #baa067;
    --opie-red-dark: #6b0625;
    --opie-blue-dark: #0b255a;
    --opie-rouge-revue: #ce1e25;
    --opie-redranj: #ff7f02;
    --opie-jocre: #ffd302;
    --opie-verpom: #78be21;
    --opie-ciel: #00a3e0;
    --opie-green-bg: rgb(from var(--opie-green) r g b / 80%);
    --opie-redranj-bg: rgb(from var(--opie-redranj) r g b / 80%);
    --opie-jocre-bg: rgb(from var(--opie-jocre) r g b / 80%);
    --opie-verpom-bg: rgb(from var(--opie-verpom) r g b / 80%);
    --opie-ciel-bg: rgb(from var(--opie-ciel) r g b / 80%);

    --erc-blue: #006a6f;
    --erc-blue-light: #a1d2d4;
    --erc-blue-dark: #003d3f;
    --erc-yellow: #ffca00;
    --erc-yellow-light: #ffeeb2;
}

/* 1. Use a more-intuitive box-sizing model */
*,
*::before,
*::after {
    box-sizing: border-box;
}

/* 2. Remove default margin */
* {
    margin: 0;
}

/* 3. Enable keyword animations */
@media (prefers-reduced-motion: no-preference) {
    html {
        interpolate-size: allow-keywords;
    }
}

body {
    /* 4. Add accessible line-height */
    line-height: 1.5;
    /* 5. Improve text rendering */
    -webkit-font-smoothing: antialiased;
}

/* 6. Improve media defaults */
img,
picture,
video,
canvas,
svg {
    display: block;
    max-width: 100%;
}

/* 7. Inherit fonts for form controls */
input,
button,
textarea,
select {
    font: inherit;
}

/* 8. Avoid text overflows */
p,
h1,
h2,
h3,
h4,
h5,
h6 {
    overflow-wrap: break-word;
}

/* 9. Improve line wrapping */
p {
    text-wrap: pretty;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    text-wrap: balance;
}

/* 10. Create a root stacking context */
#root,
#__next {
    isolation: isolate;
}

body {
    background: linear-gradient(-100deg, var(--erc-blue-light) 0%, var(--erc-blue-light) 50%, #ffffff 50%) no-repeat;
    font-family: Carlito, sans-serif;
}

h1 {
    line-height: 1;
    margin-bottom: 0.5em;
    color: white;
}

a {
    color: var(--opie-fg);
}

li {
    margin-bottom: 0.5em;
}

.btn {
    color: white;
    background-color: var(--erc-blue);
    border-color: var(--erc-blue);
}

.btn:hover {
    color: white;
    background-color: var(--erc-blue-dark);
    border-color: var(--erc-blue-dark);
}

.opie-logo {
    width: 150px;
}

.title-blob {
    border: 2px solid var(--erc-yellow);
    border-radius: 0.5rem;
    background-color: var(--erc-yellow-light);
    padding: 1rem 3rem;
    text-align: center;
    font-size: 1.3em;
}

header {
    background-color: var(--erc-blue);
    padding: 2rem;
}

section {
    padding: 2rem 0;
    position: relative;
    font-size: 1.3em;

    .title-bar {
        color: white;
    }

    .title-bar.title-bar-from-left {
        background: linear-gradient(90deg, var(--erc-blue) 0%, var(--erc-blue) 50%, #ffffff00 50%);
    }

    .title-bar.title-bar-from-right {
        background: linear-gradient(270deg, var(--erc-blue) 0%, var(--erc-blue) 50%, #ffffff00 50%);
    }

    h2 {
        background-color: var(--erc-blue);
        padding: 1rem 3rem !important;
        border-radius: 2rem;
        margin-bottom: 2rem;
    }

    h2.from-right {
        border-radius: 2rem;
    }

    h2.from-left {
        border-radius: 2rem;
    }
}

.funny-radius-1,
.funny-radius-2 {
    background-color: var(--erc-yellow-light);
    border: 2px solid var(--erc-yellow);
}

.funny-radius-1 {
    position: relative;
    margin-bottom: 1rem;
    border-radius: 3rem 0;
    padding: 3rem;
}

.funny-radius-2 {
    position: relative;
    margin-bottom: 1rem;
    border-radius: 0 3rem;
    padding: 3rem;
}

.funny-radius-1 img.icon,
.funny-radius-2 img.icon {
    position: absolute;
    max-width: 7rem;
}

.notice-covers {
    min-height: 30rem;

    > div {
        padding: 0.5rem;
    }

    img {
        display: block;
        max-width: 14rem;
        max-height: 20rem;
        width: auto;
        height: auto;
        border-radius: 0.5rem;
    }
}

.options-box {
    margin-bottom: 1rem;
    background-color: var(--erc-yellow-light);
    border: 1px solid var(--erc-yellow);
    border-radius: 1rem;
    padding: 1rem;

    .options-title {
        margin-bottom: 1em;
        background-color: var(--erc-blue-light);
        border-radius: 1rem;
        padding: 1rem;
        text-align: center;
        color: var(--opie-fg);
    }

    .options-sub-box {
        background-color: white;
        border: 1px solid var(--opie-beige-dark);
        border-radius: 1rem;
        padding: 1rem;

        i {
            font-size: 1.8em;
            color: var(--opie-redranj);
        }
    }
}

@media screen and (min-width: 992px) {
    .upscale-on-hover {
        /* Apply an upscale effect on hover. */
        transition: scale 0.2s ease-in-out;
    }

    .upscale-on-hover:hover {
        scale: 1.05;
    }
}

@media screen and (max-width: 991.98px /* less than lg */
) {
    .icon {
        visibility: hidden;
    }
}

.footer-logos {
    > .row {
        align-items: center;
    }

    img {
        max-width: 80%;
    }
}

.thanks {
    max-width: 800px;
    margin: auto;
    font-size: 0.8em;
    border-radius: 1rem;
    background-color: #eee;
    padding: 1rem 2rem;
}