.prehome__container {
  display: flex;
  height: 100vh;
  overflow: hidden;
}

.prehome__section {
  flex: 1;
  height: 100%;
  background-size: cover;
  background-position: center;
  transition: transform 0.3s ease-in-out;
  position: relative;
}

.prehome__section #prehome__imageBackground  {
  width: 100%;
  height: 100%;
  z-index: 0;
  position: absolute;
  object-fit: cover;
  object-position: center 60%;
}

.prehome__section #prehome__imageLogo img  {
  width: 100%;
  height: 15%;
  z-index: 1;
  position: relative;
  transform: scale(0.5) translate(0%, 30vh);
}

.prehome__textoReemplazo p {
  position: relative;
  display: flex;
  justify-content: center;
  align-content: center;
  flex-wrap: wrap;
  width: 100%;
  height: 100vh;
  z-index: 1;
  font-family: var(--font-family-1);
  align-items: center;
  font-size: 50px;
  line-height: 42px;
  transform: translate(0px, -295px);
  color: var(--brand-white);
}

.prehome__section:hover {
    transform: scale(1.1);
}

.prehome__center-button {
  position: absolute;
  transform: translate(-40%, -21.5vh);
  padding: 8px 32px;
  font-size: 16px;
  background-color: var(--brand);
  color: var(--brand-black);
  border: none;
  cursor: pointer;
  transition: background-color 0.3s ease-in-out;
  font-weight: 700;
  line-height: 22px;
  letter-spacing: 0em;
  text-align: center;
  text-decoration: none;
  font-family: "Montserrat", sans-serif;
  width: 87px;
  height: 32px;
  justify-content: center;
  display: flex;
  align-items: center;
  z-index: 1;
}

.prehome__center-button:hover {
    background-color: var(--brand-light);
    /* color: var(--brand-red); */
    font-family: "Montserrat", sans-serif;
}

.prehome__textoReemplazo{
  padding-top: 130px;
}


@media (min-width: 0px) and (max-width: 992px) {
  .prehome__container {
    flex-direction: column;
  }

  .prehome__center-button {
    font-size: 32px;
    top: 48%;
    left: 65px;
    transform: none;
    width: 35vw;
    position: absolute;
    height: 5vh; 
  }

  .prehome__textoReemplazo p {
    transform: translate(110px, -20px);
    width: 30%;
    height: 33vh;
    margin: 0;
    font-size: 5.5vw;
    line-height: normal;
  }

  .prehome__section #prehome__imageLogo img {
    height: 24%;
    width: 70%;
    transform: scale(0.6) translate(-18%, 150%);
  }
}

@media (min-width: 992px) and (max-width: 1400px) {
    .prehome__textoReemplazo p {
    width: 94%;
    transform: translate(6px, -235px);
    }

    .prehome__section #prehome__imageLogo img {
    width: 220%;
    height: 28%;
    z-index: 1;
    position: relative;
    transform: scale(0.266) translate(-102%, -10vh);
    }

    .prehome__center-button {
      transform: translate(-50%, -317%);
    }
}

@media(min-width:360px){
  .prehome__textoReemplazo p{
    left: 215px;
    margin-bottom: 100px;
    font-size: 80px;
  }

  .prehome__center-button{
    margin-left: 20%;
    top: 60%;
  }
}

@media(min-width:768px){
  .prehome__textoReemplazo p{
    left: 215px;
    font-size: 80px;
    top: -170px;
    padding-top: -50px;
  }

  .prehome__center-button{
    margin-left: 20%;
    top: 45%;
  }
}

@media(min-width:1366px){
  .prehome__textoReemplazo p{
    left: 15px;
    font-size: 40px;
    top: -100px;
  }

  .prehome__center-button{
    top: 65%;
    left: 28%;
  }
}

