.h2{
    font-family: 'Salma Pro', sans-serif;
    font-style: normal;
    font-weight: 500;
    font-size: 44px;
    line-height: 123%;
    letter-spacing: 0.02em;
    color: #1A1A1F;
}

.h4{
    font-family: 'Salma Pro', sans-serif;
    font-style: normal;
    font-weight: 500;
    font-size: 24px;
    line-height: 122%;
}

.section-domains{
    padding: 180px 0;
    border-bottom: 1px solid #81786A;
}

.archive .section-front__title .text-1-1,
.archive .section-front__title .text-1-2,
.archive .section-front__title .text-2-1{
    display: contents;
}

.archive .section-front__title .text-2-2,
.archive .section-front__title .text-2-3,
.archive .section-front__title .text-3-1{
    display: none;
}

.archive .section-front-bottom{
    min-height: 320px;
}

.archive .section-front {
    min-height: calc(100% - 320px);
}

.archive .section-front-bottom-wrap{
    flex-wrap: wrap;
    padding: 50px 0;
}

.domains-items{
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    margin: 32px 0 0;
}

.domain-item{
    font-family: 'Salma Pro', sans-serif;
    font-style: normal;
    font-weight: 500;
    cursor: pointer;
    margin: 10px 24px 10px 0;
    padding: 14px 22px;
    color: #FFFFFF;
    opacity: 0.5;
    border: 1px solid #FFFFFF;
    border-radius: 5px;
    text-transform: uppercase;
    transition: all 0.3s ease-out;
}

.domain-item.active,
.domain-item:hover{
    opacity: 1;
    background: #FFFFFF;
    color:  #1A1A1F;
}

.archive-projects-wrap{
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-row-gap: 100px;
    grid-column-gap: 100px;
    max-width: 1280px;
    margin: auto;
}

.archive-project-item,
.archive-project-item *{
    text-decoration: none;
}

.archive-project-img-wrap{
    position: relative;
    width: 100%;
    height: 655px;
    border-radius: 10px;
    overflow: hidden;
}

.archive-project-img-wrap img{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    -o-object-fit: cover;
    object-position: center;
    -o-object-position: center;
}

.archive-project-item .archive-project-item-wrap{
    clip-path: inset(0 100% 0 0);
    -webkit-clip-path: inset(0 100% 0 0);
    -webkit-transition: -webkit-clip-path cubic-bezier(0.785, 0.135, 0.15, 0.86) 0.6s;
    transition: -webkit-clip-path cubic-bezier(0.785, 0.135, 0.15, 0.86) 0.6s;
    transition: clip-path cubic-bezier(0.785, 0.135, 0.15, 0.86) 0.6s;
    transition: clip-path cubic-bezier(0.785, 0.135, 0.15, 0.86) 0.6s, -webkit-clip-path cubic-bezier(0.785, 0.135, 0.15, 0.86) 0.6s;
    will-change: auto;
}

.archive-project-item.active .archive-project-item-wrap{
    clip-path: inset(0 0% 0 0);
    -webkit-clip-path: inset(0 0% 0 0);
}

.archive-project-item{
    position: relative;
    /*pointer-events: none;*/
}

.archive-project-item__title{
    text-transform: uppercase;
    margin: 30px 0 0;
}

.archive-project-item__text{
    margin: 16px 0 0;
}

.archive-project-item__breadcrumbs{
    display: inline-block;
    margin: 30px 0 0;
}

.archive-project-item--cryptology img{
    padding: 40px 0;
    background-color: #b6b5b3;
}

.archive-project-item--ecdrive .archive-project-img-wrap{
    background: #ededef;
}

.archive-project-item--ecdrive img{
    height: 90%;
    bottom: 0;
    margin: auto;
}


.archive-project-item--ges_tool .archive-project-img-wrap{
    background: #b9c6ce;
}

.archive-project-item--ges_tool img{
    height: 90%;
}

.archive-project-item--unified_tourist_registe .archive-project-img-wrap{
    background: #e4e4dc;
}

.archive-project-item--unified_tourist_register img{
    height: 95%;
}


.archive-project-item--tales_of_darkness .archive-project-img-wrap{
    background: #000000;
}

.archive-project-item--tales_of_darkness img{
    height: 90%;
    top: auto;
    bottom: 0;
}


.archive-project-item--etqueue .archive-project-img-wrap{
    background: #d1d0d6;
}

.archive-project-item--etqueue img{
    height: 90%;
    top: auto;
    bottom: 0;
}

@media (max-width: 1799px){
    .archive .section-front {
        min-height: calc(100% - 280px);
    }

    .archive .section-front-bottom {
        min-height: 280px;
    }

    .archive .section-front-bottom-wrap {
        padding: 34px 0;
    }

    .archive-projects-wrap{
        grid-row-gap: 90px;
        grid-column-gap: 90px;
        max-width: 1170px;
    }

    .archive-project-img-wrap{
        height: 600px;
    }

    .archive-project-item__title{
        font-size: 40px;
    }

    .section-domains{
        padding: 130px 0 200px;
    }
}

@media (max-width: 1399px){
    .archive-projects-wrap {
        grid-row-gap: 70px;
        grid-column-gap: 50px;
    }

    .section-domains{
        padding: 100px 0 200px;
    }

    .domain-item{
        font-size: 14px;
        line-height: 17px;
        margin: 10px 20px 10px 0;
    }

    .archive-project-item__title{
        font-size: 34px;
        margin: 22px 0 0;
    }
}

@media (max-width: 991px){
    .archive-projects-wrap{
        grid-template-columns: 1fr;
        grid-row-gap: 54px;
    }

    .archive-project-img-wrap{
        height: 500px;
    }

    .archive .section-front-bottom{
        padding: 0;
    }

    .archive .section-front-bottom-wrap {
        padding: 24px 0;
    }

    .domains-items{
        margin: 20px 0 0;
    }

    .section-domains {
        padding: 54px 0 120px;
    }

    .archive-project-item__breadcrumbs{
        font-size: 16px;
        margin: 22px 0 0;
    }

    .archive-project-item__text {
        margin: 14px 0 0;
    }

    .archive-project-item--unified_tourist_register img {
        height: 100%;
    }

    .archive .section-front__title .text-1-1,
    .archive .section-front__title .text-2-2{
        display: contents;
    }

    .archive .section-front__title .text-1-2,
    .archive .section-front__title .text-2-1{
        display: none;
    }

}

@media (max-width: 767px){
    .domain-item {
        font-size: 12px;
        line-height: 15px;
        padding: 9px 18px;
        margin: 6px 14px 6px 0;
    }

    .archive-project-item__breadcrumbs {
        font-size: 12px;
        margin: 14px 0 0;
    }
    .archive-project-item__title{
        font-size: 28px;
        margin: 14px 0 0;
    }
    .archive-project-img-wrap {
        height: 400px;
    }
}

@media (max-width: 575px){
    .archive-project-img-wrap {
        height: 340px;
    }

    .archive-project-item--cryptology img{
        padding: 0;
    }

    .archive-projects-wrap{
        grid-row-gap: 38px;
    }

    .archive .section-front__title .text-2-2{
        display: none;
    }

    .archive .section-front__title .text-2-3,
    .archive .section-front__title .text-3-1{
        display: contents;
    }
}