.bankpro-sectores {
background-image: radial-gradient(circle at center, #1f364c1c 0%, #01070b8a 100%), url(https://www.agenciaatenea.gov.co//sites/default/files/bg-bankpro.jpg);
background-size: contain;
background-position: top;
background-repeat: no-repeat;
background-attachment: fixed;
color: white;
}
.bankpro-sectores h2 {
color: white;
font-size: 2rem;
}
.hex-grid {
display: grid;
grid-template-columns: repeat(5, 1fr);
gap: 0;
justify-items: center;
align-items: end;
justify-content: space-evenly;
}
.hex-grid-2 {
align-items: start;
justify-items: center;
}
.hex-front,
.hex-icon {
background: #296997;
color: white;
transition: 0.3s ease all;
}
.hex-front:hover{
background: #03426f;
text-decoration: underline;
}
.hex-icon {
width: 7rem;
aspect-ratio: 1 / 1;
clip-path: polygon(25% 0%, 75% 0%, 100% 50%, 75% 100%, 25% 100%, 0% 50%);
display: flex;
align-items: center;
justify-content: center;
font-size: 2.8rem;
margin-bottom: 1rem;
z-index: 2;
position: relative;
}
.hex-card {
width: 100%;
aspect-ratio: 1 / 1;
max-width: 16rem;
cursor: pointer;
position: relative;
z-index: 1;
}
.hex-front {
position: absolute;
width: 100%;
height: 87%;
padding: 2rem;
background: #296997;
text-align: center;
display: flex;
align-items: center;
justify-content: center;
clip-path: polygon(25% 0%, 75% 0%, 100% 50%, 75% 100%, 25% 100%, 0% 50%);
font-size: 1.4rem;
font-weight: 500;
line-height: 1.4rem;
}
.hex-card:hover {
transform: scale(1.05);
transition: 0.3s ease;
text-decoration: underline;
}
.bankpro-sectores .modal-content {
background-color: #f8f9fa;
color: #184e7c;
border-radius: 0.5rem;
}
.bankpro-sectores .modal-title {
color: #184e7c;
font-weight: 600;
font-size: 1.75rem;
}
.bankpro-sectores .modal-body p {
color: #303131;
margin-bottom: 1rem;
font-size: 1rem;
line-height: 1.6;
}
.powerbi-responsive {
position: relative;
width: 100%;
padding-bottom: 63.25%; /* 16:9 */
height: 0;
overflow: hidden;
margin-bottom: 30px; /* 16:9 */
}
.powerbi-responsive iframe {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
border: 0;
}
@media (max-width: 768px) {
.bankpro-sectores {
background-size: cover;
background-position: center;
}
.hex-grid {
display: grid;
grid-template-columns: 1fr;
justify-items: center;
}
.hex-card {
max-width: 17rem;
}
.hex-front {
font-size: 1.4rem;
line-height: 1.8rem;
padding: 3rem;
}
.hex-icon {
width: 4rem;
font-size: 1.8rem;
}
}