html, body {
    width: 100%;
    margin: 0;
    padding: 0;
}

body {
    width: 100%;
    height: 100%;
    font-family: "Constantia";
    margin: 0;
    padding: 0;
    background: url('../images/background-img.png') no-repeat center center fixed;
    background-size: cover;
    color: white;
}

footer {
    display: flex;
    justify-content: center;
    background: black;
    padding: 1rem;
    position: relative;
    z-index: 1;
}

.home-gallery img {
    transition: filter 0.5s ease-in-out;
    filter: grayscale(100%);
    max-width: calc(100%/5)!important;
}
.color-img {
    filter: grayscale(0%) !important;
}

h1, h2, h3 {
    text-transform: uppercase;
    font-style: italic;
    margin: 0;
}


.page-title { font-size: 6.3rem; font-weight: bold; line-height: 5.2rem; letter-spacing: 0rem; }
.page-title span { font-size: 3.6rem; }

.welcome.page-title { 
    letter-spacing: 0; 
    font-weight: normal; 
    font-size: 3.7rem; 
    line-height: 1.3rem; 
    margin-bottom: 1rem; 
    font-weight: bold;
}
.welcome.page-title span { font-size: 2.6rem; }

.american-legends-title {
    font-weight: bold;
    font-size: 3.5rem;
    line-height: 1.5rem;
}
.american-legends-title span { font-size: 2.1rem; }

.artist-title {
    font-size: 3.6rem;
    font-style: normal;
    text-transform: uppercase;
    margin: 0.5rem 0;
}
.artist-title span { font-size: 2rem; }

.artist-aka { 
    font-size: 1.5rem; 
    text-transform: none;
    margin-top: 0;
}

.artist-col { display: flex; flex-wrap: wrap; }

.artist-col-left { flex-basis: 30%; text-align: center; }
.artist-col-right { flex-basis: 30%; gap: 25px; justify-content: end; }

.artist-bio-txt { font-size: 1.5rem; }
.artist-bio-txt p { margin-bottom: 2rem; }

.artist-gallery { 
    display: flex;
    flex-direction: column;
    gap: 25px;
    width: 200px; 
}
.artist-gallery div { display: flex; flex-wrap: wrap; justify-content: space-between; } /* Adjusted for better spacing */

h1 { font-size: 2.4rem; }
h2 { font-size: 3rem; }
h3 { font-size: 1.9rem; margin: 1rem 0; }

nav ul {
    margin: 0;
    display: flex;
    list-style-type: none;
    justify-content: center; /* Center align navigation items */
    align-items: baseline;
    flex-wrap: wrap; /* Allow wrapping on smaller screens */
}
nav ul li, .mobile-menu ul li {
    font-size: 1.4rem;
    padding: 0.6rem;
    cursor: pointer;
    text-align: center;
    line-height: 0;
    letter-spacing: -0.1rem;
}
nav ul li a span, .mobile-menu ul li { font-size: 2.5rem; }
nav ul li:hover, nav ul li a:hover { color: grey!important; }

nav ul li a:link, nav ul li a:visited { color: white; text-decoration: none; }


canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100%;
    pointer-events: none; /* Ensures it doesn’t block user interactions */
}

.container2 {
    display: flex;
    flex-direction: column;
    margin: 0 auto;
    justify-content: start;
    align-items: center;
    width: 90%;
    height: auto;
    padding: 1rem 0;
    padding-bottom: 5rem;
}

.contact-text {
    background-color: rgba(0, 0, 0, 0.5);
    font-size: 1.2rem;
    box-sizing: border-box;
}

.contact-form { background-color: rgba(0, 0, 0, 0.5); }
.contact-form button { 
    background-color: #00007b;
}
.contact-form button:hover { 
    background-color: #010197;
}

.contact-form label {
    font-size: 1.5rem;
}

.contact-form input, .contact-form textarea { padding: 1rem; }


.flex-columns {
    display: flex;
    justify-content: space-around;
    flex-direction: row;
    margin-top: 1.3rem;
    margin-bottom: 0.2rem;
    z-index: 1;
    gap: 3rem; /* Added gap for spacing */
}

.flex-columns.text {
    gap: 3rem;
    font-size: 1.3rem;
    width: 100%;
}

.flex-columns-promo { 
    flex-direction: column; 
    align-items: center;
    text-align: center;
    font-size: 1.5rem;
}
.flex-columns.home-gallery { flex-direction: row; }
.flex-columns.flex-columns-promo img { margin: 0 auto; }

.promo-content {
    display: flex;
    background: #000000b0;
    padding: 3rem;
    border: 1px solid #282727;
}

