
.container-seguros-empresa {
    background: #fffc00;  
    /* fallback for old browsers */
    background: -webkit-linear-gradient(to left, hsla(56, 83%, 88%, 0.692), hsla(59, 92%, 60%, 0.685)), url(../img/abstracto-2.webp);  
    /* Chrome 10-25, Safari 5.1-6 */
    background: linear-gradient(to left, hsla(56, 83%, 88%, 0.692), hsla(59, 92%, 60%, 0.685)), url(../img/abstracto-2.webp); 
    /* W3C, IE 10+/ Edge, Firefox 16+, Chrome 26+, Opera 12+, Safari 7+ */
    position: relative;
    padding: 20px 0 400px 0;
    background-attachment: fixed;
    width: 100%;
}

.container-seguros-personas {
    position: relative;
    width: 100%;
}

.container-seguros-empresa h1, .container-seguros-personas h1 {
    text-align: center;
    color: var(--color-secundario);
    margin-bottom: 20px;
    font-size: 35px;
}

.seguros-empresas, .seguros-personas {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    width: 85%;
    margin: 0 auto;
    gap: 30px 20px;
}

.empresas-grid, .personas-grid {
    border-radius: 10px;
    -webkit-border-radius: 10px;
    -moz-border-radius: 10px;
    -ms-border-radius: 10px;
    -o-border-radius: 10px;
    transition: all .3s;
    -webkit-transition: all .3s;
    -moz-transition: all .3s;
    -ms-transition: all .3s;
    -o-transition: all .3s;
    position: relative;
}

.empresas-grid {
    background-color: var(--color-secundario);
}

.personas-grid {
    background-color: var(--font-color);
}

.empresas-grid:hover, .personas-grid:hover {
    transform: scale(1.03);
    -webkit-transform: scale(1.03);
    -moz-transform: scale(1.03);
    -ms-transform: scale(1.03);
    -o-transform: scale(1.03);
    box-shadow: 0px 0px 5px var(--color-secundario);
}

.empresas-grid img, .personas-grid img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 10px 10px 0 0;
    -webkit-border-radius: 10px 10px 0 0;
    -moz-border-radius: 10px 10px 0 0;
    -ms-border-radius: 10px 10px 0 0;
    -o-border-radius: 10px 10px 0 0;
}

main .bottom-zone {
    text-align: center;
    margin: 0 auto;
    padding-bottom: 10px;
}

.bottom-zone h2, .bottom-zone li {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.empresas-grid .bottom-zone h2 {
        color: var(--font-color);
}

.personas-grid .bottom-zone h2 {
        color: var(--color-secundario);
}

.bottom-zone h2 {
    font-size: 24px;
}

.bottom-zone li {
    font-size: 17px;
    color: var(--color-primario) !important;
    text-align: justify;
}

.hidden-text {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 10px;
    background-color: rgba(0, 0, 0, 0.616);
    display: none;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all .3s ease-in-out;
    padding: 0 15px 0 30px;
}

.hidden-text:hover {
    opacity: 1;
}

.wave2 {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
}


/*Media query de 1570px*/

@media  (max-width:1570px) {
    .container-seguros-empresa {
        padding: 20px 0 350px 0;
    }

    .bottom-zone h2 {
        font-size: 22px;
    }
}

/*Media query de 1370px*/

@media  (max-width:1370px) {
    .seguros-empresas, .seguros-personas {
        grid-template-columns: 1fr 1fr;
    }

    .container-seguros-empresa {
        padding: 20px 0 300px 0;
    }
}

/*Media query de 1070px*/

@media  (max-width:1070px) {

    .bottom-zone li {
        font-size: 16px;
    }

    .container-seguros-empresa {
        padding: 20px 0 230px 0;
    }
}

/*Media query de 862px*/

@media  (max-width:862px) {
    .seguros-empresas, .seguros-personas {
        grid-template-columns: 1fr;
    }

    .container-seguros-empresa {
        padding: 20px 0 190px 0;
    }
}

/*Media query de 761px*/

@media  (max-width:761px) {
    .seguros-empresas, .seguros-personas {
        grid-template-columns: 1fr;
        width: 90%;
    }

    .empresas-grid img, .personas-grid img {
        height: 360px;
    }

    .bottom-zone li {
        font-size: 15px;
    }

    .container-seguros-empresa {
        padding: 20px 0 160px 0;
    }
}

/*Media query de 500px*/

@media  (max-width:500px) {
    .container-seguros-empresa {
        padding: 20px 0 110px 0;
    }
}
