body{
    margin: 0;
    padding: 0;
    font-family: Helvetica;
    color: #424242;
}





/* ----- Titres H et span général------------------------------------------------------------- */

h1{
    display: block;
    text-transform: uppercase;
    font-size: 2em;
    text-align: center;
}
.italic {
    font-style: italic;
    font-size: 0.9em;
}
.gras {
    font-weight: 600;
}
.img100 {
    width: 100%;
}








/* ----- Header ------------------------------------------------------------- */

header{
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    position: sticky;
    top: 0;
    left: 0;
    padding: 0 10vw;
    background-color: rgb(25,25,25);
    justify-content: space-between;
    vertical-align: top;
    text-align: center;
    z-index: 999;
    box-shadow: 0 0 25px rgb(0,0,0,0.5);
}
header nav{
    width: 40vw;
}
header nav ul{
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    text-align: center;
    height: 100%;
    width: 100%;
    margin: 0;
    padding: 0;
}
header img{
    height: 3em;
    margin: 0.5em 0 0 0;
}
header nav ul li {
    list-style: none;
}
header nav ul li a {
    display: block;
    text-decoration: none;
    color: white;
    line-height: 5em;
    text-transform: uppercase;
    padding: 0 auto;
    font-size: 0.8em;
    font-weight: 600;
    letter-spacing: 0.1em;
    border-right: 1px dashed rgb(50,50,50);
    background-color: rgb(25,25,25);
    transition-duration: 250ms;
    transition-property: letter-spacing, background-color;
}
header nav ul li:last-child a {
    border-right: none;
}
header nav ul li a:hover {
    background-color: rgb(50,50,50);
    letter-spacing: 0.4em;
    transition-duration: 250;
    transition-property: letter-spacing, background-color;
}









/* ----- Illustration et page d'accueil ------------------------------------------------------------- */

.illustration {
    display: flex;
    flex-direction: row-reverse;
    background-image: url("Présentation-takeshi-obata.png");
    background-size: cover;
    background-position: top center;
    padding: 3em 10vw;
    overflow: hidden;
}
.illustration h1 {
    text-align: left;
}
.illustration article, .castelvania article {
    background-color: rgb(255,255,255,0.9);
    border-radius: 5px;
    padding: 3em;
    flex-basis: 45vw;
    font-size: 1.1em;
}
.illustration img {
    display: none;
}
.biographie {
    background-color: rgb(240,240,240);
    padding: 2em 10vw;
}
.castelvania {
    background-image: url("castelvania-header.png");
    background-size: cover;
    background-position: top center;
    display: grid;
    grid-template-columns: 1fr 3fr;
    gap: 10vw;
    justify-content: space-between;
    padding: 5em 10vw;
}
.castelvania img {
    width: 100%;
    margin: auto 0;
}
.sectionDemi {
    background-color: rgb(35,35,35);
    display: grid;
    column-gap: 10em;
    grid-template-columns: 1fr 1fr;
    justify-content: space-between;
    padding: 3em 10vw;
    color: white;
}
.sectionDemi h1{
    grid-column: 1/3;
}
iframe{
    width: 100%;
    height: 300px;
}
.paragraphe {
    padding: 2em 10em;
}









/* ----- Section Manga ------------------------------------------------------------- */


.mangas{
    background: linear-gradient(-90deg,rgb(25,25,25),rgb(80,80,80),rgb(25,25,25));
    padding: 2em 10vw;
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    justify-content: space-between;
    gap: 1.5em;
}

.mangas div{
    width: 14vw;
    overflow: hidden;
    border-radius: 20px;
    border: 4px solid rgb(35,35,35);
    box-shadow: 0 0 50px rgb(0,0,0,0.2);
    flex-basis: 22%;
    flex-grow: 1;
    flex-shrink: 0;
    transition-duration: 250ms;
    transition-property: flex-grow, box-shadow, border;

}
.mangas div:hover {
    box-shadow: 0 0 70px 10px rgb(255,255,255,1);
    border: 4px solid white;
    flex-grow: 2;
    transition-duration: 250ms;
    transition-property: flex-grow, box shadow, border;
}
.mangas div a {
    text-decoration: none;
    position: relative;
    padding: 0;
    margin: 0;
}
.mangas div a h1 {
    text-decoration: none;
    position: absolute;
    width: 100%;
    left: 0;
    bottom: 0;
    color: #424242;
    font-size: 1.5em;
    line-height: 2em;
    background-color: white;
    z-index: 900;
    opacity: 0;
    margin:0;
    padding: 0;
    transition-duration: 250ms;
    transition-property: opacity;
}
.mangas div:hover a h1 {
    opacity: 1;
    transition-duration: 250ms;
    transition-property: opacity;
}
.mangas div a img {
    width: 100%;
    height: 100%;
}








/* ----- Description de chaque manga -----------------------------*/