.flex-columns.home-gallery {
    gap: 0;
}

.splide {
    margin-top: 16px;
    width: 100%;
    height: 450px;
}

.splide__slide img {
    width: 100%;
    max-height: 450px;
    min-height: 450px;
    object-fit: contain;
}

/* Responsive layout for text blocks */
.flex-columns.text {
    flex-direction: row;
    text-align: left;
}

.flex-columns.text p { width: 100%; font-size: 1.4rem; }


@media (max-width: 1024px) {
    .container2 {
        width: 90%; /* Adjusted width for tablets */
    }

    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 2.5rem;
    }

    h3 {
        font-size: 1.5rem;
    }

    .splide {
        height: 300px; /* Adjusted for tablets */
    }

    .splide__slide img {
        max-height: 300px;
    }
}

/* Mobile menu styles */
.mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(0, 0, 0, 0.9);
    transform: translateX(-100%);
    transition: transform 0.3s ease-in-out;
    padding: 1rem 0;
    z-index: 2;
    overflow-y: scroll;
}

.mobile-menu.open {
    transform: translateX(0);
}

.mobile-menu ul {
    list-style: none;
    padding: 0;
    text-align: left;
    margin-top: 2rem;
}

.mobile-menu ul li {
    font-size: 1.8rem;
    padding: 1rem;
    cursor: pointer;
    border-bottom: 1px solid #362424;
}

.mobile-menu ul li a:link, .mobile-menu ul li a:visited { color: white; text-decoration: none; }

.hamburger {
    cursor: pointer;
    z-index: 100;
    font-size: 2rem;
    display: none;
}

.close-menu {
    cursor: pointer;
    font-size: 2rem;
}

.mobile-menu-header {
    display: none;
    justify-content: space-around;
    align-items: center;
    background: black;
    width: 100%;
    padding: 0;
    position: fixed;
    margin-bottom: 1rem;
    z-index: 500;
}

.mobile-menu-header h1 {
    font-size: 1rem;
}

#back-to-top {
    position: fixed;
    right: 1rem;
    bottom: 1rem;
    background: #151515;
    padding: 1rem 1.5rem;
    z-index: 10;
    border-radius: 0.5rem;
    cursor: pointer;
}

@media (max-width: 1380px) {
    .flex-columns { 
        width: 100%; 
        flex-direction: column; /* Stack content vertically */
        gap: 1rem;
    } 
}

@media (min-width: 1024px) and (max-width: 1200px) {
    .flex-columns.text {
        flex-wrap: wrap;
        align-items: start;
    }    

    .flex-columns.text p {
        flex-basis: 45%;
    }
}

@media (max-width: 1024px) {
    .container2 {
        width: 95%;
    }

    h1 {
        font-size: 1.8rem;
    }

    h2 {
        font-size: 2rem;
    }

    h3 {
        font-size: 1.3rem;
    }

    .page-title { font-size: 2.6rem; font-weight: bold; padding-top: 2rem; }
    .page-title span { font-size: 1.2rem; }

    .flex-columns.text { flex-direction: column; }

    .flex-columns .artist-col-left { order: 2; }
    .flex-columns .artist-col-right { order: 3; }

    .flex-columns .artist-col-left,
    .flex-columns .artist-col-right {
        flex-basis: 100%; /* Ensure full width for both columns on mobile */
        text-align: center;
    }

    .splide {
        height: 250px; /* Adjust for mobile */
    }

    .splide__slide img {
        max-height: 250px;
    }

    .hamburger {
        display: block;
    }
    
    nav ul {
        display: none; /* Hide default navigation on mobile */
    }

    .mobile-menu.open nav ul {
        display: block; /* Show navigation when menu is open */
    }

    .mobile-menu-header { display: flex; }

    .artist-gallery { 
        flex-direction: row;
        gap: 25px;
        width: 100%;
    }

    .artist-gallery div { gap: 25px; justify-content: center; }

    .flex-columns div:nth-child(2) img { width: 100%; }

    .flex-columns-promo .flex { flex-direction: column; }
    .flex-columns-promo img { margin: 0 auto; }

    .artist-gallery a img { width: 100%; }

    .artist-col-right { justify-content: center; }
}

@media (max-width: 572px) {
    .welcome.page-title span { font-size: 1.6rem; }
}

@media (max-width: 480px) {
    .artist-bio-txt {
        font-size: 1.2rem; /* Smaller text for bio on very small screens */
    }

    h1, h2, h3 {
        font-size: 1.5rem; /* Adjust heading font sizes */
    }

    nav ul li {
        font-size: 1.3rem; /* Smaller navigation links */
        padding: 0.5rem;
    }
}

