body {
    background: url(../img/fondo3_gif.gif);
    background-size: cover;
    background-position: top;
    background-repeat: no-repeat;
    background-attachment: fixed;
    
  }
  
  .general1 {
    border: 2px solid rgba(15, 17, 15, 0);
    position: relative;
    height: 100vh;
  }
  
  .fondo {
    height: 80vh;
    z-index: 1;
    position: absolute;
    width: 90vw;
    border: 1px solid rgba(15, 17, 15, 0);
    box-shadow: 0 15px 30px 1px rgba(128, 128, 128, 0.31);
    object-fit: cover;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
  }

  .leyenda {
      z-index: 2;
      position: relative;
    display:flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    height: 80vh;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
  }
  .p_1 {
    text-align: right;
    font-family: 'Libre Baskerville', serif;
    font-weight: bold;
    font-size: 30px;
  }
  
  .p_5 {
    font-size: 25px;
    text-align: center;
    font-family: 'Libre Baskerville', serif;
    font-weight: bold;
  }
  
  .parrafo_1 {
    flex-grow: 1;
    width: 400px;
    align-self: flex-end;
    transform: translateX(-100px);
  }
  .tobar {
    width: 400px;
    border: 2px solid rgba(5, 5, 5, 0);
    align-self: flex-end;
    transform: translateX(-40px);
  }

  @media only screen and (min-device-width : 900px)  {
    .general1 {
        display: flex;
      margin-top: 100px;
      transform: translateX(10%);
     
      }
      body{
          display: flex;
          align-items: center;
          justify-content: center;
      }
    .leyenda{
        width: 40%;
        position: relative;
        transform: unset;
        top: unset;
        left: unset;
        border: 2px solid #ccc;
    }
    .fondo{
        width: 40%;
        position: relative;
        transform: unset;
        top: unset;
        left: unset;
    }
    .tobar{
        transform: unset;
        align-self: center;
    }
    .parrafo_1{
        transform: unset;
        align-self: center;
        flex-grow: 0;
    }
    .p_1{
        text-align: center;
        font-size: 25px;
    }
    .p_5{
        font-size: 20px;
    }
  }