@media screen and (min-width: 451px) and (max-width: 767px) {
    #home-flex-gallery > a {
        width: 50%;
    }

    [id^="gallery-gallery-"] > a {
        width: 50%;
    }

    .home-carousel-caption h3 {
        font-size: 30px;
        line-height: 35px;
        font-weight: bold;
        text-align: right;
        margin: 0 0;
        color: #ffffff;
    }

    .home-carousel-caption p {
        font-size: 24px;
        line-height: 30px;
        font-weight: bold;
        text-align: right;
        color: #ffffff;
    }

    #why-choose-home-flex-ul {
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: space-around;
        list-style-type: none;
        margin: 30px 0 30px 0;
        padding: 0;
    }

    #why-choose-home-flex-ul > li {
        width: calc((100% / 2) - 20px);
        padding: 20px 20px;
        margin: 0 20px 20px 0;
        border: 1px solid #3187c8;
        list-style-type: none;
    }

    #why-choose-home-flex-ul > li:nth-of-type(2n+2) {
        margin-right: 0;
    }

    #footer-logo-img {
        max-width: 70%;
        margin: 20px auto;
    }

    #header-top-bar a {
        color: #ffffff;
        font-weight: bold;
        font-size: 17px;
    }
}