@media screen {
    .events {
        display: flex;
        justify-content: space-evenly;
        flex-wrap: wrap;
        margin-bottom: 10%;
    }

    .event {
        position: relative;
        box-shadow: 4px 5px 3px 0px rgba(0, 0, 0, 0.38);
        border-radius: 20px;
        background-color: whitesmoke;
        text-align: center;
        -webkit-transition: outline 0.4s ease-in-out;
        -moz-transition: outline 0.4s ease-in-out;
        -ms-transition: outline 0.4s ease-in-out;
        -o-transition: outline 0.4s ease-in-out;
        transition: outline 0.4s ease-in-out;
        cursor: pointer;
        margin-bottom: 10%;
        color: #BA2253;
    }

    .event:hover {
        -moz-transform: scale(1.08);
        -webkit-transform: scale(1.08);
        -o-transform: scale(1.08);
        -ms-transform: scale(1.08);
        transform: scale(1.08);
    }

    .event-link {
        width: 25%;
    }

    .event img {
        border-radius: 20px 20px 0 0;
    }


    .event h2 {
        font-size: 125%;
        margin-top: 2%;
    }

    .desc {
        padding: 5px;
    }


    .date {
        position: absolute;
        top: 0px;
        height: 30%;
        color: black;
    }

    .date p {
        position: absolute;
        width: 50%;
        font-size: 130%;
        font-weight: bold;
        top: 30px;
        right: 40px;
    }

    .date img {
        position: absolute;
        top: 0;
        right: 5px;
        border-radius: 0 50px 0 0;
        width: 80%;
        height: 105%;
    }

    .location {
        display: flex;
        justify-content: center;
        margin-top: 5%;
        position: absolute;
        bottom: 2%;
        width: 100%;
    }

    .location img {
        width: 8%;
        height: 15%;
        margin-top: 8%;
        margin-right: 2%;
    }
}

@media screen and (max-width: 767px) {
    .event {
        height: 475px;

    }

    .event-link {
        width: 80%;
    }

    .date {
        right: -30px;
        width: 65%;
    }

    .date img {
        height: 80%;
    }

    .date p {
        top: 25px;
        right: 40px;
    }

    .event h2 {
        font-size: 120%;
    }

    .location img {
        width: 10%;
        height: 15%;
        margin-top: 10%;
        margin-right: 2%;
    }
}


@media screen and (min-width: 767px) and (max-width: 1100px) {
    .event {
        height: 475px;

    }

    .event-link {
        width: 45%;
    }

    .date {
        left: 57%;
        width: 50%;
    }

    .date p {
        right: 35px;
        font-size: 110%;
    }
}

@media screen and (min-width: 1101px) {
    .event {
        height: 500px;
    }

    .event h2 {
        padding: 10px;
    }

    .date {
        right: -33px;
        width: 50%;
    }

    .date p {
        top: 30px;
        right: 40px;
    }

    .location img {
        right: -33px;
    }
}