@font-face {
  font-family: 'Freight Text Pro';
  src: url('fonts/FreightTextPro-Book.woff2') format('woff2'),
       url('fonts/FreightTextPro-Book.woff') format('woff');
}

@font-face {
    font-family: 'Aftika';
    src: url('fonts/Aftika-Regular.woff2') format('woff2'),
         url('fonts/Aftika-Regular.ttf') format('truetype');
}

html, body {
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

body {
    font-family: 'Aftika', sans-serif;
    font-size: 18px;
    font-weight: 140;
    min-height: 100vh;
    color: #000000;
    margin: 0;
    display: flex;
    flex-direction: column;
}

img {
    width: 300px;
    height: auto;
    margin: 20px;
}

h1 {
    font-family: 'Freight Text Pro', Georgia, serif;
    text-align: center;
    margin-left: auto;
    margin-right: auto;
    color: #000000;
    display: flex;
    justify-content: center;
    align-items: center;
    max-width: 1000px;
    font-size: 36px;
    font-weight: 450;
    transform: scaleY(1.05); /* Stretches height by 150% */    
    padding: 30px;
}

h2 {
    font-family: 'Freight Text Pro', Georgia, serif;
    text-align: center;
    margin-left: auto;
    margin-right: auto;
    color: #000000;
    display: flex;
    justify-content: center;
    align-items: center;
    max-width: 900px;
    font-size: 30px;
    font-weight: 80;
}

h3 {
    font-family: Georgia, serif;
    font-size: 30px;
    display: flex;
    color: #000000;
    align-items: left;
    font-weight: 100;
    padding: 0px;
}

section {
    max-width: 900px;
    margin: 10px auto;
    padding: 0 20px;
    text-align: left;
    
}

footer {
    background-color: #0B2A50;
    color: white;
    width: 100%;
    margin-top: 60px;
    padding: 24px 20px;
    text-align: center;
    font-size: 14px;
    line-height: 1.5;
    box-sizing: border-box;
}

footer p {
    margin: 0;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

header {
    background-color: #0B2A50;
    color: white;
    width: 100%;

    padding: 24px 20px;
    font-size: 14px;
    line-height: 1.5;
    box-sizing: border-box;
}

/* make the bold actually bold */
b {
    font-weight: 550;
}

.chart-row {
    padding-top: 30px;
    display: flex;
    align-items: flex-start;
    margin-left: 20px;
    padding-bottom: 50px;
    justify-content: center;
    align-items: center;
}

#legend {
    display: flex;
    flex-direction: row;
    gap: 20px;
    justify-content: center;
    align-items: center;
    margin-top: 15px;
    margin-bottom: 20px;
}

.legend-row {
    display: flex;
    padding-top: 15px;
    gap: 20px;
    font-size: 16px;
    justify-content: center;
    margin-bottom: 20px;
    margin-top: 15px;
    align-items: center;
}

.legend-item {
    display: flex;
    align-items: center;
}

.legend-dot {
    width: 20px;
    height: 20px;
    margin-right: 6px;
    border-radius: 2px;
}

.subtitle {
    max-width: 900px;
    margin: 50px auto;
    padding: 0 20px;
    text-align: left;
    font-size: 16px;
    color:rgb(83, 83, 83);
}

.divider {
    width: 900px;
    margin: 10px auto;
    padding: 40 40px;
    border: none;
    border-top: 5px dotted #333;
}

.conclusion {
    width: 900px;
    margin: 10px auto;
    padding: 40 40px;
    border-top: 5px dotted #333;
    background-color: #FFF9AE;
}

