@import 'colors.css';

.services-container {
    width: 1200px;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 40px;
    align-items: center;
    justify-content: center;
}

.service-section {
    width: 300px;
    height: 200px;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.icon-service {
    background-color: var(--primary-color);
    width: 50px;
    height: 50px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: var(--white);
    border: 4px solid var(--white);
    box-shadow: 0 0 20px var(--shadow);
    position: absolute;
    top: 0;
    left: 50%;
    transform: translate(-50%, 0);
    font-size: 24px;
}

.text-service {
    background-color: var(--white);
    box-shadow: 0 0 20px var(--shadow);
    width: 100%;
    height: 150px;
    border-radius: 20px;
    padding: 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.title-service {
    color: var(--primary-color);
    font-size: 24px;
}

.description-service {
    text-align: center;
}

@media (max-width: 1370px) {
    .services-container {
        width: 100%;
        gap: 20px;
    }
}