body {
    width: 100%;
    height: 100%;
    margin: 0;
    background-color: #FFFFFC;
    font-family: 'Adelphe';
    cursor: default;
}

header {
    width: 100%;
    margin: auto;
    max-height: 600px;
}

#home {
    width: 15%;
    margin: 28px;
}

div {
    margin-bottom: 0;
}

.card {
    width: 290px;
    height: 440px;
    border-radius: 20px;
    display: flex;
    justify-content: center;
    margin: 0 auto;
}

.front {
    border-radius: 20px;
    border: 3px solid black;
    background-color: #ffffff;
    opacity: 0.8;
    background-image: url("../img/001.png");
}

.back {
    border-radius: 20px;
    border: 5px solid black;
    background-color: #ffffff;
    opacity: 0.8;
}

.transition {
    margin: 20px 25px 13px 25px;
}

.textcarte {
    opacity: 0;
    transition: opacity 10s;
}

span {
    font-weight: 700;
    text-transform: uppercase;
    color: rgba(0, 128, 128, 0.74);
}

p {
    margin: 0px 0px 10px 0px;
    font-family: 'Adelphe';
    line-height: 19px;
    font-size: 13.5px;
    font-weight: 400;
    text-align: justify;
    hyphens: auto;
}

.sb {
    font-family: 'Adelphe';
    font-style: normal;
    font-weight: 700;
    text-transform: none;
    color: black;
}

audio {
    margin: 50px auto;
    display: flex;
    justify-content: center;
    width: 280px;
}

audio::-webkit-media-controls-panel {
    background-color: rgba(0, 128, 128, 0.50);
}

.previous,
.next {
    height: fit-content;
    width: fit-content;
    background-color: #FFFFFC;
    border: none;
    position: absolute;
    top: 302px;
}

.previous a,
.next a {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 45px;
    text-decoration: none;
    color: black;
    background-color: #FFFFFC;
}

.previous {
    left: 520px;
}

.next {
    right: 505px;
}


/* CARTES */

#botw2 {
    background-image: url("../img/002.png");
    background-position: center;
    background-size: 290px 440px;
}

#tracer {
    background-image: url("../img/003.png");
    background-position: center;
    background-size: 290px 440px;
}

#red-gold {
    background-image: url("../img/004.png");
    background-position: center;
    background-size: 290px 440px;
}

#gunnm {
    background-image: url("../img/005.png");
    background-position: center;
    background-size: 290px 440px;
}

#shikamaru {
    background-image: url("../img/006.png");
    background-position: center;
    background-size: 290px 440px;
}

#sophie {
    background-image: url("../img/007.png");
    background-position: center;
    background-size: 290px 440px;
}

#red {
    background-image: url("../img/008.png");
    background-position: center;
    background-size: 290px 440px;
}

#samus {
    background-image: url("../img/009.png");
    background-position: center;
    background-size: 290px 440px;
}

#botw1 {
    background-image: url("../img/010.png");
    background-position: center;
    background-size: 290px 440px;
}

#venom {
    background-image: url("../img/011.png");
    background-position: center;
    background-size: 290px 440px;
}

#logan {
    background-image: url("../img/012.png");
    background-position: center;
    background-size: 290px 440px;
}

#mando {
    background-image: url("../img/013.png");
    background-position: center;
    background-size: 290px 440px;
}

#miles {
    background-image: url("../img/014.png");
    background-position: center;
    background-size: 290px 440px;
}

#black-cat {
    background-image: url("../img/015.png");
    background-position: center;
    background-size: 290px 440px;
}

#batman {
    background-image: url("../img/016.png");
    background-position: center;
    background-size: 290px 440px;
}

#joker {
    background-image: url("../img/017.png");
    background-position: center;
    background-size: 290px 440px;
}

#spidey {
    background-image: url("../img/018.png");
    background-position: center;
    background-size: 290px 440px;
}

#mikasa {
    background-image: url("../img/019.png");
    background-position: center;
    background-size: 290px 440px;
}

#hinata {
    background-image: url("../img/020.png");
    background-position: center;
    background-size: 290px 440px;
}

#tpnl {
    background-image: url("../img/021.png");
    background-position: center;
    background-size: 290px 440px;
}

#eren {
    background-image: url("../img/022.png");
    background-position: center;
    background-size: 290px 440px;
}

#link {
    background-image: url("../img/023.png");
    background-position: center;
    background-size: 290px 440px;
}

#ivy {
    background-image: url("../img/024.png");
    background-position: center;
    background-size: 290px 440px;
}

@media only screen and (max-width: 767px) {
    body {
        width: fit-content;
        height: 100%;
        margin: 0;
        background-color: #FFFFFC;
        font-family: 'Adelphe';
        cursor: default;
    }
    header {
        width: 100%;
        margin: auto;
        max-height: 600px;
    }
    #home {
        width: 35%;
        margin: 15 auto 0;
        display: flex;
        justify-content: center;
    }
    div {
        margin-bottom: 0;
    }
    .card {
        display: flex;
        justify-content: center;
        margin: 30px auto;
        width: 200px;
        height: 300px;
        border-radius: 20px;
    }
    .front {
        border-radius: 20px;
        border: 2.5px solid black;
        background-color: #ffffff;
        opacity: 0.8;
        background-image: url("../img/001.png");
        background-size: 200px 300px;
    }
    .back {
        border-radius: 20px;
        border: 2.5px solid black;
        background-color: #ffffff;
        opacity: 0.8;
        padding: 12px;
    }
    .textcarte {
        opacity: 0;
        transition: all 10s;
    }
    .transition {
        margin: 0px;
    }
    span {
        font-weight: 700;
        text-transform: uppercase;
        color: rgba(0, 128, 128, 0.74);
    }
    p {
        margin-top: 3px;
        font-family: 'Adelphe';
        line-height: 14px;
        font-size: 10px;
        font-weight: 400;
    }
    .sb {
        font-family: 'Adelphe';
        font-style: normal;
        font-weight: 700;
        text-transform: none;
        color: black;
    }
    audio {
        position: absolute;
        left: 20%;
        width: 60%;
        margin-top: 50px;
    }
    audio::-webkit-media-controls-panel {
        background-color: rgba(0, 128, 128, 0.50);
    }
    .previous,
    .next {
        height: fit-content;
        width: fit-content;
        background-color: #FFFFFC;
        border: none;
        position: absolute;
        top: 220px;
    }
    .previous a,
    .next a {
        font-family: Arial, Helvetica, sans-serif;
        font-size: 25px;
        text-decoration: none;
        color: black;
        background-color: #FFFFFC;
    }
    .previous {
        left: 30px;
    }
    .next {
        right: 30px;
    }
}