@media screen and (max-width:991px) {


    #rent-form > div.form-container {
        grid-template: auto / auto;
    }

    #rent-form div.acceptance_container {
        flex-direction: column;
    }

    #rent-form div.acceptance_container label {
        font-size: 12px;
    }

    #rent-form-container button[type="submit"] {
        width: 100%;
        margin-top: 1rem;
    }


    .module-text h1 {
        font-size: 36px;
    }

    .module-text p {
        text-align: left !important;
    }

    .grid-products > div {
        flex: 0 0 100%;
        max-width: 100%;
    }

    .bg_logo {
        padding-bottom: 18rem;
    }

    .banner-section {
        padding: 8rem 0 10rem 0;
    }

    .banner-section:before {
        background: linear-gradient(169deg, rgba(5,33,52,1) 35%, rgba(5,33,52,0.10127801120448177) 100%);
    }

    .section_3_description .section_3_description_text {
        grid-template: auto / auto;
    }
    
    nav#main-navbar .main-nav {
        align-items: center;
        width: 100%;
        padding: 3rem 0;
    }

    .navbar-nav .nav-link:focus,
    .navbar-nav .nav-link {
        padding: 0.5rem 0 !important;
    }

    nav#main-navbar .second-menu ul {
        padding: 1rem 0;
        justify-content: space-around;
    }


    .navbar-collapse {
        flex-direction: column-reverse;
        display: flex;
        border-bottom: 3px solid var(--primary-color);
    }

    .navbar-toggler {
        top: 0;
    }

    
    .module-text .loaded {
        font-size: inherit;
        margin: 0;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .header-section-page h1 > span {
        margin-bottom: 0.5rem;
        min-width: inherit;
        height: fit-content;
    }

    .logo-footer {
        text-align: center;
    }


    .about-section-1-img {
        margin-top: 2rem !important;
    }


    .image-text-section {
        padding: 1rem 0 !important;
        margin: 1rem 0 !important;
    }

    .image-text-section .bg_logo {
        padding-bottom: 3rem;
        margin-bottom: 2rem;
    }


    .single-product-row {
        flex-direction: column;
    }

    .single-product-row > div {
        flex: 0 0 100%;
        min-width: 100%;
    }

    .single-product-row .product-gallery {
        padding: 1.5rem;
    }

    .single-product-row .product-gallery img {
        height: auto;
    }

    .single-product-row .product-summary {
        padding-top: 2rem;
        padding-bottom: 12rem;
    }

    .dotari_duba {
        grid-template: auto / repeat(2, 1fr);
    }


    .car-prices .builder-row > div {
        grid-template-columns: repeat(3, 1fr);
    }


    footer .module-social {
        padding: 3rem 0;
    }

    footer .builder-row > div:last-of-type {
        justify-content: center !important;
    }
    
    footer .module-text p {
        width: 100%;
        text-align: center !important;
    }
}