@media (max-width: 900px) {
  .contenedor-flex-inicio {
    flex-direction: column;
    align-items: center;
    gap: 3vh;
    margin-bottom: 6vh;
    padding-top: 10vh;
  }

  .contenedor-informacion,
  .contenedor-principal-fotos {
    width: 98vw;
    max-width: 500px;
  }
  .contenedor-informacion {
    width: 90vw;
    max-width: 500px;
    height: auto;
    justify-content: center;
    align-items: center;
    text-align: center;
    margin: 0 auto 2vh auto;
    margin-top: 0;
    margin-bottom: 2vh;
  }

  .contenedor-informacion h1 {
    font-size: 5vh;
  }

  .contenedor-principal-fotos {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 2vh;
    width: 90vw;
    height: 90vw;
    max-width: 400px;
    max-height: 400px;
    margin: 0 auto;
    justify-content: center;
    align-items: center;
    margin-bottom: 2vh;
  }

  .contenedor-principal-fotos div {
    width: 100%;
    height: 100%;
    min-width: 0;
    min-height: 0;
    max-width: none;
    max-height: none;
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .contenedor-principal-fotos img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
  }
}

@media (max-width: 600px) {
  .contenedor-flex-inicio {
    padding-top: 40vh;
  }
  .contenedor-informacion h1 {
    font-size: 3.5vh;
    margin-top: 0;
  }

  .contenedor-principal-fotos {
    grid-template-columns: 1fr;
    grid-template-rows: repeat(4, 1fr);
    width: 100vw;
    height: auto;
    max-width: 100vw;
    max-height: none;
    justify-items: center;
  }

  .contenedor-principal-fotos div {
    width: 90vw;
    height: 32vw;
    max-width: 90vw;
    max-height: none;
    margin: 0.5vh 0;
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .contenedor-principal-fotos img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
  }
  .contenedor-informacion h1 {
    font-size: 5vh;
  }
}
