/********/
/* MAIN */
/********/

main{
    display: flex;
    flex-direction: column;
    justify-items: center;
    align-items: center;
}

h3{
    margin: 0px 0px;
}


/* Définition des trois types de projets */
main > ul{
    display: flex;
    flex-direction: row;
    width: 100%;
    align-items: center; 
    font-family: 'Amatic SC', cursive;
    justify-content: space-between;
    font-size: xx-large;
    background-color: #E3B73F;
    padding: 0px 50px;
}

main > ul li{
    color: white;
    margin: 10px 10px;
    list-style-image: url(../images/fleche-bas.svg);
}

main > ul li:hover{
    color: black;
}

/* section:first-of-type > .galerie_boutons{
    display: flex;
    flex-direction: column;
} */

/* Espace entre les boutons des différents projets informatiques */
section:first-of-type > .galerie_boutons > .btn_rec_modal{
    margin: 15px;
}

#galerie{
    display: flex;
    justify-content: space-around;
}

#galerie img{
    height: 450px;
    margin: 0px 10px;
}

/* À retirer ?? Centre les tatouages*/
section{
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    align-items: center;
}

section > img:last-of-type{
    width: 450px;
}

section:first-of-type .modal-body p{
    text-indent: 25px;
    text-align: justify;
    /* width: 750px; */
}

section:first-of-type .modal-body h4,
section .modal-body ul {
    text-align: left;
    /* width: 750px; */
}

section .modal-body h3{
    margin: 20px 20px;
}

section:first-of-type .modal-body h3{
    margin: 2px 0px;
}

/* Définition du contenu des fenêtres modales */
/* section .modal div div{
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    overflow: scroll;
    width: min-content;
}    */

section:first-of-type .modal p{
    width: 500px;
}

.contenu_modal p{
    text-indent: 0;
    text-align: center;
    font-size: 16px;
    justify-content: center;
    font-family: 'Courier New', Courier, monospace;
}

.modal li{
    list-style: circle;
    font-family: 'Courier New', Courier, monospace;
}

#fm_pi-pj img{
    width: 50px;
    height: 50px;
}

#fm_dd1-4 p{
    width: 350px;
}

#fm_dd3-5 p{
    width: 550px;
}

#fm_tattooOZ p{
    width: 350px;
}

#fm_tattooNZ p{
    width: 850px;
}

/* Empêche le header de masquer les titres de projets (ancres) */
#projets_info:target, 
#projets_art:target,
#projets_brico:target{
    padding-top: 75px; 
    margin-top: -75px; 
}

/* Définition des fonds des boutons modaux */

#btn_pi-pj{background: url(../images/tn_logo.jpg) no-repeat center white;}
#btn_pi-p4{background: url(../images/tn_p4.jpg) no-repeat center #1e1e1e}
#btn_pi-jp{background: url(../images/tn_jp.jpg) no-repeat center #1e1e1e}
#btn_pi-sk{background: url(../images/tn_sk-logo.jpg)no-repeat center #587158;}

#btn_phb-logo{background: url(../images/tn_phb-logo.png) no-repeat center;}
#btn_phb-affiche{background: url(../images/tn_phb-aff1.jpg) no-repeat center;}

#btn_dd1-1{background-image: url(../images/tn_dd1-1.png);}
#btn_dd1-2{background-image: url(../images/tn_dd1-2.png);}
#btn_dd1-3{background-image: url(../images/tn_dd1-3.png);}
#btn_dd1-4{background-image: url(../images/tn_dd1-4.png);}
#btn_dd2-1{background-image: url(../images/tn_dd2-1.png);}
#btn_dd2-2{background-image: url(../images/tn_dd2-2.png);}
#btn_dd2-3{background-image: url(../images/tn_dd2-3.png);}
#btn_dd2-4{background-image: url(../images/tn_dd2-4.png);}
#btn_dd3-1{background-image: url(../images/tn_dd3-1.png);}
#btn_dd3-2{background-image: url(../images/tn_dd3-2.png);}
#btn_dd3-3{background-image: url(../images/tn_dd3-3.png);}
#btn_dd3-4{background-image: url(../images/tn_dd3-4.png);}
#btn_dd3-5{background-image: url(../images/tn_dd3-5.png);}

#btn_rrp-1{background: url(../images/tn_rrp-1.jpg) no-repeat center;}
#btn_rrp-2{background: url(../images/tn_reginald.png) no-repeat center;}
#btn_rrp-3{background: url(../images/tn_rrp-3.jpg) no-repeat center;}
#btn_rrp-4{background: url(../images/tn_rrp-4.jpg) no-repeat center;}
#btn_rrp-5{background: url(../images/tn_rrp-5.jpg) no-repeat center;}

/* Définition des boutons ouvrant les fenêtres modales : retrait du niveau de gris au passage de la souris */
#btn_pi-pj:hover,
#btn_pi-p4:hover,
#btn_pi-sk:hover,

#btn_phb-logo:hover,
#btn_phb-affiche:hover,

#btn_dd1-1:hover, /* Vache Stone */ 
#btn_dd1-2:hover, /* Course de chameaux */
#btn_dd1-3:hover, /* Personnage(s) historique(s) */
#btn_dd1-4:hover, /* JJJ */
#btn_dd2-1:hover, /* Combat de c! */ 
#btn_dd2-2:hover, /* Caricature d'un tableau religieux */
#btn_dd2-3:hover, /* Monter la garde */
#btn_dd2-4:hover, /* Les animaux au travail */
#btn_dd3-1:hover, /* Lost in the Forest */ 
#btn_dd3-2:hover, /* Judy */
#btn_dd3-3:hover, /* RainbowChase */
#btn_dd3-4:hover, /* Crétin */
#btn_dd3-5:hover, /* The Best Backpackers */

#btn_rrp-1:hover,
#btn_rrp-2:hover,
#btn_rrp-3:hover,
#btn_rrp-4:hover,
#btn_rrp-5:hover{
    filter: grayscale(0);
}