body {
    margin: 0;
    padding: 0;
    font-family: Mont, sans-serif;
    position: relative;
}

header {
    background-color: #242628; 
    color: #fff; 
    padding: 10px 20px;
}

.nav {
    display: flex;
    justify-content: space-between; 
    align-items: center;
    text-transform: uppercase;
}

.divheader {
    display: flex;
    align-items: center;
    gap: 10px;
}

.imgheader {
    height: 50px; 
    width: auto; 
}

.nav p {
    font-size: 18px;
    font-weight: bold;
    margin: 0;
}

.menu a {
    text-decoration: none; 
    color: #fff; 
    font-size: 16px;
    margin: 0 15px; 
    transition: color 0.3s; 
}

.menu a:hover {
    color: #f39c12; 
}

.Logo {
    min-width: 60px;
}

/* Page d'ACCUEIL */
.titre {
    color: #242628;
    position: absolute;
    top: 200px; 
    left: 50%;  
    transform: translateX(-50%); 
    text-transform: uppercase;
    text-align: center;
    font-size: 100px;
}

.head{
    position: relative;
    background-image: url('../img/for-zero-bg.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment:fixed;
    height: 800px;
}


/* LOADER / Page de chargement */
.loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #242628;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.loader .wheel {
    height: 70%;
    animation: rolling 0.5s linear infinite;
}

@keyframes rolling {
    to {
      transform: rotate(360deg);
    }
}


/* Les cartes */
.gridcard2 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(5, 1fr);
    grid-gap: 10rem;
    margin: 0 100px;
    justify-content: center; 
    align-items: center; 
    min-height: auto;
    padding: 100px 0;
}

.card2 {
    perspective: 1000px;
}

.cardcontent {
    position: relative;
    width: 350px;
    height: 350px;
    transform-style: preserve-3d;
    transform-origin: center;
    transition: transform 0.6s ease-in-out;
}

.card2:hover .cardcontent {
    transform: rotateY(180deg);
}

.cardavant, .cardarriere {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.cardavant {
    background-color: #f39c12;
}

.cardavant img {
    max-width: 100%;
    border-radius: 20px;
}

.titreablbum {
    position: absolute;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
    width: 100%;
    border-radius: 0 0 20px 20px;
}

.titreablbum h1 {
    color: white;
}

.cardarriere {
    background-size: cover;
    background-position: center; 
    transform: rotateY(180deg);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.fond1 {
    background-image: 
    linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), 
    url('../img/From\ Zero.png');
}
.fond2 {
    background-image: 
    linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), 
    url('../img/Papercuts.png');
}
.fond3 {
    background-image: 
    linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), 
    url('../img/Lost\ demos.png');
}
.fond4 {
    background-image: 
    linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), 
    url('../img/Meteora\ \(20th\ Anniversary\ Edition\).png');
}
.fond5 {
    background-image: 
    linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), 
    url('../img/Hybrid\ Theory\ \(20th\ Anniversary\ Edition\).png');
}
.fond6 {
    background-image: 
    linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), 
    url('../img/One\ More\ Light.png');
}
.fond7 {
    background-image: 
    linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), 
    url('../img/The\ Hunting\ Party.png');
}
.fond8 {
    background-image: 
    linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), 
    url('../img/Recharger.png');
}
.fond9 {
    background-image: 
    linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), 
    url('../img/Living\ Things.png');
}
.fond10 {
    background-image: 
    linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), 
    url('../img/A\ Thousand\ Suns.png');
}
.fond11 {
    background-image: 
    linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), 
    url('../img/Minutes\ to\ Midnigth.png');
}
.fond12 {
    background-image: 
    linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), 
    url('../img/Meteora.png');
}
.fond13 {
    background-image: 
    linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), 
    url('../img/Reanimation.png');
}
.fond14 {
    background-image: 
    linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), 
    url('../img/hybrid\ theory.jpg');
}

.cardarriere-content {
    max-height: 100%;
    overflow-y: auto;
    width: 100%;
    position: relative;
}

.cardarriere-content div {
    display: flex;
    margin-left: 10px;
    color: white;
    display: grid;
    grid-template-columns: 1fr 3fr 1fr;
    grid-template-rows: 1fr;
}

.cardarriere-content div > p:nth-of-type(2) {
    text-align: left;
}


