:root {
    --custom-color-snow: #fbf5f5;
    --custom-color-beige-2: #d2bca0;
    --custom-color-madder: #aa0621;
    --custom-color-thistle: #d6c1eb;
    --custom-color-grey: #3a383b;

    --custom-color-seasalt: #f8f9fA;
    --custom-color-beige-3: #fbf8ee;
    --custom-color-red-2: #9c2022;
    --custom-color-purple: #5d2e8c;
    --custom-color-isabelline: #efebe6;

    --bs-body-color: #333333;
    --bs-body-bg: white;
    --bs-heading-color: #333333;
    --bs-link-color-rgb: 51,51,51;
    --bs-body-font-family: "Roboto Slab", serif;
    --bs-body-font-size: clamp(1.0rem, 1.63vw, 1.15rem);
    --bs-body-font-weight: 350; /* 300 light, 400 default/normal, 700 bold. 275 too light on Windows. 400 to bold on Mac. */

    --custom-section-odd-background-color: white;
    --custom-section-even-background-color: var(--custom-color-snow);
    --custom-nav-link-color-hoover: #5a5a5a;
    --custom-max-width: 1140px; /* 1140 aligns with bootstrap max-width up to max point. */

    --custom-font-size-h1: clamp(1.4rem, 3.25vw, 1.61rem);
    --custom-font-size-h2: clamp(1.4rem, 3.25vw, 1.61rem);
    --custom-font-size-h3: clamp(1.0rem, 1.5vw, 1.15rem);

    --custom-spacing-headers: 2.4rem;
    --custom-spacing-header-factor: 0.5;
}

body header {
    margin-bottom: 1.7rem;
}

body main section:nth-of-type(odd) {
    background-color: var(--custom-section-odd-background-color);
    padding-top: calc(5rem - var(--custom-spacing-headers));
    padding-bottom: 5rem;
}

body main section:nth-of-type(even) {
    background-color: var(--custom-section-even-background-color);
    padding-top: calc(5rem - var(--custom-spacing-headers));
    padding-bottom: 5rem;
}

body main {
    margin-bottom: 8rem;
}

body footer {
    box-shadow: 0 -5px 10px rgba(0, 0, 0, 0.2);
    margin-bottom: 10rem;
    background-color: var(--bs-light);
    padding-top: 1.7rem;
    padding-bottom: 1.7rem;
}

h1, h2, h3 {
    margin-top: var(--custom-spacing-headers);
    margin-bottom: calc(var(--custom-spacing-headers) * var(--custom-spacing-header-factor));
}

h1 {
    font-size: var(--custom-font-size-h1);
    text-align: left;

    margin-top: 0;
}

h2 {
    font-size: var(--custom-font-size-h2);
    text-align: left;
}

h3 {
    font-size: var(--custom-font-size-h3);
    text-align: left;
}

/* Capall images with 2 rounded corners, and two square corners. */
img {
    border-radius: 5% 0 5% 0;
}

figure {
    margin-bottom: 1rem;
}

figcaption {
    /*background-color: rgba(170, 14, 40, 0.4); */
    width: 100%;
    text-align: right;
}

address {
    font-style: italic;
}

a {
    font-weight: var(--bs-body-font-weight);
    color: var(--bs-link-color-rgb); /* Can be removed in later bootstrap versions. */
}

.nav-link {
    color: var(--bs-link-color-rgb);
}

.nav-link:hover, .nav-link:focus {
    color: var(--custom-nav-link-color-hoover);
}

.btn {
    background-color: var(--custom-color-madder);
    margin: 2rem;
    border: none;
}

.custom-container-style-1 {
    max-width: var(--custom-max-width);
    background-color: inherit;
}

.my-custom-social-links {
    font-size: clamp(2.25rem, 3.38vw, 2.59rem);
    margin-left: 1.2rem;
}

.my-custom-social-links-small {
    font-size: clamp(1.88rem, 2.82vw, 2.16rem);
    margin-right: 1rem;
}

.custom-top-spacing
{
    margin-top: var(--custom-spacing-headers);
}