html {
    overflow-x: hidden;
}

*,
::before,
::after {
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    position: static;
    margin: 0;
    padding: 0;
}

body {
    min-height: 100vh;
    max-width: 100vw;
    margin: 0;
    background-color: #1D1B24;
    color: white;
    display: grid;
    position: static;
    overflow-x: hidden;
    font-family: Montserrat, Helvetica, sans-serif;
}

.event {
    margin-top: 155px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    border-radius: 5px;
    max-width: 100vw;
    flex-direction: column;
}
.youCanLike {
    margin-top: 20px;
    padding: 20px;
    background-color: #232A2F;
    max-width: 100vw;
    position: relative;
}


.event-poster-container {
    max-width: 300px;
    z-index: 2;
    margin-right: 20px;
}

.event-poster {
    max-width: 100%;
    height: auto;
    border-radius: 6px;
}

.banner {
    position: relative;
    background-size: cover;
    background-repeat: no-repeat;
    background-repeat: repeat-y;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    border-radius: 8px 8px 0 0 ;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    padding: 20px;
    text-align: center;
    width: 100%;
    border-radius: 8px 8px 0 0;
}

.filter {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 8px 8px 0 0;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: 1; 
    box-shadow: none;
}


.event-details {
    z-index: 2;
    filter : none;
    padding: 10px;
    border-radius: 10px;
    box-shadow: inset 0rem 20rem #2822227a;
    max-width: 100vw;
}

.event-title {
    z-index: 2;
    margin-top: 0;
    margin-bottom: 10px;
    font-size: 28px;
}

.location-details {
    margin-top: 10px;
    text-align: justify;
    color: white;
}

.location-heading {
    font-weight: bold;
}

.location-list {
    list-style: none;
    max-height: 100px;
    overflow-y: auto;
    padding: 5px;
}

.location-list::-webkit-scrollbar {
    width: 5px;
    height: 8px;
    background-color: #2822227a;
  }

.location-item {
    display: flex;
    max-width: 100%;
    cursor: pointer;
    font-size: 16px;
    padding-block: 0.5rem;
    padding-inline: 0.4rem;
    border: 1px solid rgb(47, 48, 48);
    transition: color 0.3s;
    position: relative;
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
    align-items: center;
    gap: 10px;
}

.location-item i{
    font-size: 25px;
}

.location-item::before {
    z-index: -1;
    content: '';
    position: absolute;
    width: 0;
    height: 100%;
    background-color: rgb(47, 48, 48);
    top: 0;
    left: 0;
    transition: width 0.3s;
}

.location-show-more {
    color: rgb(190, 170, 170);
    cursor: default;
    padding: 2.5px;
}
.location-show-more span{
    font-size: 18px;
    font-weight: bold;
}

.location-item:hover::before {
    width: 100%;
}

.location-hidden {
    display: none;
}

.location-item:hover{
    color: #ffcc00;
}
.location-item + .location-item {
    border-top: none; /* Supprime la bordure supérieure */
}

.distribution {
    margin-left: 20px;
    z-index: 2;
    text-align: right;
    color: white;
    padding: 10px;
    border-radius: 10px;
    box-shadow: inset 0rem 10rem #2822227a;
}

.distribution ul {
    list-style: none;
    padding: 0;
}

.distribution ul li {
    margin-bottom: 5px;
}

#shareButton {
    cursor: pointer;
    z-index: 3;
    position: absolute;
    top: 5px;
    right: 5px;
    border-width: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #ffcc00;
    width: 60px;
    height: 50px;
    background: transparent;
    border-radius: 8px;
    box-shadow: inset 0rem 10rem #2822227a;
}

#shareButton span{
    font-size: 25px;
}

.video-container {
    max-height: 80vh;
    overflow: hidden; /* Pour s'assurer que le contenu ne dépasse pas */
    background-color: #232A2F;
}

.event-pitch{
    background: #232A2F;
    padding-block: 50px;
    padding-inline: 20px;
}

.pitch{
    max-width: 100%;
    margin: auto;
    line-height: 20px;
    font-size: 18px;
}

@media screen and (max-width: 1175px) {
    .distribution{
        text-align: center;
        margin: auto;
        font-size: 16px;
        margin-top: 10px;
    }

    
    .banner{
        flex-direction: column;
        text-align: center;
        padding: 0;
    }
    .event-details{
        text-align: start;
        margin-top: 10px;
    }

    .event-poster-container {
        margin-right: 0;
    }

    .video-container{
        max-height: none;
        max-width: 100vw;
    }
}

@media screen and (max-width: 800px) {
    .event{
        padding: 0;
    }
    
    .youCanLike{
        padding-inline: 0;
    }
}

#newsletterEmail {
    padding: 0.8rem;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 14px;
    background-color: transparent;
    color: #fff;
    margin-top: 10px;
}

#subscribeButton{
    padding: 0.8rem;
    margin-top: 10px;
}

#categorie{
    text-transform: capitalize;
}