/* @font-face {
    font-family: 'amatic_scbold';
    src: url('amaticsc-bold-webfont.woff2') format('woff2'),
         url('amaticsc-bold-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'brygada_1918italic';
    src: url('brygada1918-italic-variablefont_wght-webfont.woff2') format('woff2'),
         url('brygada1918-italic-variablefont_wght-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'brygada_1918regular';
    src: url('brygada1918-variablefont_wght-webfont.woff2') format('woff2'),
         url('brygada1918-variablefont_wght-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;
} */


/**********/
/* GLOBAL */
/**********/

body{
    display: flex;
    flex-direction: column;
    margin: 0;
    font-family: 'Brygada 1918', serif;
}

p{
    text-align: justify;
    text-indent: 50px;
    padding: 0 10px;
}

h1{
    font-family: 'Amatic SC';
    color: #E3B73F;
    border-left: #E3B73F solid 8px;
    padding-left: 20px;
    font-size: 30px;
    padding-bottom: 0;
    margin-top: 50px;
    margin-bottom: 25px;
    letter-spacing: 8px;
    width: 100%;
}

h2{
    font-family: 'Amatic SC';
    text-align: center;
    font-size: 30px;
    margin: 25px 0px 10px 0px;
    letter-spacing: 5px;
}

h3{
    /* margin: 50px 0px; */
    text-align: center;
}

a>h3{
    margin-bottom: 2px;
    padding: 5px 10px;
    font-family: 'Courier New', Courier, monospace;
    background-color: #E3B73F;
    color: white;
    border-radius: 10px;
    border: solid 1px #E3B73F;
}
a>h3:hover{
    border:#E3B73F solid 1px;
    color: #E3B73F;
    background-color: white;
}

p > em {
    font-size: 20px;
}


h2 em{
    font-style: normal;
    color: #E3B73F;
}

a{
    cursor: pointer;
    text-decoration: none;
    color: black;
}

a:hover{
    color: #E3B73F;
}

hr{
    border: none;
    width: 100%;
    height: 50px;
}

area{
    cursor: pointer;
}


/**********/
/* HEADER */
/**********/

header{
    display: flex;
    position: sticky;
    margin-top: 0;
    height: 75px;
    left: 0px;
    top: 0px;
    box-shadow: 0px 5px 10px 0px rgba(0, 0, 0, 0.25);
    background-color: white;
    align-items: center; 
    justify-content: space-between;
    z-index: 999;
}

header a, header strong{
    font-size: 25px;
}

header > ul{
    display: flex;
    flex-direction: row;
    align-items: center; 
    font-family: 'Amatic SC';
    font-size: 25px;
}

header li{
    white-space: nowrap; /* Empêche le retour à la ligne */
    margin: 0 50px;
    list-style: none;
}

header a:hover{
    color: #E3B73F;
    font-weight: 700;
}

header img{
    width: 350px;
    height: 50px;

}

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

main{
    width:850px;
    margin: 25px auto;
    min-height: calc(100vh - 225px);
}

figure, 
.galerie_boutons{
    display: flex;
    flex-direction: row;
    justify-items: center;
    align-items: center;
    justify-content: center;
}

figure img{
    padding: 10px 10px;
    width: 150px;
    height: 150px;
}

/*********/
/* ASIDE */
/*********/

aside{
    position: fixed;
    bottom: 12%;
    right: 2%;
}

aside a img{
    width: 50px;
    height: 50px;
}

/**********/
/* FOOTER */
/**********/

footer{
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100px;
    background-color: #E3B73F;
    align-items: center;
    justify-content: center;
}

footer p{
    color: white;
    text-indent: 0;
    border-bottom: solid 1px white;
    padding: 0 0;
    margin: 0 0 ;
}

footer address{
    display: flex;
    flex-direction: row;
    align-items: center;
    margin: 5px 0px;
}

footer img{
    width: 20px;
    margin: 0px 5px;
    filter: invert(1);
}

