
html, body {

    width: 100%;
    overflow-x: hidden;
    min-height: 102svh;
    background: linear-gradient(to bottom left, #861a22 , #000000);
    background: -webkit-linear-gradient(to bottom left, #861a22 , #000000); /* Pour les anciens navigateurs Chrome et Safari */
    background: -moz-linear-gradient(to bottom left, #861a22 , #000000); /* Pour les anciens navigateurs Firefox */
    background: -o-linear-gradient(to bottom left, #861a22 , #000000); /* Pour les anciens navigateurs Opera */
    background: linear-gradient(to bottom left, #861a22 , #000000); /* Pour les navigateurs modernes */
    font-family: 'Orbitron', sans-serif !important;
    color: #fbfbfb !important;


}

img, table, div {
    max-width: 100%;
    box-sizing: border-box;
}


.table {

    color: #fbfbfb !important;
}


/***********************/
/*     css Carousel    */
/***********************/

    .carousel .carousel-item img, .carouselMobile .carousel-itemMobile img {
        width: 100%;
        height: auto;
        display: block;
        object-fit: cover;
    }

    .carousel .carousel-item,
    .carouselMobile .carousel-itemMobile {
        display: none;
    }

    .carousel .carousel-item.active,
    .carouselMobile .carousel-itemMobile.active {
        display: block;
    }

    .desktop-only {
        display: none;
    }

    .mobile-only {
        display: none;
    }

    @media (min-width: 429px) {
        .desktop-only {
            display: block;
        }
    }

    @media (max-width: 428px) {
        .mobile-only {
            display: block;
        }
    }

    .carousel-indicators span, .carouselMobile .indicatorMobile {
        cursor: pointer;
    }




/* .carousel {
    position: relative;
    width: 100vw !important;
    height: 100vh !important;



}

.carouselMobile {
    position: relative;
    width: 100vw !important;
    height: 100vh !important;
    overflow: hidden !important;
    display: none;


}


.carousel-inner {
    display: flex !important;
    height: 100% !important;
    transition: transform 0.5s ease-in-out !important;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 200%; 
    background-size: cover;
    background-attachment: fixed; 
}

.carousel-item {
    width: 100vw !important;
    height: 100vh !important;
    flex-shrink: 0 !important;
    background-attachment: fixed;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
}

.carousel-itemMobile {
    width: 100vw !important;
    height: 100vh !important;
    flex-shrink: 0 !important;
    background-attachment: fixed;
    background-size: cover !important;
    background-repeat: no-repeat;
    background-position: center !important;
    -webkit-background-size: cover !important; 
    display: block !important; 
    overflow: hidden !important; 
    position: relative !important; 
}

.carousel-item img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
}

.carousel-itemMobile img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
}

.carousel-control-prev,
.carousel-control-next {
    position: absolute !important;
    bottom: 5px !important;
    top: initial !important;
    transform: translateY(-50%) !important;
    font-size: 2rem !important;
    color: #fff !important;
    background: #AF1B1D !important;
    border: none !important;
    cursor: pointer !important;
    z-index: 10 !important;
    text-decoration: none !important;
    width: 50px !important;
    height: 50px !important;
    border-radius: 50%;
}

.carousel-control-prev {
    left: calc(50% - 120px) !important;
}

.carousel-control-next {
    right: calc(50% - 120px) !important;
}

.carousel-indicators {
    position: absolute !important;
    bottom: 50px !important;
    width: 100% !important;
    text-align: center !important;
    margin: 0 !important;
    z-index: 10 !important;
}

.carousel-indicators .indicator {
    display: inline-block !important;
    width: 10px !important;
    height: 10px !important;
    margin: 0 5px !important;
    background: #fff !important;
    border-radius: 50% !important;
    cursor: pointer !important;
}

.carousel-indicators .indicatorMobile {
    display: inline-block !important;
    width: 10px !important;
    height: 10px !important;
    margin: 0 5px !important;
    background: #fff !important;
    border-radius: 50% !important;
    cursor: pointer !important;
}

.carousel-indicators .indicator.active {
    background: #490d11 !important;
    border: 0.25px solid #fbfbfb;
}

.carousel-indicators .indicatorMobile.active {
    background: #490d11 !important;
    border: 0.25px solid #fbfbfb;
}


.carousel-item,
.carousel-itemMobile {
    display: none;
}


.carousel-item.active,
.carousel-itemMobile.active {
    display: block;
}
 */


/*********************************/
/*     interfaceUser    */
/*********************************/

#userDashboard, #panierContainer {

    margin-top: 250px !important;
    color: #fbfbfb !important;
}

#panierContainer table {

    color: #fbfbfb;
}

.logoDashboard {

    width: 300px;
    margin-left: 50%;
    transform: translate(-50%);
    margin-top: 100px;
    margin-bottom: 40px;

}

#evenement {

    margin-bottom: 100px;
}


#evenement h2 {

    margin-bottom: 100px ;
}

#contenuEvenement {

    display: flex;
    justify-content: space-between;
    margin-top: 25px ;
    margin-bottom: 25px;
}

.containerDescriptifEvenenement {

    width: 50%;
}

.containerDescriptifEvenenement p {

    text-align: justify;
    margin-top: 50px !important;
}

.centered-icon-text {
    display: flex;
    align-items: center;
    gap: 0.5rem; /* Space between the icon and text */
}

.centered-icon-text svg {
    vertical-align: middle;
    margin-right: 10px;
}

.btn-danger{

    margin-top: 5px !important;
} 

.titleCard {

    display: flex;
    justify-content: center;
}

