* {
    box-sizing: border-box;
}

html, body {
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
}

body {
    display: flex;
    flex-wrap: wrap;
    padding: 30px 10px;
    font-family: 'DM Sans', sans-serif;
    overflow-x: hidden;
}

.bg {
    background-image: url(../images/header/LogoBFG40.jpg);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    background-attachment: fixed;
    opacity: 100%;
}

input[type=radio] {
    display: none;
}

.card {
    position: absolute;
    width: 60%;
    height: 100%;
    left: 0;
    right: 0;
    margin: auto;
    transition: transform .4s ease;
    cursor: pointer;
    display: none;
}

.container {
    width: 100%;
    height: 60%;
    transform-style: preserve-3d;
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
}

.cards {
    position: relative;
    width: 100%;
    height: 100%;
}

img {
    width: 100%;
    height: 100%;
    border-radius: 10px;
    object-fit: cover;
}

#item-1:checked ~ .cards #song-11,
#item-2:checked ~ .cards #song-1,
#item-3:checked ~ .cards #song-2,
#item-4:checked ~ .cards #song-3,
#item-5:checked ~ .cards #song-4,
#item-6:checked ~ .cards #song-5,
#item-7:checked ~ .cards #song-6,
#item-8:checked ~ .cards #song-7,
#item-9:checked ~ .cards #song-8,
#item-10:checked ~ .cards #song-9,
#item-11:checked ~ .cards #song-10 {
    transform: translatex(-40%) scale(0.8);
    opacity: 0.4;
    z-index: 0;
    display: block;
}

#item-1:checked ~ .cards #song-2, 
#item-2:checked ~ .cards #song-3, 
#item-3:checked ~ .cards #song-4,
#item-4:checked ~ .cards #song-5, 
#item-5:checked ~ .cards #song-6, 
#item-6:checked ~ .cards #song-7,
#item-7:checked ~ .cards #song-8, 
#item-8:checked ~ .cards #song-9, 
#item-9:checked ~ .cards #song-10,
#item-10:checked ~ .cards #song-11,
#item-11:checked ~ .cards #song-1 {
    transform: translatex(40%) scale(0.8);
    opacity: 0.4;
    z-index: 0;
    display: block;
}

#item-1:checked ~ .cards #song-1,
#item-2:checked ~ .cards #song-2,
#item-3:checked ~ .cards #song-3,
#item-4:checked ~ .cards #song-4,
#item-5:checked ~ .cards #song-5,
#item-6:checked ~ .cards #song-6,
#item-7:checked ~ .cards #song-7,
#item-8:checked ~ .cards #song-8,
#item-9:checked ~ .cards #song-9,
#item-10:checked ~ .cards #song-10,
#item-11:checked ~ .cards #song-11 {
    transform: translatex(0) scale(1);
    opacity: 1;
    z-index: 1;
    display: block;
    img {
        box-shadow: 0px 0px 5px 0px rgba(81, 81, 81, 0.47);
    }
}

.link-container {
    border-radius: 8px;
    min-width: 100vw;
    text-align: center;
}

.content {
    position: relative;
    display: flex;
    align-items: center;
    height: 50px;
    overflow: hidden;
}

.info-container {
    width: 100%;
    position: absolute;
    top: 0;
}

.info {
    width: 100%;
    display: block;
}

.info .link {
    color: #403d40;
    font-size: 25px;
    line-height: 50px;
}

#item-2:checked ~ .link-container #test {
    transform: translateY(0);
}

#item-2:checked ~ .link-container #test {
    transform: translateY(-50px);
}

#item-3:checked ~ .link-container #test {
    transform: translateY(-100px);
}

#item-4:checked ~ .link-container #test {
    transform: translateY(-150px);
}

#item-5:checked ~ .link-container #test {
    transform: translateY(-200px);
}

#item-6:checked ~ .link-container #test {
    transform: translateY(-250px);
}

#item-7:checked ~ .link-container #test {
    transform: translateY(-300px);
}

#item-8:checked ~ .link-container #test {
    transform: translateY(-350px);
}

#item-9:checked ~ .link-container #test {
    transform: translateY(-400px);
}

#item-10:checked ~ .link-container #test {
    transform: translateY(-450px);
}

#item-11:checked ~ .link-container #test {
    transform: translateY(-500px);
}

.dot-container {
    border-radius: 8px;
    min-width: 10vw;
    min-height: 1vh;
    text-align: center;
}

.dot {
    cursor: pointer;
    height: 15px;
    width: 15px;
    margin: 0 2px;
    background-color: #808080;
    border-radius: 50%;
    display: inline-block;
    transition: background-color 0.6s ease;
}

.dot:hover {
    background-color: #424242;
}

main {
    width: 100%;
    height: max-content;
    h1 {
        font-size: 50px;
        text-align: center;
    }
    h2 {
        font-size: 40px;
        text-align: center;
    }
    h3 {
        text-align: left;
        padding-top: 30px;
        margin-left: 5vw;
    }
    img {
        height: 100%;
        width: 80vw;
        padding: 5vw 10vw 0vw 10vw;
        box-sizing: content-box;
    }
    div {
        display: flex;
        margin: 0vw 5vw;
        section {
            display: flex;
            flex-direction: column;
            flex-wrap: wrap;
            width: 100vw;
            justify-content: center;
            h3 {
                font-size: 20px;
                padding-top: 0px;
                margin: 0vw;
            }
            p {
                font-size: 20px
            }
        }
        form {
            display: flex;
            flex-direction: column;
            margin: 0vw 10vw;
            width: 35vw;
            input {
                height: 5vh;
            }
            .form-control {
                width: 100%;
                margin: 1vw;
            }
        }
        img{
            height: 100%;
            width: 30vw;
            padding: 0;
        }
    }
}

.m-droite {
    margin-left: auto;
}

.m-gauche {
    margin-right: auto;
}

.taille15 {
    width: 15vw;
}

.taille20 {
    width: 20vw;
}

.taille30 {
    width: 30vw;
}

footer {
    width: 100%;
    height: 10%;
    display: flex;
    justify-content: space-around;
    padding: 5vh;
}

@media only screen and (max-width: 300px) {
    .text {font-size: 11px}
}

/* Sidenav menu */
.sidenav {
    height: 100%;
    width: 250px;
    position: fixed;
    z-index: 1;
    top: 0;
    left: -250px;
    background-color: #e8e8e8;
    padding-top: 60px;
    transition: left 0.5s ease;
}

/* Sidenav menu links */
.sidenav a {
    padding: 8px 8px 8px 32px;
    text-decoration: none;
    font-size: 25px;
    color: #818181;
    display: block;
    transition: 0.3s;
}

.sidenav a:hover {
    color: #111;
}

.sidenav ul {
    list-style-type: none;
    padding: 0;
    margin: 0;
}

/* Active class */
.sidenav.active {
    left: 0;
}

/* Close btn */
.sidenav .close {
    position: absolute;
    top: 0;
    right: 25px;
    font-size: 36px;
}

/* Icône burger */
.burger-icon span {
    display: block;
    width: 35px;
    height: 5px;
    background-color: black;
    margin: 6px 0;
}