
.contacts_element img::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /*z-index: -1; !* Псевдоэлемент позади содержимого *!*/
    transition: transform 0.3s ease;
    box-shadow: none;
    transform: scaleX(0);
    transform-origin: right;
}

.contacts_element img:hover::before {
    transform: scaleX(1);
    transform-origin: left;
}

.contacts_element img:hover {
    transform: translateY(-3px) scale(1.03);
    filter: drop-shadow(0 6px 20px rgba(213, 28, 28, 0.7));
}

.contacts_element img:active {
    transform: translateY(1px) scale(0.98);
    filter: drop-shadow(0 2px 10px rgba(0, 0, 0, 0.25));
}




.contacts_element{
    display: flex;
    flex-direction: row;
    align-items: center;
    font-family: montserrat-semibold;
    color: var(--color-text);
    font-size: clamp(1rem, 1vw, 1.5rem);
    margin-bottom: 2em;
}

.contacts_element img{
    width: 3.5em;
    margin-right: 3em;
}

.contacts_element p{
    padding-right: 10em;
}

.contacts_address-element{
    margin-bottom: 1em;
}

.contacts_address-element img{
    width: 2.5em;
    margin-right: 1em;
}

.contacts_address-element.el1{
    margin-left: 2rem;
}




.contacts{
    background: linear-gradient(to bottom, #DBD9E3 0%, #CDCBD4 45%, #BBB7C4 100%);
    /*display: grid;*/
    /*grid-template-rows: 4fr 1fr;*/
    display: flex;
    flex-direction: row;
    justify-items: center;
    justify-content: center;
}

.contacts_inner{

    display: flex;
    flex-direction: row;
    justify-items: center;
    justify-content: center;
}

.contacts_content{
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    padding-top: 100px;
    padding-bottom: 100px;
}


.contacts_content h1{
    font-family: montserrat-bold;
    font-size: clamp(1.5rem, 2.5vw, 2.8rem);
    line-height: 1.2;
}

.contacts_left-block-wrapper{
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.contacts_left-block{
    background: url("../src/russiaMap.svg");
    background-repeat: no-repeat;
    background-size: contain;
    align-content: center;
}


.contacts_left-block h1{
    padding-bottom: 14vw;
}

.contacts_left-block{
    padding-bottom: 2em;
}

.contacts_left-block img{
    padding-left: 2rem;
}

.contacts_left-block p{
    width: 50%;
}

.contacts_right-block h1{
    margin-bottom: 2rem;
}

.contacts_right-block{
    display: flex;
    flex-direction: column;

    justify-content: center;

}
