@import url('https://fonts.googleapis.com/css?family=Yanone+Kaffeesatz');
@import url('https://fonts.googleapis.com/css?family=Open+Sans');

*{
    box-sizing: border-box;
}
body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    margin:0;
}



.lifeStyle {
    background-color: rgba(119, 0, 0, 1); /* Maroon */
    position: relative;
    display: flex;
    width: 100%;
    justify-content: center;
    align-items: center;
  }
  
  .lifeStyle img {
    width: 100%;
    animation: slideInFromLeft 1s ease-out forwards; /* Animación de entrada desde la izquierda */
    opacity: 0; /* Comienza con opacidad cero para el efecto de aparición */
  }
  
  @keyframes slideInFromLeft {
    0% {
      transform: translateX(-100%);
      opacity: 0;
    }
    100% {
      transform: translateX(0);
      opacity: 1;
    }
  }
  
  
  .msjLateral {
    width: 100%;
    color: white;
    padding: 2%;
    border-radius: 0 35px 35px 0; /* Redondea solo la parte inferior */
    text-align: center;
}


  
  
  @media (max-width: 768px) {
    .lifeStyle {
      flex-direction: column; /* Cambia a disposición en columna */
      align-items: center; /* Centra verticalmente en columnas */
    }
  
    .msjLateral {
      border-radius: 35px; /* Vuelve a redondear todos los bordes en pantallas pequeñas */
      margin-top: 20px; /* Añade espacio superior */
    }
  }

  

  
  .msjLateral a button {
    background-color: rgb(255, 136, 0);
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 35px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3); /* Sombra ligera */
    cursor: pointer;
    text-decoration: none;
    margin :5%;
    transition: transform 0.3s ease;
  }
  
  .msjLateral a button:hover {
    background-color: rgb(255, 166, 0);
    transform: scale(1.1);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.8); /* Sombra ligera */
  }


  .tituloCarrusel {
    text-align: center;
    background-color: maroon;
    color: white;
    padding:2%;
    width:100%;
    margin:0;
    margin-top: 2%;
    font-size: 2rem;
  }

  
  






