@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&family=Raleway&display=swap');
@media(max-width:992px){
    .nav-bar-links{
        display: none;
    }
    .top-nav-bar .nav-bar-part:nth-child(2){
        display: none;
    }
    .burger{
        display: block !important;
    }
    .container{
        width: 750px !important;
    }
    .container .nav-bar{
        padding: 0 35px !important;
    }
    .links{
        display: none !important;
    }
    .trans-part{
        position: fixed;  
        top: 0;
        left: -1000px;
        width: 30%;
        margin: 0;
        height: 100%;
        z-index: 7;
        background: black;
        opacity: 0.7;
        transition: .5s ease-in-out;
    }
    .nav-bar-mobile-part{
        position: fixed;
        width: 70%;
        height: 100%;
        margin: 0;
        z-index: 1;
        background: white;
        right: -1000px;
        top: 0;
        transition: .5s ease-in-out;
        display: flex !important;
        justify-content: center;
        overflow: hidden;
    }
    .nav-bar-mobile-part.active,.trans-part.active{
        transition: .5s ease-in-out;
    }
    .nav-bar-mobile-part.active{
        transition: .5s ease-in-out;
        width: 70% !important;
        right: 0;
        height: 100%;
    }
    .trans-part.active{
        left: 0;
    }
    .body.active{
        overflow-y: hidden;
    }
    .side_bar{
        display: flex;
        width: 70%;
        padding-top: 110px;
        flex-direction: column;
        justify-content: space-between;
        animation: sidebar 1s ease-in-out;
        transition: width 0.5s ease-in-out;
    }
    .side_bar.active{
        animation-delay: 1.5s;
        animation: sidebar 1s ease-in-out;
        transition: width 0.5s ease-in-out;
    }
    @keyframes sidebar {
        from{
            opacity: 0;
        } to {
            opacity: 1;
        }
    }
    .side_bar .footer_part{
        border-top: 1px solid black;
        margin-top: 30px;
        padding-top: 20px;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
    }
    .side_bar .footer_part .contacts h4{
        padding: 20px 0 ;
        margin: 0;
        font-family: 'Poppins';
        font-weight: 700;
        font-size: 18px;
        text-decoration: underline;
    }
    .side_bar .footer_part .contacts .contact{
        display: flex;
        flex-direction: column;
    }
    .side_bar .footer_part .contacts .contact span{
        font-family: 'Poppins';
        font-weight: 700;
        font-size: 14px;
        color: black;
        opacity: 0.7;
        margin-bottom: 7px;
    }
    .side_bar .footer_part .contacts .contact a{
        font-family: 'Poppins';
        font-weight: 700;
        font-size: 14px;
        color: #ECB349;
        margin-bottom: 20px;
    }
    .side_bar .footer_part .socials ul li{
        padding: 5px 0;
    }
    .side_bar .footer_part .socials ul li a{
        font-family: 'Poppins';
        font-weight: 400;
        font-size: 14px;
        color: #34495e;
    }
    .side_bar .footer_part .footer {
        display: flex;
        flex-direction: column;
        padding: 20px 0;
    }
    .side_bar .footer_part .footer span:nth-child(1){
        opacity: 0.7;
    }
    .side_bar .footer_part .footer span{
        font-family: 'Poppins';
        font-weight: 700;
        font-size: 14px;
        color: black;
        margin-top: 10px;
    }
    .side_bar .footer_part .icones{
        width: 55%;
        display: flex;
        gap: 20px;
    }
    .side_bar .footer_part .icones .icone{
        width: 20px;
        height: 20px;
    }
    .side_bar .footer_part .icones .icone a img{
        width: 100%;
        height: 100%;
    }
    .nav_links{
        display: flex;
        flex-direction: column;
        gap: 25px;
    }
    .mobile-link{
        font-family: 'Poppins';
        font-weight: 700;
        font-size: 16px;
        color: black;
        text-decoration: none;
    }

    .sub-links .mobile-link-item .mobile-link{
        font-family: 'Poppins';
        font-weight: 400;
        font-size: 16px;
    }
    .sub-links{
        margin-top: 15px;
        display: flex;
        flex-direction: column;
        gap: 15px;
    }
    .section-title-2 {
        font-size: 35px;
    }
    .section-title-1{
        font-size: 45px;
    }
    .home-section-2 {
        display: grid;
        grid-template-columns: 1fr;
        grid-auto-rows: minmax(min-content, max-content);
        grid-column-gap: 20px;
        grid-row-gap: 20px;
    }
    .grid-item{
        position: static;
        padding: 40px 30px;
    } 
    .item-1 {
        grid-area: 1 / 1 / 2 / 2;
        background-color: white !important;
        padding: 0px;
        margin-bottom: 10px;
    }
    .item-2 {
        grid-area: 2 / 1 / 3 / 2;
    }
    .item-3 {
        grid-area: 3 / 1 / 4 / 2;
        flex-direction: column;
    }
    .home-section-3 {
        display: grid;
        grid-template-columns: 1fr;
        grid-auto-rows: minmax(min-content, max-content);
        grid-column-gap: 20px;
        grid-row-gap: 20px;
    }
    .sec3-item-1 { 
        grid-area: 4 / 1 / 5 / 2;
        height: auto;
        display: none;
    }
    .sec3-item-2 { 
        grid-area: 3 / 1 / 4 / 2;
        height: auto;
        height: 300px;
        display: none;
    }
    .sec3-item-3 { 
        grid-area: 2 / 1 / 3 / 2; 
        height: auto;
        display: none;
    }
    .sec3-item-4 {
        width: 100%;
        grid-area: 1 / 1 / 2 / 2;
        padding-left: 0;
    }

    .sec4-item-7, .sec4-item-4, .sec4-item-3 {
        padding: 0 25px;
    }
    .arrow {
        margin-right: 20px;
    }
    .big-title {
        font-size: 25px;
    }
    .sec4-content .text {
        width: 100%;
    }
    .item-sub-title {
        font-size: 18px !important;
        margin: 15px 0;
    }
    .home-section-6 {
        display: grid;
        grid-template-columns: 1fr;
        grid-auto-rows: minmax(min-content, max-content);
        grid-column-gap: 30px;
        grid-row-gap: 30px;
    }
    .sec6-item {
        /* padding: 40px 30px; */
        background-color: #EFEFEF;
    }
    .sec6-item-1 { grid-area: 1 / 1 / 2 / 2; }
    .sec6-item-2 { grid-area: 2 / 1 / 3 / 2; }
    .sec6-item-3 { grid-area: 3 / 1 / 4 / 2; }
    .sec6-item-4 { grid-area: 4 / 1 / 5 / 2; }

    .sec6-item-5 {
        display: block;
        text-align: center;
        display: flex;
    } 
    .main-container .scroll-btn {
        display: none;
    }

    .fp1-item1 .section-title-2, .fp1-item3 .section-title-2, .fp1-item5 .section-title-2  {
        font-size: 24px;
    }
    .logo {
        width: 90px;
    }
    .text {
        font-size: 14px;
    }
    .fp1-item4 .section-title-2 br{
        display: none !important;
    }
    .sec7-item {
        width: 150px;
    }
    .sec7-content {
        gap: 30px;
    }
    .section-5, .home-section-6, .home-section-7, .footer-section, .section-8, .section-9, .section-10, .section-11 {
        margin-top: 80px;
    }
    .sec5-img {
        width: 80px;
        height: 80px;
    }
    .sec5-item .text {
        margin: 20px 0 0;
    }
    .section-title-1 {
        font-size: 40px;
    }
    .item-1 .section-title-1 {
        justify-content: start;
    }
    .icon-md {
        width: 30px;
        height: 30px;
    }
    .slider-content, .news-cover {
        padding: 60px 0;
    }
    .item-img {
        display: block;
        background-color: #333;
        position: static;
        width: 100%;
        height: 300px;
        /* border: 1px solid red; */
    }
    .item-img img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
    .grid-item {
        padding: 0;
        display: flex;
        flex-direction: column-reverse;
    }
    .sec-text-content{
        padding: 30px;
        background-color: #EFEFEF;
    }
    .sec-text-content .text:nth-child(4){
        display: none;
    }
    .sec-text-content .btn-link{
        display: flex;
        margin-top: 20px;
        background-color: #ECB349;
        /* border: 1px solid #ECB349; */
        color: #EFEFEF;
        height: 50px;
    }
    .sec3-item-4 .sec3-item{
        display: block;
        height: 600px;
        margin: 20px 0 0;
    }
    .sec3-item-4 .sec3-item img{
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
    .sec3-item .text {
        /* margin: 15; */
        width: 100%;
    }
    .project-item{
        width: 100% !important;
        flex-grow: 1;
        padding: 30px 40px !important;
    }
    .home-section-1{
        flex-direction: column-reverse;
    }
    .part-2 {
        width: 100%;
        height: 400px;
    }
    .part-1 {
        margin-top: 30px;
        width: 100%;
        height: auto;
    }
    .home-section-7.startups{
        display: flex;
        flex-direction: column-reverse;
        align-items: flex-start;
    }
    @keyframes scroll {
        0%{
            transform: translateX(0);
        }
        100%{
            transform: translateX(calc(-150px * 3.5));   
        }
    }
    .sec7-content{
        width: calc(150px * 7);
    }
    .startups .sec7-content .text {
        width: 100%;
        text-align: left;
    }

    .hs7-image {
        margin-top: 30px;
        width: 100%;
        height: 300px;
        /* border: 1px solid black; */
    }
    .hs7-content{
        padding-left: 0px;
        width: 100%;
        height: fit-content;
    }
    .section-8 .text {
        margin-top: 30px;
        width: 70%;
    }
    .section-8-content{
        margin-top: 30px;
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: repeat(4, 1fr);
        grid-column-gap: 20px;
        grid-row-gap: 20px; 
    }
    .sec8-item1 {
        grid-area: 1 / 1 / 2 / 2;
    }
    .sec8-item2 {
        grid-area: 1 / 2 / 2 / 3;
    }
    .sec8-item3 {
        grid-area: 2 / 1 / 3 / 2;
    }
    .sec8-item4 {
        grid-area: 2 / 2 / 3 / 3;;
    }
    .sec8-item5 { 
        grid-area: 3 / 1 / 4 / 2;
    }
    .sec8-item6 {
        grid-area: 3 / 2 / 4 / 3;
    }
    .sec8-item7 {
        grid-area: 4 / 1 / 5 / 2;
    }
    .sec8-item8 {
        grid-area: 4 / 2 / 5 / 3;;
    }
    .home-section-7 .section-title-1 {
        text-align: left;
    }
    .section-9 {
        display: flex;
        width: 100%;
        justify-content: space-between;
        align-items: center;
    }
    .section-10 {
        gap: 30px;
    }
    .sec10-content {
        padding: 25px;
    }
    .hs-6-content{
        flex-direction: column;
    }
    .sec-text-content .abstract {
        flex: 0;
    }
    .sec-text-content {
        height: min-content;
    }
    .about-content {
        margin-top: 40px;
    }
    .about-item {
        width: 100%;
        flex-grow: 1;
        height: auto;
    }
    .about-item:nth-child(1) {
        order: 1;
    }
    .about-item:nth-child(2) {
        order: 2;
    }
    .about-item:nth-child(3) {
        order: 4;
    }
    .about-item:nth-child(4) {
        order: 3;
    }
    .about-item:nth-child(5) {
        order: 6;
    }
    .about-item:nth-child(6) {
        order: 7;
    }
    .about-item:nth-child(7) {
        order: 8;
    }
    .about-item:nth-child(8) {
        order: 7;
    }
    .about-item.img{
        height: 400px;
    }
    .comments{
        flex-direction: column;
    }
    .categories {
        flex-direction: column;
    }
    .hs-6-content {
        margin-top: 0;
    }
}