@import "/wp-content/themes/custom/components/service-modal/ServiceModal.css";

.Services {
    font-size: 1rem;
    margin: auto;
    display: flex;
    justify-content: space-between;
    padding: 0 20px 0;
}

.Services .service-box-wrapper {
    position: relative;
}

@media (max-width: 1050px) {
    .Services {
        flex-flow: column;
        align-items: center;
    }

    .Services .service-box-wrapper {
        margin-bottom: 10rem;
    }
}

.Services .box-rectangle {
    border: 5px solid #d2d2d2;
    position: absolute;
    top: -10%;
    width: 85%;
    height: 120%;
}

.Services .service-box-wrapper:nth-child(1) .box-rectangle {
    left: -20px;
    z-index: 1;
}

.Services .service-box-wrapper:nth-child(2) .box-rectangle {
    left: 0;
    right: 0;
    margin: auto;
    z-index: 1;
}

.Services .service-box-wrapper:nth-child(3) .box-rectangle {
    right: -20px;
    z-index: 1;
}

.Services .service-box {
    padding: 4rem;
    background: white;
    width: 300px;
    min-height: 100%;
    transition: transform .3s ease-in-out 0s;
    cursor: pointer;
    position: relative;
    z-index: 3;
}

.Services .service-box:hover {
    transform: scale(1.05);
}

.Services .service-box .icon {
    text-align: center;
}

.Services .service-box .icon img {
    width: 100%;
    max-width: 200px;
}

.Services .service-box .title {
    font-size: 1.8rem;
    text-align: center;
    font-weight: bold;
	font-family:var(--e-global-typography-primary-font-family) !important;
}