@media(max-width: 1360px){
.kompetencii {
    padding-left: 0;
    display: flex;
    justify-content: space-between;
}
}

@media(max-width:1200px ){
.wrp {
    width: min(965px, calc(100% - 48px));
}
.footer {
    width: 100%;
}
.contacts {

}.contacts-qr {
    width: 194px;
}
.contacts-items {
       margin-top: 41px;
    padding-top: 20px;
    width: 672px;
}
.contacts-razd {
    margin-top: 24px;
    margin-bottom: 26px;
}
.contacts-social {
    margin-top: 25px;
    gap: 25px;
    display: flex;
}
.footer-wrapper {
    padding-bottom: 70px;
}
.opyt-wrapper {
    margin-bottom: 70px;
}.kompetencii-wrapper {
    margin-top: 70px;
    margin-bottom: 70px;
}.opyt-items {
    margin-top: 36px;
    display: flex;
    gap: 20px;
}
.opyt-item {
    width: calc((100% - 60px) / 4);
    padding-left: 20px;
}
.opyt-item:first-child {
    padding-left: 24px;
}
.opyt-item-title {
    font-size: 20px;
    min-height: 60px;
}
.opyt-item-dot {
    margin-top: 28px;
    margin-bottom: 20px;
}.opyt-item-text {
    font-style: normal;
    font-weight: 400;
    font-size: 16px;
    line-height: 22.4px;
}
.kompetencii-left {
    width: 554px;
}
.kompetencii-right {
    margin-top: 55px;
}
.kompetencii-num {
    width: 83px;
    
}.kompetencii-text {
    width: calc(100% - 83px);
    font-style: normal;
    font-weight: 700;
    font-size: 22px;
    line-height: 100%;
    color: #504B49;
}
.kompetencii-items {
    border-top: 1px solid #D9D9D9;
    margin-top: 31px;
    padding-top: 43px;
    display: flex;
    flex-direction: column;
    gap: 19px;
}
.first-screen-title {
    padding-left: 0;
}
.first-screen-name{
    margin-bottom: 43px;
}
.header-menu-wrp {
    margin-top: 0;
    display: flex;
    gap: 114px;
}
.header-menu {
    display: flex;
    gap: 18px;
    align-items: center;
}
.header-menu-item {
    font-style: normal;
    font-weight: 700;
    font-size: 18px;
    line-height: 100%;
}
.header-logo-text2 {
    margin-top: 16px;
}
}


@media(max-width: 965px) {
    .header-menu {
        display: none;
    }
    .kompetencii {
        flex-direction: column;
    }
        .kompetencii-left {
        width: 100%;
    }
    .kompetencii-right {
        width: 100%;
        margin-top: 37px;
    padding-top: 29px;
    border-top: 1px solid #D9D9D9;
    }
    .opyt-items {
        flex-direction: column;
    }

        .opyt-item {
        width: 100%;
        padding-left: 0;
        border-top: 1px solid #504B49;
        border-left: none;
        padding-top: 24px;
    }
        .opyt-item:first-child {
        padding-left: 0;
        border-top: none;
        padding-top: 0;
    }
    .opyt-ram-tile {
    margin-left: 0;
}
.opyt-ram {
    padding: 40px 16px;
    margin-left: -16px;
    margin-right: -16px;
}
.contacts{
     flex-direction: column;
     gap: 47px;
}
.contacts-items {
    width: 100%;
}
.contacts-qr {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 30px;
}
.contacts-kod {
    margin-top: 0;
    width: 154px;
}
}

