@media screen and (max-width: 600px) {

    .main {
        padding: 0 12pt;
    }

    .nav {
        width: inherit;
        padding: 8pt 20pt;
        display: flex;
        flex-direction: row;
        border-bottom: 3pt solid #e6e6e6;
        border-bottom-style: groove;
    }
    
    .nav .logo {
        width: 30pt;
        height: 30pt;
    }

    .menu {
        display: none;
    }

    .menu_mobile {
        display: flex;
    }

        /* About Us */

    .about_main_card {
        border-radius: 10pt;
        background-color: rgba(219, 238, 255, 0.3);
    }

    .about_main_cards {
        margin-bottom: 12pt;

    }

    .about_main_card h1 {
        margin-top: 0;
    }

    .under__header {
        height: 80vh;
        margin-bottom: 16pt;
    }

    .under__header h1 {
        text-align: center;
        border: none;
    }

    .about__card {
        margin: 24pt 0 20pt;
    }

    .about_us_icon {
        padding: 40pt 0;
        background-color: rgba(219, 238, 255, 0.3);
        border-radius: 10pt;
    }

    .about_content {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 24pt;
    }

    .about_sert {
        width: 240pt;
        height: 300pt;
        background-image: url(/img/sert.png);
        background-repeat: no-repeat;
        background-size: contain;
    }

    .about_us_icon .icon_first, .about_us_icon .icon_second , .about_us_icon .icon_third {
        width: 80pt;
        height: 76pt;
    }

    .about_us_icon h3 {
        text-align: center;
        font-size: 16px;
    }


    /* contact */

    .contact {
        margin-bottom: 0;
    }

    .contact_card {
        display: flex;
        flex-direction: column;
        gap: 12pt;
    }

    .contact_info {
        display: flex;
        flex-direction: row;
        padding-bottom: 16pt;
    }

    .contact_text {
        flex-grow: 1;
        font-size: 14pt;
        text-align: left;
    }

    .contact .logo {

        margin-right: 12pt;
        
    }

 


    /* clients */

    .client {
        margin-bottom: 12pt;
    
    }
    
    .client_logos {
        gap: 12pt;
    }
    
    .client_logos > div{
        width: 90pt;
        height: 45pt;
    
    }

    /* map */

    .map {
        width: 100%;
    }
    
    .map iframe {
        width: 100%;
        height: 300px;
    }

    .leaflet-popup-content-wrapper {
        width: 120px!important;
        max-width: 120px!important;
    }

    .leaflet-popup {
        width: 120px!important;

    }

    .footer span {
        padding-left: 12pt;
        padding-right: 12pt;
    }

    .general__info {
        display: flex;
        flex-direction: column;

    }

    .general__info .right {
        font-weight: bold;
        font-size: 16pt;
    }

    .general__info, .about_main_cards, .niokr__card .card {
        padding: 12pt 12pt;
    }



    .text {
        font-size: 12pt;
    }

    .card {
        flex-direction: column;
    }

    .niokr__card .card:nth-child(2n-1) .photo{
        order: -1;
    }

    .niokr__card .card {
        align-items: center;
        margin-top: 12pt;
    }

    .niokr__card .card .photo {
        height: 200pt;
        width: 100%;
        min-width: 200px;
        border-radius: 15pt;
        background-position: center;
        background-size: cover;
    }

    .niokr__card .card:nth-child(2n) .text{
        padding-left: 0;
        padding-right: 0;
    
    }
    
    .niokr__card .text {
        padding: 12pt 0 0 0 ;
        margin: 0;
    }


    .dif_cards {
        display: flex;
        flex-direction: column;
        border-radius: 10pt;
        gap: 12pt;

    }
    
    .dif_card{
        background-color: rgba(219, 238, 255, 0.3); 
        border-radius: 10pt;
        padding: 12pt;
    }
    
    .dif_cards .text{
        font-size: 12pt;
        margin: 0;
    }
    
    .dif_cards .text::before {
        width: 28pt;
        height: 28pt;
        margin-bottom: 12pt;
    }


    .sol_card {
        padding: 12pt;
    }

    .sol_card__info {
        display: flex;
        flex-direction: column;

    }
    
    ul {
        padding-left: 0;
    }



    ul li {
        padding: 0;
        padding-left: 16pt;
        padding-right: 8pt;
        margin: 12pt 0 ;

        background-image: url(/img/ul_li.svg);
        background-size: 7pt 7pt;
        background-repeat: no-repeat;
        background-position-x: left;
        background-position-y: 4pt;
        font-size: 12pt;
    }

    ol li {
        margin: 12pt 0 12pt 20pt;
        font-size: 16px;
        line-height: 18pt;
    }
    
    ol li::marker {
        color: #0061d3;
        font-weight: 600;
    }

    .header {
        padding: 48pt 0 32pt 0;
        font-size: 24pt;
    }

    h1 {
        font-size: 20pt;
    }


    /* EDUCATION */

    .buttons {
        display: flex;
        flex-direction: column;
        gap: 12pt;
    }

    .education_card {
        padding: 12pt;
        margin-bottom: 12pt;
    }

    .education_card_info {
        display: flex;
        flex-direction: column;
    }

    .education_card_info ul {
        margin: 0;
        margin-bottom: -12pt;
        padding-left: 8pt;
    }

    h2 {
        margin: 0;
        margin-bottom: 20pt;
        padding-bottom: 8pt;
        border-bottom: 1pt dashed #0061d3;
        font-size: 16pt;
    }

    .consulting_card {
        margin-bottom: 24pt;
    }

    #scrollToTopBtn {
        display: none!important;
    }


    /* SDOT */

    .sdot__card {
    padding: 12pt;

    }

    .sdot__lists {
        display: flex;
        flex-direction: column;
        gap: 12pt;
    }

    .sdot__list {
        background-color: rgba(219, 238, 255, 0.3); 
        border-radius: 10pt;
        padding: 12pt;
    }
    
    .sdot__lists .text::before {
        width: 28pt;
        height: 28pt;
        margin-bottom: 12pt;
    }
    
    .sdot__list.text:first-of-type {
        margin-top: 12pt;
    }

    .links.active{

        padding: 12pt 0;
    
        position: absolute;
        width: 100%;
        max-width: 600px;
        top: 49pt;
        right: 0;

    }

    .btn {
        background-color: rgba(219, 238, 255, 0.3);
        border-radius: 12pt;
        padding: 8pt;
        margin: 4pt;
    
        font-size: 12pt;
    }
    
    .btn:hover {
        background-color: #cce2f7;
    }
    
    .buttons-nav {
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
    
    }
    

}












