h2{
    margin-bottom: 30px;
}


.event{
    display: flex;
}

.event > img{
    width: 200px;
    height: 200px;
    object-fit: cover;
    border-radius: 50%;
    display: block;
    aspect-ratio: 1;
}

.event > div{
    margin-left: 30px;

}

.name{
    font-size: 1.3em;
    font-weight: bold;
    margin: 0;
}

.date{
    background: #d9d9d9;
    color: black;
    display: inline-block;
    border-radius: 5px;
    padding: 2px 16px;
    margin-top: 5px;
    margin-right: 10px;
}

.time{
    background: #d9d9d9;
    color: black;
    display: inline-block;
    border-radius: 5px;
    padding: 2px 16px;
    margin-top: 5px;
    margin-right: 10px;
}

img.icon{
    height: 19px;
    margin-right: 10px;
    line-height: 1.8em;
    display: inline-block;
    vertical-align: middle;
    padding-bottom: 3px;
    object-fit: scale-down;
}

a.location{
    background: #4e79b6;
    display: inline-block;
    border-radius: 5px;
    padding: 2px 16px;
    color: white;
    margin-top: 5px;
    text-decoration: none;
    transition: 0.2s;

}

a.location:hover{
    background: #275c99;
    transition: 0.2s;
}

.description{
    text-align: justify;
}
.description> a{
    color: #275c99;
}

#past-dates>*{
    opacity: 0.4;
}
#past-dates{
    margin-top: 20px;
}


@media (max-width: 991px) {
.event{
    flex-direction: column;
    align-items: center;
}
    .event > div{
        text-align: center;
        margin-left: 0;
        margin-bottom: 70px;
    }

    .name{
        margin-top: 20px;
    }

    .date, .time{
        margin: 5px;
    }
    h2{
        text-align: center;
    }
    a.location{
        margin-bottom: 20px;
    }
}

@media (min-width: 992px) and (max-width: 1500px) {
    .event{
        align-items: center;
        margin-top: 30px;
    }
}

@media (min-width: 1500px) {
    .event{
        align-items: center;
        margin-top: 30px;
    }
}