#exhibits-widget-container {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-flow: column;
    flex-flow: column;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    width: 100%;
    margin: 0;
    background: transparent;
    min-height: 50vh;
}

#exhibit {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    -ms-flex-flow: row;
    flex-flow: row;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    width: 100%;
}

.exhibit-title {
    color: var(--light);
    font-weight: 700;
    font-size: 32px;
    margin: 0 5px;
}

.exhibit-left, .exhibit-right {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-flow: column;
    flex-flow: column;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    width: 48%;
    height: 60vh;
    max-height: 60vh;
}

.exhibit-left {
    -webkit-animation-name: fadeIn;
    animation-name: fadeIn;
    -webkit-animation-duration: 1100ms;
    animation-duration: 1100ms;
}

.exhibit-right {
    -webkit-animation-name: fadeIn;
    animation-name: fadeIn;
    -webkit-animation-duration: 1000ms;
    animation-duration: 1000ms;
}

.exhibit-right img {
    width: 100%;
    max-width: 500px;
    max-height: 500px;
}

.exit {
    -webkit-animation-name: fadeOut !important;
    animation-name: fadeOut !important;
    -webkit-animation-duration: 600ms !important;
    animation-duration: 600ms !important;
}

.exhibit-text {
    margin: 10px 15px;
    color: var(--light);
    font-size: 20px;
    line-height: 28px;
    font-weight: 300;
}

.exhibit-image {
    -webkit-box-shadow: 1px 4px 8px #000 !important;
    box-shadow: 1px 4px 8px #000 !important;
    border-radius: 6px !important;
    max-height: 50vh;
}

.exhibit-options {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    width: 100%;
    height: 15vh;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    -ms-flex-flow: row;
    flex-flow: row;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
}

#ex-randomize, .exhibit-link {
    margin: 15px auto;
    background: transparent;
    border: 2px solid var(--light);
    border-radius: 50px;
    font-size: 18px;
    color: var(--light);
    padding: 6px 24px 3px 24px;
    text-decoration: none !important;
}


#ex-randomize:hover, .exhibit-link:hover {
    background: var(--peach);
    color: var(--light);
    border: 2px solid var(--peach);
    -webkit-transition: background 300ms, color 300ms, border 300ms;
    -o-transition: background 300ms, color 300ms, border 300ms;
    transition: background 300ms, color 300ms, border 300ms;
}

@media only screen and (max-width: 1380px) {
    .exhibit-right img {
        max-width: 450px;
        max-height: 450px;
    }
}

@media only screen and (max-width: 1200px) {
    .exhibit-right img {
        max-width: 400px;
        max-height: 400px;
    }
}

@media only screen and (max-width: 1000px) {
    .exhibit-right img {
        max-width: 300px;
        max-height: 300px;
    }
}

@media only screen and (max-width: 750px) {
    #exhibit {
        -webkit-box-orient: horizontal;
        -webkit-box-direction: normal;
        -ms-flex-flow: row wrap-reverse;
        flex-flow: row wrap-reverse;
        -webkit-box-pack: center;
        -ms-flex-pack: center;
        justify-content: center;
    }

    .exhibit-left, .exhibit-right {
        width: 80%;
        height: auto;
    }

    #ex-randomize {
        margin: 25px;
        border: 2px solid var(--color-peach);
        color: var(--color-peach);
    }

    #exhibits-widget-container {
        -webkit-box-orient: vertical;
        -webkit-box-direction: reverse;
        -ms-flex-flow: column-reverse;
        flex-flow: column-reverse;
    }

    .exhibit-title {
        font-size: 32px;
        margin: 10px;
        text-align: center;
        width: 100%;
    }
}

@media only screen and (max-width: 600px) {
    #ex-randomize {
        margin: 20px;
    }

    .exhibit-left, .exhibit-right {
        width: 90%;
    }

    .exhibit-title {
        font-size: 28px;
        margin: 10px;
    }

    .exhibit-text {
        font-size: 18px;
        line-height: 26px;
    }
}

@media only screen and (max-width: 420px) {
    #ex-randomize {
        margin: 12px;
    }

    .exhibit-left, .exhibit-right {
        width: 94%;
    }

    .exhibit-title {
        font-size: 24px;
        margin: 8px;
    }

    .exhibit-text {
        font-size: 14px;
        line-height: 20px;
    }
}
