@media (max-width: 1920px) {
    #home {
        margin-bottom: 3%;
    }

    .hero-wrap {
        position: relative;
        padding-top: 175px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .section {
        position: relative;
        padding: 60px 0 0 0;
        overflow: hidden;
    }
}

@media (max-width: 1536px) {
    .section {
        position: relative;
        padding: 80px 0 0 0;
        overflow: hidden;
    }

    .content_page section .mt-2 {
        margin-top: 1.5rem !important;
    }
}

@media (max-width: 1440px) {
    #about {
        padding: 0px 0 80px 0;
    }
}

@media (max-width: 1368px) {
    #about {
        padding: 0px 0;
    }
}


@media (min-height: 912px) and (max-width: 1368px) {
    .content_page section .mt-2 {
        margin-top: 6.5rem !important;
    }

    .section {
        position: relative;
        padding: 80px 0 32px 0;
        overflow: hidden;
    }
}


@media (max-width: 1280px) {
    #about {
        padding: 0 0 25px 0;
    }
    .nav-block {
        width: 100%;
        display: flex;
        align-items: center;
        justify-content: end;
        gap: 70px;
    }
}

@media (max-width: 1025px) {
    .hero-wrap {
        padding-top: 65px;
    }

    .content_page section .mt-2 {
        margin-top: 0.5rem !important;
    }

    #about {
        margin-top: 10%;
    }

    .section {
        position: relative;
        padding: 120px 0 0 0;
        overflow: hidden;
    }

    .navbar-expand-lg .navbar-toggler {
        display: block;
    }

    .nav {
        position: fixed;
        bottom: -250%;
        left: 0;
        width: 100%;
        height: 582px;
        background: #DBDBCB;
        border-radius: 35px 35px 0 0;
        padding: 0 15px 30px 15px;
        transition: all 0.5s ease;
    }

    .nav.active {
        bottom: 0;
    }

    .nav-block {
        width: 100%;
        height: 100%;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        padding: 25px;
        gap: 0;
    }

    .team_link,
    .nav-link {
        padding: 20px 0px;
        border-bottom: 1px solid #000000;
        width: 220px;
    }

    .nav-link:first-child {
        border-top: 1px solid #000000;
    }

    .navbar-toggler {
        width: auto;
        height: auto;
        padding: 0;
    }

    .navbar-toggler i {
        font-size: 30px;
    }

    .fa-xmark {
        display: none;
    }

    .fa-bars.active {
        display: none;
    }

    .fa-xmark.active {
        display: block;
    }


    .section {
        position: relative;
        padding: 75px 0;
        overflow: hidden;
    }

    .hero-wrap {
        padding-top: 75px;
    }

    #fadein {
        flex-direction: column;
    }

    #fadein .col-md-6 {
        flex: 0 0 auto;
        width: 100%;
    }

    .katalog__wrapper {
        align-items: center;
    }

    .katalog__card-img {
        width: 248px;
        height: 154px;
        overflow: hidden;
        margin-bottom: 35px;
    }

    .swiper {
        flex-direction: row;
        display: flex;
        overflow: hidden;
    }

    .swiper-slide {
        flex-shrink: 0;
        width: 240px;
        position: relative;
    }
    .swiper-slide .portfolio .portfolio-box .portfolio-img {
        position: relative;
        overflow: hidden;
        height: 366px;
        width: auto;
    }
    .swiper-slide .portfolio .portfolio-box .portfolio-img img {
        -webkit-transition: all 0.3s ease-in-out;
        transition: all 0.3s ease-in-out;
        max-width: 100%;
        height: 100%;
    }

    .swiper-wrapper {
        gap: 0;
        position: relative;
        z-index: 1;
        flex-wrap: nowrap;
        display: flex;
        transition-property: transform;
        box-sizing: content-box;
    }

    .swiper-slide .portfolio .portfolio-box p {
        /*font-size: 26px;*/
        top: 57%;
    }

    #careers {
        height: 75%;
    }

    #team {
        margin-top: 47px;
    }

    #team .col-md-6 {
        width: 100%;
        flex: 1 0 0;
        text-align: center;
    }

    .row-top {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }

    .row-top h1 {
        font-weight: 900;
        font-size: 30px;
        line-height: 29px;
    }

    .result_name {
        margin: 0 auto;
    }

    .row-top .border-line {
        border-top: 1px solid black;
        border-bottom: 1px solid black;
        padding: 10px 0;
    }

    .row-top .border-line .email {
        font-weight: 700;
        font-size: 24px;
        line-height: 27px;
    }

    .row-top .border-line .phone {
        font-weight: 700;
        font-size: 20px;
        line-height: 27px;
    }

    .row-top_text div {
        padding: 15px 0;
        border-bottom: 1px solid black;
    }

    .swiper-slide .portfolio .portfolio-box .portfolio-img p {
        left: 0;
        padding: 0 10px;
    }

    .swiper-slide .portfolio .portfolio-box .portfolio-overlay-details h1 {
        font-size: 26px;
    }

    .swiper-slide .portfolio .portfolio-box .portfolio-overlay-details h5 {
        font-size: 16px;
        /*max-width: 285px;*/
        text-transform: none;
    }
}

@media(max-height: 366px) and (max-width: 1023px) {
    .nav {
        position: fixed;
        bottom: -250%;
        left: 0;
        width: 100%;
        height: 270px;
        background: #DBDBCB;
        border-radius: 35px 35px 0 0;
        padding: 0 15px 30px 15px;
        transition: all 0.5s ease;
    }
    .team_link, .nav-link {
        padding: 10px 0px;
        border-bottom: 1px solid #000000;
        width: 220px;
    }
}

