*, *::before, *::after {
    box-sizing: border-box;
}

body {
    font-family: "Merriweather Sans", Arial, sans-serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
    margin: 0;
    overflow-x: hidden;
}
main{
    width: 100%;
}
.imgfond_proprietegenerale {
    height: 100vh;
    width: auto;
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-size: cover;
}
.img-accueil1 {
    background-image: url("../img/accueil-img1.jpeg");
    background-position: center;
    display: flex;
    flex-direction: column;
    
    
}
.accueil-content {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
    width: 85vw;
    margin-left: 20px;
    margin-right: 20px;
    margin-top: 200px;
}
.img-accueil1 .mockup {
    width: 400px;
    height: 400px;
}


blockquote {
    font-style: italic;
    color: #ffffff;
    margin: auto;
    padding: 10px;
    background-color: rgba(0, 0, 0, 0.7);
    border-left: 5px solid #007bff;
    width: 700px;
    font-size: 1.5rem;
}
blockquote p {
    background-color: #0000002f;
    font-weight: bold;
    margin-top: 10px;
    transition: transform 0.3s ease-in-out;
    text-align: right;
    padding: 10px;
}
blockquote p a {
    text-decoration: none;
    color: #64abf6;
}
blockquote p a:hover {
    color: #148973;
}
.test {
    background-color: transparent;
    z-index: 999;
    margin: auto;
    display: flex;
    justify-content: center;
    align-items: center;
}
.test i {
    font-size: 7rem;
    color: white;  
}
.all-presentation {
    background-color: rgb(2, 8, 39);
    background-repeat: no-repeat;
    background-size: cover;
    height: auto;
    display: flex;
    align-items: center;
    justify-content: center;
}
.all-presentation {
    display: flex;
    justify-content: center;
    align-items: center;
    padding-top: 30px;
    color: #ffffff;
    border-top: 2px solid #ffffff;
}
.presentationelement{
    width: 50%;
    color: rgb(255, 255, 255);
}
.presentation-text {
    display: flex;
    flex-direction: column;
    padding: 40px;
    color: rgb(255, 255, 255);
    font-size: 1.1rem;
    text-align: justify;
    margin-left: 40px;
}
.bouton-decouvrir {
    display: flex;
}
.modern-btn {
    background-color: #007bff;
    color: #fff;
    margin: auto;
    margin-top: 20px;
    text-decoration: none;
    border: solid 3px rgb(168, 165, 165);
    border: none;
    padding: 12px 24px;
    font-size: 16px;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 123, 255, 0.2);
}
.modern-btn:hover {
    background-color: #0056b3;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 86, 179, 0.3);
}
.modern-btn:active {
    transform: translateY(0);
    box-shadow: 0 2px 8px rgba(0, 86, 179, 0.2);
}
.basketball-container {
    text-align: center;
    margin-top: 40px;
    margin-bottom: 20px;
    padding: 20px;
    margin-right: 20px;
}
#basketball {
    font-size: 80px;
    cursor: pointer;
    display: inline-block;
    animation: bounce 1s infinite ease-in-out;
    transition: transform 0.3s ease;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    padding-top: 20px;
    padding-left: 20px;
    padding-right: 20px;
}
@keyframes bounce {
    0%, 100% {
        transform: translateY(0);
   }
    50% {
        transform: translateY(-20px);
   }
}
@keyframes shake {
    0% {
        transform: rotate(0deg);
   }
    25% {
        transform: rotate(15deg);
   }
    50% {
        transform: rotate(-15deg);
   }
    75% {
        transform: rotate(10deg);
   }
    100% {
        transform: rotate(0deg);
   }
}
.ball-shadow-wrapper {
    position: relative;
    display: inline-block;
}
.ball-shadow {
    position: absolute;
    bottom: 5px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 10px;
    background: rgba(255, 255, 255, 0.7);
    border-radius: 50%;
    animation: shadowBounce 1s infinite ease-in-out;
    z-index: -1;
}
@keyframes shadowBounce {
    0%, 100% {
        transform: translateX(-50%) scaleX(1);
        opacity: 0.4;
   }
    50% {
        transform: translateX(-50%) scaleX(1.3);
        opacity: 0.2;
   }
}

.aleatoire {
    display: flex;
    background-color: rgba(236, 237, 243, 0.75);
    align-items: center;
    justify-content: center;
    height: auto;
    padding-bottom: 40px;
    color: white;
}
.aleatoire h2 {
    font-size: 2rem;
    font-family: "Raleway", sans-serif;
    font-optical-sizing: auto;
    font-weight: 500;
    font-style: normal;
}
/* Styles généraux pour les sections */
.content-section {
    display: flex;
    background-image: url('../img/parquet.jpg');
    width: auto;
}
.video-gallery {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    overflow-x: auto;
    scroll-behavior: smooth;
    height: auto;
    margin-top: 60px;
    margin-bottom: 20px;
    border-radius: 10px;
    padding: 10px;
    gap: 20px;
    
}

.video-thumbnail {
  position: relative;
  cursor: pointer;
  display: flex;
    flex: 0 0 auto;
    border-radius: 18px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    margin: 0;
    
}

