.main-block .text {
    align-items: center;
}

main .info {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 100px;
    padding-bottom: 20px;
    position: relative;
}

main .info .item {
    position: relative;
    display: flex;
    gap: 20px;
    align-items: center;
}

main .info .item span {
    width: 60px;
    min-width: 60px;
    height: 60px;
    min-height: 60px;
    border-radius: 50%;
    background: var(--orange-100);
    display: flex;
    align-items: center;
    justify-content: center;
}

main .info .item span::before {
    font-family: 'icon';
    font-size: 25px;
    line-height: 25px;
}

main .info .tel span::before {
    content: '\e902';
}

main .info .email span::before {
    content: '\e901';
    font-size: 24px;
    line-height: 24px;
}

main .info .address span::before {
    content: '\e900';
    font-size: 30px;
    line-height: 30px;
}

main .info .item > div p:first-child {
    color: var(--grey-300);
}

main .info .item > div a,
main .info .item > div p:last-child {
    font-size: 20px;
    color: var(--dark-200);
    margin-top: 10px;
}

main .info .item > a {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
}

main .employees {
    display: flex;
    flex-wrap: wrap;
    border-radius: 20px;
    column-gap: 47px;
    justify-content: center;
}

.employees h2 {
    font-size: 24px;
    letter-spacing: 1px;
    color: var(--dark-100);
    display: flex;
    justify-content: center;
    line-height: 30px;
}

.employees .item {
    padding-top: 120px;
    display: flex;
    align-items: center;
    flex-direction: column;
}

.employees h3 {
    font-size: 18px;
    color: var(--grey-300);
    display: flex;
    justify-content: center;
    text-align: center;
    line-height: 30px;
}

.employees img {
    vertical-align: top;
    max-width: 370px;
    height: 370px;
    border-radius: 10px;
}

.employees .description {
    padding-top: 20px;
}

section.contact-form {
    margin-bottom: 400px;
}

section.contact-form .image-line {
    top: auto;
    bottom: -235px;
}

@media screen and (max-width: 1220px) {
    .employees img {
        max-width: 450px;
        height: 450px;
    }

    .ellipse {
        right: unset;
    }

    .main-block::before {
        background-size: contain;
        width: 150%;
    }

    main .info .image-line {
        right: 20px;
    }

    main .info {
        flex-direction: column;
        align-items: flex-start;
        gap: 30px;
    }

    main .info .item span {
        align-self: flex-start;
    }
}

@media screen and (max-width: 768px) {
    .employees img {
        max-width: 450px;
        height: 450px;
    }

    .employees .item {
        padding-top: 20px;
    }

    .ellipse {
        right: 0;
    }

    .main-block {
        padding: 80px 0 100px;
        min-height: 520px;
    }

    .main-block::before {
        top: 0;
        left: -30%;
        width: 150%;
    }

    .main-block .icon {
        font-size: 24px;
    }

    .main-block .text h1 {
        font-size: 20px;
        line-height: 30px;
    }

    section.contact-form {
        margin-bottom: 130px;
    }
}

@media screen and (max-width: 375px) {
    main {
        overflow: hidden;
    }

    .employees img {
        width: 350px;
    }

    main .info {
        padding-top: 80px;
        padding-bottom: 0;
    }

    main .info .item > div a, main .info .item > div p:last-child {
        margin-top: 0;
    }

    main .info .item > div a,
    main .info .item > div p:last-child,
    main .info .item > div p:first-child {
        line-height: 30px;
    }

    .main-block::before {
        width: 180%;
        left: -60%;
    }

    .main-block {
        padding: 50px 0 80px;
        min-height: 460px;
    }

    section.contact-form {
        margin-top: 80px;
    }
} 