body
{
    background-color: #EEE6D8;
    font-family: 'EB Garamond', serif;
}

div.wrapper
{
    width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: row;
}

/***************************************header**********************************/

header
{
    margin-bottom: 100px;
    filter: drop-shadow(5px 2px 5px #A3A3A3);
}

header div
{
    background-color: #A7001E;
    height: 100%;
    clip-path: polygon(0 0, 100% 0, 100% 100%, 50% calc(100% - 150px), 0 100%);
}


header a {
    text-decoration: none;
}

header a h1
{
    font-family: 'Allura', cursive;
    font-weight: 400;
    font-size: 70px;
    padding: 20px;
    margin-bottom: 50px;
    text-align: center;
    color: black;
}

header nav ul
{
    list-style: square;
    padding-left: 40px;
}

header nav ul li
{
    text-align:left;
    padding-bottom: 15px;
    font-size: 25px;
}

header nav ul li a
{
    color: black;
    text-decoration: none;
}

/*********************************************************************** ACCUEIL ***/

section
{
    flex: 3;
}

section div.partie
{
    display: flex;
    margin-left: 10px;
}

section div.partie:nth-child(even)
{
    flex-direction: row;
}

section div.partie:nth-child(odd)
{
    flex-direction: row-reverse;
}

section div.partie img
{
    width: 40%;
    padding: 20px;
}

section div.partie div
{
    padding: 20px;
    
}

section div.partie div h2
{
    font-size: 25px;
    border-bottom: 1px solid #A7001E;
    margin-bottom: 10px;
}

section div.partie div p
{
    margin-bottom:15px;
    text-align: justify;
    font-size: 18px;
}

section div.partie div p.bouton
{
    padding: 15px;
    background-color: #A7001E;
    text-align: center;
    border-radius: 5px;
}

section div.partie div p.bouton a
{
    font-size: 16px;
    color: white;
    font-weight: 600;
    text-decoration: none;
}

/*********************************************************************** CHAPITRES ***/

section#intranet div.enveloppes
{
    display: flex;
    flex-direction: row;
    justify-content: space-around;   
}

section#intranet div.enveloppe
{
    position: relative;
    width: 250px;
    height: 250px;
}

section#intranet div.enveloppe div.back
{
    width: 100%;
    height: 100%;
    z-index: 0;
    background-color: #A7001E;
}

section#intranet div.enveloppe div.letter
{
    position: absolute;
    top: 10px;
    bottom: 10px;
    right: 10px;
    left: 10px;
    background-color: white;
}

section#intranet div.enveloppe div.letter.int
{
    z-index: 10;
}

section#intranet div.enveloppe div.letter.ext
{
    z-index: 30;
}

section#intranet div.enveloppe div.letter:hover
{
    top:-10px;
    bottom:30px;
}

section#intranet div.enveloppe div.front
{
    position: absolute;
    bottom: 0;
    top: 20px;
    right: 0;
    left: 0;
    z-index: 20;
    clip-path: polygon(0 0, 50% calc(100% - 150px), 100% 0, 100% 100%, 0 100%);
    background-color: #d16b7e;
}

section#intranet div.enveloppe div.letter h2
{
    font-size: 25px;
    text-align: center;
    margin-bottom: 15px;
}

section#intranet div.enveloppe div.letter input, section#intranet div.enveloppe div.letter select
{
    border: none;
    background-color: transparent;
}

/*********************************************************************** VERNISSAGE ***/

section div.artiste h2
{
    font-size: 25px;
    border-bottom: 1px solid #A7001E;
    margin-bottom: 10px;
}

section div.artiste p, section div.artiste ul li
{
    text-align: justify;
    font-size: 18px;
}