.contacts{
    background-image: url(../img/background-reangle.png);
    background-repeat: no-repeat;
    background-position-x: right;
    background-position-y: 55%;

    @media screen and (max-width: 768px){
        background-image: none;
    }
}

.contacts-title{
    display: flex;
    align-items: center;
    gap: 30px;
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 110px;
    width: 30%;

    @media screen and (max-width: 768px){
        margin-bottom: 50px;
    }
}

.contacts-items{
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 24px;
    margin-bottom: 24px;

    .contacts-phone,
    .contacts-email{
        flex-grow: 1;
        display: flex;
        width: 55%;
        border-radius: 10px;
        background: #FFF;
        box-shadow: 0px 1px 5px 0px rgba(29, 45, 83, 0.20);
        padding: 24px;
        min-height: 145px;
        gap: 24px;

        .contacts-item-title{
            color: #0EAA9E;
            font-size: 1.5rem;
            font-style: normal;
            font-weight: 700;
            line-height: normal;
            width: 35%;
        }

        .contacts-item-content{
            width: 100%;
            display: flex;
            justify-content: space-between;
        }

        .contacts-item-value{
            color: #1D2D53;
            font-size: 2rem;
            font-style: normal;
            font-weight: 700;
            line-height: normal;
            min-width: 300px;
        }
    }

    .contacts-office,
    .contacts-sep{
        display: flex;
        flex-grow: 1;
        border-radius: 10px;
        background: #FFF;
        box-shadow: 0px 1px 5px 0px rgba(29, 45, 83, 0.20);
        padding: 24px;
        min-height: 145px;
        gap: 24px;

        .contacts-item-title{
            color: #0EAA9E;
            font-size: 1.5rem;
            font-style: normal;
            font-weight: 700;
            line-height: normal;
        }

        .contacts-item-content{
            width: 100%;
            display: flex;
            flex-direction: column;
            gap: 24px;
        }

        .contacts-item-value{
            color: #1D2D53;
            font-size: 1.25rem;
            font-style: normal;
            font-weight: 700;
            line-height: normal;
            min-width: 300px;
            width: 40%;
        }
    }

    @media screen and (max-width: 660px){
        flex-direction: column;
        .contacts-office,
        .contacts-sep,
        .contacts-phone,
        .contacts-email{
            width: 100%;
            gap: 15px;
            min-height: max-content;
        }

        .contacts-item-value{
            font-size: 20px !important;
            min-width: 200px !important;
        }

        .contacts-item-title{
            font-size: 15px;
        }

        .contacts-item-content{
            width: auto;
            flex-direction: column;
            gap: 30px;
            justify-content: unset;
            .contacts-item-title{
                width: 100%;
            }
        }
    }
}

.contacts-social{
    border-radius: 10px;
    background: #FFF;
    box-shadow: 0px 1px 5px 0px rgba(29, 45, 83, 0.20);
    max-width: 235px;
    padding: 14px 18px;
    text-align: center;
    display: flex;
    gap: 30px;
    flex-direction: column;

    .contacts-social-title{
        color: #0EAA9E;
        font-family: Montserrat;
        font-size: 1.5rem;
        font-style: normal;
        font-weight: 700;
        line-height: normal;
    }

    .contacts-social-items{
        display: flex;
        gap: 10px;
        justify-content: center;

        img{
            width: 55px;
            height: 55px;
        }
    }

    @media screen and (max-width: 660px){
        margin: 0 auto;
        background: unset; 
        box-shadow: unset;

        .contacts-social-title{
            font-size: 24px;
        }
    }
}

.contacts-maps{
    margin-top: 100px;
    margin-bottom: 90px;
    .contacts-maps-title{
        color: #1D2D53;
        font-size: 2rem;
        font-style: normal;
        font-weight: 700;
        line-height: normal;
        margin-bottom: 50px;
    }

    .contacts-maps-btn{
        margin-bottom: 16px;
        position: relative;
        color: #1D2D53;
        font-size: 1.25rem;
        font-style: normal;
        font-weight: 700;
        line-height: normal;
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 10px 50px;
        width: max-content;
        border-radius: 10px;
        border: 2px solid #CACDD5;
        cursor: pointer;

        img{
            position: absolute;
            right: 23px;
        }
    }

    .contact-map{
        border-radius: 10px;
        overflow: hidden;
        iframe{
            width: 100%;
        }
    }
}