* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

* a {
    text-decoration: none;
}

* li {
    list-style: none;
}

:root {
    --font-primary: 'Roboto Slab', serif;
    --font-secondary: 'Londrina Solid', cursive;
    --bg-yellow: #E9C46A;
    --bg-green: #2A9D8F;
    --bg-darkgreen: #264653;
}

.flex {
    display: flex;
    gap: var(--gap, 2rem);
}

body {
    font-family: var(--font-primary);
    font-size: 16px;
}

/* navbar */

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: var(--bg-darkgreen);
    font-family: var(--font-primary);
    padding-bottom: 30px;
}

.logo {
    font-size: 2.5rem;
    margin: .5rem;
    font-family: var(--font-secondary);
    font-weight: bold;
}

.navbar-links {
    font-size: 1.5rem;
    font-weight: bold;
}

.navbar-links ul {
    margin: 0;
    padding: 0;
    display: flex;
    list-style: none;
}

.navbar-links li a {
    text-decoration: none;
    padding: 1rem;
    display: block;
    color: black;
}

.navbar-links li:hover {
    background-color: #264653;
    transition: .3s ease-in-out;
    
}

.navbar-links li a:hover {
    color: white;
}

.toggle-button {
    position: absolute;
    top: .75rem;
    right: 1rem;
    display:none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
}

.toggle-button .bar {
    height: 3px;
    width: 100%;
    background-color: black;
    border-radius: 10px;
}

/* */

.hero {
    max-width: 960px;
    margin-left: auto;
    margin-right: auto;
    border-top: 3px solid var(--bg-green);
}

.hero img {
    width: 100%;
}

.line {
    border-bottom: 2px solid var(--bg-green);
    display: block;
    margin: 10px 200px 30px 200px;
}


.title {
    margin-top: 30px;
    text-align: center;
}

.bands img {
    float:left;
}

.band-title {
    font-family: var(--font-secondary);
    font-size: 2rem;
    text-align: center;
    margin-bottom: 10px;
}

.band-title h3 {
    font-size: 1rem;
    font-family: var(--font-primary);
}

.container {
display:grid;
    
}

.container:first-of-type {
    margin-top: 50px;
}

.card {
    padding: 30px;
    line-height: 1.6rem;
}

.card img {
    height: 250px;
    width: 300px;
    shape-outside: circle(50%);
    margin: 15px;
    border-radius: 40%;
    margin-right: 2.3rem;
}

.lineup {
    display: flex;
    background-size: cover;
    flex-direction: column;
    justify-content: space-between;
    text-align: center;
    background: var(--bg-yellow);
}

.lineup h1 {
    font-family: var(--font-secondary);
    font-size: 7rem;
}

.lineup-band {
    font-family: var(--font-primary);
    margin: 1rem;
    padding: 1rem;
}

.lineup-band h2{
    margin-bottom: 1rem;
}

.lineup-band img {
    border-radius: 25%;
    width: 350px;
    height: 250px;
}

.bar {
    border-bottom: 2px solid black;
}

footer {
    margin-top: auto;
    background: var(--bg-green);
    color: black;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    padding: 30px;
    gap: 1rem;
    text-align: center;
    line-height: 3rem;
}

footer .column {
    height: 20vh;
}


footer a{
    color:white;
}

footer a:hover {
    color: var(--bg-darkgreen);
    transition: .4s ease-in-out;
}

.code {
    font-family: var(--font-primary);
    font-size: 1.2rem;
    margin: 1rem;
}

.tour {
    text-align: center;
    background: var(--bg-yellow);
    margin: 50px;
    padding-top: 30px;
    padding-bottom: 50px;
    font-size: 1.4rem;
}

.tour h1{
    font-family: var(--font-secondary);
    margin-bottom: 1rem;
}

/* --- MOBILE OPTIMIZATION BLOCK --- */
@media (max-width: 600px) {
    .toggle-button {
        display: flex;
    }

    .navbar-links {
        display: none;
        width: 100%;
    }

    .navbar {
        flex-direction: column;
        align-items: flex-start;
    }

    .navbar-links ul {
        flex-direction: column;
        width: 100%;
    }

    .navbar-links li {
        text-align: center;
    }

    .navbar-links li a {
        padding: .5rem 1rem;
    }

    .navbar-links.active {
        display: flex;
    }

    .card {
        display: flex;
        flex-direction: column;
        align-items: center; 
        padding: 15px;
    }

    .card img {
        float: none; 
        shape-outside: none;
        margin: 15px 0; 
        width: 90%; 
        max-width: 300px;
        height: auto; 
    }

    .lineup h1 {
        font-size: 3.5rem;
        margin-top: 1.5rem;
    }
    
    .lineup-band img {
        width: 90%;
        max-width: 350px;
        height: auto;
    }

    footer {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 20px 15px;
    }
    
    footer .column {
        height: auto;
    }

    .line {
        margin: 10px 10% 30px 10%;
    }
    
    .tour {
        margin: 30px 15px;
        font-size: 1.2rem;
    }
}
