/* Template Artist CSS file */
/* ------------------------------------------------- */

h2.introduction-title {
    color: var(--brown);
    font-family: "Cormorant Garamond";
    font-size: 48px;
    font-style: normal;
    font-weight: 400;
    margin: 0;
}

.introduction-content p {
    color: var(--slate);
    font-family: Mulish;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 26px;
    margin: 0;
}

.introduction-content a {
    color: var(--slate);
    font-family: Mulish;
    font-size: 16px;
    font-style: normal;
    font-weight: 600;
    line-height: 26px;
    text-decoration-line: underline;
    text-decoration-style: solid;
    text-decoration-skip-ink: auto;
    text-decoration-thickness: auto;
    text-underline-offset: auto;
    text-underline-position: from-font;
    margin: 0;
}

.introduction-main-content {
    display: flex;
    flex-direction: column;
    gap: 20px;
    text-align: start;
}

.introduction-content {
    display: flex;
    flex-direction: column;
    gap: 20px;
    max-width: 800px;
}

.introduction-content-wrapper {
    display: flex;
    gap: clamp(30px, 6vw, 60px);
    justify-content: space-between;
    width: 100%;
    max-width: 1114px;
}

.introduction-content-wrapper img {
    width: 250px;
    height: auto;
    object-fit: contain;
    rotate: 22deg;
}

section.introduction {
    padding: clamp(50px, 10vw, 100px) 0;
    background: var(--white);
}

section.introduction .wrap {
    display: flex;
    flex-direction: column;
    gap: 60px;
    text-align: center;
    align-items: center;
}

.artists-container {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    gap: 32px;
    padding-bottom: 120px;
}

.artist-item {
    width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.artist-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    left: 0;
    top: 0;
    transition: ease 0.6s;
}

.artist-item a {
    width: calc(100% - 40px);
    height: calc(100% - 40px);
    position: relative;
    display: flex;
    aspect-ratio: 1.1/2;
    padding: 20px;
}

.artist-item a:hover h3.artist-title {
    opacity: 1;
}

h3.artist-title {
    display: flex;
    position: relative;
    z-index: 2;
    margin-top: auto;
    color: var(--white);
    text-decoration: none;
    font-family: "Cormorant Garamond";
    font-size: clamp(18px, 2.4vw, 28px);
    font-style: normal;
    font-weight: 600;
    margin-bottom: 0;
    opacity: 0;
    transition: ease 0.6s;
}

.artist-item a {
    text-decoration: none;
}

.artist-item a:hover img {
    width: 110%;
    left: -5%;
    top: -5%;
    height: 110%;
}

.artist-item a:after {
    content: '';
    background: var(--black);
    opacity: 0.6;
    width: 100%;
    height: 100%;
    position: absolute;
    left: 0;
    top: 0;
    opacity: 0;
    z-index: 1;
    transition: ease 0.6s;
}

section.artists-grid {
    background: var(--white);
}

.artist-item a:hover:after {
    opacity: 0.4;
}

@media (max-width: 1080px) {
    .artists-container {
        grid-template-columns: 1fr 1fr 1fr;
    }
}

@media (max-width: 800px) {
    .artists-container {
        grid-template-columns: 1fr 1fr;
    }

    .introduction-content-wrapper {
        flex-direction: column;
        align-items: center;
    }

    h3.artist-title {
        opacity: 1;
    }

    .artist-item a:after {
        opacity: 1;
    }
}

@media (max-width: 480px) {
    .artists-container {
        grid-template-columns: 1fr;
    }

    .artists-container {
        gap: 20px;
    }
}