
/*==================== HOME ====================*/
.home__container{
  background-image: linear-gradient(90deg, rgba(23, 9, 53, 0.5) 0%, rgba(30,7,96,0.5) 35%, rgba(9, 4, 20, 0.5) 100%), url('../img/legalidad/legalidad.jpg');
  background-size: cover;
  background-position: center;
  width: 100%;
  height: 120px;
  display: grid;
  grid-template-columns: 1fr;
  align-items: end;
}

.home__info{
  padding: 10px 50px;
  h1{
    color: #fff;
    font-size: 20px;
    margin-bottom: 10px;
  }
  
}



@media screen and (min-width: 600px){
  .home__container{
  height: 180px;
    grid-template-columns: 1fr 1fr;
    align-items: end;

  }
  .home__info{  
    h1{
      font-size: 25px;
      margin-top: 30px;
      margin-bottom: 30px;
      width: 400px;
      font-weight: 500;
    }

  }
  
}

/* ===== ABOUT =====*/
.about__container{
  row-gap: 2rem;
  text-align: center;
}
.about__card{
  width: 80%;
  height: auto;
  margin: auto;
  color: var(--color--title);
  p{
    text-align: initial;
    color: var(--second-color);
  }
}

.documentacion__link{
  display: flex;
  margin-bottom: 10px;
}
.documentacion__link a:hover{
  text-decoration: underline;
}
.documentacion__link img{
  width: 24px;
  height: 24px;
  margin-right:5px;
  margin-bottom: 7px;
}









/* =================== MEDIA QUERIES======================================*/
@media screen and (min-width: 768px){
  body{
    margin: 0;
  }
  .section{
    padding-top: 4rem;
    padding-bottom: 3rem;
  }
  .section-title{
    margin-bottom: var(--mb-6);
  }
  .section-title::after{
    width: 80px;
    top: 3rem;
  }



  .home__container{
    height: 300px;
    align-items: end;

  }
  .home__info{
      margin-left: 0;
      h1{
        font-size: 30px;
        margin-bottom: 30px;
        width: 450px;
        font-weight: 500;
      }
      p{
      margin-bottom: 30px;
      width: 400px;  
      font-size: 14px;  
      }
  }
   .home__img{
    width: 380px;
   }


   /* ====== about ====== */
  .about__container {
    align-items: center;
    text-align: initial;
    align-items:start;
  }

  .about__card{
    width: 100%;
    height:auto;
  }
  .about__lista{
    display: grid;
    grid-template-columns: repeat(3, 1fr) ;
  }

}







@media screen and (min-width: 1024px){
  .bd-grid{
    margin-left: auto;
    margin-right: auto;
  }
  .nav{
    height: calc(var(--header-height) + 1rem);
  }
  .nav__list{
    display: flex;
    padding-top: 0;
  }
  .nav__list li:hover .programas_nav{
    display: block;
    background-color: var(--first-color);
    left: 50.5%;
    top: 10px;
  }
  .link_program:hover::after{
    position: absolute;
    content: "";
    width: 100%;
    height: 0.18rem;
    left: 0;
    top: 3rem;
    background-color: #fff;
  }
  .nav__item{
    margin-left: var(--mb-6);
    margin-bottom: 0;
  }
  .nav__toggle{
    display: none;
  }
  .nav__link{
    color: #fff;
    font-weight: 500;
  }
  .home__img{
    right: 10%;
  }

  
  /* banner */
  .home__container{

    height: 400px;
  
  }
  .home__info{
      margin-left: 0px;
      h1{
        font-size: 40px;
        margin-bottom: 30px;
        width: 650px;
        font-weight: 500;
      }

  }


}


@media screen and (min-width: 1700px){
  /* banner */
  .home__container{

    height: 500px;
    grid-template-columns: 2fr 1.5fr;
  }
  .home__img{
    width: 70%;
  }
  .home__info{

    h1{
      font-size: 50px;
      font-weight: 600;
      margin-left: 50px;
    }

}
}