@font-face {
    font-family: "Peignot";
    src: url("fonts/Peignot.ttf") format("truetype");
}
@font-face {
    font-family: "Cavalier";
    src: url("fonts/Cavalier.ttf") format("truetype");
}

/*Couleurs*/
:root {
    --blanc: white;
    --bleu: rgb(27, 29, 61);
    --bleu-clair: rgb(62, 132, 223);
    --lightgrey: rgb(235, 235, 235);
    --noir: black;
}

/*Corps*/
* {
    margin: 0;
    padding: 0;
}
body {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: 100vh;
    width: 100%;
    font-family:Verdana, Geneva, Tahoma, sans-serif;
    line-height: 1.5rem;
    background-color: var(--blanc);
}
main {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    height: auto;
    flex: 1;
    position: relative;
    top: -1vh;
}
.line {
    width: 80%;
    height: auto;
    margin-bottom: 1rem;
}

/*Header*/
header {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 15vh;
    /*background-color: var(--bleu);*/
    background: linear-gradient(45deg,rgba(12, 16, 36, 1) 0%, rgba(27, 35, 74, 1) 100%);
    border: 1px solid var(--bleu);
    color: var(--blanc);
    z-index: 5;
}
.title {
    font-family: "Peignot";
    font-size: calc(1.5rem + 2vw);
}
header a, header a:visited, header a:link {
    text-decoration: none;
    color: var(--blanc);
}

/*Footer*/
footer {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: auto;
    min-height: 15vh;
    background-color: var(--bleu);
    color: var(--blanc);
    margin-top: 2rem;
}
/*
.footer-links {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-evenly;
    width: 50%;
    height: 10vh;
}
.footer-links a {
    font-size: 4vw;
    color: var(--blanc);
    text-align: center;
    margin-top: .5rem;
    cursor: pointer;
    text-decoration: none;
}
.footer-icons {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-evenly;
    width: 50%;
    height: 10vh;
}
.footer-icons .icon {
    font-size: 8vw;
    color: var(--blanc);
    text-align: center;
}
*/
footer a {
    font-size: 4vw;
    color: var(--blanc);
    text-align: center;
    margin-top: .5rem;
    margin-left: .5rem;
    margin-right: .5rem;
    cursor: pointer;
    text-decoration: none;
}
footer .icon {
    font-size: 5vw;
}

/*Navigation*/
.navigation {
    width: 100%;
    height: auto;
    background-color: var(--blanc);
}
nav {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: absolute;
    top: 22vh;
    left: 0;
    width: 100%;
    height: auto;
    background-color: var(--blanc);
    border: 1px solid var(--blanc);
    transition: all .5s ease-in-out;
    z-index: 2;

}
nav a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 10vh;
    font-family: "Peignot";
    font-size: 8vw;
    color: var(--noir);
    text-decoration: none;
    cursor: pointer;
}
.checknav {
    width: 100;
    height: 7vh;
    z-index: 6;
    opacity: 0;
    position: relative;
    top: 0;
}
.checkmenu {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: 15vh;
    left: 0;
    width: 100%;
    height: 7vh;
    background-color: var(--blanc);
    font-size: calc(.8em + 2vw);
    color: var(--noir);
    z-index: 5;
}
.lines {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-evenly;
    left: 0;
    width: 10vw;
    height: 6vh;
}
.line1, .line2, .line3 {
    width: 10vw;
    height: .3vh;
    background-color: var(--bleu);
    border: 0.1vh solid var(--bleu);
    border-radius: 1.5vh;
    transition: all .5s ease-in-out;
}
.checknav:not(:checked) ~ nav {
    transform: translateY(-50vh);
    transition: all .5s ease-in-out;
}
.checknav:checked ~ nav {
    transform: translateY(0);
    transition: all .5s ease-in-out;
}
.checknav:checked ~ .checkmenu .lines .line1 {
    transform: translateX(3vw);
    transition: all .3s ease-in-out;
}
.checknav:checked ~ .checkmenu .lines .line3 {
    transform: translateX(-3vw);
    transition: all .3s ease-in-out;
}

/*Titres*/
h1 {
    font-family: "Cavalier";
    font-size: 2rem;
    letter-spacing: .2rem;
    color: var(--bleu-clair);
}
h2 {
    font-family: "Cavalier";
    font-size: 1.5rem;
    letter-spacing: .2rem;
}
main h1 {
    margin-top: 2rem;
    margin-bottom: 2rem;
}


/*Nouveauté*/
.nouveaute {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    height: auto;
    padding-top: 5vh;
    padding-bottom: 5vh;
    background-image: url("images/tome1-fond.jpg");
    background-position: center;
    background-repeat: none;
    background-size: cover;
    margin-bottom: 5vh;
}
.nouveaute > div {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}
.nouveaute-texte, .nouveaute-image {
    display: flex;
    flex-direction: column;
    width: 80%;
    height: auto;
    color: var(--blanc);
}
.nouveaute-image img {
    width: 100%;
    height: auto;
}
.nouveaute-texte {
    background-color: rgba(0, 0, 0, 0.5);
    padding: 2rem;
}
.nouveaute-texte p {
    line-height: 1.5rem;
}
.nouveaute-titre {
    color: var(--noir)
}

/*Sections*/
section {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 80vw;
    height: auto;
}

/*Sections de l'accueil*/
.section-terre2 {
    position: relative;
    width: 100%;
    min-height: 3rem;
    background-color: var(--blanc);
    color: var(--bleu);
    padding-top: 2rem;
}
.section-terre2 a, .section-terre2 a:link, .section-terre2 a:visited {
    text-decoration: none;
    color: var(--blanc);
}

