/* styles.css */
body {
        font-family: 'Roboto', sans-serif;
        display: flex;
        flex-direction: column;
        margin: 0 auto; /* centers the body */
        max-width: 1200px; /* sets a maximum width */
        color: var(--color5);
        min-height: 100vh;
}

html, body {
    margin-top: 0;
    margin-bottom: 0;
    padding: 0;
}

html {
    --s: 130px;
    /* control the size */

    background:
        radial-gradient(var(--color3) 24%, #0000 25%),
        radial-gradient(var(--color2) 30%, #0000 32%) calc(var(--s)/2) calc(var(--s)/2),
        repeating-conic-gradient(from 30deg, var(--color4) 0 30deg, var(--color5) 0 90deg);
    background-size: var(--s) var(--s);
    background-attachment: fixed;
}

main {
    flex-grow: 1;
    padding-bottom: 2rem;
}

header {
    margin: 0 auto; /* centers the header */
    font-size: 2.9rem;
}

nav {
    display: flex;
    justify-content: space-around;
    align-items: center;
    width: 100%;
    font-family: 'Bungee', cursive;
}

button {
    padding: 0.4rem;
    font-weight: 900;
    color: inherit;
    cursor: pointer;
    font-size: 1.7rem;
}

footer {
    display: flex;
    justify-content: center;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.2);
    border-top-left-radius: 2rem;
    border-top-right-radius: 2rem;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    font-size: 2em;
}

footer a {
    color: white;
    margin: 0 1.6rem;
}

article {
    background: rgba(255, 255, 255, 0.446);
    border-radius: 16px;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    padding: 1rem;
    margin-bottom: 2rem;
    color: var(--color1);
    font-size: 1.4rem;
}

article h2 {
    font-family: 'Bangers', cursive;
    color: var(--color1);
    font-size: 1.6rem;
}

h2 {
    margin-top: 0;
}
p { /*used in "about"*/
    margin-top: 0
}

a {
    color: var(--color3);
    text-decoration: none;
}

figcaption {
    text-align: center;
    font-size: 0.6rem;
}

figure img{
    width: 220px;
    height: 220px;
}

.image-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: space-between;
}

.image-grid figure {
    margin: 0 0 1em 0;
}

.image-grid img {   
    object-fit: cover;
}
/*
TODO: I lost track here. I think the idea behind the modal
is to make a carousel, so that one can highlight and enlarge
the images. I will need to come back to this later.
*/

.modal {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 1; /* Sit on top */
    padding-top: 100px; /* Location of the box */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: auto; /* Enable scroll if needed */
    background-color: rgb(0,0,0); /* Fallback color */
    background-color: rgba(0,0,0,0.9); /* Black w/ opacity */
}

.modal-content {
    margin: auto;
    display: block;
    width: 80%;
    max-width: 700px;
}

.navbar {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    margin-bottom: 2rem;
}

.header-row {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}

.nav-button {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 50px; /* Adjust as needed */
    background: rgba(255, 255, 255, 0.446);
    border-radius: 16px;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: white; /* Adjust as needed */
    text-decoration: none;
    justify-self: end; /* Add this line */
    margin: 0 0.3rem;
}

.nav-button-selected {
    background: rgba(255, 255, 255, 0.685);
}

.navbar a {
    text-decoration: none; /* Remove underline */
    text-align: center;
    color: var(--color1)
    
}


.navbar a:focus {
    outline: none; /* Remove focus outline */
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* Adjust as needed */
    gap: 20px; /* Adjust as needed */
    display: flex;
    flex-direction: column;
    font-size: 1.5rem;
}

.contact-grid a {
    color: var(--color6);
    /* replace with the color variable you want */
}

.band-image {
    width: 100%;
    height: auto;
    border: 8px solid var(--color3);
    box-sizing: border-box;
}

.image-container {
    position: relative;
}

.caption {
    position: absolute;
    left: 10px;
    padding: 10px 20px;
    background-color: var(--color11);
    color: white;
    border-radius: 25px;
    z-index: 1;
    box-shadow: 6px 6px 0 var(--color3);
    transform: rotate(-10deg);
}

.caption::after {
    content: "";
    position: absolute;
    bottom: -18px;
    left: 30px;
    border-width: 20px 20px 0;
    border-style: solid;
    border-color: var(--color11) transparent;
    display: block;
    width: 0;
}

:root {
    --color1: white;
    --color2: black;
    --color3: #d21034;
    --color4: #007229;
    --color5: #2A2612;
    --color6: #94281F;
    --color7: #F6EBD4;
    --color8: #827E5B;
    --color9: #929079;
    --color10: #C79684;
    --color11: #4D9050;
    --color12: #7592A3;
}

@media (orientation: portrait) {
    .navbar {
        flex-direction: column;
    }

    header a {
        padding-top: 1rem;
        padding-bottom: 1rem;
    }

    .nav-button {
        width: 25vw; 
    }

    .contact-grid {
        flex-direction: column;
    }
}

@media (orientation: landscape) {
    .navbar {
        flex-direction: row;
        gap: 1rem; /* adjust as needed */
    }

    header {
        padding-top: 2rem;
    }

    body {
        width: 60%;
    }
}

.gig-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
}

.gig-item {
    background: rgba(255, 255, 255, 0.2);
    border-radius: 16px;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    padding: 1rem;
    text-align: center;
    font-size: 2rem;
}

.pin-image {
    position: absolute;
    top: -2rem;
    left: 50%;
    transform: translateX(-);
    width: 50px;
    /* Adjust the size as needed */
    height: 3rem;
    transform: rotate(10deg);
}

.special-centered {
    text-align: center;
}