.test {
    display:block;
    background-color: #1872D9;
}
.platinum_end {
    background-image: url("platinum-end-head.png");
    width: 80%;
    margin: 0;
    padding: 5% 10%;
    display: block;
    background-position: top center;
    background-repeat: no-repeat;
    background-clip: border-box;
}
.death_note{
    background-image: url("death-note-head.png");
    width: 80%;
    margin: 0;
    padding: 5% 10%;
    display: block;
    background-position: top center;
    background-repeat: no-repeat;
    background-clip: border-box;
}
.school-judgment{
    background-image: url("school-judgment-head.png");
    width: 80%;
    margin: 0;
    padding: 5% 10%;
    display: block;
    background-position: top center;
    background-repeat: no-repeat;
    background-clip: border-box;
}
.all_you_need_is_kill{
    background-image: url("all-you-need-is-kill-head.png");
    width: 80%;
    margin: 0;
    padding: 5% 10%;
    display: block;
    background-position: top center;
    background-repeat: no-repeat;
    background-clip: border-box;
}
.bakuman{
    background-image: url("bakuman-head.png");
    width: 80%;
    margin: 0;
    padding: 5% 10%;
    display: block;
    background-position: top center;
    background-repeat: no-repeat;
    background-clip: border-box;
}
.rkd_ek9{
    background-image: url("rkd_ek9-head.png");
    width: 80%;
    margin: 0;
    padding: 5% 10%;
    display: block;
    background-position: top center;
    background-repeat: no-repeat;
    background-clip: border-box;
}
.platinum_end h1, .death_note h1, .school-judgment h1,
.all_you_need_is_kill h1, .bakuman h1, .rkd_ek9 h1 {
    font-size: 5vw;
    font-weight: 900;
    color: white;
    text-shadow: 2px 2px 0 black,
    -2px -2px black,
    -2px 2px black,
    2px -2px black,
    2px 5px  5px rgb(0,0,0,0.5);
    text-align: right;
}
.manga_synop {
    background-color: rgb(25,25,25);
    padding: 2vw 10vw;
    margin: 0;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 2vw;
}
.manga_synop img {
    width: 100%;
}
.manga_synop p{
    color: white;
    padding: 2vw;
    margin: 0;
}
.manga_synop h2 {
    grid-column: 1 / 4;
    color: white;
    text-align: center;
    font-size: 2em;
    text-transform: uppercase;
}
.manga_perso {
    background-color: rgb(240,240,240);
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    justify-content: space-between;
    gap: 2vw;
    padding: 2em 10vw;
}
.manga_perso h2 {
    grid-column: 1 / 5;
    color: #424242;
    text-align: center;
    font-size: 2em;
    text-transform: uppercase;
}
.manga_perso div {
    background-color: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 0 50px rgb(0,0,0,0.2);
}
.manga_perso div h3, .manga_perso div h4 {
    font-size: 1.2em;
    line-height: 1.2em;
    text-align: center;
}
.manga_perso div p {
    padding: 0 10% 0% 10%;
}
.manga_perso div img {
    width: 100%;
}












/* ----- Contact ----------------------------------------------------*/

input[type=text], textarea, input[type=email] {
    width: 100%;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
    margin-top: 6px;
    margin-bottom: 16px;
    margin-right: 0px;
    margin-left: 0px;
    resize: vertical;
}
label{
    margin-right: 0px;
    margin-left: 0px;
    width: 100%;}
  
input[type=submit] {
    background-color: #1255a2;
    color: white;
    padding: 12px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}
  
input[type=submit]:hover {
    background-color: #1872D9;
}
  
.contact {
    box-sizing : border-box;
    width: 100%;
    background-color: rgb(240,240,240);
    padding: 2em 15vw;
}










/* ----- Foooter ------------------------------------------------------------- */

footer {
    background-color: rgb(25,25,25);
    text-align: center;
    padding: 2em 10vw;
    color: white;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    align-items: center;
}
footer ul {
    margin: 0;
    padding: 0;
}
footer ul li {
    list-style: none;
}
footer ul li a {
    text-decoration: none;
    text-align: left;
    color: white;
    display: block;
    padding: 0.5em 0;
    width: 60%;
    background-color: rgb(25,25,25);
    transition-duration: 250ms;
    transition-property: backgroud-color, padding;
}
footer ul li a:hover {
    background-color: rgb(50,50,50);
    padding: 0.5em 0 0.5em 1em;
    transition-duration: 250ms;
    transition-property: backgroud-color, padding;
}
footer p {
    grid-column: 1/5;
}
.signature img {
    max-width: 250px;
    min-width: 150px;
}
.sociaux img{
    width: 50px;
    padding: 0 1em;
}
.sociaux a{
    text-decoration: none;
}








/* ----- Version Mobile ------------------------------------------------------------- */

@media screen and (max-width: 1250px) and (orientation: portrait){
    header {
        flex-direction: column;
        padding: 0;
        border-bottom: 3px solid #d00000;
    }
    header nav ul li a {
        border-right: none;
    }
    header nav {
        width: 100%;
    }
    header img{
        height: 4em;
        margin: auto;
    }
    .illustration{
        flex-direction: column;
        background-image: none;
        padding: 0;
    }
    .illustration img{
        display: block;
        width: 200%;
    }
    .illustration article{
        border-radius: 0;
        background-color: white;
        flex-basis: content;
        padding: 2em 4em;
    }
    .castelvania, footer, .sectionDemi, .manga_perso, .manga_synop {
        grid-template-columns: 1fr;
    }
    .manga_perso h2, .manga_synop h2 {
        grid-column: 1;
    }
    .mangas div{
        flex-basis: 45%;
    }
    .platinum_end h1, .death_note h1, .school-judgment h1,
    .all_you_need_is_kill h1, .bakuman h1, .rkd_ek9 h1 {
        font-size: 8vw;
        font-weight: 900;
        text-align: center;
    }
    footer div{
        margin: 1em 0;
    }
    footer p {
        grid-column: 1;
    }
    footer ul li a{
        text-align: center;
        width: 100%;
    }
}