h1,
h2 {
    font-family: sans-serif;
    margin-top: 0;
}

h2 {
    font-size: 2em;
}
.image-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    /* grid-template-rows: repeat(4, 1fr); */
    gap: 8px;
}

.image-grid img {
    width: 100%;
    height: 100%;
    border-radius: 8px;
    object-fit: cover;
    aspect-ratio: 1 / 1;
}

.image-grid img.large {
    grid-column: span 1;
    grid-row: span 2;
}
.image-grid img.wide {
    grid-column: span 1;
    grid-row: span 1;
}

.small {
    font-size: 0.4em;
    font-style: italic;
}

.title-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 2em;
}

h1 {
    font-size: 3em;
    margin-top: 0;
    margin-bottom: 0;
}
.title-bar a {
    align-self: flex-start;
}

.language-bar {
    display: flex;
    justify-content: right;
}
.language-bar .flag {
    height: 2em;
    width: auto;

    margin-left: 8px;
    margin-bottom: 8px;
    margin-top: 8px;
    border: 1px solid gray;
    border-radius: 8px;
    aspect-ratio: 11 / 7;
    object-fit: cover;
}

section {
    padding: 4px;
}
.attention {
    color: #690000;
    background-color: #ffd7d7;
    border: 1px solid #690000;
    border-left: none;
    border-right: none;

    margin-top: 8px;
}
.attention h2 {
    font-family: sans-serif;
}
.attention a {
    color: #690000;
}

.links {
    font-family: sans-serif;
    font-weight: bold;
    font-size: 1.2em;
    margin-bottom: 32px;
}
.links span {
    padding: 4px;
}
.links a {
    padding-top: 4px;
    padding-bottom: 4px;
}

.bold {
    font-weight: bold;
}
html,
body {
    margin: 0;
}

body {
    width: initial;
}

a {
    font-weight: bold;
}

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

.adaptive-grid {
    display: grid;
    gap: 32px;
}
.footer {
    font-size: 2em;
}

.station {
    display: grid;
    margin-top: 32px;
    margin-bottom: 32px;
    gap: 16px;
    /* background-color: lightblue; */
    grid-template-rows: [row-start] auto [row-start] auto [row-start];
}

.station img {
    /* float: right; */
    /* margin: 0 0 0.5em 0.5em;  */
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
}
/* .station .textarea {
    padding-left: 16px;
} */
.station h2 {
    margin-top: 0;
    margin-bottom: 0.5em;
    font-family: sans-serif;
}

.footer .logo-container {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}

.footer .logo-container img {
    object-fit: cover;
    width: auto;
    height: 2em;
    padding: 8px;
}

.separator {
    height: 2px;
    background-color: black;
    margin-top: 32px;
    margin-bottom: 32px;
}

/* Extra small devices (phones, 600px and down) */
@media only screen and (max-width: 600px) {
    .title-bar h1 {
        font-size: 2em;
    }

    .image-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    .image-grid img.wide {
        grid-column: span 2;
        grid-row: span 1;
        aspect-ratio: 2/1;
    }
    .station {
        grid-template-columns: initial;
        grid-template-rows: [row-start] auto [row-start] auto [row-start];
        /* background-color: lightblue; */
    }
    .station img {
        aspect-ratio: 1;
        height: auto;
    }
    section {
        padding-left: 8px;
        padding-right: 8px;
    }
}

/* Small devices (portrait tablets and large phones, 600px and up) */
@media only screen and (min-width: 600px) {
    .image-grid {
        grid-template-columns: repeat(4, 1fr);
    }

    .station img {
        aspect-ratio: 2/1;
    }
}

/* Medium devices (landscape tablets, 768px and up) */
@media only screen and (min-width: 768px) {
    .image-grid img.large {
        grid-column: span 2;
        grid-row: span 2;
    }

    .image-grid {
        grid-template-columns: repeat(5, 1fr);
    }
    .station {
        grid-template-columns: [col-start] 33% [col-start] 1fr [col-start];
    }
}

/* Large devices (laptops/desktops, 992px and up) */
@media only screen and (min-width: 992px) {
    body {
        width: 80%;
        margin-left: auto;
        margin-right: auto;
    }
    .attention {
        border-radius: 8px;
        padding: 8px;
        border-left: inherit;
        border-right: inherit;
        border: 1px solid #690000;
    }
    section {
        padding: initial;
    }
    .station {
        grid-template-columns: [col-start] 33% [col-start] 1fr [col-start];
        /* background-color: lightblue; */
    }
}

/* Extra large devices (large laptops and desktops, 1200px and up) */
@media only screen and (min-width: 1600px) {
    body {
        width: 60%;
    }
}

/* Extra large devices (large laptops and desktops, 1200px and up) */
@media only screen and (min-width: 2200px) {
    body {
        width: 2200px;
    }
    h1 {
        font-size: 4em;
    }
    .adaptive-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
