
/* ------------------------------------------------------------- Main --------------------------------------------------------------------- */

@font-face {
    font-family: 'Agrandir';
    src: url('src/font/Agrandir-Regular.otf') format('opentype');
}

@font-face {
    font-family: 'Agrandir';
    src: url('src/font/Agrandir-TextBold.otf') format('opentype');
    font-weight: bold;
}

body {
    font-family: Agrandir, sans-serif;
    overflow-x: hidden;
}

footer hr {
    color: #7e7f7e;
    max-width: 500px;
    text-align: left;
    margin-left: -10px;
    margin-right: -10px;
}

footer p {
    font-size: 12px;
    color: #7e7f7e;
}

/* ----------------------------------------------------------  Index ---------------------------------------------------------------- */


.titre {
    font-weight: bold;
    font-size: 30px;
    text-align: center;
    margin-top: 50px;
    margin-bottom: 0px;
}

.underline {
    color: #175b3d;
    width: 10%;
    margin: 10px auto 30px auto;
}

.creator img {
    width: auto;
    max-width: 100%;
    border: 0px solid;
    border-radius: 8px;
}

.creator {
    margin-top: 50px;
    display: grid;
    grid-template-columns: 30% 70%;
    text-align: center;
    margin : 0px 20% 20px 20%;
    width: 60%;
}

.creator p {
    text-align: justify;
    font-size: 20px;
    width: 92%;
    margin-left: 40px;
    color: #565656;
}

#instagram {
    color: #565656;
    display: flex;
    justify-content: left;
    align-items: center;
    text-align: left;
    text-decoration: none;
    margin: 0px 0px 10px 0px;
    width: 10%;
    font-size: 18px;
}

#instagram img {
    width: 30px;
    margin-right: 10px;
}

/* ----------------------------------------------------------  CSS Mobile ---------------------------------------------------------------- */

@media screen and (max-width: 800px) {
    .separation {
        color: #175b3d;
        width: 30%;
        margin: 20px auto 30px auto;
    }

    .creator img {
        width: auto;
        max-width: 100%;
    }

    .creator {
        margin-top: 50px;
        display: grid;
        grid-template-columns: 1fr;
        text-align: center;
        margin : 0px 5% 20px 5%;
        width: 90%;
    }

    .creator p {
        text-align: left;
        font-size: 16px;
        width: 92%;
        margin: 0px 0px auto 15px;
        color: #565656;
    }

    #instagram {
        color: #565656;
        display: flex;
        justify-content: left;
        align-items: center;
        text-align: left;
        text-decoration: none;
        margin: 0px 0px 10px 0px;
        width: 10%;
        font-size: 14px;
    }
}

/* ----------------------------------------------------------  Galerie ---------------------------------------------------------------- */

.grid-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, 240px);
    gap: 15px;
    justify-content: center; /* centers the whole grid inside its container */
}