.light{
    color: #EFE7DD !important;
    background-color: #5F5E4A !important;
}

.nhistoria{
    width: 45% !important;
    padding-right: 0%;
    
}

ul li{
    font-family: 'Roboto Condensed', sans-serif;
    font-weight: 400;
    font-size: 15px;
    color: #5F5E4A;
    text-align: justify;
    margin-bottom: 5px;
}

@media (max-width: 992px) {
   .nhistoria{
        width: 99% !important;
        padding-right: 5rem;
        margin-right: 5rem;
   } 
}

#compromiso{
    max-width: 600px !important;
    height: auto;
}

.todo {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}


.contenedor {
    display: flex;
    align-items: center;
    justify-content: center;
}

.cardd {
    width: 300px;
    height: 300px;
    margin: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cardd .face {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    border-radius: 10px;
    overflow: hidden;
    transition: .5s;

}

.cardd .front {
    transform: perspective(600px) rotateY(0deg);
    box-shadow: 0 5px 10px #000;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;

}

.cardd .front p {
    color: #5F5E4A;
    background: #fff;
    font-size: small;
    font-weight: 600;
}

/* Con esto editamos la parte atras de las tarjetas */
.cardd .back {
    transform: perspective(600px) rotateY(180deg);
    background: #5F5E4A;
    padding: 15px;
    color: #fff;
    text-align: center;
    box-shadow: 0 5px 10px #000;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}


.profile-img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
}

.stars i,
h6 {
    color: #EFE7DD;
}


.cardd:hover .front {
    transform: perspective(600px) rotateY(180deg);
}

.cardd:hover .back {
    transform: perspective(600px) rotateY(360deg);
}