﻿


/*timelines en servicios*/

.timeline {
    position: relative;
    max-width: 1600px;
    margin: 0 auto;
    padding: 20px 0;
}

.timeline-item {
    padding: 20px 40px;
    position: relative;
    width: 50%;
}

.timeline .right {
    left: 50%;
}

.timeline-item-content {
    padding: 20px;
    position: relative;
    border: solid;
    border-radius: 10px;
}

    .timeline-item-content h3 {
        color: black;
        margin-bottom: 10px;
    }

    .timeline-item-content p {
        margin: 0;
        color: black;
    }

.title-timeline {
    max-width: 100%;
    width: 90%;
    padding: 32px;
    margin: auto;
}

    .title-timeline h1 {
        color: #0556A3;
        text-align: center;
        font-weight: bold;
    }

    .title-timeline p {
        color: black;
        justify-content: center;
        font-size: 20px;
    }

    /*LINEA CENTRAL*/
.timeline::after {
    content: '';
    position: absolute;
    width: 6px;
    background-color: #0556A3;
    top: 0;
    bottom: 0;
    right: 50%;
    margin-left: -3px;
}

/*pelotitas*/
#timeline-item-black::after {
    content: '';
    position: absolute;
    width: 25px;
    height: 25px;
    right: -12.5px;
    background-color: #8DBF43;  
    top: 30px;
    border-radius: 50%;
    z-index: 1;
}

#timeline-item-black-right::after {
    content: '';
    position: absolute;
    width: 25px;
    height: 25px;
    left: -12.5px;
    background-color: #8DBF43;
    top: 30px;
    border-radius: 50%;
    z-index: 1;
}

@media (max-width: 768px) {
    .timeline {
        padding: 10px 12px;
    }

        .timeline::after {
            width: 0;
        }

    .timeline-item {
        width: 100%;
        padding: 30px 20px;
        margin: 0 auto;
    }

        .timeline-item.right {
            left: 0%;
        }

    .timeline-item-content {
        padding: 10px;
        border-radius: 5px;
    }

        .timeline-item-content h3 {
            font-size: 18px;
        }

        .timeline-item-content p {
            font-size: 16px;
        }

    .title-timeline {
        width: 100%;
        padding: 16px;
    }

        .title-timeline h1 {
            font-size: 24px;
        }

        .title-timeline p {
            font-size: 16px;
        }
}

/*products*/

.card-product {
    width: 15rem;
}

.card-product:hover img {
    transform: scale(1.1);
}

.card-product-img {
    overflow: hidden;
    width: 100%;
    height: 14rem;
    background-color: white;
}

.card-product-img img {
    object-fit: contain;
    width: 100%;
    height: 100%;
    transition: transform 0.5s ease;
}


.card-product-body {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    color: rgb(95, 95, 95);
    margin-top:0.3rem;
}

.card-product-body h5 {
    font-weight: 500;
    font-size: 16px;
    margin-bottom:0.3rem;
}

.card-product-body p {
    font-weight: 400;
    margin: 0;
    font-size: 14px;
    line-height: 1.5;
}

.card-product-body span {
    font-weight: 800;
    font-size: 16px;
    
}

.form-control-filter {
    background-color: white;
    width: 100%;
    border: solid;
    border-color: #0556A3;
    border-radius: 10px;
    color: black;
}

.form-control-filter:hover{
    border-color: #8DBF43;
}

.form-control-filter:focus {
    border-color: #8DBF43;
}