body {
    font-family: 'Montserrat', sans-serif;
    margin: 0;
    padding: 0;
}

    footer {
        background: #222;
        color: white;
        padding: 20px 0;
        text-align: center;
    }
    .footer-container {
        display: flex;
        justify-content: space-around;
        flex-wrap: wrap;
        max-width: 1100px;
        margin: auto;
    }
    .footer-section {
        margin: 10px;
        min-width: 200px;
    }
    .footer-section h3 {
        border-bottom: 2px solid #555;
        padding-bottom: 5px;
        margin-bottom: 10px;
    }
    .footer-section ul {
        list-style: none;
        padding: 0;
    }
    .footer-section ul li {
        margin: 5px 0;
    }
    .footer-section a {
        color: white;
        text-decoration: none;
        transition: 0.3s;
    }
    .footer-section a:hover {
        color: #00aaff;
    }
    .social-icon {
        font-size: 24px;
        margin: 0 10px;
        display: inline-block;
    }
    .footer-bottom {
        margin-top: 20px;
        border-top: 1px solid #555;
        padding-top: 10px;
    }

header {
    display: flex;
    flex-wrap: wrap;
        /* Permet aux éléments de passer à la ligne */
        justify-content: space-between;
        align-items: center;
        gap: 5px;
    background-color: #FFFFFF;
    color: #333333;
    padding: 15px 20px;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
}

header .btn-primary {
    color: #FFFFFF;
}

@media (max-width: 768px) {
    header {
            flex-wrap: wrap;
        }

    
        header>div:nth-child(1) {
            flex-basis: 18%;
        }
    
        header>div:nth-child(2) {
                    flex-basis: 80%;
                        text-align: center;
                               display: block !important;
        }
    
        header>div:nth-child(3) {
            flex: 1 1 100%;
            text-align: center;
            margin-top: 10px;
            /* Espacement */
        }
}
select {
    margin-left: 10px;
    padding: 5px;
}

main {
    padding: 12px;
}





label, input {
    margin: 5px 0;
    font-size: 16px;
}

input {
    padding: 8px;
    border: 1px solid #ccc;
    border-radius: 4px;
}



.carousel {
    position: relative;
    width: 100%;
    max-height: 70vh;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}
.carousel-container {
    display: flex;
    overflow: hidden;
    width: max-content;
    max-height: 70vh;
    position: relative;
}

.carousel-image {
    width: 100%;
    /* Prend toute la largeur du conteneur */
    max-height: 70vh;
    object-fit: cover;
    display: none;
    /* Cache toutes les images sauf l’actuelle */
}
.carousel-image.active {
    display: block;
}

.carousel-button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    padding: 10px;
    cursor: pointer;
    font-size: 20px;
}

.carousel-button.prev {
    left: 10px;
}

.carousel-button.next {
    right: 10px;
}

.carousel-button:hover {
    background-color: rgba(0, 0, 0, 0.8);
}
/* The Modal (background) */
.modal {
  display: none; /* Hidden by default */
  position: fixed; /* Stay in place */
  z-index: 1; /* Sit on top */
  left: 0;
  top: 0;
  width: 100%; /* Full width */
  overflow-y: auto; /* Pour permettre le défilement si le contenu dépasse */
  justify-content: center;
  align-items: center;
  z-index: 9999;
  background-color: rgba(0, 0, 0, 0.4); /* Black w/ opacity */
}

/* Modal Content/Box */
.modal-content {
  width: 80%; /* Ajuste la largeur selon tes besoins */
  max-height: 80%; /* Limite la hauteur à 80% de l'écran */
  overflow-y: auto; /* Ajoute un scroll vertical si le contenu dépasse */
  border-radius: 8px;
  box-sizing: border-box;
  background-color: #fefefe;
  padding: 20px;
  border: 1px solid #888;
}

/* The Close Button */
.close {
  color: #aaa;
  text-align: right;
  font-size: 28px;
  font-weight: bold;
}

.close:hover,
.close:focus {
  color: black;
  text-decoration: none;
  cursor: pointer;
}

   .amount-options {
        display: flex;
        gap: 10px;
        margin-bottom: 10px;
    }
    .amount-btn {
        background: #f0f0f0;
        border: 2px solid #ddd;
        padding: 1vh 2vw;
        cursor: pointer;
        font-size: 16px;
        border-radius: 5px;
        transition: all 0.3s;
    }
    .amount-btn:hover, .amount-btn.active {
        background: #007bff;
        color: white;
        border-color: #007bff;
    }


        .btn-primary {
            background-color: #3D2175 !important;
            border-color: #4E338A !important;
        }
    
        .btn-primary:hover {
            background-color: #4E338A !important;
            border-color: #412A74 !important;
        }
    
        .btn-primary:focus,
        .btn-primary:active {
            background-color: #4E338A !important;
            border-color: #412A74 !important;
            box-shadow: 0 0 0 0.25rem rgba(90, 62, 155, 0.5) !important;
        }
    
        .btn-primary:disabled {
            background-color: #A08BC8 !important;
            border-color: #A08BC8 !important;
        }


.sponsor-container {
    overflow: hidden;
    width: 100%;
    background-color: white;
    padding: 20px 0;
}

.sponsor-track {
    display: flex;
    //gap: 40px;
    will-change: transform;
    animation: scroll-left linear infinite;
}

.sponsor-logo {
    flex: 0 0 auto;
    width: 250px;
    height: 135px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #ffffff;
    border-radius: 8px;
    //box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.sponsor-logo img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

@keyframes scroll-left {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-50%);
    }
}