/*
 * Aurora Design Studio — Typography
 * Load after Bootstrap and before main.css.
 */

:root {
    /* Fluid heading sizes */
    --font-size-h1: clamp(2.1rem, 1.68rem + 2.1vw, 3.25rem);
    --font-size-h2: clamp(1.75rem, 1.43rem + 1.6vw, 2.625rem);
    --font-size-h3: clamp(1.45rem, 1.27rem + 0.9vw, 1.95rem);
    --font-size-h4: clamp(1.2rem, 1.09rem + 0.55vw, 1.5rem);

    /* Fluid spacing beneath headings */
    --heading-spacing-lg: clamp(1.5rem, 1.15rem + 0.75vw, 2.125rem);
    --heading-spacing-md: clamp(1.25rem, 1rem + 0.55vw, 1.675rem);
    --heading-spacing-sm: clamp(1.25rem, 1rem + 0.5vw, 1.5rem);
}

/* Headings: consistent base appearance for elements and Bootstrap size classes */
h1, h2, h3, h4,
.h1, .h2, .h3, .h4 {
    font-weight: 300;
    font-style: normal;
    line-height: 1.3;
    color: var(--title-font-color);
    text-shadow: 0 0 16px var(--cyan-color);
}

h1 strong, h2 strong, h3 strong, h4 strong{
   font-weight:500;
}

h1, .h1 {
    font-size: var(--font-size-h1);
    margin: 0 0 var(--heading-spacing-lg);
}

h2, .h2 {
    font-size: var(--font-size-h2);
    margin: 0 0 var(--heading-spacing-md);
}

h3, .h3 {
    font-size: var(--font-size-h3);
    margin: 0 0 var(--heading-spacing-sm);
}

h4, .h4 {
    font-size: var(--font-size-h4);
    margin: 0 0 1rem;
}

/* H1-specific presentation */
h1 {
    text-transform: uppercase;
    letter-spacing: 0;
    position: relative;
}

/* Text */
p {
    font-size: 1rem;
    line-height: 1.75;
    margin: 0 0 1.5rem;
    color: var(--font-color);
}

ul li {
    color: var(--font-color);
}

p strong {
    font-weight: 600;
}

a{
   text-decoration: none;
   color: var(--cyan-color);
}

a:hover {
   text-decoration: none;
   color: var(--magenta-color);
}

/* Give headings in long-form content breathing room after body copy.
   Normal block-margin collapsing may apply; these margins are not additive. */
p + h2,
p + h3,
p + h4,
ul + h2,
ul + h3,
ul + h4 {
    margin-top: clamp(2rem, 1.5rem + 1vw, 3rem);
}

/* Button links wrapped in paragraphs */
p.button {
    margin-top: 30px;
}

/* Quotes */
blockquote {
    padding: 2em 3rem;
    background: rgba(31, 63, 85, 0.28);
    position: relative;
    margin: 30px 0;
    border-radius: 0.5rem;
    text-align: center;
}

blockquote p {
    font-weight: 300 !important;
    font-size: 1.25em !important;
    line-height: 1.5 !important;
    color: #fff;
    font-style: italic;
}

blockquote p:nth-of-type(2) {
    font-size: 0.8125em !important;
    color: var(--font-color) !important;
}

/* HR */

section.horizontal-rule{
   padding:0 5%;
}

hr{
   display: block;
   margin: 25px 0;
   height: 1px;
   background: #eee;
   width: 100%;
   border: none;
}