@keyframes _brlbs-fadeInDown {
    from {
        opacity: 0;
        transform: translate3d(0, -100%, 0);
    }

    to {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}

@keyframes _brlbs-flipOutX {
    from {
        transform: perspective(800px);
    }

    30% {
        transform: perspective(800px) rotate3d(1, 0, 0, -20deg);
        opacity: 1;
    }

    to {
        transform: perspective(800px) rotate3d(1, 0, 0, 90deg);
        opacity: 0;
    }
}

/* web */
@media (min-width: 768px) {
    .header {
        padding-left: 2rem;
        align-items: center;
        padding-right: 2rem;
        display: flex;
        flex-direction: row;
        width: 100%;
    }

    .modal-body {
        padding: 2rem;
        text-align: center;
        align-items: center;
        justify-content: center;
        display: flex;
    }

    /* Default style for images in a row */
    .image-container {
        display: flex;
        flex-direction: row;
        justify-content: space-between;
    }


    .modal-image {
        width: 45%;
        /* Adjust width as needed */
        height: auto;
    }

    .divider-container {
        display: flex;
        padding: 0 2rem;
        flex-direction: column;
        justify-content: space-between;
        align-items: center;
    }

    /* Style for buttons */
    .button-container {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        align-items: center;
    }

    .modal-content {
        display: flex;
        justify-content: center;
        position: absolute;
        width: 50%;
        /* transform: translate(-50%, 0); Center horizontally */
        background-color: white;
        padding: 20px;
    }

    .custom-modal-content {
        width: 800;
    }

    /* Center the modal on the screen */
    .modal {
        /* display: flex; */
        justify-content: center;
        /* Center horizontally */
        align-items: center;
        /* Center vertically */
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(0, 0, 0, 0.5);
        z-index: 9999;
        /* Ensure it is on top of other content */
        margin: 0;
    }

    .modal-content.modal-animation {
        height: auto;
        width: 70%;
        animation-duration: 0.75s;
        animation-name: _brlbs-fadeInDown;
        backface-visibility: visible !important;
    }

    .modal-content.modal-animation-reverse {
        width: 70%;
        height: auto;
        animation-duration: 0.75s;
        animation-name: _brlbs-flipOutX;
        backface-visibility: visible !important;
    }

    .p-buttons {
        padding: 0px 1rem;
    }

    .p-images {
        padding: 0px 2rem;
    }

    .dimensions-images {
        height: 15rem;
        width: 15rem;
    }

    .mw20 {
        min-width: 15rem
    }

    .signup-button {
        min-width: 300px !important;
        max-width: 300px !important
    }

    .custom-font {
        color: #00298E;
        height: 2rem !important;
    }

    .custom-font-weight h5 {
        font-weight: 900;
        color: #00298E;
    }

    .ml {
        margin-left: 0.8rem !important;
    }
}