
#portada{
    position: relative;
    height: 380px;
    display: flex;
    justify-content: center;
    align-items: center;  
    margin-top: 100px;  
}
#portada .contenedor-portada{
    margin: auto;
    margin-left: 0%;
    display: flex;
}

.imagen{
    position: absolute;
    top:0;        
    z-index: -1;
}
#portada img{
    position: fixed;
    top: 0;
    left: 0;
    object-fit: cover;
    width: 100%;
    height: 750px;    
    transform: translate(0%,-20%);
}
#portada .nom{
    transform: translate(0%,4%) !important;
}

#portada .proteccion-civil{
    transform: translate(0%,14%) !important;
}
#portada .formacion{
    transform: translate(0%,-19%) !important;
}
#portada .mentoring{
    transform: translate(0%,-14%) !important;
}
#portada .consultoria{
    transform: translate(0%,-5%) !important;
}
#portada .talento{
    transform: translate(0%,-7%) !important;
}
#portada .apoyo{
    transform: translate(0%,-6%) !important;
}
#portada .evaluacion{
    transform: translate(0%,-8%) !important;
}
#portada .educacion{
    transform: translate(0%,1%) !important;
}
@media (max-width:990px){
    #portada .mentoring{
        transform: translate(0%,-5%) !important;
    }
    #portada .talento{
        transform: translate(0%,-3%) !important;
    }
    #portada .proteccion-civil{
        transform: translate(0%,18%) !important;
    }
    #portada .nom{
        transform: translate(0%,8%) !important;
    }
    #portada .apoyo{
        transform: translate(0%,-3%) !important;
    }     
    #portada .educacion{
        transform: translate(0%,7%) !important;
    }   
}







#portada h1{
    position: absolute;
    background: #fff;
    color: #e01d44;
    text-shadow: 4px 5px 6px rgba(24,64,86,0.3);
    box-shadow: 0 10px 10px rgba(0,0,0,0.2);
    padding: 10px;
    font-weight: 900;
    border-radius: 10px;
    bottom: -12%;
    left: 5%;
}
@media (max-width:480px){
    #portada h1{
        font-size: 24px;
        bottom: -10%;        
        left: 2%;
    }
    .contenedor-servicio{
        padding-top: 7%;
    }
}

@media (max-width:360px){
    #portada h1{
        font-size: 20px;
        bottom: -8%;        
        left: 2%;
    }
}

#servicio h2{
    color: #20a4cc;
    text-shadow: 1px 1px 0px #184056;
    margin-bottom: 0;
    padding-top: 0;
}


#servicio{
    height: 100%;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    background: #fff;
    margin-bottom: -90px;
    padding-bottom: 50px;
    z-index: 1;
}

.contenedor-servicio{
    padding-top: 3%;
    width: 80%;
    padding-bottom: 5%;
    margin-bottom: 0;
}

#servicio p{
    margin-top: 5px;
    font-size: 20px;
}
#servicio .concepto{
    position: relative;
    font-size: 22px;
    font-weight: 600;
    color: #184056;
    padding-left: 2%;
    margin-bottom: 40px;
    margin-top: 2%;
}
#servicio .concepto .raya{
    position: absolute;
    width: 3px;
    height: 100%;
    top: 0;
    left: 0;
    background: #184056;
}
#servicio li{
    font-size: 18px;
    margin-left: 2%;
    margin-bottom: 2px;
}
#servicio .elementos{
    display: grid;
    justify-content: center;
    grid-template-columns: repeat(3,20%);
    gap: 10%;
    margin-bottom: 50px;
}
#servicio .elementos p{
    padding: 30px 10px;
    margin: 0;
    font-weight: 900;
    text-align: center;
    border-radius: 43%;
}
#servicio .elementos p:nth-child(1){
    background: #20a4cc;
}
#servicio .elementos p:nth-child(2){
    background: #20a4ccbd;
}

#servicio .elementos p:nth-child(3){
    background: #20a4cc77;
}
@media (max-width:1118px){
    #servicio .elementos{
        grid-template-columns: 57%;
    }
    #servicio .elementos p{
        padding: 15px 10px;
        font-weight: 900;
    }
    #servicio .concepto{
        margin-top: 10%;
    }
}
@media (max-width:540px){
    #servicio .concepto{
        margin-top: 20%;
    }
}