.cardarriere-content {
    overflow-y: scroll;
    margin-top: 40px;
    margin-bottom: 40px;
    padding-right: 20px;
    margin-right: 20px;
    box-sizing: border-box;
}

.cardarriere-content::-webkit-scrollbar {
    width: 12px;
}

.cardarriere-content::-webkit-scrollbar-track {
    background: #ffffff;
    border-radius: 200px;
}

.cardarriere-content::-webkit-scrollbar-thumb {
    background: #d830b7;
    border-radius: 200px;
    border: 3px solid #ffffff;
}

.cardarriere-content::-webkit-scrollbar-thumb:hover {
    background: #d830b7;
}


.albums {
    background-image: 
    linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)), 
    url('../img/fond2.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment:fixed;
}

.albums h1 {
    text-align: center;
    font-size: 300%;
    text-transform: uppercase;
    color: white;
    padding-top: 20px;
    padding-bottom: 20px;
    margin: 0;
    
}


/* Bas de page */

#vinyle-section {
    position: relative;
    height: 100vh;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}

.vinyle-container {
    position: relative;
    width: 500px;
    height: 500px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.vinyle {
    width: 100%;
    height: auto;
    border-radius: 50%;
    box-shadow: 0 0px 100px rgb(57, 60, 63);
    transition: transform 0.1s linear; 
}


/* Caractéristiques défilantes */
.features {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    pointer-events: none;
}

.feature {
    font-size: 1.5rem;
    color: white;
    opacity: 0;
    transform: translateY(50px);
    transition: transform 0.3s ease, opacity 0.3s ease;
}



/* membres */

.membres {
    background-image: url('../img/fondmembres.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment:fixed;
}

.membres h1 {
    text-align: center;
    font-size: 300%;
    text-transform: uppercase;
    color: white;
    padding-top: 20px;
    padding-bottom: 20px;
    margin: 0;
}

.membre img {
    width: 100%;
    height: 100%;
    border-radius: 20px;

}

.gridmembres {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(2, 1fr);
    grid-gap: 80px;
    margin: 0 10%;
    text-align: center;
}

/* membre  */




.membreavant, .membrearriere {
    position: absolute;
    width: 100%;
    height: 550px;
    backface-visibility: hidden;

}


.membreavant img {
    max-width: 100%;
    height: 100%;


}


.membrearriere {
    position: relative;
    overflow: hidden;
    width: 100%; 
    height: 100%; 
}

.membrearriere video {
    position: absolute;
    top: 0;
    left: 0;
    /* transform: translate(-50%, -50%); */
    min-width: 100%;
    min-height: 100%;
    z-index: -1;
    object-fit: cover; 
    border-radius: 25px;
}

.membrearriere {
    background-size: cover;
    background-position: center; 
    transform: rotateY(180deg);
    overflow: hidden;
    display: flex;
    flex-direction: column;

}

.membrearriere-content {
    position: relative; 
    z-index: 1; 
}

.membrecontent {
    position: relative;
    width: 350px;
    height: 550px;
    transform-style: preserve-3d;
    transform-origin: center;
    transition: transform 0.6s ease-in-out;
}

.membre2:hover .membrecontent {
    transform: rotateY(180deg);
}

.membre2 {
    perspective: 1000px;
}


.gridmembres2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: 1fr;
    grid-gap: 80px;
    margin: 0 25%;
    margin-top: 80px;
    padding-bottom: 80px;
    
}

.membre2eme {
    border-radius: 20px;
}

.membre2eme img {
    width: 100%;
    height: 100%;
    border-radius: 20px;


} 

.background-video-vynile {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    object-fit: cover; 
    z-index: -1;
}

/* histoire  */



body {
    overflow-y: scroll; 
}
.histoire {
    position: relative;
    height: 230vh; 
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden; 
    background-color: #242628;
    z-index: -1;
    

}

.background-video {
    position: fixed;
    top: 50%; 
    left: 50%; 
    transform: translate(-50%, -50%); 
    width: auto; 
    max-width: 100%; 
    height: 100%;
    object-fit: contain;
    z-index: -2;
}



.fond1-4 {
    background-image: 
    url('../img/membres/dave.png');
} 

.membrearriere-content video {
    width: 100%;
    height: auto;
    /* transform: translateY(50%); */
}