
.latest-projects{
    border-bottom: .8rem solid;

    border-image-source: linear-gradient(
        100deg,
        var(--color1-brand) 7%,
        var(--color2-brand) 25%,
        var(--color3-brand) 60%,
        var(--color4-brand) 100%
    );

    border-image-slice: 1;

    display: none;

}

.latest-projects-container{

    width: 100%;

    display: flex;
    flex-direction: column;
    gap: 2rem;
}



.latest-projects-container-text{
    
    padding: 2rem 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-bottom: 2px solid lightgray;
    width: 70%;
    margin: 0 auto;
    
}

.latest-projects-container-text h1{
    font-size: var(--title-size);
    font-weight: var(--title-weight);
    color: var(--title-color);
    border-right: 3px solid var(--title-color);
    padding: 0 2rem;
    text-align: center;


}

.latest-projects-container-text p{
    color: var(--title-color);
    padding: var(--padding-subtitle);
    font-size: var(--subtitle-size);
    margin-top: 5px;
}


.swiper-latest {
    width: 100%;
    padding:  0;
    overflow: hidden;
    margin-top: 1.5rem;
   
  }

 .swiper-wrapper-latest{
    gap: 0;
 } 

  .swiper-slide-latest {
    text-align: center;
    font-size: 1rem;
    background: #444;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
  }

  .swiper-slide-content-latest:hover{
    transform: scale(1.2);
    transition: 2s;

    

  }
  
  
  .swiper-slide-latest img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
  }


  @media (min-width:1100px){
    .latest-projects{
        min-height: 90vh;

    }

}

  @media (max-width: 750px){
    
    .latest-projects{
        display: flex;
        align-items: center;
        display: none;
    }
    
    .latest-projects-container-text{
        flex-direction: column;
        border-bottom: none;
        padding: 0;
        margin: 0;
        margin-top: 1rem;
        width: 100%;

    }

    .latest-projects-container-text h1{
        font-size: var(--title-size-media);
        border-right: none;
        border-bottom: 2px solid lightgray;
        padding: .5rem 0;
    }

    .latest-projects-container-text p{
        font-size:var(--subtitle-size-media) ;
        text-align: center;
    }

    .swiper{
        margin-top: 1rem;
    }

  }