.bg-img {
    position: relative;
    /* Para que el ::before esté posicionado correctamente */
    background-image: url('../../../assets/img/bg-img.jpg');
    background-size: cover;
    height: 40vh;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 1;
}

.bg-img::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.323);
    z-index: -1;
}


.height-50 {
    width: 100%;
    height: 40%;
}

.title-content {
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-direction: column;
    height: 60%;
}

.img-title {
    color: white;
    font-family: "Albert Sans", sans-serif;
    font-size: 60px;
    font-weight: bold;
    text-align: center;
}

.red-label {
    font-family: "Albert Sans", sans-serif;
    font-weight: bold;
    background-color: #EC1E24;
    color: white;
    padding: 20px 20px;
    border-radius: 10px;
    font-size: 32px;
    text-transform: uppercase;
    text-align: center;
}

.products {
    width: 100%;
    flex-wrap: wrap;
    display: flex;
    justify-content: space-around;
    margin-top: 50px;
    margin-bottom: 50px;
}

.card {
    max-width: 28%;  
    font-size: 18px;
    margin-left: 20px; 
    margin-right: 20px; 
    margin-bottom: 20px; 
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: box-shadow 0.3s ease; 
}

.card:hover {
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
    transition: 0.3s;
}

.card-content{
    font-family: 'Albert Sans', sans-serif;
    line-height: 2; 
    text-align: center;
    width: 75%;
}

.card-content img {
    width: 100px;
}

.card-content h1 {
    color: #252E68;
}

.card-content mat-icon{
    font-weight: bold;
}

.read-more{
    font-size: 20px;
    font-weight: bold;
    color: #252E68;
    border-bottom: 1px solid #252E68;
    cursor: pointer;
}

@media (max-width: 768px) {
    .card {
        max-width: 100%; 
    }
}

@media (max-width: 480px) {
    .card {
        max-width: 100%; 
    }
}