@font-face {
    font-family: 'Ernestine';
    src: url('./fonts/ernestine_bold.ttf') format('truetype');
    font-weight: bold;
    font-style: normal;
}

@font-face {
    font-family: 'Ernestine';
    src: url('./fonts/ernestine_light.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

* {
    font-family: 'Ernestine', sans-serif;
    padding: 0;
    margin: 0;
}

:root {
    --dark-blue: #184B69;
    --orange: #cc5d21;
}

body {
    background-color: #DBEFFF;
}

.top-bar {
    background-color: var(--dark-blue);
    color: white;
    text-align: center;
    padding: 1em;
    font-size: 2em;
}

.card {
    background-color: white;
    color: var(--dark-blue);
    border-radius: .5em;
    padding: 1em;
}

.content {
    margin: 2em auto;
    padding: 0 2em;
    display: flex;
    flex-direction: column;
    gap: 2em;
}

div.row {
    display: flex;
    justify-content: center;
    gap: 2em;
}

div.column {
    display: flex;
    flex-direction: column;
    gap: 2em;
}

div.column>* {
    flex: 1;
    min-width: 0;
}

div.row>* {
    flex: 1;
    min-width: 0;
}

#temp-current,
#sunrise,
#sunset {
    font-size: 3em;
    font-weight: bold;
}

.text-center {
    text-align: center;
}

.card.button>img {
    width: 25%;
}

tbody#busiest-rides tr td:first-child {
    text-align: left;
    font-weight: bold;
    font-size: 1.4em;
}

tbody#busiest-rides tr td:last-child {
    text-align: right;
    font-size: 1.2em;
}

.row a {
    display: flex;
    flex: 1;
}

.row a>.card {
    flex: 1;
}

.row a>.card.button {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

ul.links {
    list-style: none;
    padding: 0;
    padding-left: 0.25em;
    margin: 0;
}

ul.links li {
    margin: 0.5em 0;
    font-size: 1.1em;
}

.text-orange {
    color: var(--orange);
}


/* Mobile */
@media (max-width: 600px) {
    .content {
        padding: 0 1em;
    }

    .top-bar {
        font-size: 1.5em;
    }

    #temp-current,
    #sunrise,
    #sunset {
        font-size: 2em;
    }

    ul.links li {
        font-size: 1em;
    }

    div.row {
        flex-direction: column;
    }
}