/******************************************************/
/* SLIDE 1 *****************/
/******************************************************/

#slide1 .contenido {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    background-image: url(/wp-content/uploads/2021/12/bg_varta_formacion.png);
    background-size: cover;
    background-position: center;
    cursor: pointer;
  }
  #slide1 .contenido > div:first-of-type {
    position: relative;
    top: 30px;
    right: 30px;
  }
  @media all and (max-width: 767px) {
    #slide1 .contenido {
      background-position-x: 60%;
      background-position-y: center;
    }
    #slide1 .contenido > div:first-of-type {
      max-width: 93%;
      margin-top: 50px;
      display: flex;
      flex-direction: column;
      align-items: center;
    }
  }
  
  /*
  #slide1 .contenido > div:first-of-type {
    position: relative;
    left: -7%;
    top: 40px;
  }
  #slide1 .contenido > div:last-of-type img {
    width: 106%;
  }
  #slide1 .contenido > div:last-of-type {
    left: -5%;
    position: relative;
  }
  #slide1 h1 {
    font-size: 55px;
    color: var(--rojo);
  }
  #slide1 span {
    font-family: var(--subtitulo);
    text-transform: uppercase;
    text-align: left;
    color: var(--amarillo);
    display: block;
    margin-bottom: -10px;
  }
  #slide1 span:last-of-type {
    color: var(--gris);
    font-size: 23px;
    display: block;
  }
  #slide1 p {
    color: var(--gris);
    text-align: right;
    font-size: 1.1rem;
  }
  #slide1 a {
    margin-top: 20px;
    background-color: white;
    color: var(--negro);
  }
  #slide1 a:hover {
    background-color: var(--amarillo);
  }
  /*** Responsive Styles Tablet And Below **
  @media all and (max-width: 980px) {
    #slide1 .contenido > div:first-of-type {
      max-width: 50%;
    }
    #slide1 img {
      max-width: 100%;
    }
    #slide1 .contenido > div:last-of-type {
      width: 100%;
    }
    #slide1 .contenido > div:last-of-type img {
      width: 100%;
    }
    #slide1 .contenido > div:first-of-type {
      left: 0;
      top: 40px;
      width: 90%;
    }
  }
  /*** Responsive Styles Smartphone Only **
  @media all and (max-width: 767px) {
    #slide1 .contenido > div:first-of-type {
      max-width: 100%;
      margin-top: 100px;
      display: flex;
      flex-direction: column;
      align-items: center;
      top: 200px;
    }
    #slide1 .contenido > div:last-of-type {
      display: flex;
      flex-direction: column;
      align-items: center;
  
      position: relative;
      top: 200px;
    }
    #slide1 .contenido {
      display: flex;
      flex-direction: column;
    }
    #slide1 h1 {
      font-size: 25px;
    }
    #slide1 span,
    #slide1 p,
    #slide1 h1 {
      text-align: center;
      margin-bottom: 0;
    }
    #slide1 a {
      margin-top: 15px;
    }
    #slide1 p {
      width: 65%;
    }
  }
  */
  