
@media (min-width: 1280px) {

    .container-front-desktop {
        display: flex;      
        position: relative; /* Establece como contenedor relativo */
        height: 100vh;
        margin-bottom: 0;
    }
    

    .container-left {
        width: 42%;
        /* background-image: url("/themes/custom/huellas/images/principal-contraste.png"); */
        background-origin: border-box;
        background-repeat: no-repeat;
        height: auto;
        padding: 8% 5%;;
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        z-index: 1; /* Z-index menor */
        flex: 1; 
    }

    .container-left .huellas{
        margin-top: 10%;
    }

    .container-left .main-content{
        padding: 5%;
    }
    .container-left .main-content :where(p, h3){
       padding: 0;
       margin: 0;
       text-align: center;
       font-family:'Inter', sans-serif;
       line-height: 1;
    }

    .container-left .main-content p{
        font-size: 25px;
        font-weight: 400;
    }

    .container-left .main-content h3{
        font-weight: 700;
        font-size: 40px;
    }

    .container-left .main-content .btn-enter{
        margin-top: 10%;
        display: flex;
        justify-content: center;
        align-items: center;
    }
    .container-left  .main-content .btn-enter a{
        background-color:#7FB329 !important;
        padding: 3% 10%;
        color: white;
        border-radius: 50px;
        text-decoration: none;
    }

    .container-left .main-content .btn-enter a:hover{
        background-color: var(--color-pink);
    }

    .container-right {
        width: 68%;        
        background-size: cover;
        height: inherit;
        z-index: 2; /* Z-index mayor para sobreponerse */
        
        right: 0; /* Alineado a la derecha */
        top: 0; /* Alineado a la parte superior */
        width: 50%; /* O el porcentaje de ancho que desees */
        height: 100%; /* Altura completa */
        background-size: cover; /* Asegura que la imagen cubra completamente el área sin deformarse */
        background-position: right;
    }
}

.container-front-mobile {
    display: none;
}

@media (max-width: 1279px) {
    .container-front-mobile {
        display: block;
        width: 100vw;
        min-width: 100%;
        min-height: 100vh;
    
        background-color: #000000;
        background-size: cover;
        background-position-x: right;
        min-height: 100vh; /* Asegurar que el contenedor ocupe toda la pantalla */
        padding: 0; /* Eliminar padding extra */
        margin: 0; /* Eliminar margen extra */
        display: flex;
        align-items: center; /* Centrar verticalmente el contenido */
        justify-content: center; /* Centrar horizontalmente el contenido */
        box-sizing: border-box;
    }

    .container-front-mobile::before {
       
        background-color: rgba(0, 0, 0, 0.2); /* Negro con 30% de opacidad */
        z-index: 1;
      }

    .container-mobile {
        width: auto;
    }
    .container-mobile .financiera {
        text-align: center;
        width: inherit;
    }

    .container-mobile .financiera img{
        position: relative;
        top: -141px;
        width: 90%;
        max-width: 366px;
        margin: 10% 0;
        background-color: white;
        padding: 2%;
        border-radius: 15px;
    }

    .container-mobile .huellas {
        text-align: center;
        width: inherit;
        margin: 15% 0;
    }

    .container-mobile .main-content{
        margin: 15% 0;
        padding: 5%;
    }

    .container-mobile .main-content :where(p, h3){
       padding: 0;
       margin: 0;
       text-align: center;
       font-family:'Inter', sans-serif;
       line-height: 1;
    }

    .container-mobile .main-content p{
        font-size: 20px;
        font-weight: 400;
        color: white;
    }

    .container-mobile .main-content h3{
        font-weight: 700;
        font-size: 30px;
        color: white;
    }

    .container-mobile .main-content .btn-enter{
        margin-top: 10%;
        display: flex;
        justify-content: center;
        align-items: center;
    }
    .container-mobile .main-content .btn-enter a{
        background-color: #7FB329 !important;
        padding: 6% 16%;
        color: white;
        border-radius: 50px;
        text-decoration: none;
        font-size: 20px;
    }
}

@media (min-width: 768px) {
  
    .container-mobile .financiera img{
        margin: 5% 0;
    }
    .container-mobile .huellas {
        text-align: center;
        width: inherit;
        margin: 5% 0;
    }

    .container-mobile .main-content{
        margin: 5% 0;
        padding: 5%;
    }
    .container-mobile .huellas {
        text-align: center;
        width: inherit;
        margin: 15% 0;
    }
}

/* responsive-design moble  */

  /* Responsive styles */
  @media screen and (max-width: 768px) {
    .main-content p {
      font-size: 1rem;
    }
  h1.page-title {
	  padding:18%;
	  font-size: 20px;
  }
    .main-content h3 {
      font-size: 1.2rem;
    }
  
    .btn-enter a {
      font-size: 0.9rem;
      padding: 10px 15px;
    }
  }
  
  @media screen and (max-width: 480px) {
    .container-left {
        display: none;
    }
    .container-mobile {
      padding: 15px;
    }
  
    .main-content p {
      font-size: 0.9rem;
    }
  
    .main-content h3 {
      font-size: 1rem;
    }
  
    .btn-enter a {
      font-size: 0.8rem;
      padding: 8px 12px;
    }
  }
  