main{
    margin: 32px 0;
    display: flex;
    flex-direction: column;
    align-items: center;

    h2{
        font-weight: 400;
        color: var(--gris_oscuro);
    }
    section{
        width: 80%;
        p{
            font-size: 0.9rem;
        }
        strong{
            color: var(--gris_oscuro);
            font-weight: 550;
        }
    }
    ul{
        margin-top: 32px;
        display: flex;
        flex-direction: column;
        gap: 32px;
        width: 80%;
        font-size: 0.9rem;
        li{
            list-style: none;
        }
        strong{
            font-weight: 500;
            color: var(--gris_oscuro);
        }
    }
}

.rowSection{
    margin-top: 32px;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    img{
        height: auto;
        width: 40%;
    }

    p{
        line-height: 30px;
        width: 50%;
    }
}

.mainImg{
    margin-top: 64px;
    height: 350px;
    width: 80%;
    background-image: url("../Images/CiberSeg2.webp");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    h3{
        margin: 0;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        height: 100%;
        width: 100%;
        color: #fff;
        font-size: 2.8rem;
        font-weight: 500;
        background-color: rgba(0,0,0,0.5);
        text-align: center;
        text-wrap: balance;
    }
}

#contServices{
    margin-top: 64px;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    row-gap: 32px;
    justify-content: space-between;
    width: 80%;
}

.serviceItem{
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 360px;
    width: 260px;
    text-align: center;
    h4{
        padding-inline: 8px;
        font-size: 0.8rem;
        font-weight: 500;
        color: var(--gris_oscuro);
        box-sizing: border-box;
    }

    .serviceImg{
        height: 50%;
        width: 90%;
        background-size: contain;
        background-repeat: no-repeat;
        background-position: center;
        margin-bottom: 12px;
    }
}

@media(max-width:700px){
    .rowSection{
        display: flex;
        flex-direction: column;
        align-items: center;
        p{
            width: 100%;
        }
        img{
            height: auto;
            width: 100%;
        }
    }

    .mainImg{
        width: 100%;
        h3{
            font-size: 1.8rem;
            padding-inline: 12px;
            box-sizing: border-box;
        }
    }

    #contServices{
        width: 90%;
    }

    main{
        ul{
            padding: 0;
        }
    }
}

@media(max-width:650px){
    .serviceItem{
        width: 200px;
    }
}

@media(max-width:480px){
    .serviceItem {
        width: 46%;
        h4{
            font-size: 0.75rem;
        }
    }
}