.events-details {
    margin-top: 80px;
}

.carousel {
    position: relative;
    max-width: 100%;
    overflow: hidden;
}

.carousel-inner {
    display: flex;
    position: relative;
}

.event-status {
    position: absolute;
    top: 10px;
    right: 10px;
    background-color: rgba(0, 0, 0, 0.8);
    color: red;
    padding: 5px;
    border-radius: 5px;
    font-size: 14px;
}


.carousel-item {
    flex: 0 0 auto;
    display: none;
}

.carousel-item.active {
    display: block;
}

.carousel img {
    width: 500px;
    height: 500px;
}

.carousel-control {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.5);
    color: white;
    font-size: 2rem;
    text-decoration: none;
    padding: 10px;
    border-radius: 50%;
    z-index: 1;
}

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

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

.carousel-indicators {
    display: flex;
    justify-content: center;
    margin-top: 10px;
}

.carousel-indicator {
    display: inline-block;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: gray;
    margin: 0 5px;
    cursor: pointer;
}

.carousel-indicator.active {
    background-color: black;
}

/* Share icon */
/* CSS for the share icon */
.share-icon {
    color: #000;
    margin-left: 10px;
    font-size: 1.5rem;
    cursor: pointer;
}

.share-icon:hover {
    color: #555;
}

.event-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.event-header h3 {
    flex-grow: 1;
}

.event-header .share-icon {
    margin-left: auto;
}


.status-badge {
    display: inline-block;
    padding: 4px 8px;
    margin-left: 10px;
    font-size: 12px;
    font-weight: bold;
    color: #fff;
    border-radius: 4px;
}

.info-item {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    font-size: 16px;
}

.location-icon {
    margin-left: auto; /* Pousse l'icône vers la droite */
    color: #555; /* Vous pouvez ajuster la couleur selon vos besoins */
    font-size: 1.2em; /* Ajustez la taille de l'icône si nécessaire */
    text-decoration: none;
}

.info-item i {
    font-size: 2rem;
    margin-right: 10px;
    color: #333;
}

.info-label {
    font-weight: bold;
    margin-right: 5px;
    color: #555;
}

.info-value {
    color: #333;
}

.info-value.available {
    color: green;
}

.info-value.unavailable {
    color: red;
}

.floating-buttons {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
}

.floating-buttons a {
    display: block;
    margin-bottom: 10px;
    padding: 10px 20px;
    background-color: #007bff;
    color: #fff;
    text-align: center;
    text-decoration: none;
    border-radius: 5px;
}

.floating-buttons a:hover {
    background-color: #0056b3;
}

.justify-content-between {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.container {
    margin: 50px 0px;
}

.header {
    font-size: 2rem;
    margin-bottom: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header h3 {
    margin: 0;
}

.header a {
    font-size: 1.5rem;
    color: #4e73df;
    text-decoration: none;
}

.header a:hover {
    text-decoration: underline;
}

.custom-row {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
}

.card {
    border: 1px solid #e3e6f0;
    border-radius: 0.35rem;
    box-shadow: 0 0.15rem 1.75rem 0 rgba(58, 59, 69, 0.15);
    overflow: hidden;
    flex: 1 1 calc(33.333% - 2rem);
    /* 3 cards per row */
    min-width: 300px;
    max-width: 300px;
    height: 420px;
    display: flex;
    flex-direction: column;
    font-size: 1.8rem;
}

.event-item {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.event-image {
    width: 100%;
    height: 250px;
    overflow: hidden;
    position: relative;
    object-fit: cover;
    transition: .2s linear;
}

.event-details {
    padding: 1rem;
    background-color: #fff;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.event-details h4 {
    margin: 0;
    color: #4e73df;
}

.event-description {
    font-size: 1.5rem;
    margin: 0.5rem 0;
    color: #858796;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    text-overflow: ellipsis;
}

.event-date {
    display: block;
    color: #6c757d;
    margin-top: auto;
    font-size: 1.2rem;
}

.event-result-link {
    display: inline-block;
    margin-top: 0.5rem;
    color: #4e73df;
    text-align: right;
}

@media (max-width: 992px) {
    .card {
        flex: 1 1 calc(50% - 2rem);
    }
}

@media (max-width: 768px) {
    .header {
        flex-direction: column;
        align-items: flex-start;
    }

    .header a {
        margin-top: 10px;
    }

    .card {
        flex: 1 1 calc(100% - 2rem);
    }
}

@media (max-width: 576px) {
    .carousel img {
        max-width: 400px;
        max-height: 400px;
    }

    .header {
        align-items: center;
    }

    .header h3 {
        font-size: 3rem;
    }

    .header a {
        display: none;
    }

    .card {
        min-width: 250px;
        max-width: 100%;
        height: auto;
    }

    .event-details {
        padding: 0.5rem;
    }

    .event-description {
        font-size: 1.2rem;
    }

    .event-date {
        font-size: 1rem;
    }
}

@media (max-width: 400px) {
    .carousel img {
        max-width: 350px;
        max-height: 350px;
    }

    .info-item {
        margin-bottom: 10px;
        font-size: 12px;
    }

    .info-item i {
        font-size: 1.5rem;
        margin-right: 8px;
    }
}

.artists-section {
    margin-top: 2rem;
    padding: 1rem;
    border-radius: 0.35rem;
    background-color: #fff;
}

.artists-list {
    display: flex;
    gap: 1rem;
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.artist-item {
    flex: 0 0 auto;
    width: 150px;
    text-align: center;
}

.artist-image {
    width: 100%;
    height: 150px;
    object-fit: cover;
    border-radius: 20rem;
    box-shadow: 0 0.15rem 1.75rem 0 rgba(58, 59, 69, 0.15);
}

.artist-name {
    margin-top: 0.5rem;
    font-size: 1.5rem;
    color: #858796;
}

/* Sponsors */
.sponsors-section {
    margin-top: 2rem;
    padding: 1rem;
    border-radius: 0.35rem;
    background-color: #fff;
}

.sponsors-list {
    display: flex;
    gap: 1rem;
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.sponsor-item {
    flex: 0 0 auto;
    width: 100px;
    text-align: center;
}

.sponsor-image {
    width: 100%;
    height: 100px;
    object-fit: cover;
    border-radius: 20rem;
    box-shadow: 0 0.15rem 1.75rem 0 rgba(58, 59, 69, 0.15);
}

.sponsor-name {
    margin-top: 0.5rem;
    font-size: 1.5rem;
    color: #858796;
}

/* Responsive styles */
@media (max-width: 768px) {
    .header {
        text-align: center;
        margin-bottom: 1rem;
    }

    .artists-list {
        justify-content: flex-start;
    }

    .artist-item {
        width: 125px;
    }

    .artist-image {
        height: 125px;
    }

    .artist-name {
        font-size: 1.2rem;
    }

    /* Sponsors */
    .sponsors-list {
        justify-content: flex-start;
    }

    .sponsor-item {
        width: 85px;
    }

    .sponsor-image {
        height: 85px;
    }

    .sponsor-name {
        font-size: 1.2rem;
    }
}

@media (max-width: 480px) {
    .artists-list {
        gap: 0.5rem;
    }

    .artist-item {
        width: 100px;
    }

    .artist-image {
        height: 100px;
    }

    .artist-name {
        font-size: 1rem;
    }

    /* Sponsors */
    .sponsors-list {
        gap: 0.5rem;
    }

    .sponsor-item {
        width: 65px;
    }

    .sponsor-image {
        height: 65px;
    }

    .sponsor-name {
        font-size: 1rem;
    }
}