.video-thumbnail img {
    display: flex;
    flex: 0 0 auto;
    border-radius: 18px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    margin: 0;
    
}

.play-button {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 3rem;
  background: rgba(0, 0, 0, 0.6);
  color: white;
  border: none;
  border-radius: 50%;
  padding: 10px 20px;
  cursor: pointer;
}
.video-gallery iframe {
    flex: 0 0 auto;
    border-radius: 18px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    height: 350px;
    width: 600px;
    margin: 0;
}
/* Scrollbar horizontale personnalisée */
.video-gallery::-webkit-scrollbar {
    width: 30px;
}
.video-gallery::-webkit-scrollbar-track {
    background: transparent;
    border-radius: 10px;
    box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.1);
    
}
.video-gallery::-webkit-scrollbar-thumb {
    background-size: contain;
    border: none;
}
.video-gallery::-webkit-scrollbar-thumb:horizontal {
    z-index: 20;
    width: 10px;
    background-color: #007bff;
    border-radius: 10px;
    box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.1);
    
}
/* Empêche la répétition du ballon sur le thumb */
.video-gallery::-webkit-scrollbar-thumb:hover {
    cursor: grab;
}
.fond-faq{
    background-color: rgb(2, 8, 39);
    padding-bottom: 40px;
    display: flex;
    padding: 20px;
    gap: 20px;
    padding-bottom: 70px;
    padding-top: 70px;
}


.last-addplayers h2{
    text-align: center;
}
.last-addplayers{
    display: flex;
    position: sticky;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: #05103f;
    padding: 20px;
    background-image: url('../img/fond-tache.png');
    background-repeat: no-repeat;
    background-size: cover;
    border-radius: 20px;
}
.faq {
    display: flex;
    flex-direction: column;
    gap: 15px;
    border-radius: 30px;
    margin-right: 10px;
    padding: 20px;
    background-image: url('../img/fond-tache.png');
    rotate: 90;
    width: auto;
    background-repeat: no-repeat;
    background-size: cover;
    margin: auto;
    width: 85vw;
    z-index: 5;
}
.faq details {
    padding: 15px;
    border: 1px solid #000000;
    border-radius: 15px;
    background-color: #ffffff;
    font-size: 1.2em;
    position: relative;
}
.faq summary {
    font-weight: bold;
    cursor: pointer;
}
.faq details p {
    color: black;
    font-size: 0.8em;
    margin-top: 10px;
    margin-bottom: 10px;
}
.faq .faq_with_img {
    display: flex;
    gap: 20px;
    align-items: center;
}
.faq_with_img p {
    width: 80%;
}
.fond-presentation {
    background-image: url('../img/dunk.jpg');
    background-repeat: no-repeat;
    background-size: cover;
    background-attachment: fixed;
}
.faq details img {
    width: 200px;
    height: auto;
    border-radius: 5px;
    float: right;
    margin-right: 20px;
}
.faq details[open] summary {
    color: #007bff;
    padding-bottom: 20px;
}
.faq h2 {
    font-size: 1.8rem;
    color: #070707;
    margin: auto;
    margin-bottom: 15px;
}
.accueilclippers {
    background-image: url('../img/clippers.jpg');
    height: 70vh;
    background-position: center;
}

@media screen and (max-width: 900px) {
    .presentation p {
        font-size: 0.9rem;
   }
}
@media screen and (max-width: 768px) {
    body {
        font-size: 0.9rem;
   }
    .fond-presentation{
        width: 100vw;
   }
    .accueil-content .mockup {
        display: none;
   }
    .all-presentation {
        flex-direction: column;
        align-items: center;
   }
    .presentationelement{
        width: 90vw;
        padding: 0px;
        margin-left: 0px;
   }
    .presentation-text p {
        width: 100%;
        padding: 5px;
        text-align: center;
        font-size: 0.7rem;
        
   }
    .presentation .barre {
        display: none;
   }
    .bouton-decouvrir .modern-btn{
        border: white solid 2px;
   }
    .accueilclippers {
        display: none;
   }
    .fondcontour .aleatoire .last-addplayers {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
   }
    .last-addplayers h2, .basketball-container h2{
        margin-bottom: 40px;
        text-align: center;
        font-size: 1.5rem;
        margin-left: 10px;
        margin-right: 10px;
   }
    .basketball-container {
        margin-top: 50px;
        padding: 0px;
        padding-top: 50px;
        padding-bottom: 50px;
        margin-right: 0px;
        border-left: none;
   }
    .basketball-container p{
        margin-left: 10px;
        margin-right: 10px;
   }
    .basketball-container p, .last-addplayers ul{
        font-size: 0.8rem;
   }
    .content-section {
        padding: 20px;
        height: auto;
   }
    .video-gallery iframe{
        width: 300px ;
        height: auto;
   }
    .fond-faq{
        flex-direction: column;
   }
    .faq {
        width: 90vw;
        padding: 10px;
   }
    .faq_with_img {
        flex-direction: column;
        align-items: center;
   }
    .faq details p {
        text-align: center;
   }
    .faq details img {
        margin: 0px;
   }
    .img-accueil2 {
        background-color: transparent;
        background-image: none;
   }
}
