body{
    overflow-x: hidden;
}

#valo-title{
    text-align: center;
    margin-top: 80px;
    color: #B62C38;
}

.valo{
    width: 100%;
    height: 500px;
    display: flex;
    justify-content: space-around;
    align-items: center;
}

.valo .valo-cont{
    width: 200px;
    height: 200px;
    box-shadow: 1px -1px 19px 2px rgba(0,0,0,0.75);
    -webkit-box-shadow: 1px -1px 19px 2px rgba(0,0,0,0.75);
    -moz-box-shadow: 1px -1px 19px 2px rgba(0,0,0,0.75);
    border-radius: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: 0.4s;
    cursor: pointer;

}

.valo .valo-cont h4,
.valo .valo-cont p{
    display: none;
}

.valo .valo-cont:hover{
    width: 460px;
    height: 170px;
    background-color: white;
    border-radius: 10px;
    padding: 25px;
    box-shadow: 1px -1px 19px 2px rgba(0,0,0,0.75);
    -webkit-box-shadow: 1px -1px 19px 2px rgba(0,0,0,0.75);
    -moz-box-shadow: 1px -1px 19px 2px rgba(0,0,0,0.75);
    display: unset;
}

.valo .valo-cont i{
    color: #B62C38;
    font-size: 50px;
}

.valo .valo-cont:hover i{
    color: #B62C38;
    font-size: 30px;
}

.valo .valo-cont:hover h4,
.valo .valo-cont:hover p{
    margin-top: 10px;
    color: #003A64;
    display: block;
}

/* Portada */

.portada2{
    width: 100%;
}

.portada2 img{
    width: 100%;
}

 .mision{
    width: 100%;
    height: 280px;
    background-color: #B62C38;
    display: flex;
    align-items: center;
    justify-content: center;

}

#title-container{
    width: 40%;
    margin: auto;
}


#title-portada{
    text-align: center;
    color: white;
    font-weight: 400;
    font-size: 31px;
    transition: 1s;
}

.mision:hover #title-portada{
    text-shadow: 0px 0px 12px white;
}

 .valores{
    position: relative;
    z-index: 1;
    width: 100%;
}

 .valores h1{
    text-align: center;
    margin-top: 80px;
    color: #B62C38;
    font-weight: bold;
}

 .valores .flex-valores{
    width: 80%;
    height: 80%;
    margin: auto;
    margin-top: 50px;
    display: flex;
}

 .valores .flex-valores .card{
    border-color: #B62C38;
    height: 80%;
    margin-left: 20px;
}

 .valores .flex-valores .card .card-body h5{
    color: #B62C38;
    font-weight: bold;
}

 .valores .flex-valores .card .card-body p{
    color: #B62C38;
}

 .valores .flex-valores .card i{
    color: #B62C38;
    margin-left: 15px;
    margin-top: 20px;
    font-size: 25px;
}

#btn{
    background-color: #B62C38;
    border: none;
}

 .valores .flex-valores .card:hover #btn,
 .valores .flex-valores .card:hover #btn-1{
    background-color: white;
    border: 1px solid #B62C38;
    color: #B62C38;
}

 .valores .flex-valores .card:hover{
    background-color: #B62C38;
    border: none;
}

 .valores .flex-valores .card:hover i,
 .valores .flex-valores .card:hover h5,
 .valores .flex-valores .card:hover p{
    color: white;
}

#btn-1{
    background-color: #B62C38;
    border: none;
    margin-top: 25px;
}

/* Nuestra historia */

.temp{
    width: 80%;
    margin: auto;
    margin-top: 100px;
}

.temp h1{
    color: #B62C38;
    text-align: center;
}

.temp .img{
    margin: auto;
    margin-top: 100px;
}

.temp img{
    width: 100%;
    display: block;
    margin: auto;
    
}

/* Nuestra historia */

/* Years */

#numbers_{
    color: #B62C38;
    font-size: 100px;
    text-align: center;
}

.years h2{
    text-align: center;
    color: #B62C38;
    font-weight: lighter;
}

.divider{
    width: 100%;
    height: 100px;
    background-color: white;
}

.dividerspec{
    width: 50%;
    margin: auto;
    margin-top: 100px;
    height: 1px;
    background-color: #B62C38;
}
/* Years */

body h1,h2,h3,h4{
    font-weight: lighter;
}


@media (max-width: 991px){

    /* Portada responsive */
     .valores .flex-valores{
        flex-wrap: wrap;
    }

     .valores .flex-valores .card{
        margin-top: 20px;
        
    }

     .prueba{
        width: 100%;
        height: 600px;
        margin-top: 1150px;
    }

    #title-container{
        width: 75%;
    }

    #title-portada{
        font-size: 17px;
    }

    .temp{
        margin-top: 100px;
    }

    #numbers_{
        font-size: 60px;
    }
    
    .years h2{
        font-size: 18px;
    }

    .temp .img{
        margin-top: 25px;
    }

    .main-cont{
        flex-wrap: wrap;
    }

    .sub-cont{
        margin-top: 20px;
    }

    .valo{
        flex-direction: column;
    }

    .valo .valo-cont{
        margin-top: 20px;
    }

    .valo .valo-cont i{
        font-size: 26px;
    }

    .mision{
        height: 150px;
    }



}
