@import url('https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,300..800;1,300..800&family=Outfit:wght@100..900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Radio+Canada+Big:ital,wght@0,400..700;1,400..700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Material+Symbols+Outlined:opsz,wght,FILL,GRAD@20..48,100..700,0..1,-50..200');
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400..900;1,400..900&display=swap');

/* 92bda3ff */

:root {
    --background: #ffffffff;
    --foreground: #2e294eff;
    --primary-accent-background: #de6b48ff;
    --primary-accent-foreground: #ffffffff;
    --primary-accent-highlight: rgb(235, 112, 75);
    --secondary-accent-background: #ffca3aff;
    --secondary-accent-foreground: #ffffffff;
    --content-width: 1200px;

    font-family: "Open Sans", sans-serif;
    font-size: 14pt;
}

html {
    background: var(--background);
    color: var(--foreground);
    height: 100%;
}

body {
    display: flex;
    flex-direction: column;
    height: 100%;
    margin: 0;
    width: 100%;
}

h1 {
    margin: 1em 0;
}

h2 {
    font-family: "Radio Canada Big", sans-serif;
    font-size: 28pt;
    font-weight: 400;
}

h3 {
    font-size: 20pt;
}

body > header {
    background-color: #dedede;
}

body > header > * {
    box-sizing: border-box;
    max-width: min(95%, var(--content-width));
    margin: 0 auto;
}

body > header > nav > ul {
    align-items: center;
    display: flex;
    gap: 2em;
    list-style: none;
    margin: 0;
    padding: 1.5em;
}

body > header > nav > ul > li {
    white-space: nowrap;
}

body > header > nav > ul > li.logo {
    flex-grow: 1;
    margin-top: 1em;
}

body > header > nav a {
    color: var(--foreground);
    text-decoration: none;
}

body > header > nav a:hover {
    color: var(--primary-accent-background);
}

body > main {
    flex-grow: 1;
}

body > main img {
    float: right;
    margin: 2em;
    border-radius: 2em;
}

body > main > * {
    box-sizing: border-box;
    max-width: min(95%, var(--content-width));
    margin-left: auto;
    margin-right: auto;
}

body > main > section {
    margin-top: 4em;
    margin-bottom: 4em;
}

/* @media (width < 930px) { */
    body > main > section#about {
        align-items: start;
        display: flex;
        flex-direction: column;
    }
/* } */

/* @media (width >= 930px) {
    body > main > section#about {
        align-items: start;
        background-image: url("/landing/hero-bg.png");
        background-position: right;
        background-repeat: no-repeat;
        display: flex;
        flex-direction: column;
        min-height: 480px;
        padding-right: 425px;
    }
} */

body > main > section#about a.cta {
    display: inline-block;
    font-size: large;
    font-weight: 500;
    margin: 1em 0;
    padding: 0.75em 1.5em;
}

body > main > section#about > ul.services {
    display: flex;
    font-size: smaller;
    font-weight: bold;
    gap: 2em;
    list-style: none;
    margin: 2em 0;
    padding: 0;
}

body > main > section#about > ul.services > li {
    align-items: center;
    display: flex;
    gap: 1em;
    white-space: nowrap;
}

body > main > section#about > ul.services > li:before {
    background: var(--secondary-accent-background);
    border-radius: 100%;
    color: var(--secondary-accent-foreground);
    content: attr(data-icon);
    display: block;
    font-family: 'Material Symbols Outlined';
    font-size: xx-large;
    font-weight: normal;
    height: 1.25em;
    text-align: center;
    width: 1.25em;
}

body > main > section#services > ul {
    display: flex;
    flex-wrap: wrap;
    gap: 1em;
    justify-content: space-evenly;
    list-style: none;
    margin: 0;
    padding: 0;
}

body > main > section#services > ul > li {
    background-color: rgb(233, 241, 237);
    background-position-y: top;
    background-position-x: center;
    background-repeat: no-repeat;
    background-size: contain;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    padding: 190px 1em 1em 1em;
    width: 370px;
}

body > main > section#services > ul > li > h3:before {
    background: var(--secondary-accent-background);
    border-radius: 100%;
    color: var(--secondary-accent-foreground);
    display: block;
    font-family: 'Material Symbols Outlined';
    font-size: xx-large;
    font-weight: normal;
    height: 1.25em;
    text-align: center;
    width: 1.25em;
    margin: 0 0 0.5em 0;
}

body > main > section#services > ul > li > p {
    flex-grow: 1;
}

body > main > section#services > ul > li {
    background-image: url(data-background);
}

body > main > section#services > ul > li > h3:before {
    content: attr(data-icon);
}

body > main > section#services > ul > li.alternative-provision {
    background-image: url("/services/alternative-provision.png");
}

body > main > section#services > ul > li.animal-assisted-intervention {
    background-image: url("/services/animal-assisted-intervention.png");
}

body > main > section#services > ul > li.reluctant-readers {
    background-image: url("/services/reluctant-readers.png");
}

body > main > section#services > ul > li > a {
    border-top: solid 1px var(--primary-accent-background);
    padding: 1em 0;
}

body > main > section#meet-the-team > ul {
    display: flex;
    flex-wrap: wrap;
    gap: 1em;
    justify-content: space-evenly;
    list-style: none;
    margin: 0;
    padding: 0;
}

body > main > section#meet-the-team > ul > li {
    aspect-ratio: 1 / 1;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    justify-content: end;
    padding: 1em;
    width: 370px;
}

body > main > section#meet-the-team > ul > li.katie {
    background-image: url("/the-team/katie.png");
}

body > main > section#meet-the-team > ul > li.finn {
    background-image: url("/the-team/finn.png");
}

body > main > section#meet-the-team > ul > li.ash-and-chestnut {
    background-image: url("/the-team/ash-and-chestnut.png");
}

body > main > section#meet-the-team > ul > li > * {
    background: rgba(255, 255, 255, 0.75);
    filter: none;
    margin: 0;
    padding: 0.5em;
}

body > main > section#testimonials > article {
    background-color: rgb(233, 241, 237);
    padding: 1em 2em;
    position: relative;
}

body > main > section#testimonials > article::after {
    content: "”";
    font-family: "Playfair Display", serif;
    font-size: 60pt;
    position: absolute;
    bottom: -0.85em;
    right: 0.1em;
}

body > main > section#testimonials > article::before {
    content: "“";
    font-family: "Playfair Display", serif;
    font-size: 60pt;
    position: absolute;
    top: -0.45em;
    left: 0.1em;
}

a {
    color: var(--primary-accent-background);
    text-decoration: none;
}

a:hover {
    color: var(--secondary-accent-background);
}

a.cta {
    color: var(--primary-accent-foreground);
    cursor: pointer;
    background: var(--primary-accent-background);
    border-radius: 1em;
    font-weight: 500;
    padding: 0.5em 1em;
    user-select: none;
}

a.cta:hover {
    color: var(--primary-accent-foreground);
    background: var(--primary-accent-highlight);
}

/* body > footer::before {
    background: red;
    content: "cake";
    transform: skewY(3deg);
    z-index: -1;
} */

body > footer {
    background-color: #444444;
    color: #dedede;
    display: flex;
    flex-direction: column;
}

body > footer > * {
    box-sizing: border-box;
    max-width: min(95%, var(--content-width));
    margin: 0 auto;
}

body > footer > section > p.copyright {
    color: #999999;
    font-size: smaller;
    text-align: center;
}
