
.events{
    width: 100%;
}
.event-card{
    display: flex;
    flex-direction: column;
    border: #d6d6d6 1px solid;
    margin-bottom: 30px;
}

.event-details h3{
    padding: 5px auto;
    font-size: 2rem;
    font-weight: 500;
}
.event-content{
    display: grid;
    grid-template-columns: 1fr 2fr 1fr;
    padding: 20px;
    gap: 20px;
    width: 100%;
    padding: 0;
    background-color: #111827;
    color: white;
}
.event-card img{
    width: 300px;
    height: 200px;
    object-fit: cover;
}
.event-info{
    border-left: solid 1px #d6d6d6;
    padding: 10px 20px;
}
.event-info :nth-child(1){
    font-size: 1.8rem;
    font-weight: 800;
}
.event-info i{
    color: var(--hover-color-link);
    padding-right: 5px;
}
.event-actions{
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
    background-color: white;
}
.share-dropdown {
    position: relative;
    display: inline-block;
}

.share-btn {
    background-color: #111827;
    color: #fff;
    padding: 10px 16px;
    border: none;
    border-radius: 6px;
    font-size: 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    text-align: center;
    transition: .3s ease-in-out;
}
.share-btn:hover{
    color: var(--hover-color-link)
}
.en-savoir-plus{
    width: max-content;
    border-radius: 5px;
    border: solid 1px #d6d6d6;
    padding: 10px;
    font-size: 1.5rem;
    cursor: pointer;
    font-weight: 500;
    transition: .3s ease-in-out;
}
.en-savoir-plus:hover{
    background-color: #111827;
    color: white;
}
.share-menu {
    display: none;
    position: absolute;
    top: 110%;
    left: 0;
    background-color: white;
    min-width: 50px;
    box-shadow: 0 8px 16px rgba(0,0,0,0.1);
    border-radius: 8px;
    z-index: 10;
    padding: 10px 0;
    text-align: center;
}

.share-item {
    display: flex;
    align-items: center;
    padding: 10px 16px;
    text-decoration: none;
    color: #111827;
    font-weight: 500;
    gap: 10px;
    transition: background 0.2s ease;
}

.share-item i {
    font-size: 1.8rem;
}

.share-item:hover {
    background-color: #f5f5f5;
}

.sidebar .mon-livre{
    margin-bottom: 30px;
}

.sidebar img{
    border-radius: 10px;
}

.sidebar p{
    padding-top: 10px;
    font-size: 1.6rem;
    font-weight: 400;
}
