/*************************************IMAGEN CON TEXTO***********/
.image-container {
    position: relative;
    height: auto;
  }
   .image-container img {
    display: block;
    
    height: auto;
  }
   .text-container {
    align-items: flex-end;
    position: absolute;
    top: 50%;
    left: 80%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: #fff;
  }
   .text-container h1 {
    font-size: 30rem;
    margin-bottom: 1rem;
  }
   .text-container p {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    
    
  }
   @media screen and (max-width: 768px) {
    .text-container {
      top: 35%;
    }
    .text-container h1 {
      font-size: 2rem;
    }
    .text-container p {
      font-size: 1rem;
    }
  }
  
  /***************************************************/

.button {
  position: absolute;
  top: 65%;
  left: 75%;
  width: 100px;
  height: 60px;
  transform: translate(-50%, -50%);
  text-align: center;
  background-color: #8D3225;
  font-size: 20px;
  color: #eee;
  border-radius: 4px; 
  border: none;
  cursor: pointer;
  font-size: 16px;
  font-weight: bold;
  transition: background-color 0.3s ease;
  
}
.button:hover {
  background-color: black;
}



/* Estilos responsivos para pantallas más pequeñas */

@media screen and (max-width: 798px)  {
  .button {
    font-size: 10px;
    left: 80%;
    top: 80%;
    height: auto;

  }
}
@media screen and (max-width: 798px)  {
  .button {
    font-size: 10px;
    left: 80%;
    top: 80%;
    height: auto;
    width: auto;
    width: auto;

  }
}


@media only screen and (max-width: 540px) {
  .button {
    font-size: 10px;
    left: 80%;
    top: 60%;
    height: auto;
    width: auto;

  }
}
@media only screen and (max-width: 400px) {
  .button {
    font-size: 10px;
    left: 80%;
    top: 70%;
    height: auto;
    width: auto;
  }
}
@media only screen and (max-width: 500px) {
  .button {
    font-size: 10px;
    left: 80%;
    top: 80%;
    height: auto;
    width: auto;
  }
}
@media only screen and (max-width: 300px) {
  .button {
    font-size: 10px;
    left: 80%;
    top: 80%;
    height: auto;
    width: auto;
  }
}
@media only screen and (max-width: 450px) {
  .button {
    font-size: 10px;
    left: 80%;
    top: 80%;
    height: auto;
    width: auto;
  }
}

/********************IMAGEN CON RESPONS EN TEXTO**********************/

  
  .image {
    display: block;
    max-width: 100%;
    height: auto;
    margin-left: 0px;
    
  }
  .text {
    position: absolute;
    top: 30%;
    left: 75%;  
    transform: translateX(-50%);
    text-align: center;
    color: white;
    font-size: 30px;
    font-weight: bold;
    letter-spacing: 2px;
    
  }
  
  @media screen and (max-width: 798px) {
    .text {
      align-items: center;
      font-size: 12px;
      font-size: 20px;   
      top: 10%;  
      left: 90%;
    }
  }
  
  @media screen and (max-width: 600px) {
    .text {
      align-items: center;
      font-size: 12px;
      font-size: 20px;   
      top: 10%;    
      left: 80%;
    }
  }
  
  @media screen and (max-width: 500px) {
    .text {
      align-items: center;
      font-size: 14px;
      left: 80%;
      top: 11%;
      
    }      
  }
  @media screen and (max-width: 400px) {
    .text {
      align-items: center;
      font-size: 13px;
      left: 80%;
      top: 11%;
    }
  }
  @media screen and (max-width: 200px) {
    .text {
      align-items: center;
      font-size: 11px;
      left: 80%;
      top: 13%;
    }
  }
  
  