@media  screen and (min-width: 601px) and (max-width: 1026px) {
    .main {
        padding: 0 32pt;
    }

    .nav {
        padding: 8pt 32pt;
    }

    .under__header {
        height: 80vh;
    }

    .footer span{
        padding: 8pt 32pt;

    }

    .about_content {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 24pt;
    }
    
    .about_sert {
        width: 240pt;
        height: 300pt;
        background-image: url(/img/sert.png);
        background-repeat: no-repeat;
        background-size: contain;

    }

    .map {
        width: 100%;
    }

    .map iframe {
        width: 100%;
        height: 300px;
    }

    .leaflet-popup-content-wrapper {
        width: 300px!important;
        max-width: 300px!important;
    }

    .leaflet-popup {
        width: 300px!important;

    }

    .niokr__card .card .photo {
        height: 120pt;
        width: 100%;
        min-width: 120pt;
        border-radius: 15pt;
        background-position: center;
        background-size: cover;
    }
    


    /* SDOT */

    .sdot__card {
        padding: 12pt;

    }

    .sdot__lists {
        display: grid;
        grid-template-columns: 1fr ;
        gap: 12pt;
    }

    .sdot__list {
        background-color: rgba(219, 238, 255, 0.3); 
        border-radius: 10pt;
        padding: 12pt;
    }
    
    .sdot__lists .text::before {
        width: 28pt;
        height: 28pt;
        margin-bottom: 12pt;
    }
    
    .sdot__list.text:first-of-type {
        margin-top: 12pt;
    }


    .contact_card {
        display: grid;
        grid-template-columns: 1fr 2fr;
        gap: 24pt;
    }

    .contact_info {
        display: flex;
        flex-direction: row;
        padding-bottom: 24pt;
    }

    .info_contact {
        width: 100%;
        min-width: 300px;
    }
        

    
}












@media  screen and (min-width: 600px) and (max-width: 800px) {
    .main {
        padding: 0 24pt;
    }

    .nav {
        padding: 8pt 24pt;
    }

    .footer span{
        padding: 8pt 24pt;
    }

    /* clients */

    .client {
        margin-bottom: 12pt;
    
    }
    
    .client_logos {
        gap: 12pt;
    }
    
    .client_logos > div{
        width: 120pt;
        height: 45pt;
    
    }

    .about_us_icon .icon_first, .about_us_icon .icon_second , .about_us_icon .icon_third {
        width: 110pt;
        height: 100pt;
    }

    .about_us_icon h3 {
        text-align: center;
        font-size: 16px;
    }

    .buttons {
        display: grid;
        grid-template-columns: 1fr 1fr ;
        gap: 12pt;
    }

    .dif_cards {
        grid-template-columns: 1fr 1fr;
        border-radius: 10pt;
        gap: 18pt;

    }

    .niokr__card .card {
        margin-top: 24pt;
    }

    .education_card {
        padding: 12pt;
        margin-bottom: 24pt;
    }

    .contact_text {
        flex-grow: 1;
        font-size: 14pt;
        text-align: left;
    }

    .sol_card {
        padding: 24pt;
    }

    .sol_card__info {
        display: flex;
        flex-direction: column;
    
    }

    .sol_card li{
        font-size: 14pt;

    }
    
}



@media  screen and (min-width: 800px) and (max-width: 1280px) {
    .main {
        padding: 0 60pt;
    }

    .nav {
        padding: 8pt 60pt;
    }

    .under__header {
        height: 80vh;
    }
}







@media screen and (min-width: 400px) and (max-width:1120px) {
    .menu {
        display: none;
    }

    .menu_mobile {
        display: flex;
    }


}

@media screen and (max-width:800px) {
    .table_pp {
        overflow-x: scroll;
    }
}

