@import url('https://fonts.googleapis.com/css2?family=Inter:ital,wght@0,300;0,400;1,300&display=swap');

body {
    margin: 0;
    background: #f5f5f3;
    color: #222;
    font-family: 'Inter', sans-serif;
    font-weight: 300;
}

/* MENU LATÉRAL */

.sidebar {
    position: fixed;
    left: 0;
    top: 0;

    width: 250px;
    height: 100vh;

    padding: 40px 24px;

    display: flex;
    flex-direction: column;
    justify-content: space-between;

    border-right: 1px solid #ddd;

    background: #f5f5f3;
    box-sizing: border-box;
}

/* partie haute menu */

.sidebar-top {
    display: flex;
    flex-direction: column;
}

/* nom */

.name {
    font-weight: 600;
    font-size: 16px;
    letter-spacing: 0.3px;

    margin-bottom: 40px;
    line-height: 1.3;
}

/* liens */

.sidebar a {
    text-decoration: none;
    color: #222;

    margin-bottom: 12px;

    font-size: 12px;
    line-height: 1.5;
}

.sidebar a:hover {
    opacity: 0.5;
}

/* instagram */

.sidebar-bottom {
    font-size: 10px;
}

/* CONTENU */

.content {

    margin-left: 260px;

    padding: 60px 80px 140px 80px;

    max-width: 420px;

    box-sizing: border-box;
}

/* TITRES */

h1 {
    font-size: 20px;
    font-weight: 300;
    margin-bottom: 40px;
}

h2 {
    font-size: 12px;
    font-weight: 400;
    margin-top: 0;
    margin-bottom: 20px;
}

/* TEXTES */

p {
    font-size: 10px;
    line-height: 1.8;
}

/* STRUCTURE OEUVRES */

.artwork {
    display: grid;

    grid-template-columns: minmax(0, 1fr) 180px;

    gap: 80px;

    align-items: start;

    margin-bottom: 220px;
}

/* IMAGES */

.images {

    display: flex;

    flex-wrap: wrap;

    justify-content: center;

    align-items: flex-start;

    gap: 18px;

    width: 100%;
}

.images > div {

    flex: 1 1 0;

    min-width: 0;
}

.images img {
    width: 100%;
    display: block;
    cursor: pointer;
}

/* TEXTE À DROITE */

.info {
    font-size: 10px;
    line-height: 1.7;
    max-width: 180px;
}

/* CARTOUCHE */

.caption {
    margin-top: 12px;

    font-size: 12px;
    line-height: 1.5;

    font-style: italic;
}

/* INTRO */

.serie-intro {

    margin-bottom: 180px;
}

/* citation haut */

.intro-quote-top {

    width: 100%;

    max-width: 780px;

    margin: 0 auto 45px auto;

    position: relative;

    left: -130px;

    text-align: center;

    font-size: 9px;

    letter-spacing: 0.3px;

    opacity: 0.5;
}

/* structure */

.intro-grid {

    position: relative;

    width: 100%;

    max-width: 780px;

    margin: 0 auto;

    min-height: 420px;
    
    left: -120px;
}

/* CENTRE */

.intro-center {

    width: 240px;

    margin: 0 auto;

    text-align: left;
}

/* image */

.intro-center img {

    width: 100%;

    display: block;

    margin-bottom: 18px;
}

/* texte central */

.intro-text {

    font-size: 12px;

    line-height: 1.7;

    font-style: italic;

    margin-bottom: 28px;
    
    text-align: justify;

    hyphens: auto;
}

/* caption */

.intro-caption {

    text-align: center;

    font-size: 12px;

    line-height: 1.6;

    font-style: italic;
}

/* TEXTE GAUCHE */

.intro-left {

    position: absolute;

    left: -40px;

    top: 150px;

    width: 260px;

    font-size: 10px;

    line-height: 1.5;

    font-style: italic;
}

/* DATE DROITE */

.intro-right {

    position: absolute;

    right: -40px;

    top: 150px;

    width: 260px;

    text-align: right;

    font-size: 10px;

    font-style: italic;
}

/* BIO */

.bio-content {

    margin-left: 340px;

    padding-top: 80px;

    padding-right: 80px;

    max-width: 420px;

    box-sizing: border-box;
}

.bio-manifesto {

    margin-bottom: 90px;

    font-size: 12px;

    line-height: 1.9;

    text-align: justify;

    hyphens: auto;

    color: #444;
}

.bio-text {

    text-align: justify;

    hyphens: auto;
}

.bio-text p {

    font-size: 12px;

    line-height: 1.9;

    margin-bottom: 34px;
}

/* LIGHTBOX */

.lightbox {

    position: fixed;

    top: 0;
    left: 0;

    width: 100%;
    height: 100%;

    background: rgba(0,0,0,0.92);

    display: none;

    justify-content: center;
    align-items: center;

    z-index: 9999;
}

.lightbox img {

    max-width: 95%;
    max-height: 95%;

    object-fit: contain;
}

/* COPYRIGHT */

.copyright {

    position: fixed;

    bottom: 20px;
    right: 20px;

    font-size: 11px;

    color: #888;

    letter-spacing: 0.5px;
}

/* RESPONSIVE */

@media screen and (max-width: 900px) {

    .sidebar {

        position: relative;

        width: 100%;

        height: auto;

        border-right: none;

        border-bottom: 1px solid #ddd;

        padding: 24px;
    }

    .content {

        margin-left: 0;

        padding: 30px 20px 80px 20px;

        max-width: 100%;
    }

    .artwork {

        grid-template-columns: 1fr;

        gap: 30px;
    }

    .intro-grid {

        position: relative;

        display: flex;

        flex-direction: column;

        align-items: center;

        gap: 30px;

        left: 0;

        min-height: auto;
    }

    .intro-left,
    .intro-right {

        position: relative;

        width: auto;

        top: auto;

        left: auto;

        right: auto;

        text-align: center;

        white-space: normal;
    }

    .intro-center {

        width: 100%;

        max-width: 280px;
    }

    .images {

        grid-template-columns: 1fr;
    }

    .bio-content {

        margin-left: 0;

        padding: 40px 24px 80px 24px;

        max-width: 100%;
    }

    .bio-manifesto {

        font-size: 11px;

        line-height: 1.9;

        margin-bottom: 60px;
    }

    .bio-text p {

        font-size: 11px;

        line-height: 1.9;

        margin-bottom: 28px;
    }

    .copyright {

        position: relative;

        bottom: auto;
        right: auto;

        padding: 0 24px 30px 24px;
    }
}
