/* the styles for the elements */
* {
    margin: 0; 
    padding: 0;
    box-sizing: border-box;
}
body {
    background-color: white;
    font-family: Arial, Helvetica, sans-serif;
    font-size: calc(90% + 0.3vw); 
    width: 100%;
    background-color: black;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}
a {
    font-weight: bold;
}
h1, h2, h3 { padding-top: .75em; } 
p, ul, blockquote { padding-top: .5em; }
h1 { font-size: 160%; }
blockquote { padding-left: 2em; }

/* the styles for the header */
header {
    background-image: linear-gradient(to bottom, white 0%, black 100%);
    padding: 1em 1.5em;
    font-family: 'Anton', sans-serif;

    display: flex;
    align-items: center;
    justify-content: space-between;
}

header .title {
    text-align: center;
    flex: 1;
}

header img {
    width: clamp(90px, 20%, 90px);
}

.mygif {
    width: 90px;
}

header h2 {
    font-size: 250%;
    font-style: italic;
    color: rgb(0, 0, 0);
    padding-top: 0;
}
/* the styles for the nav element*/
.menu {
    list-style-type: none;
    background-color: rgb(163, 28, 28);
    color: white;
    line-height: 1.5;
    display: flex;
    /* allow wrapping of items to avoid horizontal scrollbar on small screens */
    flex-wrap: wrap;
    overflow-x: visible;
    padding-bottom: .5em;
    font-weight: bold;
    justify-content: space-evenly;
    width: 100%;
}

/* let items wrap but keep each link's words together; use a flexible basis */
.menu li {
    flex: -1 1 150px; /* base width but allow wrapping to next row */
}

a {
    text-decoration: none;
    color: rgb(255, 255, 255);
}
a:visited, a:hover{
    color:white;
    text-decoration: underline;
}
/* Ensure nav links keep the same size when "active" is applied */
.menu a {
    display: inline-block;
    padding: 4px 10px;
    border: 1.5px solid transparent;
    border-radius: 10px;
    box-sizing: border-box;
    white-space: nowrap; /* prevent words inside links from wrapping */
}

.menu a.active {
    border-color: white;
}
.band-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
  padding: 2rem;
}

.member {
  text-align: center;
}

.member img {
  width: 100%;
  max-width: 220px;
  height: auto;
  border-radius: 10px;
}

.member h2 {
  margin-top: 0.75rem;
  font-family: 'Anton', sans-serif;
}

.member p {
  margin: 0.25rem 0 0;
}


/*
.bandphoto {
    width: 10%;
    height: auto;
    margin-top: 1em;
    margin-right: 10em;
    box-sizing: border-box;
    float: right;
}
*/
/* the styles for the main element  */
main {
    clear: left;
    padding: 0 1.5em 1em;
    color: grey;
    flex: 1 0 auto;
}

/* the styles for the section */
section {
  color: white;
  font-family: 'Arial Black', Gadget, sans-serif;
}
section img {
    max-width: 50%;
    height: auto;
    margin-bottom: 1em;
    float: left;
    margin-left: 2em;
}

/* the styles for the footer */
footer {
    padding: 1em 1.5em;
    background-color: rgb(163, 28, 28);
}
footer p {
    text-align: center;
    font-size: 85%;
    color: white;
}

@media (max-width: 700px) {

    /* Stack nav items cleanly */
    *{
        font-weight: bold;
    }
    .menu {
        flex-direction: column;
        align-items: stretch;
    }

    .menu li {
        width: 100%;
    }

    .menu a {
        display: block;
        width: 100%;
        text-align: center;
        padding: 6px 0;
        margin: 0;
    }

    /* FIX: stop image from squeezing text */
    section img {
        float: none !important;
        clear: both !important;
        display: block !important;
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 auto 1em auto !important;
    }

    /* FIX: prevent narrow text column */
    section {
        overflow: hidden;
        font-family: Arial, Helvetica, sans-serif;
        font-size: 1em;
    }
}