/*Accueil - Série Terre 2*/
/*
.title-serieterre2 {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 3rem;
    position: absolute;
    top: 0;
    transition: all .2s ease-in-out;
}
.check-terre2 {
    width: 100%;
    height: 3rem;
    z-index: 2;
    position: absolute;
    top: 0;
    opacity: 0.2;
}
.check-terre2:checked ~ div {
    display: block;
}
.check-terre2:not(:checked) ~ div {
    display: none;
}
.check-terre2:hover {
    cursor: pointer;
}
.check-terre2:hover + .title-serieterre2 {
    transform: scale(0.9);
    transition: all .2s ease-in-out;
}
.terre2-tomes {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-evenly;
    flex-wrap: wrap;
    width: 90%;
    height: auto;
    margin: 1rem;
    padding: 1rem;
}
*/

/*Terre 2*/
.main {
    padding-top: 2rem;
}
.terre2-serie {
    display: flex;
    flex-direction: column;
    align-items: center;
}
.terre2-univers {
    background-color: var(--blanc);
    margin-bottom: 1rem;
}
.terre2-tome {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    height: auto;
    margin-top: 1rem;
}
.image-tome {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 80%;
}
.image-tome img {
    width: 60vw;
    height: auto;
}
.texte-tome {
    display: flex;
    flex-direction: column;
}
.terre2-univers a,
.terre2-univers a:link,
.terre2-univers a:visited,
.terre2-univers a:active {
    text-decoration: none;
    color: var(--noir);
    font-style: italic;
    transition : .2s ease-in-out;
}
.terre2-univers a:hover {
    color: rgb(255, 124, 63);
    cursor: pointer;
    transition : .2s ease-in-out;
}

/*Boutons*/
.btn-black, .btn-white {
    width: 50vw;
    height: auto;
    padding: 1rem;
    box-shadow: rgba(0, 0, 0, 0.5) 0 0 5px;
    border: 1px solid var(--lightgrey);
    margin-top: 1rem;
    position: relative;
    transition : .2s ease-in-out;
    cursor: pointer;
    text-transform: uppercase;
}
.btn-black {
    background-color: rgba(0, 0, 0, 0.5);
    color: var(--blanc);
}
.btn-white {
    background-color: var(--blanc);
    color: var(--noir);
}
.btn-black:hover, .btn-white:hover {
    transform: scale(0.95);
    transition : .2s ease-in-out;
    box-shadow: rgba(0, 0, 0, 0.5) 0 0 10px;
}


/*Bio*/
.main-bio {
    padding-top: 2rem;
    padding-bottom: 2rem;
}
.bio {
    width: 80%;
}

@media screen and (min-width: 768px) {
    section {
        width: 60vw;
    }
    .nouveaute > div {
        flex-direction: row;
        justify-content: space-evenly;
        width: 100%;
    }
    .nouveaute-image, .nouveaute-texte {
        width: 40vw;
    }
    .image-tome img {
        width: 15vw;
    }
    .btn-black, .btn-white {
        width: 30vw;
    }
    .line {
        width: 60%;
    }
    .checknav, .checkmenu {
        display: none;
    }
    nav {
        flex-direction: row;
        align-items: center;
        justify-content: center;
        position: relative;
        top: 50vh;
        width: 100%;
        height: 6vh;
        background-color: none;
        border: none;
        cursor: pointer;
        /*
        border-top: 1px solid var(--noir);
        border-bottom: 1px solid var(--noir);
        margin-bottom: 2vh;
        */
    }
    nav a {
        width: 12vw;
        height: 5vh;
        font-size: 1.2rem;
        position: relative;
        font-size: 3vw;
    }
    nav a:hover {
        color: var(--bleu-clair);
    }
    nav a:before {
        content: "";
        position: absolute;
        width: 0;
        height: 1px;
        bottom: 0;
        left: 0;
        background-color: var(--bleu-clair);
        transition: width 0.3s ease-in-out;
    }
    nav a:hover:before {
        width: 100%;
    }
    footer {
        flex-direction: row;
    }
    .footer-links {
        flex-direction: row;
    }
    .footer-links a {
        font-size: 3vw;
    }
    .footer-icons .icon {
        font-size: 6vw;
    }
    footer a {
        font-size: 2vw;
        margin-left: 1vw;
        margin-right: 1vw;
    }
    footer .icon {
        font-size: 4vw;
    }
}

@media screen and (min-width: 1280px) {
    section {
        width: 50vw;
    }
    .nouveaute > div {
        width: 80%;
    }
    .nouveaute-image, .nouveaute-texte {
        width: 30vw;
    }
    .image-tome img {
        width: 15vw;
    }
    .btn-black, .btn-white {
        width: 20vw;
    }
    .line {
        width: 60%;
    }
    nav a {
        font-size: 2vw;
    }
    .footer-links, .footer-icons {
        width: 20%;
    }
    .footer-links a {
        font-size: 1vw;
    }
    .footer-icons .icon {
        font-size: 3vw;
    }
    footer a {
        font-size: 1vw;
        margin-left: 2vw;
        margin-right: 2vw;
    }
    footer .icon {
        font-size: 2vw;
    }
}

@media screen and (min-width: 1600px) {
    section {
        width: 40vw;
    }
    .nouveaute > div {
        width: 60%;
    }
    .nouveaute-image, .nouveaute-texte {
        width: 20vw;
    }
    .image-tome img {
        width: 12vw;
    }
    .btn-black, .btn-white {
        width: 10vw;
    }
    nav a {
        font-size: 1.5vw;
    }
    .footer-links a {
        font-size: .7vw;
    }
    .footer-icons .icon {
        font-size: 1.5vw;
    }
    footer a {
        font-size: .7vw;
        margin-left: 2vw;
        margin-right: 2vw;
    }
    footer .icon {
        font-size: 1.5vw;
    }
}