// stylelint-disable max-nesting-depth, selector-max-compound-selectors
.join-osf-banner {
    position: fixed;
    bottom: 0;
    z-index: 9;
    background-color: $color-bg-white;
    border-top: 2px solid $color-text-black;
    width: 100%;

    animation-name: slideUp;
    animation-delay: 2s;
    animation-fill-mode: both;
    animation-duration: 1s;

    button,
    button:active,
    button:focus,
    button:focus:active,
    button:hover {
        appearance: none;
        outline: none;
        border: 0;
        background: transparent;
        font-size: large;
        height: 29px;
        padding: 0 0 0 0.7em;
        color: $color-text-gray-light;
    }

    &.collapsed {
        animation-name: slideDown;
        animation-delay: 0s;
    }

    .banner-container {
        padding-top: 10px;
        padding-bottom: 10px;
        width: 100%;
        display: flex;
        flex-direction: row;
        justify-items: flex-start;
        align-items: flex-start;

        .image-container {
            display: flex;
            justify-content: center;
            align-items: center;
            width: 20%;
            height: 120px;

            .image {
                height: 120px;
            }
        }

        .content-container {
            flex: 1;
            display: flex;
            justify-items: flex-start;
            align-items: flex-start;
            height: 120px;

            .message-container {
                flex: 1;
                display: flex;
                flex-direction: column;
                justify-content: flex-start;
                align-items: center;
                height: 120px;

                .header {
                    margin-top: 0;
                }

            }

            .button-container {
                display: flex;
                justify-content: center;
                align-items: center;
                height: 120px;
                width: 95px;
            }
        }
    }
}

@keyframes slideUp {
    from {
        transform: translateY(100%);
    }

    to {
        transform: translateY(0%);
    }
}

@keyframes slideDown {
    from {
        transform: translateY(0%);
    }

    to {
        transform: translateY(100%);
    }
}
