@import url('https://fonts.googleapis.com/css2?family=Abril+Fatface&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');

:root {
    --primary-color: #333;
    --accent-color: #4A6FA5;
    --background-light: #f0f0f0;
    --background-white: #fff;
    --background-blue-light: #f0f7ff;
    --background-gray-light: #F5F5F5;
    --max-document-width: 50rem;
    --standard-padding: 1rem;
    --section-margin: 1rem;
    --line-height-comfortable: 1.6;
    
    --text-xs: 0.75rem;
    --text-xs--line-height: calc(1 / 0.75);
    --text-sm: 0.875rem;
    --text-sm--line-height: calc(1.25 / 0.875);
    --text-base: 1rem;
    --text-base--line-height: calc(1.5 / 1);
    --text-lg: 1.125rem;
    --text-lg--line-height: calc(1.75 / 1.125);
    --text-xl: 1.25rem;
    --text-xl--line-height: calc(1.75 / 1.25);
    --text-2xl: 1.5rem;
    --text-2xl--line-height: calc(2 / 1.5);
    --text-3xl: 1.875rem;
    --text-3xl--line-height: calc(2.25 / 1.875);
    --text-4xl: 2.25rem;
    --text-4xl--line-height: calc(2.5 / 2.25);
    --text-5xl: 3rem;
    --text-5xl--line-height: 1;
    --text-6xl: 3.75rem;
    --text-6xl--line-height: 1;
    --text-7xl: 4.5rem;
    --text-7xl--line-height: 1;
    --text-8xl: 6rem;
    --text-8xl--line-height: 1;
    --text-9xl: 8rem;
    --text-9xl--line-height: 1;

    --differentiator-title-bg-1: var(--accent-color);
    --differentiator-title-bg-2: #3B4C7A;
    --differentiator-title-bg-3: #2C8C99;
    --differentiator-title-bg-4: #5DB1D1;
}

* {
    box-sizing: border-box;
}

html {
    min-height: 100vh;
}

body {
    font-family: 'Montserrat', sans-serif;
    margin: 0;
    padding: 0;
    background-color: var(--background-light);
    color: var(--primary-color);
    line-height: var(--line-height-comfortable);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.page-container {
    max-width: var(--max-document-width);
    margin: 0 auto;
    box-shadow: 0 0 0.625rem rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.container {
    display: flex;
    flex-direction: column;
    margin: 0 auto;
    background-color: var(--background-white);
    padding: var(--standard-padding);
    flex-grow: 1;
}

.intro-section {
    text-align: center;
}

.intro-section h2 {
    font-size: var(--text-2xl);
    line-height: var(--text-2xl--line-height);
    font-weight: normal;
}

.section-divider {
    border: none;
    height: 0.0625rem;
    background-color: var(--accent-color);
    width: 100%;
    margin: 3rem auto;
}

h1 {
    font-family: 'Abril Fatface', cursive;
    font-weight: 400;
    font-size: var(--text-3xl);
    line-height: var(--text-3xl--line-height);
    margin: 0.3125rem 0;
}

h2 {
    font-size: var(--text-xl);
    color: var(--primary-color);
    margin-bottom: 0.9375rem;
    line-height: var(--text-xl--line-height);
}

h3 {
    font-size: var(--text-lg);
    color: var(--primary-color);
    margin-bottom: 0.625rem;
    line-height: var(--text-lg--line-height);
}

ul {
    list-style: disc;
    padding-left: var(--standard-padding);
}

li {
    margin-bottom: 0.5rem;
    line-height: var(--line-height-comfortable);
}

.text-center {
    text-align: center;
}

.italic {
    font-style: italic;
}

.bold {
    font-weight: bold;
}

@media (width >= 40rem) {
    h1 {
        font-size: var(--text-4xl);
    }

    h2 {
        font-size: var(--text-2xl);
    }

    h3 {
        font-size: var(--text-lg);
    }

    .container {
        padding: 1rem 2rem;
    }
}

a[x-apple-data-detectors] {
    color: inherit !important;
    text-decoration: none !important;
}
