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

:root {
    --primary-color: #FFE0B5;
    --secondary-color: #828E82;
    --accent-color: #322214;
    --accent-color-2: #945D5E;

    --heading-font: "Raleway", Montserrat;
    --paragraph-font: "Merriweather", Lato;
}

body {
    max-width: 1000px;
    margin: 0 auto;
    font-family: "Marriweather", Lato;
    background-color: #FFE0B5;
    color: black;
    text-align: center;
    display: grid 1fr 1fr;

}

h1 h2 h3 h4 {
    font-family: "Raleway", Montserrat;
}

p {
    font-family: "Merriweather", Lato;
}

section {
    margin: 3rem auto;
    width: 90%;
}

#header {
    background-color: var(--secondary-color);
    border-bottom: 5px solid var(--accent-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
}

#header img {
    height: 60px;
}

#header nav a {
    color: var(--accent-color);
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: bold;
    margin: 0 1rem;
    font-family: var(--heading-font);
}

#header nav a:hover {
    color: var(--accent-color-2);
}

.welcome {
    padding: 2rem 1rem;
    border-bottom: 3px solid var(--accent-color);
}

#founder {
    margin-top: 3rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    text-align: left;
    align-items: start;
}

#founder h2 {
    grid-column: 1 / 3;
    text-align: center;
    font-family: var(--heading-font);
}

#founder img {
    width: 100%;
    border-radius: 10px;
    border: 4px solid var(--accent-color);
}

.objective {
    margin-top: 3rem;
    padding: 2rem 1rem;
    border-top: 3px solid var(--accent-color);
    border-bottom: 3px solid var(--accent-color);
}

#footer {
    margin-top: 3rem;
    background-color: var(--secondary-color);
    padding: 2rem;
    color: var(--accent-color);
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    border-top: 5px solid var(--accent-color);
}

#footer p {
    color: white;
}

#footer a {
    color: blue;
    margin-left: 1rem;
}

#footer a:hover {
    text-decoration: underline;
}


/* ----- Pop Page ----- */
#intro {
    max-width: 1200px;
    margin: 3rem auto;
    padding: 0 2rem;
    text-align: center;
}

#intro h1 {
    font-family: var(--heading-font);
    font-size: 3rem;
    color: var(--accent-color);
    margin-bottom: 1rem;
}

#intro p {
    font-size: 1.1rem;
    color: var(--secondary-color);
    max-width: 800px;
    margin: 0 auto;
}

#artist-grid {
    max-width: 1200px;
    margin: 3rem auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.artist-card {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    background-color: white;
}

.artist-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
}

.artist-card img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    display: block;
    transition: opacity 0.3s ease;
}

.artist-card:hover img {
    opacity: 0.3;
}

.artist-details {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(255, 224, 181, 0.95);
    padding: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.artist-card:hover .artist-details {
    opacity: 1;
}

.artist-details h3 {
    font-family: var(--heading-font);
    font-size: 1.8rem;
    color: var(--accent-color);
    margin-bottom: 1rem;
}

.artist-details p {
    font-size: 1rem;
    color: var(--secondary-color);
    margin-bottom: 0.5rem;
}