.keyses {
    margin-top: 120px;
    margin-bottom: 120px;
}
.key__items {
    display: flex;
    justify-content: space-between;
    height: 422px;
    position: relative;
    gap: 24px;
}
@media screen and (min-width:2561px) {
	.key__items {
		display: grid;
		grid-template-columns: repeat(2, minmax(0, 1fr));
		justify-content: normal;
		height: 622px;
	}
}
.key__image {
    height: 422px;
    /*max-width: 604px;*/
    width: 100%;
    object-fit: cover;
}
@media screen and (min-width:2561px) {
	.key__image {
		max-width:100%;
		height: 622px;
	}
}
.key__title {
    font-family: "Roboto";
    font-weight: 700;
    font-style: normal;
    position: relative;
    font-size: 20px;
    line-height: 28px;
    z-index: 2;
    color: #FFFFFF;
    max-width: 422px;
    width: 100%;
    transform: translateY(-94px);
    padding-left: 38px;
    transition: all 0.3s ease;
}
@media screen and (min-width:1921px) {
	.key__title {
		transform: translateY(-124px);
		font-size: 24px;
    	line-height: 32px;
	}
}
@media screen and (min-width:2561px) {
	.key__title {
		max-width: 622px;
		font-size: 28px;
    	line-height: 36px;
	}
}
@media screen and (min-width:2961px) {
	.key__title {
		max-width: 822px;
		font-size: 32px;
    	line-height: 40px;
	}
}
.main .key__title{
	position: absolute;
	transform: translateY(0px);
	bottom:40px;
}
.key__card {
    transition: all 0.3s ease;
    position: relative;
	width:100%;
}

.key__card:hover {
    transition: all 0.3s ease;
}

.key__card:hover:after {
    left: 0;
    top: 0;
    width: 100%;
    max-height: 100%;
	height:422px;
    position: absolute;
    content: "";
    background: rgba(40, 40, 41, 0.8);
    opacity: 0.5;
    z-index: 1;
}
@media all and (min-width:2561px){
.key__card:hover:after {
		height:622px;
}
}
.key__img img:hover:before {
    background: rgba(40, 40, 41, 0.8);
    opacity: 0.5;
    z-index: 1;
}
}
.key__card:hover .key__title {
    transform: translateY(-266px);
    transition: all 0.3s ease;
}

.key__card:hover .key__title:after {
    display: block;
    margin-top: 20px;
    height: 1px;
    background-color: #47D7AC;
    content: "";
    max-width: 293px;
    width: 100%;
}

.key__card:hover .key__elements {
    display: flex;
    flex-direction: column;
    z-index: 2;
    padding-left: 38px;
    transition: all 0.3s ease;
    transform: translateY(-240px);
}

.key__elements {
    display: none;
    transition: all 0.3s ease;
    z-index: 2;
    position: relative;
}
.main .key__card:hover .key__elements {
	position: absolute;
	top:270px;
}
.key__button {
    margin-top: 52px;
    display: flex;
    justify-content: center;
}

.key__overlay_left {
    max-width: 86px;
    position: absolute;
    width: 100%;
    top: 352px;
    height: 86px;
    left: -16px;
    background-color: #47D7AC;
    z-index: -1;
}
@media all and (min-width:2561px){
	.key__overlay_left {
    top: unset;
	bottom:-16px;
}
}
.key__overlay_right {
    max-width: 86px;
    width: 100%;
    height: 86px;
    background-color: #47D7AC;
    z-index: -1;
    position: absolute;
    top: -16px;
    right: -16px;
}
@media screen and (min-width:1921px){
	.key__overlay_right {
    right: -16px;
}
}
.key__parameter {
    font-family: "Roboto";
    font-weight: 400;
    font-style: normal;
    font-size: 14px;
    font-size: 14px;
    line-height: 26px;
    color: #C7C8CA;
}
@media screen and (min-width:1921px) {
	.key__parameter {
		font-size: 16px;
	}
}
@media screen and (min-width:2561px) {
	.key__parameter {
		font-size: 18px;
	}
}
@media screen and (min-width:2561px) {
	.key__parameter {
		font-size: 18px;
	}
}
@media screen and (min-width:2961px) {
	.key__parameter {
		font-size: 24px;
		line-height: 40px;
	}
}
.key__value {
    font-family: "Roboto";
    font-weight: 400;
    font-style: normal;
    font-size: 14px;
    font-size: 14px;
    line-height: 26px;
    color: #FFFFFF;
}
@media screen and (min-width:1921px) {
	.key__value {
		font-size: 16px;
	}
}
@media screen and (min-width:2561px) {
	.key__value {
		font-size: 18px;
	}
}
@media screen and (min-width:2961px) {
	.key__value {
		font-size: 24px;
		line-height: 40px;
	}
}
.key__items_object {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(194px, 390px));
    grid-row-gap: 20px;
}



.key__items_object {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(194px, 390px));
    grid-row-gap: 20px;
}

@media screen and (max-width: 1300px) {
    .key__items {
        flex-direction: column;
        height: auto;
        align-items: center;
    }
    .key__card {
        margin-bottom: 84px;
        max-height: 422px;
    }
    .key__card:last-of-type {
        margin-bottom: 0;
    }
}

@media screen and (max-width: 690px) {
    .key__overlay_right {
        display: none;
    }
    .key__overlay_left {
        display: none;
    }
    .key__items {
        gap: 0;
    }
}
@media screen and (max-width: 390px) {
    .key__card:hover .key__title:after {
        max-width: 262px;
        width: 100%;
    }
    .key__card:hover:after {
        max-width: 312px;
        width: 100%;
    }
    .key__image {
        max-width: 312px;
        width: 100%;
    }
    .key__title {
        padding-left: 10px;
    }
    .key__card:hover .key__elements {
        padding-left: 10px;
    }
}