.soluciones-home .latest-projects__header {
margin-bottom: 32px;
}
@media (min-width: 1200px) {
.soluciones-home .latest-projects__header {
margin-bottom: 70px;
}
}
@media (min-width: 768px) {
.soluciones-home .latest-projects__header {
display: flex;
align-items: center;
margin-bottom: 48px;
}
}
@media (min-width: 768px) {
.soluciones-home .latest-projects__heading {
margin-bottom: 20px;
margin-right: auto;
}
}
.soluciones-home .latest-projects__heading {
margin: 0 0 16px;
}
@media (min-width: 1200px) {
.soluciones-home .heading {
font-size: 48px;
}
}
@media (min-width: 768px) {
.soluciones-home .heading {
font-size: 40px;
}
}
.soluciones-home .heading {
margin: 0;
font-family: var(--theme-font);
font-weight: 700;
font-size: 44px;
line-height: 60px;
letter-spacing: 0px;
vertical-align: middle;
color: var(--theme-negro);
}
@media (max-width: 767px) {
.soluciones-home .heading {
font-size: 28px;
line-height: 34px;
}
}
@media (min-width: 1200px) {
.soluciones-home .latest-projects__inner {
max-width: 1830px !important;
}
}
.soluciones-home .row-soluciones {
row-gap: 30px;
}
.soluciones-home .card {
position: relative;
display: block;
box-sizing: border-box;
border: none !important;
}
.soluciones-home .card:hover,
.soluciones-home .card:focus,
.soluciones-home .card--active {
outline: none;
}
.soluciones-home .Caja-card {
position: relative;
height: 100%;
}
.soluciones-home .card__image {
display: block;
height: 100%;
}
.soluciones-home .card__image::after {
content: '';
position: absolute;
left: 0;
right: 0;
bottom: 0;
background: linear-gradient(to top, rgba(0, 0, 0, 0.7), transparent);
height: 38%;
}
.soluciones-home .card__image img {
display: block;
width: 100%;
height: 100%;
object-fit: cover;
aspect-ratio: 1 / 1.3;
}
@media (min-width: 1200px) {
.soluciones-home .card__content {
padding: 44px 30px;
}
}
.soluciones-home .card__content {
position: absolute;
top: 0;
left: 0;
display: flex;
flex-direction: column;
width: 100%;
height: 100%;
padding: 30px;
transition: background-color 0.5s ease;
}
.soluciones-home .card:hover .card__content,
.soluciones-home .card:focus .card__content,
.soluciones-home .card--active .card__content {
background: #FB1010CC;
}
@media (min-width: 1200px) {
.soluciones-home .card__heading {
left: 40px;
bottom: 24px;
font-size: 32px;
}
}
.soluciones-home .card__heading {
position: absolute;
left: 32px;
bottom: 12px;
margin: 0;
transform: translateY(-20px);
font-family: var(--theme-font);
color: var(--theme-white);
font-weight: 700;
font-size: 30px;
line-height: 40px;
letter-spacing: 0px;
vertical-align: middle;
text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}
.soluciones-home .card:hover .card__heading,
.soluciones-home .card:focus .card__heading,
.soluciones-home .card--active .card__heading {
position: static;
transform: translateY(0);
transition: transform 0.5s ease;
font-family: var(--theme-font);
color: var(--theme-white);
font-weight: 700;
font-size: 30px;
line-height: 40px;
letter-spacing: 0px;
vertical-align: middle;
text-shadow: none;
}
.soluciones-home .card__text {
display: block;
max-width: 340px;
margin-top: 24px;
margin-bottom: auto;
opacity: 0;
transform: translateY(-20px);
font-family: var(--theme-font);
color: var(--theme-white);
font-weight: 400;
font-size: 16px;
line-height: 24px;
letter-spacing: 0px;
vertical-align: middle;
}
.soluciones-home .card:hover .card__text,
.soluciones-home .card:focus .card__text,
.soluciones-home .card--active .card__text {
opacity: 1;
transform: translateY(0);
transition: transform 0.4s 0.2s ease, opacity 0.4s 0.2s ease;
}
.soluciones-home .card__bottom {
display: block;
margin-top: 12px;
opacity: 0;
}
.soluciones-home .card:hover .card__bottom,
.soluciones-home .card:focus .card__bottom,
.soluciones-home .card--active .card__bottom {
opacity: 1;
}
.soluciones-home .card__link {
display: flex;
align-items: center;
font-family: var(--theme-font);
font-weight: 400;
font-size: 16px;
line-height: 24px;
letter-spacing: 0px;
color: var(--theme-white);
vertical-align: middle;
}
.soluciones-home .card__link svg {
margin-left: 8px;
}