@media (max-width: 1000px) {
    #header .navbar {
        margin-top: 0;
        padding: 0;
        position: fixed;
    }

    .primary-menu {
        background: #DBDBCB;
    }

    #careers {
        overflow: auto;
    }

    .careers_block {
        flex-direction: column;
        gap: 0;
    }

    .careers_block a {
        border-top: 0 solid #000000;
        border-bottom: 1px solid #000000;
    }

    .careers_block a:first-child {
        border-top: 1px solid #000000;
    }

    .team_page #contact {
        padding: 0 0 0 0;
    }

    /**/
    #team {
        margin-top: 15px;
    }

    /*Katalog Style End*/
    #team .col-md-6 {
        width: 100%;
        flex: 1 0 0;
        text-align: center;
    }

    #team .container {
        max-width: 100%;
        padding: 25px 30px;
        /*padding: 23px;*/
    }

    .row-top {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }

    .row-top h1 {
        font-weight: 900;
        font-size: 30px;
        line-height: 29px;
    }

    .row-top .border-line {
        border-top: 1px solid black;
        border-bottom: 1px solid black;
        padding: 10px 0;
    }

    .row-top .border-line .email {
        font-weight: 700;
        font-size: 24px;
        line-height: 27px;
    }

    .row-top .border-line .phone {
        font-weight: 700;
        font-size: 20px;
        line-height: 27px;
    }

    .row-top_text div {
        padding: 15px 0;
        border-bottom: 1px solid black;
    }

    #fadein {
        display: flex;
        justify-content: space-between;
    }

    #home {
        margin-top: 15%;
        margin-bottom: 0;
    }
}

@media (max-width: 896px) {
    .nav {
        position: fixed;
        bottom: -250%;
        left: 0;
        width: 100%;
        height: 325px;
        background: #DBDBCB;
        border-radius: 35px 35px 0 0;
        padding: 0px 15px 30px 15px;
        transition: all 0.5s ease;
    }

    .nav-block {
        width: 100%;
        height: 100%;
        flex-direction: column;
        align-items: center;
        justify-content: end;
        padding: 10px;
        gap: 0;
    }

    .hero-wrap {
        padding-top: 10px;
    }

    .swiper-slide .portfolio .portfolio-box p {
        top: 65%;
    }

    .team_page .row > * {
        flex-shrink: 0;
        width: 100%;
        max-width: 100%;
        padding-right: calc(var(--bs-gutter-x) * .59);
        padding-left: calc(var(--bs-gutter-x) * .59);
        margin-top: var(--bs-gutter-y);
    }

    .swiper-slide-active {
        margin-left: 0px;
    }

}

@media (max-width: 780px) {
    #services ul, #services p,
    #about ul, #about p {
        font-family: 'Noto Sans';
        font-style: normal;
        font-weight: 300;
        font-size: 20px;
        line-height: 28px;
    }
}

@media (max-width: 768px) {
    #home {
        margin-top: 34%;
        margin-bottom: 0;
    }
}


@media (max-height: 540px) and (max-width: 720px){
    #home {
        margin-top: 14%;
        margin-bottom: 0;
    }
}

@media (max-width: 717px) {
    #home {
        margin-top: 36%;
        margin-bottom: 26%;
    }

    .content_page section .mt-2 {
        margin-top: 3.5rem !important;
    }

    .section {
        padding: 90px 0;
    }

    #about {
        margin-top: 42%;
    }
}


@media (max-height: 512px) and (max-width: 717px) {
    #home {
        margin-top: 10%;
        margin-bottom: 5%;
    }

    #about {
        margin-top: 0%;
    }

    .section {
        padding: 60px 0 0 0;
    }
}



@media (max-width: 414px) {
    #team {
        margin-top: 15px;
    }

    .swiper-slide-active {
        margin-left: 20px;
    }
    #home {
        margin-top: 36%;
        margin-bottom: 12%;
    }
    #about {
        margin-top: 20%;
    }
}

/*@media (max-width: 375px) {*/
/*    .swiper-slide.swiper-slide-prev {*/
/*        margin-right: 0px;*/
/*        margin-left: 20px;*/
/*    }*/
/*}*/


@media (min-width: 1026px) {
    #fadein {
        display: flex;
    }

    .katalog__wrapper {
        align-items: center;
    }

    .katalog__card {
        /*height: 456.83px;*/
        width: 318px;
        border-radius: 15px;
        position: relative;
    }

    .katalog__card-img {
        width: 248px;
        height: 154px;
        overflow: hidden;
        margin-bottom: 35px;
    }

    .swiper {
        flex-direction: row;
        display: flex;
    }

    .swiper-wrapper {
        gap: 30px;
        position: relative;
        z-index: 1;
        flex-wrap: wrap;
        display: flex;
        transition-property: transform;
        box-sizing: content-box;
    }

    .swiper-slide {
        flex-shrink: 0;
        width: 300px;
        position: relative;
    }

    .swiper-slide .portfolio .portfolio-box p {
        font-size: 35px;
        width: 100%;
        text-align: center;
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 0 25px;
    }

    .swiper-slide .portfolio .portfolio-box .hover_linkedin a {
        position: relative;
        width: 100%;
        z-index: 1000;
        transition: all 0.3s ease;
    }

    .swiper-slide .portfolio .portfolio-box .hover_linkedin a:hover {
        color: #0a53be;
    }

    #careers {
        height: 75%;
    }
}


@media (min-width: 1200px) and (max-width: 1399px) {
    .katalog__card {
        max-width: 255px;
        border-radius: 15px;
        position: relative;
    }

}

@media (min-width: 1921px) {
    #about {
        padding: 65px 0 15px 0;
    }
    .section {
        position: relative;
        padding: 60px 0 40px 0;
        overflow: hidden;
    }
    #home {
        margin-bottom: 100px;
    }
}
