:root {
    --page-max-width: 1160px;
    --tile-radius: 6px;
    --tile-shadow: 0 3px 10px rgba(0, 0, 0, 0.35);
}

* {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    min-height: 100%;
}

body {
    font-family: "Roboto", "Helvetica Neue", Helvetica, Arial, sans-serif;
    line-height: 1.25;
    background-color: #000000;
    color: #ffffff;
    background-image: url("images/theme_background_map.jpg");
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

#page {
    max-width: var(--page-max-width);
    margin: 0 auto;
    padding: 24px;
}

.logo-wrap {
    display: flex;
    justify-content: center;
    margin-bottom: 22px;
}

.logo-wrap img {
    display: block;
}

.body-content {
    font-size: 1.4rem;
    width: 70%;
    margin: 0 auto;
    max-width: 650px;
    min-width: 300px;
}

.footer-content {
    font-size: 1.0rem;
    width: 70%;
    margin: 0 auto;
    max-width: 650px;
    min-width: 300px;
}

.year-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 14px;
}

.year-tile {
    display: block;
    border-radius: var(--tile-radius);
    overflow: hidden;
    box-shadow: var(--tile-shadow);
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(0, 0, 0, 0.25);
    transition: transform 120ms ease, box-shadow 120ms ease;
}

.year-tile:hover,
.year-tile:focus-visible {
    transform: translateY(-2px);
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.45);
}

.year-tile img {
    display: block;
    width: 100%;
    height: auto;
}

@media (max-width: 1080px) {
    .year-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

@media (max-width: 860px) {
    #page {
        padding: 18px;
    }

    .year-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 580px) {
    .year-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
    }
}