/* 
    Table of content
    1. SERVICES
*/

/* 1. SERVICES */
.grid-services {
    background: rgb(255,255,255);
    background: linear-gradient(90deg, rgba(0,0,0,1) 50%, rgba(255,255,255,1) 50%);
}

.grid-services .container {
    position: relative;
    padding: 12rem 0;
    background-color: black;
    color: white;
}

.grid-services .container::before {
    content: '';
    position: absolute;
    top: 0;
    right: -20rem;
    width: 20rem;
    height: 100%;
    background-color: black;
}

.grid-services .container::after {
    content: '';
    position: absolute;
    top: -7.5rem;
    left: 0;
    width: 9.2rem;
    height: 15rem;
    background-image: url(../images/icon-lightning-green.svg);
    background-repeat: no-repeat;
    background-size: contain;
    background-position: left;
}

.grid-services .content-wrapper {
    max-width: var(--grid-size-sm);
    margin: 0 auto;
    text-align: center;
}

.grid-services .services-wrapper {
    margin-top: 6rem;
    display: grid;
    grid-template-columns: repeat( 3, 1fr );
    grid-gap: 3rem;
}

.grid-services .services-wrapper .item {
    padding: 6rem 4rem;
    border: .1rem solid white;
    border-radius: .3rem;
    color: inherit;
    text-decoration: none;
    transition: .3s;
}

.grid-services .services-wrapper .item:hover {
    border-color: var(--color-green);
    background-color: var(--color-green);
}

.grid-services .services-wrapper .icon {
    font-size: 5rem;
    line-height: 1em;
    color: var(--color-green);
}

.grid-services .services-wrapper .item:hover .icon {
    color: white;
}

.grid-services .services-wrapper h3 {
    margin-top: 1.5rem;
}

.grid-services .services-wrapper .text {
    font-size: 1.6rem;
    line-height: 1.7em;
}

.grid-services .btns {
    margin-top: 6rem;
    justify-content: center;
}

/* RESIZE */
@media (max-width: 1600px) {
    /* 1. SERVICES */
    .grid-services {
        background: black;
    }

    .grid-services .container::before {
        display: none;
    }
}

@media (max-width: 1100px) {
    /* 1. SERVICES */
    .grid-services .services-wrapper {
        grid-template-columns: repeat( 2, 1fr );
    }
}

@media (max-width: 767px) {
    /* 1. SERVICES */
    .grid-services .container {
        padding: 10rem 0;
    }

    .grid-services .container::after {
        top: -5rem;
        width: 6.1rem;
        height: 10rem;
    }

    .grid-services .services-wrapper {
        margin-top: 5rem;
        grid-gap: 2rem;
    }

    .grid-services .services-wrapper .item {
        padding: 5rem 3rem;
    }

    .grid-services .services-wrapper .icon {
        font-size: 4rem;
    }

    .grid-services .btns {
        margin-top: 5rem;
    }
}

@media (max-width: 599px) {
    /* 1. SERVICES */
    .grid-services .services-wrapper {
        grid-template-columns: 1fr;
    }
}