#nouveau{

    margin-left: 20px;
    margin-right: 20px;
    margin-bottom: 100px;
}

#nouveau h2 {

    margin-bottom: 100px;
}

.col {

    margin-top: 15px !important;
}

.titleCard h5 {

    margin-top: 10px !important;
}

.card {

    color: #490d11 !important;
    border: 3px solid #9C751D !important;
    border-radius: 15px 15px 0 50px !important;
    padding: 15px;
}

.card .btn {

    border: 2px solid #490d11;
    margin: 10px;
    color: #490d11;
}

.card-img-top {
    width: 100%;
    height: 200px; 
    object-fit: contain;
    margin: auto;
    display: block;
}

.card-body {

    display: flex;
    flex-direction: column;
    justify-content: center;
}

#aPropos {
    display: flex;
    flex-direction: column;
}

#aPropos h2 {

    margin-bottom: 100px;
}

.presentationContainer {

    display: flex;
    flex-direction: row;
    justify-content: space-around;
    align-items: center;
    width: 90%;
    margin: auto;
}

.presentationImg {

    max-width: 650px;
    width: 90%;
    height: auto;
}

.imgContainerPresentation {

    width: 50%;
}

.descriptionContainerPresentation {

    width: 50%;
}

.inscriptionMobile {

    display: none;
  }

 /* Container styling */
.order-details-container {
    padding: 20px;
    margin: 0 auto;
    max-width: 800px;
}

/* Table responsive wrapper */
.table-responsive-container {
    overflow-x: auto;
}

/* Title and subtitle styling */
.order-details-title {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 15px;
}

.order-details-subtitle {
    font-size: 20px;
    margin-top: 20px;
    margin-bottom: 10px;
}

/* Table styling */
.order-details-table,
.order-items-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
}

.order-details-table th,
.order-details-table td,
.order-items-table th,
.order-items-table td {
    padding: 12px;
    border: 1px solid #ccc;
}

.order-details-table th,
.order-items-table th {
    /* background-color: #f8f8f8; */
    text-align: left;
}

/* Button styling */
.order-details-back-button {
    display: inline-block;
    padding: 10px 15px;
    background-color: #007bff;
    color: #fff;
    text-decoration: none;
    border-radius: 4px;
    transition: background-color 0.3s;
}

.order-details-back-button:hover {
    background-color: #0056b3;
}

@supports (-webkit-touch-callout: none) {
    .carousel-item, .carousel-itemMobile {
        background-size: cover; /* Ou cover */
        background-position: center;
        background-repeat: no-repeat;
    }
}





/* Responsive styling */
@media (max-width: 768px) {


    .order-details-container {
        padding: 15px;
    }

    .order-details-title {
        font-size: 20px;
    }

    .order-details-subtitle {
        font-size: 18px;
    }

    .order-details-table th,
    .order-details-table td,
    .order-items-table th,
    .order-items-table td {
        padding: 8px;
        font-size: 14px;
    }

    .table-responsive-container {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch; /* For smooth scrolling on mobile */
    }
}

    .paypal {

        display: flex;
        flex-direction: column;
        align-items: center;
    }



  @media screen and (max-width: 428px) {

    .carousel-item, .carousel-itemMobile {
        will-change: transform, opacity;
    }
    


    .carousel {
        display: none;
    }
  
    .carouselMobile {
        display: block;
    }
    

    h1 {

        font-size: 1.8rem !important;
        text-align: justify;
        margin-bottom: 50px !important
    }

    h2 {

        font-size: 1.20rem !important;
        margin-left: 0 !important;
        text-align: justify;
    }

    p{
        font-size: 1rem !important;
    }

    .logoDashboard {

        width: 250px !important;
        margin-top: 200px !important;
    }

    .inscriptionMobile {

        display: block;

      }

      #contenuEvenement {

        flex-direction: column !important;
        align-items: center;
      }

      #contenuEvenement img {

        width: 250px;
        height: auto;
      }

      .containerDescriptifEvenenement {
        width: 100%;
        margin-top: 2rem;
    }

    .presentationContainer {

        flex-direction: column;
        align-items: center;
    }

    .imgContainerPresentation {
        width: 100%;
        display: flex;
        justify-content: center;
        margin-bottom: 2rem;
    }


    #dashSection {

        display: flex;
        flex-direction: column;
        align-items: center;
    }


    .descriptionContainerPresentation {
        width: 100%;
        text-align: justify;
    }

    .table {

        width: 95vw !important;
        font-size: 10px;
        margin: 1rem !important;
    }

    #historyTable{

        width: 100% !important;
        margin: 1rem !important;
    }

    #historique {

        display: flex;
        flex-direction: column;
        align-items: center;
    }

    #historique h1 {
        text-align: center;
    }

    #historique .btn-primary {

        width: auto !important;
        height: 45px;
        font-size: 11px !important;
        display: flex;
        justify-content: center;
        align-items: center;

    }

    .table td, .table th {
        padding: .15rem !important;
        vertical-align:middle !important;
        text-align: center;
        border-top: 1px solid #dee2e6;
    }

    .table .btn:not(:disabled):not(.disabled) {

        width: 85px !important;
        height: 50px;
        font-size: 10px !important;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .btn-primary {

        width: 250px !important;
        font-size: 12px !important;
    }

    .table .btn-primary {

        margin-top: 0 !important;
    }

    #ticketDash {

        display: flex;
        flex-direction: column;
        align-items: center;
    }

    footer {

        flex-direction: column !important;
        margin-bottom: 0.2rem;
    }

    footer p {

        font-size: 0.8rem !important;
    }

    #panierContainer {

        margin-top: 30px !important;
    }




  }


