.flex-out {
    flex: 1;
}

.bold {
    font-weight: 600;
}

#event-container {
    display: flex;
    flex-direction: row;
    overflow: hidden;
    justify-items: center;
    flex-shrink: 0;

    .configurations {
        padding: 1rem;

        width: 20rem;
        background-color: var(--event-menu-bg-color);

        button {
            margin-top: 1rem;
            background-color: var(--menu-bg-color);
            color: var(--gold2);
        }

        button:hover {
            background-color: var(--menu-item-hover-color);
            cursor: pointer;
        }

        p {
            text-transform: uppercase;
            padding: 0px;
            margin: 1rem 0 0.2rem 0;
            font-size: 0.8rem;
            letter-spacing: 0.1rem;
            color: var(--white);
        }

        form {
            display: flex;
            flex-direction: column;
            justify-content: flex-end;
            width: 100%;

            select:focus {
                outline: none;
            }

            .input-class {
                display: flex;
                width: 100%;
                flex-direction: row;
                justify-content: flex-end;

                input, select {
                    width: 100%;
                    padding: 0.5rem;
                }
                input:focus {
                    outline: none;
                }

                div {
                    flex: 1;
                    display: flex;
                    justify-content: center;
                    justify-items: center;
                    align-items: center;
                    color: var(--white);
                    padding: 0 0.5rem 0 0.5rem;
                    background-color: rgb(235, 81, 81);
                    cursor: pointer;
                    user-select: none;
                }
            }

            #types-display {
                display: flex;
                flex-wrap: wrap;
                flex-direction: row;
                gap: 0.5em;

                p {
                    background-color: var(--event-type-bg-color);
                    padding: 0.2em 0.4em 0.2em 0.4em;
                    color: white;
                    border-radius: 5px;
                    user-select: none;
                }
                
                p::after{
                    content: 'x';
                    margin-left: 0.5em;
                }
            }

            input, select, button {
                border: 1px solid #aeaeae;
                padding: 0.5rem;
            }

            p {
                color: #787878;
            }
        }
    }
}

.results {
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100%;
    align-items: center;
    padding: 1em;

    .resultList {
        padding: 1em;
        width: 40em;
        background-color: #474747;
        border-radius: 5px;
        --hover-timing: 1s;

        .result {
            padding: 1em;
            scale: 1;
            transition-property: scale;
            transition-duration: var(--hover-timing);

            img, div {
                width: 100%;
                height: 14em;
                background-color: #727272;
                border-radius: 10px;
                margin-top: 1em;
            }

            a {
                color: #fff;
                text-decoration: none;
                padding: 0;
                margin: 0;

                h2 {
                    padding: 0;
                    margin: 0;
                    padding-bottom: 0.5em;
                }
            }

            .group-gap {

                img {
                    align-items: center;
                    margin: 0;
                    padding: 0;
                }
                a {
                    height: 100%;

                    h2, h3 {
                        padding: 0.5em;
                        margin: 0;
                    }
                    h3 {
                        padding-top: 1em;
                        padding-bottom: 1em;
                    }
                }
            }

            group {
                display: flex;
                flex-direction: row;
                height: fit-content;
                align-items: center;
                
                img {
                    width: 2em;
                    height: 2em;
                    border-radius: 50%;
                }

                .event-type {
                    background-color: rgb(47, 126, 222);
                    color: #fff;
                    padding: 0.2em;
                    border-radius: 3px;
                }
            }

            & > * {
                padding: 0;
                margin: 0;
                text-transform: capitalize;
            }
        }

        .result:hover {
            scale: 1.04;
            transition-property: scale;
            transition-duration: var(--hover-timing);
        }
        
        .result + .result {
            border-top: 1px solid #727272;
        }
    }
}

.space-between {
    justify-content: space-between;

    p {
        s {
            margin-left: 0.5em;
            font-size: 0.8em;
        }
    }
    span {
        margin-left: 0.5em;
        color: red;
        font-size: 1.1em;
    }
}

.group-gap {
    gap: 0.3em;
}

.date {
    font-size: small;
}

.description-small {
    font-size: small;
    overflow: hidden;
}

#event-card {
    padding: 0;
    margin: 0;
    width: 30em;
    display: flex;
    flex-direction: column;
    margin: auto;
    margin-top: 2em;
    box-sizing: border-box;
    position: relative;

    & > * {
        width: 100%;
        border-radius: 20px;
        padding: 0;
        margin: 0;
        border: 0;
        box-sizing: border-box;
    }

    .close {
        position: absolute;
        top: 1em;
        right: 0.5em;
        z-index: 999;
        width: 1.5em;
        height: 1.5em;
        text-align: center;
        color: #fff;
        text-decoration: none;
        text-shadow: 0 0 3px #000;
    }

    img, .banner {
        height: 11em;
        background-color: #787878;
    }

    .information {
        background-color: #c1c1c1;
        margin-top: -2em;
        padding: 0em 1em 1em 1em;
        color: #000;

        h3 {
            a {
                text-decoration: none;
                color: #000;
            }
        }

        img + h2 {
            margin-left: 0.5em;
        }

        group {
            display: flex;
            flex-direction: row;
            height: fit-content;
            align-items: center;
            
            img {
                width: 2em;
                height: 2em;
                border-radius: 50%;
            }

            .event-type {
                background-color: rgb(47, 126, 222);
                color: #fff;
                padding: 0.2em;
                border-radius: 3px;
            }
        }
    }

    .map {
        height: 18em;
        background-color: #0f0;
        margin-top: -2em;
    }
}

.missing-image {
    width: 100%;
    height: 11em;
    background-color: #787878;
    display: flex;
    justify-content: center;
    align-items: center;
    user-select: none;
}

.capitalized {
    text-transform: capitalize;
}