footer img:hover{
    filter: none;
}

footer:last-child{
    color: white;
}

address{
    color: white;
    font-style: normal;
}

footer a{
    color: white;
}

footer a:hover{
    color: black;
}

/********************/
/* FENÊTRES MODALES */
/********************/

.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    padding: 1em;
    background-color: rgba(0, 0, 0, 0.5);
    justify-content: center;
    align-items: center;
    z-index: 100;
    display: none;
}

#fm_ec{
    display: inherit;
}

.btn_modal,
.btn_carre_modal,
.btn_rec_modal{
    /* margin: 25px 25px; */
    cursor: pointer;
    border: none;
    width : 150px;
    height: 150px;
    filter: grayscale(.8);
    background-size: 150px;
    padding: 0px;
    margin: 10px 10px;
}


.btn_modal:hover::after,
.btn_rec_modal:hover::after,
.btn_carre_modal:hover::after{
    display: flex;
    justify-content: center;
    align-items: center;
    font-family: 'Brygada 1918', serif;
    font-variant: small-caps;
    letter-spacing: 3px;
    color: #fff;
    width: 100%;
    height: 50px;
    animation: toUp .5s forwards;
    background-color: rgba(0, 0, 0, 0);
    opacity: 0;
}

.btn_rec_modal:hover::after{
    content: "en savoir plus"
}

.btn_modal:hover::after,
.btn_carre_modal:hover::after{
    content: "voir l'illustration";
}

@keyframes toUp {
    0% {
        opacity: 0;
        background-color: rgba(0, 0, 0, 0);
    }
    100% {
        opacity: 1;
        background-color: rgba(0, 0, 0, 0.5);
    }
}

.btn_modal{
    border-radius: 50%;
}

.btn_rec_modal{
    width: 250px;
    height: 300px;
}

.contenu_modal {
    display: flex;
    flex-direction: column;
    position: relative;
    width: auto;
    /* height: 650px; */
    padding: 50px 25px 75px 25px;
    background-color: white;
    justify-content: flex-start;
    align-items: center;
    text-align: center;
    -webkit-animation-name: animatetop;
    -webkit-animation-duration: 0.4s;
    animation-name: animatetop;
    animation-duration: 0.4s
}


/* Add Animation */
@keyframes animatetop {
    from {bottom:-300px; opacity:0}
    to {top:0; opacity:1}
}

.contenu_modal img{
    height: 550px;
}

#fm_tattooNZ img{
    height: auto;
    width: 850px;
}

.modal-header  {
    width: 100%;
    height: auto;
    color: #E3B73F;
    display: flex;
    justify-content: center;
    align-items: center;
    /* position: absolute; */
    top: 0;
}

.modal-header em{
    color: black;
} 

.close {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 1.5em;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 2;
}

.contenu_modal h2 {
    font-family: 'Amatic SC';
    width: 100%;
    margin: 0;
    padding: 0;
    font-size: 1.5em;
    position: absolute;
    top: 10px;
    left: 10px;
}

.modal-body{
    /* width: 750px; */
    /* margin: 75px 25px; */
    align-items: center;
    overflow: scroll;
}

.modal-footer {
    width: 100%;
    height: 50px;
    background-color: #E3B73F;
    display: flex;
    justify-content: center;
    align-items: center;
    position: absolute;
    font-family: 'Amatic SC';
    bottom: 0;
}

/* #fm_ec{
    display: flex;
} */

#fm_ec .contenu_modal{
    background-color: transparent;
    /* border: solid 1px #fff; */
    display: flex;
    flex-direction: column;
    position: relative;
    width: auto;
    height: 340px;
    padding: 0px 0px;
    justify-content: center;
    align-items: center;
    text-align: center;
}

#fm_ec .contenu_modal img{
    height: 350px;
}


/* @media screen and (max-width: 800px) {
    aside {
        display: none;
    }


    header > ul{
        display: none;
    }
    
} */

/* @media screen and (max-width: 390px) {
    header
} */

