#content {

    section {
        width: 100%;
    }

    #title {
        margin-bottom: 1.5%;

        h1 {
            font-size: 2.5em;
            padding-left: 2%;
            margin-bottom: .75%;
            width: 100%;
        }

        hr {
            width: 100%;
            border: 2px solid var(--purple-main);
            border-radius: 10px;
        }
    }

    #filters {
        margin-bottom: 1.5%;

        #filter-inputs {
            display: flex;

            select {
                margin-right: .5%;
                padding: .5%;
                outline: none;

                font-family: lato;
                font-weight: bold;
                font-size: 1em;

                option[value=""] {
                    display: none;
                }
            }
        }
    }

    #amountResults {
        width: 98%;
    }

    #events-repeater {
        margin-top: 1.5%;
        display: grid;
        grid-template-columns: repeat(4, 23.75%);
        grid-column-gap: 1.5%;
        grid-row-gap: 2.5vh;

        .erItem {
            aspect-ratio: 4/3;
            width: 100%;
            background-color: var(--white);
            box-shadow: 0 3px 3px 0 grey, 0 3px 3px 0 grey;
            border-radius: 5px;
            margin: 0 .75%;
            flex-shrink: 0;
            overflow: hidden;

            &:hover {
                a {
                    figure {
                        img {
                            scale: 1.1;
                        }
                    }
                }
            }

            a {
                width: 100%;
                height: 100%;
                text-decoration: none;

                figure {
                    width: 100%;
                    height: 50%;
                    background-color: #FF0000;
                    position: relative;
                    overflow: hidden;

                    img {
                        position: absolute;
                        top: 0;
                        left: 0;
                        width: 100%;
                        height: 100%;
                        object-fit: cover;
                        object-position: center;
                        transition: .5s ease;
                    }

                    .eriLabel {
                        position: absolute;
                        top: 5.5%;
                        left: 2%;
                        background-color: var(--purple-main);
                        padding: .5% 2.5% 1%;
                        border-radius: 5px;

                        p {
                            color: var(--white);
                        }
                    }
                }

                .eri-content {
                    width: 100%;
                    height: 50%;
                    padding: 1% 1.75% 1.75%;
                    display: flex;
                    flex-direction: column;
                    justify-content: space-between;

                    .eric-title {
                        width: 100%;

                        h3 {
                            font-size: 1.4em;
                            color: var(--black);
                        }
                    }

                    .eric-details {
                        display: flex;
                        justify-content: space-between;
                        align-items: flex-end;

                        .ericd-locDate {
                            p {
                                opacity: .5;
                                color: var(--black);
                            }
                        }

                        .ericd-date {
                            border: 2px solid lightgrey;
                            border-radius: 5px;
                            width: 27.5%;
                            padding: 1.5%;

                            display: flex;
                            flex-direction: column;
                            align-items: center;

                            p {
                                font-weight: bold;
                                font-size: 1.2em;
                                color: var(--black);
                            }
                        }
                    }
                }
            }
        }
    }
}