* {
    box-sizing: border-box;
}

body.anim-logo {
    display: grid;
    align-items: center;
    justify-items: center;
    width: 100vw;
    height: 100vh;
}

.logo-container {
    max-width: 200px;
    width: 100%;
}

body {
    font-family: 'Inter', sans-serif;
    margin: 0;
    padding: 20px;
    background-color: #F0F4F8;
}

h1, h2, h3 {
    font-family: 'Raleway', sans-serif;
    color: #102A43;
}

/* top-matter occupies full-width, then two cols */
body:not(.anim-logo) {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: min-content min-content;
    grid-template-areas:
                "top-matter top-matter"
                "left right";
}

.top-matter {
    grid-area: top-matter;
    background-color: #002159;
    padding: 20px;
    border-radius: 8px;
    color: #E6F6FF;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.top-matter h1 {
    color: #E6F6FF;
}

.block {
    background-color: #FFFFFF;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    margin: 10px;
    height: min-content;
}

.darwin-actual-true {
    font-weight: bold;
}

.darwin-actual-false {
    font-weight: normal;
    font-style: italic;
}

table {
    width: 100%;
    border-collapse: collapse;
}

thead {
    border-bottom: 2px solid #0f609b;
}

/* Stripe him #E6F6FF */
/* But not the header */
tbody tr:nth-child(odd) {
    background-color: #E6F6FF;
}

/* make all the cells vertical-align: center */
td, th {
    vertical-align: middle;
}

table td {
    padding: 0.5rem;
}

/* first row .line gets background line1.svg
 */

td.line {
    margin-right: -1rem;
    width: 5px;
}

tbody tr:first-of-type td.line {
    background-image: url('/assets/line1.svg');
    background-repeat: no-repeat;
    background-size: 1rem;
    background-position: 50% 0.55rem;
    overflow: hidden;
}

/* final one gets line2.svg */
tbody tr:last-of-type td.line {
    background-image: url('/assets/line2.svg');
    background-repeat: no-repeat;
    background-size: 1rem;
    background-position: 50% calc(100% - 0.55rem);
}

/* everything else gets line_peg */
tbody tr:not(:first-of-type):not(:last-of-type) td.line {
    background-image: url('/assets/line_peg.svg');
    background-repeat: no-repeat;
    background-size: 1rem;
    background-position: center;
}

.darwin-actual-cancelled {
    text-transform: uppercase;
    font-weight: bold;
    color: #AB091E;
}

td:not(.line):not(.location) {
    text-align: center;
}

.alert.alert-warning {
    text-align: left;
    background: #fff;
    margin-bottom: 15px;
    margin-top: 15px;
    border: 1px solid #8d2b0b;
    border-radius: 3px;
    padding: 0;
    position: relative;
    color: #102a43;
}

.alert-warning .title {
    background: #b44d12;
    color: #fffbea;
    display: inline-block;
    width: 100%;
    padding: 8px 10px;
}

.alert-warning p {
    padding: 8px 10px;
}