div.agenda {
    width: 100%;
    max-width: 980px;
    margin: 0 auto;
}
div.home {
    margin: 100px auto;
}
h1 {
    text-align: center;
    margin: 0;
}

div.events {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-gap: 12px;
    margin: 30px 0;
    font-family: "Libre Caslon Text", serif;
    font-family: "Montserrat", sans-serif;
}
div.event {
    border-radius: 4px;
    overflow: hidden;
    cursor: pointer;
}
div.event:hover {
    background: rgba(0,0,0,0.05);
    cursor: pointer;
}
div.event div.image {
    width: 100%;
    height: 160px;
}
div.event div.image div.img {
    width: 100%;
    height: 160px;
    background-size: cover;
}
div.event div.infos {
    padding: 15px 20px;
    border: solid 1px rgba(0,0,0,0.1);
    border-radius: 0 0 4px 4px;
}
div.event div.infos div.main {
    height: auto;
    min-height: 120px;
    overflow: auto;
}
div.event div.infos p.date {
    margin: 0;
    padding: 0;
    font-weight: 500;
    height: auto;
    line-height: 25px;
}
div.event div.infos p.event {
    margin: 3px 0;
    height: 50px;
    margin: 0;
    padding: 0;
    font-weight: 500;
    color: #d837be; 
    display: flex;
    align-items: center;
}
div.event div.infos p.place {
    margin: 3px 0;
    margin: 0;
    padding: 0;
    line-height: 25px;
    font-weight: 500;
}
div.event div.infos div.boutons {
    height: 50px;
    display: flex;
    padding: 10px 0;
}
div.event div.infos div.boutons a {
    display: inline-block;
    background: rgba(0,0,0,0.1);
    border-radius: 4px;
    height: 40px;
    line-height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #111;
    text-decoration: none;
    font-size: 1.1em;
    width: 100%;
}
div.event div.infos div.boutons a span {
    display: inline-block;
    margin-right: 10px;
}

div.evenement {
    display: block;
    font-family: "Libre Caslon Text", serif;
    font-family: "Montserrat", sans-serif;
    background: rgba(0,0,0,0.03);
}
div.evenement div.cover {
    height: 350px;
    overflow: hidden;
    position: relative;
}
div.evenement div.cover div.gradient {
    background: #FFFFFF;
    background: linear-gradient(0deg, rgba(255, 255, 255, 0) 0, rgba(255, 255, 255, 1) 90%);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: block;
}
div.evenement div.cover div.img {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center center;
}

div.evenement div.top {
    width: 100%;
    height: auto;
    margin: 0; 
    padding: 0;
    background: #fff;
}
div.evenement div.top div.center {
    width: 100%;
    max-width: 980px;
    margin: 0 auto; 
    display: flex;
}
div.evenement div.top div.image {
    width: 200px;
    height: auto;
    border-radius: 8px;
    overflow: hidden;
    margin: 0 auto; 
    position: relative;
    top: -50px; 
    border: solid 5px #d837be;
    box-shadow: 1px 1px 15px rgba(216, 55, 190, 1);
}
div.evenement div.top div.infos {
    width: calc(100% - 200px);
    height: auto;
    text-align: left;
    padding: 15px 20px;
}
div.evenement div.top div.infos p.date {
    line-height: 25px;
    font-weight: bolder;
    color: #d837be;
    font-size: 1.1em;
    margin: 0;
    padding: 0;
}
div.evenement div.top div.infos h1 {
    text-align: left;
    color: #6B5896;
    display: flex;
    align-items: center;
    height: auto; 
    line-height: 40px;
    margin: 0;
    padding: 0;
    font-size: 2.5em;
}
div.evenement div.top div.infos p.place {
    line-height: 25px;
    font-size: 1em;
    margin: 0;
    padding: 0;
}
div.evenement div.top div.infos p.place span {
    display: inline-block;
    margin-right: 10px;
}

article {
    width: 100%;
    max-width: 980px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-gap: 20px;
    padding: 20px 0;
}
article div.details,
article div.map {
    background: #fff;
    border-radius: 8px;
    box-shadow: 1px 1px 5px rgba(0,0,0,0.05);
    padding: 15px;
    height: auto;
}
article div.details p {
    margin: 0;
    padding: 0;
}
article div.details p.desc {
    margin: 20px 0;
}
div.map iframe {
    width: 100%;
    height: 350px;
    border: none;

}

h2 {
    text-align: center;
}

@media screen and (max-width: 980px) {
    div.home {
        padding: 20px;
    }
}
@media screen and (max-width: 780px) {
    div.events {
        grid-template-columns: repeat(2, 1fr);
    }
    div.evenement div.top div.center {
        display: block;
    }
    div.evenement div.top div.image {
        top: 0;
        margin-top: -100px;
    }
    div.evenement div.top div.infos {
        width: 100%;
        text-align: center;
    }
    div.evenement div.top div.infos h1 {
        text-align: center;
    }
    article {
        display: block;
    }
}
@media screen and (max-width: 480px) {
    div.events {
        display: block;
    }
    div.event {
        margin: 5px 0;
    }
    div.evenement div.top div.infos {
        font-size: 0.8em;
    }
}
@media screen and (max-width: 280px) {
    div.event div.infos div.boutons a span.txt {
        display: none
    }
    div.event div.infos div.boutons a span {
        margin: 0;
    }
    div.event div.infos p.event {
        height: auto;
    }
    div.evenement div.top div.image {
        width: 100%;
    }
}