* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html,
body {
    width: 100%;
    height: 100%;
    font-family: system-ui, sans-serif;

    /* Static background */
    background-image: url("img/bg/4_winter.webp");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

/* --- UnifrakturMaguntia font for headers --- */
.unifrakturmaguntia-regular {
    font-family: "UnifrakturMaguntia", cursive;
    font-weight: 400;
    font-style: normal;
}

/* App container */
#app {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    /* Stack logo and link vertically */
    align-items: center;
    /* Center horizontally */
    justify-content: center;
    /* Center vertically */
}

/* Modular content block */
#module {
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Center image */
#center-image {
    max-width: 60vw;
    max-height: 60vh;
    width: auto;
    height: auto;
    object-fit: contain;
}

/* Link under main logo */
#bands-link {
    display: block;
    margin-top: 3vh;
    font-size: 1.2rem;
    color: white;
    text-decoration: none;
    text-align: center;
    text-shadow: 1px 2px 5px rgba(0, 0, 0, 0.9);
    transition: text-decoration 0.3s, transform 0.3s;
}

#bands-link:hover {
    /*text-decoration: underline;*/
    transform: scale(1.05);
}

/* Credit */
#credit {
    position: fixed;
    bottom: 8px;
    left: 0;
    width: 100%;
    text-align: center;
    font-size: 12px;
    opacity: 0.8;
    color: white;

    /* Readability */
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.9);
}

#credit a {
    color: white;
    text-decoration: none;
    text-shadow: 1 2px 5px rgba(0, 0, 0, 0.9);
}

#credit a:hover {
    text-decoration: underline;
}

/* --- Bands Page Styles --- */

/* Container for bands page */
#bands-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 10vh;
    /* 10% window height margin */
    width: 100%;
    min-height: 100%;
}

/* Page title */
#bands-title {
    font-size: clamp(2rem, 5vw, 4rem);
    /* Responsive font size */
    color: rgb(255, 255, 255);
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.9);
    margin-bottom: 5vh;
    text-align: center;
    font-family: "UnifrakturMaguntia", cursive;
}

/* Grid for band logos */
#bands-grid {
    display: grid;
    gap: 2vw;
    width: 66%;
    /* Max width 66% of viewport */
    max-width: 1200px;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    justify-items: center;
}

/* Limit columns to 2 at maximum size */
@media (min-width: 800px) {
    #bands-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

#bands-grid a {
    display: flex;
    align-items: center;
    justify-content: center;
}

#bands-grid img {
    width: 100%;
    height: auto;
    object-fit: contain;
    transition: transform 0.3s;
}

#bands-grid img:hover {
    transform: scale(1.05);
}

/* Back link under grid */
#back-link {
    margin-top: 5vh;
    font-size: 16px;
    color: white;
    text-decoration: none;
    text-shadow: 1 2px 5px rgba(0, 0, 0, 0.9);
    transition: text-decoration 0.3s;
}

#back-link:hover {
    text-decoration: underline;
}