




/*----------------------------- ABOUT -------------------------- */



#aboutsection .aboutcontent {
    display: flex;
    flex-direction: row; /* Asegura que estén en línea horizontal */
    gap: 20px; /* Espacio entre los elementos */
    flex-wrap: wrap; /* Opcional: para que se ajusten si no hay espacio */
    align-items: stretch;
}
#aboutsection .textcontainer {
    flex: 1; /* O puedes usar width fija, como width: 50% */
    flex-direction: column;
    height: auto;
}



#lookingForATrainee{
    display: flex;
    justify-content: center;
    align-items: center;
    max-height: fit-content;
    position: relative;
    margin-top: 6rem;
    margin-left: 4rem;
   
}

#aboutcontainer{
    display: flex;
    justify-content: center;
    align-items: center;
    max-height: fit-content;
    position: relative;
    margin-top: 6rem;
    margin-left: 4rem;
   
}

  .readmore {
            background-color: #4285F4; /* Azul característico de Google */
            color: white;
            border: none;
            border-radius: 10px;
            padding: 10px 16px;
            font-family: 'Roboto', Arial, sans-serif;
            font-size: 14px;
            font-weight: 500;
            cursor: pointer;
            box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.24);
            transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
            display: inline-flex;
            align-items: center;
            justify-content: center;
        }
        
        /* Efecto hover */
        .readmore:hover {
            background-color: #3367D6;
            box-shadow: 0 3px 6px rgba(0, 0, 0, 0.16), 0 3px 6px rgba(0, 0, 0, 0.23);
        }
        
        /* Efecto al hacer clic */
        .readmore:active {
            background-color: #2B56B4;
            box-shadow: 0 1px 2px rgba(0, 0, 0, 0.12);
            transform: translateY(1px);
        }
        
        /* Icono de flecha */
        .arrow-icon {
            margin-left: 8px;
            font-weight: bold;
            transition: transform 0.3s ease;
        }
        
        /* Animación de la flecha al pasar el ratón */
        .google-btn:hover .arrow-icon {
            transform: translateX(3px);
        }

/*----------------------------- ABOUT -------------------------- */



/*----------------------------- ABOUT -------------------------- */

/* Contenedor principal del contenido "about" */
#aboutsection .aboutcontent {
    display: flex;
    flex-direction: row; /* Elementos en fila */
    gap: 20px; /* Espacio entre elementos */
    flex-wrap: wrap; /* Permite que se ajusten */
    align-items: stretch;
}

/* Contenedor del texto */
#aboutsection .textcontainer {
    flex: 1;
    display: flex;
    flex-direction: column;
    height: auto;
}

/* Clase reutilizable para centrado con margen */
.flexbox-centered {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    margin-top: 6rem;
    margin-left: 4rem;
}

/* Botón "Leer más" */
.readmore {
    background-color: #4285F4; /* Azul tipo Google */
    color: white;
    border: none;
    border-radius: 10px;
    padding: 10px 16px;
    font-family: 'Roboto', Arial, sans-serif;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.24);
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

/* Hover */
.readmore:hover {
    background-color: #3367D6;
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.16), 0 3px 6px rgba(0, 0, 0, 0.23);
}

/* Active */
.readmore:active {
    background-color: #2B56B4;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.12);
    transform: translateY(1px);
}

/* Icono de flecha */
.arrow-icon {
    margin-left: 8px;
    font-weight: bold;
    transition: transform 0.3s ease;
}

/* Animación de la flecha al pasar el ratón */
.readmore:hover .arrow-icon {
    transform: translateX(3px);
}


@media (max-width: 768px) {
  #aboutsection .aboutcontent {
    flex-direction: column; /* apila elementos en lugar de fila */
  }

  .flexbox-centered,
  #aboutcontainer,
  #lookingForATrainee {
    margin-left: 1rem; /* reduce márgenes */
    margin-right: 1rem;
    margin-top: 2rem;
    flex-direction: column;
    text-align: center;
  }

  .readmore {
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 768px) {
  #aboutsection .aboutcontent {
    flex-direction: column !important;
    align-items: center;
    gap: 2rem;
    padding: 1rem;
  }

  #aboutcontainer,
  #lookingForATrainee {
    margin: 1rem !important;
    flex-direction: column !important;
    align-items: center;
    justify-content: center;
    text-align: center;
    max-width: 100%;
  }

  .textcontainer {
    transform: none !important;
    margin: 1rem auto;
    max-width: 90%;
  }

  .textcontainer:hover {
    transform: translateY(-0.5rem) !important;
  }

  .section h1 {
    text-align: center !important;
    margin: 1rem 0 !important;
  }

  .readmore {
    width: 100%;
  }

  html, body {
    overflow-x: hidden;
  }
}


/*----------------------------- ABOUT -------------------------- */
