/* ---- Global Styles ---- */

*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    -ms-text-size-adjust: 100%;
    -webkit-text-size-adjust: 100%;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

html,
body {
    color: #444;
    font: 400 14px/1.5 Montserrat, sans-serif;
    background-color: #f4f5f7;
}

/* ---- Hero Header ---- */
/* Hero Header from https://www.sliderrevolution.com/resources/css-header/ */

header a,
header a:hover,
header a:focus {
    color: inherit;
    outline: none;
    text-decoration: none;
}

header {
    color: #fff;
    height: 100vh;
    text-align: center;
}

header h1 {
    font-size: 3rem;
    line-height: 1.2;
    margin: 0;
    padding: 0;
    flex-grow: 1;
    z-index: 1;
}

.down-arr {
    font-size: 2rem;
    padding: 0 20px 20px 20px;
    z-index: 1;
}

.full-image-wrap {
    min-height: 100%;
    overflow: hidden;
    position: relative;
}

.full-image {
    height: auto;
    left: 0;
    min-height: 100%;
    min-width: 100%;
    position: absolute;
    top: 0;
    width: auto;
}

/* Flexbox helpers for the hero layout */
.column-xs {
    display: flex;
    flex-direction: column;
}

.main-xs-between {
    justify-content: space-between;
}

.main-xs-center {
    justify-content: center;
}

.cross-xs-center {
    align-items: center;
}

/* ---- Text Sections (Intro / Conclusion) ---- */

.text-section {
    background-color: #e8eaed;
    max-width: 1200px;
    margin: 0 auto 32px;
    padding: 24px;
    border-radius: 6px;
}

.text-section h2 {
    font-size: 1.8rem;
    margin-bottom: 12px;
}

.text-section p {
    font-size: 1rem;
    line-height: 1.7;
    color: #555;
    margin-bottom: 16px;
}

/* ---- Visualizations ---- */

main {
    padding: 24px;
}

.viz-section {
    max-width: 1200px;
    margin: 0 auto 32px;
}

.viz-section h3 {
    font-size: 1.4rem;
    margin-bottom: 8px;
}

.viz-section p {
    font-size: 1.2rem;
    line-height: 1.7;
    color: #555;
    margin-bottom: 16px;
}

.viz-container {
    background: #fff;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    padding: 16px;
    overflow: hidden;
}

.viz-container iframe {
    width: 100%;
    min-height: 400px;
    border: none;
    display: block;
}

.viz-side-by-side {
    display: flex;
    justify-content: center;
    gap: 16px;
}

.viz-side-by-side iframe {
    flex: 1;
    min-height: 600px;
}

.about-chart {
    background-color: #f0f1f3;
    border-radius: 6px;
    padding: 20px 24px;
    margin-top: 24px;
    font-size: 0.95rem;
    line-height: 1.7;
    color: #555;
}

.about-chart h4 {
    font-size: 1.1rem;
    color: #333;
    margin-bottom: 8px;
    margin-top: 16px;
}

.about-chart h4:first-child {
    margin-top: 0;
}

.about-chart p {
    margin-bottom: 12px;
}

.about-chart ul {
    margin: 0 0 16px 20px;
}

.about-chart ul li {
    margin-bottom: 6px;
}

/* ---- Footer ---- */

.navhelper {
    clear: left;
    background-color: lightsteelblue;
    font-family: Arial, Helvetica, sans-serif;
    font-variant: small-caps;
    text-align: center;
    padding-top: 1em;
    padding-bottom: 1em;
    margin-top: 4em;
    border-bottom-width: 0.1em;
    border-bottom-style: solid;
}

address {
    text-align: center;
    padding: 1em;
    font-style: normal;
}
