@import url('https://fonts.googleapis.com/css2?family=Chivo:ital,wght@0,100..900;1,100..900&display=swap');

/* Base Styles */

:root {
    --color: #011428;
    --bg-color: #fff;
    --border-color: #002143;
    --link-color: #002143;
    --link-color-hover: #002143;
    --color-media: #fff;
}

.content-wrap {
    display: flex;
    justify-content: inherit;
}

.typo-xs {
    font-size: 12px;
    font-family: inherit;
    font-weight: 300;
    line-height: 1.5;
    margin-top: 0;
    margin-bottom: 1em;
}

body {
    font-family: "Chivo", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
    color: var(--color);
    overflow-wrap: break-word;
    -webkit-font-smoothing: antialiased;
}

h5, h6 {
    font-size: 18px;
    line-height: 1.2;
    margin-top: 0;
    margin-bottom: 0;
    font-weight: 700;
}

/* Pie Chart */

.piechart {
    margin: 0 auto;
}
.piechart-table table {
    width: 100%;
}
.piechart-table tr td:first-child {
    font-weight: bold;
    text-align: right;
}
.piechart-table tr td:last-child {
    padding-left: 2rem;
}
.piechart-table tr td[colspan="2"] {
    padding-left: 0;
    text-align: center;
}
.piechart-table h6 {
    margin-top: 5rem;
}
.piechart-3d {
    height: 300px;
    margin: 0 auto;
    width: 300px;
}

/* Media Query: >=tablet */
@media screen and (min-width: 704px) {
    .piechart-3d {
        height: 400px;
        width: 400px;
    }

    .water-level-table {
        margin-top: 3rem;
    }

    .waterlevel {
        flex-direction: row !important;
    }

    .headline-edertalsperre,
    .headline-affoldern,
    .headline-schmittlotheim {
        margin: 0 0 0 15rem;
    }

    .js-waterlevel-graph {
        width: 450px !important;
        margin-left: 1rem;
    }
}

/* Media Query: >=desktop */
@media screen and (min-width: 896px) {
    .js-waterlevel-graph {
        width: 600px !important;
        margin-left: 3rem;
    }

    .typo-xs {
        font-size: 14px;
    }

    h5, h6 {
        font-size: 24px;
    }
}

@media screen and (min-width: 1200px) {
    .js-waterlevel-graph {
        width: 800px !important;
        margin-left: 3rem;
    }
}

.water-level-table h5 {
    text-transform: uppercase;
    font-weight: 700;
    font-size: 14px;
    margin-bottom: 2rem;
}
.water-level-table table td:nth-child(1) {
    font-weight: 100;
    font-style: italic;
    white-space: nowrap;
}
.water-level-table table td:nth-child(2) {
    font-weight: 700;
    padding-left: 2rem;
}

.waterlevel {
    margin-bottom: 3rem;
    display: flex;
    flex-direction: column-reverse;
}

.js-waterlevel-graph {
    min-height: 300px;
    width: 300px;
}
