.max-w-sm {
    @media (min-width: 576px) {
        max-width: 400px !important;
    }
}

[x-cloak] { display: none !important; }

.banner {
    width: 100%;
    height: auto;
    margin-bottom: 1rem;
}

.event-button-container {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    margin-bottom: 3rem;
}

    .event-button {
        padding: 0.5rem 1rem;
        display: flex;
        flex-direction: column;
        width: 100px;
        text-align: center;
        align-items: center;
        background-color: #6D7372;
        color: #fff;
        margin: 0.5rem;
        border: none;
        border-radius: 0.25rem;
        cursor: pointer;
        transition: background-color 0.3s ease;
    }

        .event-button:hover {
            background-color: #4d4d4d;
            color: #fff;
        }

        .event-button.active {
            background-color: #C8E12E;
            color: black;
        }

.event-image-container {
    width: 90%;
    min-height: 300px;
    margin-bottom: 2rem;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

    /* .event-image-container img {
        width: 100%;
        max-height: 100%;
        object-fit: cover;
        object-position: center;
    } */

    /* .event-image-container .join-event-button {
        background-color: #E1842E;
        color: #000;
        padding: 1rem 0.5rem;
        position: absolute;
        bottom: 0;
        left: 50%;
        transform: translateX(-50%);
        border-radius: 0.5rem;
        border: none;
        cursor: pointer;
        font-weight: 600;
        transition: background-color 0.3s ease;
    } */

        .join-event-button:hover {
            background-color: #d47323;
            color: #000;
        }

.item-content-container {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 90%;
    height: 100%;
    border: 1px solid black;
    border-radius: 0.5rem;
    padding: 3.5rem .875rem 2.5rem .875rem;
    margin-bottom: 2rem;
}

    .item-content-container img {
        width: 100%;
        max-height: 100%;
        object-fit: cover;
        object-position: center;
        cursor: pointer;
    }

.participant-event-container {
    display: flex;;
    align-items: center;
    justify-content: center;
    width: 100%;
    margin-bottom: 1rem;
    color: #fff;
}

.event-rules-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 90%;
    margin-bottom: 1rem;
    border: 1px solid white;
    border-radius: 0.5rem;
    padding: 1.5rem;
    color: #fff;
}

.event-content-title {
    display: flex;
    justify-content: center;
    text-align: center;
}

.event-content-description ol {    
    padding-left: .5rem;
}

.event-content-description ol li{
    padding-bottom: 0.5rem;
}

.event-content-description ol li div {
    margin-top: .3rem;
}

    ol li div ul {
        display: flex;
        width: 100%;
        align-items: center;
        justify-content: space-around;
        list-style: none;
        padding: 0;
    }

body.modal-open {
    overflow: hidden;
}

.event-modal, .event-modal-overlay {
    position: fixed; /* Stay in place */
    z-index: 99; /* Sit on top */
    left: 50%;
    transform: translateX(-50%);
    top: 0;
    width: 100%;
    height: 100%; /* Full height */
    overflow: auto; /* Enable scroll if needed */
    background-color: rgb(0,0,0); /* Fallback color */
    background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
}

    .event-modal-dialog {
        background-color: #fefefe;
        position: absolute;
        margin: auto;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        border-radius: .875rem;
        width: 80%;
        max-width: 400px;
        padding-left: 1.5rem;
        padding-right: 1.5rem;
        padding-bottom: 1.5rem;
    }

        .event-modal-content {
            display: flex;
            flex-direction: column;
            width: 100%;
            justify-content: center;
            align-items: center;
        }
  

        .modal-enter-active,
        .modal-leave-active {
            transition: opacity 0.2s ease-in-out;
        }

        .modal-enter,
        .modal-leave-to {
            opacity: 0;
        }