/* styles/artist.css */

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

    body {
        font-family: 'Verdana', 'Geneva', sans-serif;
        background-color: #f4f4f4;
        background-size: cover;
        background-attachment: fixed;
        color: #333;
        line-height: 1.6;
        text-decoration: none;
    }

    .container {
        max-width: 1200px;
        margin: 0 auto;
        padding: 20px;
    }

        .header {
            padding: 10px; /* Reduced from 15px for compactness */
            background: #0080ff;
            color: white;
            display: flex;
            flex-direction: column; /* Changed to stack logo and text */
            align-items: flex-start; /* Center items vertically */
            gap: 10px; /* Reduced from 20px */
            box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
        }

        .header img {
            height: 50px;
        }

        .header h1 {
            font-size: 2rem;
        }

        .topnav {
            background-color: #333;
            overflow: hidden;
        }

        .topnav a {
            float: left;
            color: #f2f2f2;
            text-align: left;
            padding: 14px 16px;
            text-decoration: none;
            font-size: 17px;
            transition: background-color 0.3s;
        }

        .topnav a:hover {
            background-color: #ddd;
            color: black;
        }

        .topnav a.active {
            background-color: #04AA6D;
            color: white;
        }

    .intro {
        text-align: center;
        margin: 20px 0;
        padding: 20px;
        border-radius: 8px;
    }
    
    .intro .body a {
    	text-decoration: none;
    }
    
    .intro .body a:visited {
    	color: #131CCF; /* Match the unvisited link color */
    }

    .gallery {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 20px;
        margin: 40px 0;
    }

    .gallery-item {
        background: rgba(255, 255, 255, 0.9);
        padding: 15px;
        border-radius: 8px;
        text-align: center;
        transition: transform 0.3s ease;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center; /* Center content vertically */
    }

    .gallery-item:hover {
        transform: translateY(-5px);
    }

    .gallery-item img {
        width: 225px;
        height: auto;
        border-radius: 4px;
        max-width: 100%;
        display: block; /* Ensure images are block-level for centering */
        margin: 0 auto; /* Center images horizontally */
    }

    .gallery-item p {
        margin: 10px 0;
        font-size: 0.9rem;
        text-align: center; /* Ensure text is centered */
    }

    .gallery-item strong {
        font-size: 1rem;
        color: #000;
    }

    .gallery-item a {
        color: #131CCF;
        text-decoration: none;
    }

    .gallery-item a:hover {
        color: #000;
    }

    .interactive-image {
        cursor: pointer;
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .image-wrapper {
        width: 225px;
        max-width: 100%;
        margin: 0 auto; /* Center the wrapper horizontally */
        position: relative; /* Kept for potential layering */
    }

    .interactive-image img {
        width: 225px;
        height: auto;
        border-radius: 4px;
        display: block; /* Ensure images are block-level */
        margin: 0 auto; /* Center images */
    }

    .interactive-image .hover-img {
        display: none; /* Hidden by default, toggled by JavaScript */
        width: 225px;
        height: auto;
        border-radius: 4px;
        margin: 0 auto; /* Center the hover image when shown */
    }

    .interactive-image p {
        margin: 10px 0;
        font-size: 0.9rem;
        text-align: center; /* Ensure text is centered */
    }

    .section-title {
        text-align: left;
        font-size: 2rem;
        color: #000;
        margin: 40px 0 20px;
    }

    @media (max-width: 600px) {
        .gallery {
            grid-template-columns: 1fr;
        }

        header h1 {
            font-size: 1.8rem;
        }

        .section-title {
            font-size: 1.5rem;
        }
        
        .topnav a {
        	font-size: 12px;
        }
        
        .header h1 {
			font-size: 30px;
        }
        
        .interactive-image img,
        .interactive-image .hover-img {
            margin: 0 auto; /* Ensure centering on mobile */
        }
    	.intro img {
            width: 295px;
        	height: auto;

        }
    }