@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');


.banner-content {
    display: flex;
    height: 100%;
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
    z-index: 10;
    justify-content: center;
}

.banner-content-prestamo {

    max-width: 1550px;

}

.text-container {
    width: 50%;
    color: white;
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    animation: fadeInLeft 1s ease-out;
}



.text-container-prestamo {

    color: white;
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    animation: fadeInLeft 1s ease-out;
}

.image-container {
    border-radius: 25px;
    position: relative;
    height: 100%;
    display: flex;
    align-items: end;
}

.label-image{
    position: absolute;
    z-index: 10;
    background-color: rgba(0, 0, 0, 0.5);
    color: var(--third-color);
    width: 100%;
    text-align: center;
    bottom: 0px;
    font-weight: bold;
}

.image-container-4 {
    width: 40%;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-wrap: wrap;
    gap: 0px;
    margin-left: 20px;
    margin-right: 20px;
}

.text-container titleSlide {
    font-size: 3.5rem;
    margin-bottom: 15px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    /* font-family: 'Montserrat', sans-serif; */
    font-weight: bold;
    line-height: 1.2;
    font-family: "Poppins", Sans-serif;
    color: var(--third-color);
}

.subtitle {
    font-size: 1.5rem;
    margin-bottom: 20px;
    opacity: 0.9;
}

.features-row {
    display: flex;
    flex-wrap: wrap;
}

.feature-item {
    margin-right: 20px;
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}

.feature-icon {
    width: 30px;
    height: 30px;
    background: var(--third-color);
    color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-right: 10px;
    font-weight:900;
}



.main-image {
    height: 100%;

    top: 0;
    right: 0;
    animation: fadeInRight 1s ease-out;
}
.prestamo-image {
    height: 80%;

    top: 0;
    right: 0;
    animation: fadeInRight 1s ease-out;
}
.main-image-4 {
    position: relative;
    height:100%;
    width: auto;
    top: 0;
    right: 0;
    animation: fadeInRight 1s ease-out;
}
.floating-icon {
    position: absolute;
    background: var(--third-color);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    animation: float 2s infinite ease-in-out, fadeInRight 1s ease-out;
    z-index: 5;
    padding: 10px;
    opacity: 0;
}

.icon-1 {
    width: 60px;
    height: 60px;
    top: 5%;
    right: 29%;
    animation-delay: 0.2s;
}
.icon-1 img{
    width: 50px;
    height: 50px;
}

.icon-2 {
    width: 60px;
    height: 60px;
    top: 5%;
    right: 17%;
    animation-delay: 0.5s;
}
.icon-2 img{
    width: 50px;
    height: 50px;
}
.icon-3 {
    width: 60px;
    height: 60px;
    top: 5%;
    right: 5%;
    animation-delay: 0.8s;
}

.icon-3 img{
    width: 50px;
    height: 50px;
}

.particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 1;
}

.particle {
    position: absolute;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes float {
    0%, 100% {
      transform: scale(1);
      opacity: 1;
    }
    50% {
      transform: scale(1.05); 
    }
  }
  



.imagen-overlay {
    position: relative;
    height: 200px;
    width: 200px;
    cursor: pointer;
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.4);
    opacity: 0;
    transition: opacity 0.3s ease;
    display: flex;
    justify-content: center;
    align-items: center;
}

.overlay-title {
    color: white;
    font-size: 20px;
    text-align: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.imagen-overlay.active .overlay,
.imagen-overlay:hover .overlay {
    opacity: 1;
}

.imagen-overlay.active .overlay-title,
.imagen-overlay:hover .overlay-title {
    opacity: 1;
}

.feature-item h2{
    font-size: 1.5rem;
}

@media (max-width: 1650px) {

    .image-container-4 {
        width: 30%;
        position: relative;
        overflow: hidden;
    }
    .imagen-overlay {
        position: relative;
        height: 150px;
        width: 150px;
        cursor: pointer;
    }
  }

  @media (max-width: 1450px){
        .text-container titleSlide{
        font-size: 3rem;
    }
    .feature-item h2{
        font-size: 1.2rem;
    }
    .subtitle {
        font-size: 1.2rem;
    }
    .prestamo-image {
    height: 60%;


}
.main-image {
    height: 90%;


}
}
  @media (max-width: 1250px){
    .main-image {
    height: 80%;


}

  }

  @media (max-width: 1160px){
        .text-container titleSlide{
        font-size: 2rem;
    }
    .feature-item h2{
        font-size: 1rem;
    }
    .subtitle {
        font-size: 1rem;
    }

  }

  @media (max-width: 1020px) {
    .banner-content {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }

    .image-container-4 {
        width: 40%;
        justify-content: center;
        display: flex;
    }

    .text-container {
        height: unset !important;
        text-align: center;
        align-items: center;
        width: 100%;
    }
    .margin-top-negative{
    margin-top: -20px;
}
    .text-container-prestamo {
 
        text-align: center;
        align-items: center;
        width: 100%;
        padding-bottom: 0px;
    }
    .features-row{
        justify-content: center;
    }

    .prestamo-image {

        height: 400px;

    }
    .main-image {

        height: 400px;

    }
    .text-container titleSlide{
        font-size: 2rem;
    }
    .feature-item h2{
        font-size: 1rem;
    }
    .subtitle {
        font-size: 1rem;
    }
    .main-image {
        flex-direction: column;
    }
  }

  @media (max-width: 765px){
    .image-container-4 {
        width: 60%;

    }
  }

  @media (max-width: 550px){
    .imagen-overlay {
        height: 100px;
        width: 100px;
    }


    .image-container-4 {
        width: 50%;
        margin-bottom: 0px;
    }
    .text-container titleSlide{
        font-size: 1.5rem;
    }
    .feature-item h2{
        font-size: 0.7rem;
    }
    /* .subtitle {
        font-size: 0.7rem;
    } */
    .prestamo-image {
        height: 200px;

    }
    .main-image {
        height: 200px;

    }
  }
  
  @media (max-width: 480px){

    .image-container-4 {
        height: 200px;
        margin-bottom: 0px;
        width: 60%;
    }


    
  }