.textoOverlay .buttonBlue {
  font-family: AvantGardeBookBT;
}

/*/////ABOUT ME/////*/
.myPropose {
  padding-bottom: 0;
}

.aboutMe {
  text-align: left;
  justify-content: space-between;
}

.aboutMe .column {
  width: 35vw;
}

.aboutMeImg {
  width: 15vw;
  height: 15vw;
  border-radius: 50%;
  overflow: hidden;
}

.aboutMeImg img {
  width: 100%;
  height: auto;
  display: block;
}

.verMas {
  margin: auto 0;
}

.verMas a {
  text-decoration: none;
  color: var(--white-color);
  transition: color 0.3s;
}

.verMas svg {
  width: 20px;
  height: 20px;
  margin-left: 5px;
  transition: transform 0.3s;
}

.verMas a:hover {
  transition: 0.3s ease-in;
  color: var(--white-color);
}

.verMas a:hover svg {
  transform: translateX(5px);
}

/*/////END ABOUT ME/////*/


.boxLink {
  text-decoration: none;
  margin: 10px;
  overflow: hidden;
  width: 50%;
  max-height: 17vw;
  transition: 0.5s ease-in-out;
}

.boxContent {
  display: flex;
  position: relative;
  height: 15.625vw;
  background-size: cover;
  background-position-y: 30%;
  overflow: hidden;
  border-radius: 15px;
  justify-content: center;
}

.boxText {
  position: relative;
  bottom: 3.3vw;
  width: 80%;
  margin: auto;
  padding: 10px;
  color: var(--white-color);
  background: var(--primary-color);
  text-align: center;
  border-radius: 15px;
  box-shadow: 0px 5px 5px #dfdfdf;
}

.boxText h4 {
  font-weight: 400;
}

.boxLink:hover {
  transform: scale(1.025);
}

.cursosSection .row {
  justify-content: center;
}



.multimediSection button {
  margin: 2vh 0 3vh 0;
}

.grid-container {
  display: grid;
  grid-template-rows: repeat(2, 1fr);
  grid-template-columns: repeat(4, 1fr);
}

.grid-item {
  position: relative;
  overflow: hidden;
}

.grid-link {
  display: block;
  text-decoration: none;
}

.image-container {
  background-image: url("imagen_de_fondo_1.jpg");
  background-size: cover;
  background-position: center;
  height: 15.625vw;
  transition: transform 0.3s ease;
}

.overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  /* Color con poca opacidad */
}

.text-container {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
}

.text-container img {
  max-width: 100px;
  /* Ajusta el tamaño del logo según tus necesidades */
  margin-bottom: 10px;
}

.text-container p {
  color: var(--white-color);
}

.grid-item:hover .image-container {
  transform: scale(1.05);
  /* Expande ligeramente la imagen al hacer hover */
}

.grid-item:nth-child(n+5) {
  grid-column: span 2;
  /* Los elementos de la segunda fila ocupan dos columnas */
}

@media (max-width: 900px) {

  .grid-container {
    grid-template-columns: repeat(3, 1fr);
  }

  .boxLink {
    width: unset;
    max-height: 32vh;
  }

  .boxContent {
    height: 25vh;
  }

  .boxText {
    display: flex;
    align-content: center;
    align-items: center;
    justify-content: center;
    width: 85%;
    bottom: 7vh;
    max-height: 10vh;
  }

  .aboutMe {
    align-items: center;
  }

  .aboutMeImg {
    width: 50vw;
    height: 50vw;
  }

  .aboutMe .column {
    width: unset;
    text-align: center;
  }

  .grid-container{
    display: flex;
    flex-direction: column;
  }

  .image-container{
    height: 35vh;
  }
}

/*///////END CURSOS///////*/