@media(max-width: 650px){
        .wrp {
        width: auto;
        margin-left: 16px;
        margin-right: 16px;
    }
    .header {
    padding-top: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-direction: column-reverse;
    gap: 14px;
}
.header-menu-wrp {
    width: 100%;
    justify-content: flex-end;
}
.header-logo-text1 {
font-size: 28px;
text-align: center;
}
.header-logo-text2{
font-size: 16px;
text-align: center;
margin-top: 12px;
margin-left: auto;
margin-right: auto;
}
.headerlogo {
    width: 307px;
    margin-left: auto;
    margin-right: auto;
}
.first-screen-iner {
    display: none !important;
}

.mobile-titlepage {
    display: block;
    margin-top: 10px;
}
.first-screen-name2 {
margin-top: 0;
margin-bottom: 0;
font-style: normal;
font-weight: 700;
font-size: 66px;
line-height: 80%;
/* or 72px */

color: #504B49;


}
.first-screen-desc2 {

font-style: normal;
font-weight: 400;
font-size: 16px;
line-height: 22px;
/* or 140% */

color: #504B49;
width: 270px;
box-sizing: border-box;
padding-left: 12px;
padding-top: 0px;
border-left: 1px solid #504B49;
margin-top: 20px;

}
    .kompetencii-wrapper ,     .opyt-wrapper{
        margin-top: 60px;
        margin-bottom: 60px;
    }
    .opyt-wrapper {
        margin-bottom: 60px;
    }
.kompetencii-items {
    padding-top: 21px;
}
    .kompetencii-num {
        width: 52px;
    }
        .kompetencii-text {
        width: calc(100% - 52px); 
    }
    .kompetencii-right {
        gap: 36px;
    }
        .opyt-item-title {
        font-size: 26px;
        min-height: 20px;
    }
    .opyt-item-dot {
        margin-top: 16px;
        margin-bottom: 16px;
    }
        .opyt-item-text {
        font-style: normal;
        font-weight: 400;
        font-size: 20px;
        line-height: 24px;
    }
    .contacts {
  
    }
    .contacts-items {
             margin-top: 31px;
        padding-top: 31px;
    }
    .contacts-item-textlink {
    display: flex;
    margin-top: 7px;
    font-style: normal;
    font-weight: 400;
    font-size: 20px; 
}
    .contacts-social {
        margin-top: 16px;
        gap: 25px;
        display: flex;
    }
    .contacts-social a {
    transition: 0.3s;
    display: flex;
    width: 40px;
}
    .footer-wrapper {
        padding-bottom: 60px;
    }
        .contacts-qr {
        width: 100%;
        display: flex;
        align-items: center;
        gap: 24px;
    }
         .contacts-qr   .contacts-label {
            width: calc(50% - 12px);
    }
    .first-screen-wrapper2 {
        display: block;
    }
    .first-screen-wrapper {
        display: none;
    }

        .header-wrap {
        height: 100vh;
        position: relative;
    }

        .first-screen-image2 {
        position: absolute;
        bottom: 0;
        left: 50%;
        width: 79%;
        transform: translateX(-50%);
        border-radius: 300px 300px 0 0;
        height: 380px;
        background: url(img/bg6.png);
        background-position: center;
        background-repeat: no-repeat;
        background-size: cover;
        z-index: -1;
    }
    .mobile-titlepage{
        padding-bottom: 20px;
    }
  /*  .first-screen-image2{
position: absolute;
 bottom: 0;
        left: 50%;
     border-radius: 0;
        transform: translateX(-50%);
width: 100%;
height: 100%;
background: url(img/bg6.png);
background-position: center;
background-repeat: no-repeat;
background-size: cover;
z-index: -1;
    }
    .header-wrap {
        height: calc(100vh - 240px);
        position: relative;
    }
        .header-logo-text1 , .header-logo-text2, .header-menu-item, .header-lang-item{
color: #fff;
    }
    .header-menu-razd{
        background: #fff;
    }
    .header-menu-razd, .header-menu-item:before, .header-lang-item:before {
        background: #fff;
    }
    */
}



@media(max-width: 400px){
    .contacts-label {
    font-style: normal;
    font-weight: 400;
    font-size: 16px;
    line-height: 20px;

}
    .first-screen-name2 {
        margin-top: 0;
        margin-bottom: 0;
        font-style: normal;
        font-weight: 700;
        font-size: 58px;
    }
        .contacts-item-textlink {
      
        font-size: 18px;
    }
}


