/*TYPE REGULAR*/

@font-face {
    font-family: 'Monoflow';
    src: url('type/monoflow/monoflow-light-webfont.woff2')format('woff2');
    font-weight: 300;
    font-style: normal;
    /* Light */
}

@font-face {
    font-family: 'Monoflow';
    src: url('type/monoflow/monoflow-regular-webfont.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    /* Regular */
}


@font-face {
    font-family: 'Monoflow';
    src: url('type/monoflow/monoflow-medium-webfont.woff2') format('woff2');
    font-weight: 500;
    font-style: normal;
    /* Medium */
}


@font-face {
    font-family: 'Monoflow';
    src: url('type/monoflow/monoflow-bold-webfont.woff2') format('woff2');
    font-weight: 700;
    font-style: normal;
    /* Bold */
}

/*TYPE ITALIC*/

@font-face {
    font-family: 'Monoflow Italic';
    src: url('type/monoflow/monoflow-lightitalic-webfont.woff2')format('woff2');
    font-weight: 300;
    font-style: italic;
    /* Light */
}

@font-face {
    font-family: 'Monoflow Italic';
    src: url('type/monoflow/monoflow-regularitalic-webfont.woff2') format('woff2');
    font-weight: 400;
    font-style: italic;
    /* Regular */
}

@font-face {
    font-family: 'Monoflow Italic';
    src: url('type/monoflow/monoflow-mediumitalic-webfont.woff2') format('woff2');
    font-weight: 500;
    font-style: italic;
    /* Medium */
}

@font-face {
    font-family: 'Monoflow Italic';
    src: url('type/monoflow/monoflow-bolditalic-webfont.woff2') format('woff2');
    font-weight: 700;
    font-style: italic;
    /* Bold */
}

/* Global styles */
* {

    box-sizing: border-box;

}

/*PAGE INDEX PRINCIPALE*/

html {

    background-color: #fffaf4;
}

body {

    /* Important pour gérer les marges/paddings */
    font-family: 'Monoflow', sans-serif;
    font-weight: 300;
    font-size: 16px;
    font-style: normal;
    color: #4a4949;
    margin: 0 auto;
    max-width: 50rem;
    padding: 2rem 2rem;


}

header {
    position: relative;
}

header h1 {
    /*display: inline;*/
    width: 100%;
    font-family: 'Monoflow Italic';
    font-weight: 400;
    font-size: 400%;
    font-style: italic;
    color: #af9bca;
}

header img {

    position: relative;
    top: 0;
    right: 0;
    width: 35%;
}

body h2 {
    width: 100%;
    display: flex;
    justify-content: flex-start;
    font-family: 'Monoflow';
    font-weight: 500;
    font-size: 200%;
    font-style: normal;
    color: #af9bca;

}

body h3 {
    width: 100%;
    display: flex;
    justify-content: flex-start;
    font-family: 'Monoflow Italic';
    font-weight: 400;
    font-size: 140%;
    font-style: italic;
    color: #4a4949;

}




#illustration {

    display: flex;
    justify-content: flex-end;


}

#illustration img {

    width: 100%;
    display: flex;
    justify-content: flex-end;

}



#content h2 {
    display: flex;
    justify-content: flex-start;
    font-family: 'Monoflow Italic';
    font-weight: 400;
    font-size: 350%;
    font-style: italic;
    color: #af9bca;
}


#content p {

    font-family: 'Monoflow', sans-serif;
    font-weight: 400;
    font-size: 140%;
    font-style: normal;
    line-height: 160%;

}

#content strong {

    font-weight: 500;
    font-size: 170%;
    color: #419671;
    cursor: pointer;
    text-decoration: underline;
    text-decoration-color: transparent;
    transition: 0.2s ease;
}

#content img {

    width: 65%;
    padding: 2%;
    display: flex;
    justify-content: flex-end;

}


#content strong:hover {


    color: #2c6a50;
    cursor: pointer;
    text-decoration: underline;
    transition: 0.2s ease;
}


#content strong a {


    color: #419671;
    cursor: pointer;
    text-decoration: underline;
    text-decoration-color: transparent;
    transition: 0.2s ease;
}

#content strong a:hover {


    color: #2c6a50;
    cursor: pointer;
    text-decoration: underline;
    transition: 0.2s ease;
}



#content p a {

    font-family: 'Monoflow', sans-serif;
    font-weight: 400;
    font-style: normal;
    color: #af9bca;
    cursor: pointer;
    text-decoration: underline;
    text-decoration-color: transparent;
    transition: text-decoration-color 0.2s ease;

}

#content p a:hover {

    font-family: 'Monoflow', sans-serif;
    font-weight: 400;
    font-style: normal;
    color: #897a9e;
    text-decoration-color: #897a9e;
    transition: 0.2s ease;
    cursor: pointer;

}


.btn {
    background-color: #fffaf4;
    border: 3px solid #af9bca;
    border-radius: 40px;
    color: #af9bca;
    font-size: 160%;
    padding: 12px 30px;
    cursor: pointer;
    transition: 0.2s ease;

}

/* Darker background on mouse-over */
.btn:hover {
    background-color: #fffaf4;
    border: 3px solid #897a9e;
    color: #897a9e;
    transition: 0.2s ease;



}

.btn a {
    font-family: 'Monoflow', sans-serif;
    font-weight: 500;
    font-style: normal;
    color: #af9bca;
    text-decoration: none;
    transition: 0.2s ease;

}

.btn a:hover {
    font-family: 'Monoflow', sans-serif;
    font-weight: 500;
    font-style: normal;
    color: #897a9e;
    transition: 0.2s ease;


}

#ending {
    width: 55%;
    /*border: 1px solid red;*/
    font-weight: 700;
    font-style: normal;
    font-size: 160%;
}

footer {
    width: 100%;
    /*border: 1px solid blue;*/
}

footer img {
    width: 100%;

}


/*PAGE INDEX 2 ILLUSTRATION*/

#list3 {


    display: grid;
    grid-template-columns: auto auto auto;
    padding: 10px;
    width: 100%
}

#list3 div {

    padding: 10px;

}

#list3 div img {


    width: 100%;

}


/*PAGE INDEX 4 PDJ*/

#list2 {

    display: grid;
    grid-template-columns: auto auto;
    padding: 10px;
    width: 100%
}

#list2 div {

    padding: 10px;
}

#list2 div img {

    width: 100%;

}

#list1 {

    display: grid;
    grid-template-columns: auto;
    padding: 10px;
    width: 100%
}

#list1 div {

    padding: 10px;
}

#list1 div img {

    width: 100%;

}

/*MEDIA QUERIES RESPONSIVE*/

/* Extra small devices (phones, 600px and down) */
@media only screen and (max-width: 600px) {
    body {
        font-size: 65%;
    }

    #list2,
    #list3 {

        display: grid;
        grid-template-columns: auto;

    }
}

/* Small devices (portrait tablets and large phones, 600px and up) */
@media only screen and (min-width: 600px) {
    body {
        font-size: 100%;
    }
    #list2,
    #list3 {

        display: grid;
        grid-template-columns: auto auto;

    }
 
    
}

/* Medium devices (landscape tablets, 768px and up) */
@media only screen and (min-width: 768px) {
    body {}
 
}

/* Large devices (laptops/desktops, 992px and up) */
@media only screen and (min-width: 992px) {
    body {}
}

/* Extra large devices (large laptops and desktops, 1200px and up) */
@media only screen and (min-width: 1200px) {
    body {}
}
