.container-cover-servicios{
    width: 100%;
    height: 500px;
    position: relative;
    margin-top: 80px;
    background-image: url('https://firebasestorage.googleapis.com/v0/b/webtakab.appspot.com/o/departamentos.jpg?alt=media&token=bb90bdd2-5fe2-4036-a915-f76e9f87fe53');
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;

}

.container-cover-servicios:before{
    content: '';
    width: 100%;
    height: 100%;
    background: rgba(85, 121, 162, 0.8);
    position: absolute;
    top: 0;
    left: 0;
}

.container-cover-info-servicios{
    max-width: 800px;
    height: 500px;
    margin: auto;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    z-index: 1;
}

.container-cover-info-servicios h1{
    font-size: 60px;
    font-weight: 500;
    color: white;
    margin-top: 20px;
}

.container-cover-info-servicios p{
    color: white;
    font-size: 20px;
    font-weight: 300px;
}

/* Contenido de la Pagina */
/* Contenido 1 */
.empresa-1{
    width: 100%;
    padding: 30px;
    position: relative;
    /*background: #19212B;*/
    /*background-image: url(../images/computer2.jpg);
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;*/
}

.content-empresa1{
    width: 80%;
    margin: auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.content-empresa-item1{
    width: 400px;
    text-align: center;
    margin: 20px;
    
}

.content-empresa-item1 b{
    color: #303030
}

.content-empresa-item1 i{
    color: #303030
}

.content-empresa-item1 h1{
    text-align: center;
    color: #303030;
    margin-bottom: 10px;
}

.content-empresa-item1 p{
    text-align: justify;
    color: #303030;
}

.content-empresa-item1 img{
    width: 100%;
    margin-top: 5px;
    text-align: right;
}


/* Contenido 2*/
.empresa-2{
    width: 100%;
    padding: 30px;
    position: relative;
    /*background: #00244C;*/
    /*background-image: url(../images/computer2.jpg);
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;*/
}

.content-empresa2{
    width: 80%;
    margin: auto;
    text-align: left;
    display: flex;
    flex-wrap: wrap;
    position: relative;
    justify-content: center;
    z-index: 1;
}

.content-empresa-item2{
    width: 400px;
    text-align: center;
    margin: 20px;
    
}

.content-empresa-item2 b{
    color: #303030;
}

.content-empresa-item2 i{
    color: #303030;
}

.content-empresa-item2 h1{
    text-align: center;
    color: #ffffff;
    margin-bottom: 10px;
}

.content-empresa-item2 p{
    text-align: left;
    color: #ffffff;
}

.content-empresa-item2 img{
    width: 100%;
    margin-top: 5px;
    text-align: right;
}

/* Contenido 3 */
.empresa-3{
    width: 100%;
    padding: 30px;
    position: relative;
    /*background: #19212B;*/
    /*background-image: url(../images/computer2.jpg);
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;*/
}

.content-empresa3{
    width: 80%;
    margin: auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.content-empresa-item3{
    width: 800px;
    text-align: center;
    margin: 20px;
    
}

.content-empresa-item3 b{
    color: #303030
}

.content-empresa-item3 i{
    color: #303030
}

.content-empresa-item3 h1{
    text-align: center;
    color: #303030;
    margin-bottom: 10px;
}

.content-empresa-item3 p{
    text-align: justify;
    color: #303030;
}

/* Contenido 4 */
.empresa-4{
    width: 100%;
    padding: 30px;
    position: relative;
    background: #00244C;
    /*background-image: url(../images/computer2.jpg);
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;*/
}

.content-empresa4{
    width: 80%;
    margin: auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.content-empresa-item4{
    width: 800px;
    text-align: center;
    margin: 20px;
    
}

.content-empresa-item4 b{
    color: #ffffff
}

.content-empresa-item4 i{
    color: #ffffff
}

.content-empresa-item4 h1{
    text-align: center;
    color: #ffffff;
    margin-bottom: 10px;
}

.content-empresa-item4 p{
    text-align: justify;
    color: #ffffff;
}

/*Boton de ir arriba*/

#button-up{
    width: 60px;
    height: 60px;
    background: #001832;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    border-radius: 50%;
    font-size: 20px;
    position: fixed;
    bottom: 50px;
    right: 50px;
    cursor: pointer;
    border: 4px solid transparent;
    transition: all 300ms ease;
    transform: scale(0);
}

#button-up:hover{
    transform: scale(1.1);
    border-color: rgba(0,0,0,0.1);
}



/* Fichas animadas */
.card_front, .card_back1{
    width: 95%;
    height: 95%;
    position: absolute;
    top: 0;
    left: 0;
    backface-visibility: hidden;
    transform-style: preserve-3d;
    border-radius: 20px;
}

.card_back1{
    transform: rotateY(180deg);
    background:#001832;
}

.card_back1 h1{
    color: white;
}

.container_card{
    max-width: 1200px;
    margin: auto;
    margin-top: 30px;
    perspective: 1000px;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}

.card_father{
    margin: 20px;
    perspective: 1000px;
}

.card_father:hover .card{
    transform: rotateY(180deg);
}

.card{
    width: 350px;
    height: 400px;
    position: relative;
    transform-style: preserve-3d;
    transition: all 600ms;
}

.card_front{
    background-size: cover;
    background-position: center;
}

.card_front, .card_back{
    width: 95%;
    height: 95%;
    position: absolute;
    top: 0;
    left: 0;
    backface-visibility: hidden;
    transform-style: preserve-3d;
    border-radius: 20px;
}


.card_back{
    transform: rotateY(180deg);
    background:#001832;
}

.card_back h1{
    color: white;
}

.body_card_front{
    width: 100%;
    height: 100%;
    text-align: center;
    padding: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #fff;
    transform: translateZ(60px);
}

.bg{
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    background: rgba(0,0,0,0.4);
    border-radius: 20px;
}

.body_card_back{
    padding: 40px;
    text-align: center;
    transform: translateZ(60px);
}

.body_card_back p{
    margin-top: 30px;
    font-size: 18px;
}

.body_card_back input{
    padding: 10px 40px;
    margin-top: 30px;
    font-size: 16px;
    cursor: pointer;
    border: none;
    color: white;
    background: #58B0F6;
    box-shadow: 1px 1px 30px -5px #58B0F6;
    border-radius: 10px;
    transition: box-shadow 600ms;
}

.body_card_back input:hover{
    box-shadow: 1px 1px 30px 0px #449de6;
}
