@media (max-width: 991px) {
    .nav-item::after {
        background-color: transparent;
    }

    .nav-link {
        padding: 0.5rem 1rem;
    }
}


@media (min-width: 320px) {

    .banner h2 {
        line-height: 44px;
    }

    .hero-content h2 {
        font-size: 46px;
    }
    .navbar ul {
        background-color: #fff;
        border-radius: 0 0 1rem 1rem;
        gap:1rem!important;
    }
    .navbar ul li {
        margin: 0;
    }

    h2.thin-content {
        font-size: 1.8rem;
    }

    .hero-subtext {
        font-size: 1rem;
    }

    h1.top-title {
        font-size: 1.8rem;
    }

    p.top-subtitle {
        font-size: 1rem;
    }

    h4.head-titles {
        font-size: 16px;
    }

    .preview-picture {
        height: 400px;
        margin-bottom: 5rem;
    }

    .reference-card {
        margin-bottom: 4rem;
    }

    .reference-img {
        width: 100px;
        height: 100px;
        top: -50px;
        border: 2px solid #fff;
        box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    }


    .dotaznik h2 {
        font-size: 1.4rem;
        line-height: 28px;
    }

    /*CENIK*/
    .preview-picture {
        height: 80%;
        /*margin-bottom: 5rem;*/
    }


    .h4 {
        margin-top: 10px;
    }

    .head-titles-ico {
        max-width: 8%;
    }
}

@media (min-width: 576px) {
    .head-titles-ico {
        max-width: 20%;
    }

    .head-titles-ico {
        max-width: 15%;
    }
}

@media (min-width: 768px) {
    .hero-content h2 {
        font-size: 56px;
    }
    .preview-picture {
        height: 400px;
        margin-bottom: 5rem;
    }

    .reference-card {
        overflow: visible;
        min-height: 310px;
        margin-bottom: 70px;
    }

    h2.thin-content {
        font-size: 2.5rem;
    }

    .hero-subtext {
        font-size: 1.2rem;
    }

    .dotaznik h2 {
        font-size: 1.8rem;
        line-height: 36px;
    }

    h1.top-title {
        font-size: 2rem;
    }

    p.top-subtitle {
        font-size: 1.2rem;
    }

    h4.head-titles {
        font-size: 18px;
    }

    h2.thin-content {
        font-size: 2.5rem;
    }

    .story-inner {
/*        padding: 0;*/
    }

    .head-titles-ico {
        max-width: 15%;
    }


}

@media (min-width: 992px) {
    .navbar ul {
        background-color: unset;
    }

    .collapse {
        display: flex !important;
    }

    .reference-card {
        overflow: visible;
        min-height: 630px;
    }

    h2.thin-content {
        font-size: 3rem;
    }

    .head-titles-ico {
        max-width: 13%;
    }

}

@media (min-width: 1200px) {
    .navbar ul li {
        margin: 0.5rem 1rem;
    }

    .hero-subtext {
        font-size: 1.4rem;
    }

}

@media (min-width: 1200px) {
    .banner {
    }

    .container {
    }

    .reference-card {
        overflow: visible;
        min-height: 510px;
    }

    .head-titles-ico {
        max-width: 13%;
    }
}



