@media only screen and (max-width: 1700px) {

    header {
        padding: 14px;
    }

    #slider-desktop {
        display: none;
    }

    #slider-mobile {
        display: flex;
    }

    #nav-desktop {
        display: none;
    }

    #btn-nav-mobile {
        display: flex;
    }


}

@media only screen and (max-width: 1024px) {

    .btn-icon-lg {
        width: 40px;
        height: 40px;
        min-width: 40px;
        min-height: 40px;
        font-size: 1em;
    }

    .container {
        padding: 14px;
    }

    .popup {
        width: 100vw;
    }

    .footer-text {
        flex-direction: column;
        justify-content: space-between;
    }

    .home-btns {
        flex-direction: column;
    }

}


@media only screen and (max-width: 768px) {

    .footer-text-two {
        flex-direction: column;
        row-gap: 5px;
    }

}


@media only screen and (max-width: 575px) {

    .company-name {
        display: none;
    }

    .split-divs {
        flex-direction: column;
    }

    .split {
        flex: unset;
        width: 100%;
    }

    #index h1 {
        row-gap: 10px;
        font-size: 2.1875em;
    }

    .home-img {
        max-width: 350px;
    }

    #about .flex> :first-child,
    #about .flex> :last-child {
        flex-direction: column;
    }

    .about-img {
        align-self: center;
    }

    #owners .flex-sm,
    #shelters .flex-sm {
        flex-direction: column;
    }

    .owners-img,
    .img-phone,
    #shelters a {
        align-self: center;
    }

    .subsection-title {
        width: 100%;
        text-align: center;
    }

    #search-container {
        width: 275px;
        margin: 0 14px 14px 14px;
    }
}