@import url(../scss/icons/font-awesome/css/font-awesome.min.css);



.img-banners {
    display: inline-block;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    margin: 0;
  
}

#section-principal {
  width: 80%;
  margin: 0;
  padding: 0;
  left: 50%;
  transform: translateX(-50%);
  position: relative;
}

#banner-1 {
    height: 450px;
    width: 100%;
    background-color: transparent;
    margin: 0;
    padding: 0;
    position: relative;
}

#banner-1 img {
    height: 100%;
    width: 100%;
    object-fit: cover;
    object-position: center center;
}

#figure-contenedor-2 {
    display: inline-flex;
    margin: 0;
    padding: 0;
    position: relative;
    top: 20px;
    justify-content: space-between;
    width: 100%;
}

#figure-contenedor-2 img {
    height: 100%;
    width: 32%;
    object-fit: cover;
    object-position: center center;
    margin: 0;
    padding: 0;
    position: relative;
}

#banner-2 {
    display: flex;
}

#banner-2 a {
    background-color: var(--verde-corporativo);
    border-radius: 25px;
    height: 45px;
    width: 15%;
    position: absolute;
    text-align: center;
    padding: 8px;
    font-size: 25px;
    text-decoration: none;
    font-weight: 600;
    bottom: 10%;
    color: var(--blanco);
  }

#banner-2 a:hover {
    color: var(--azul-oscuro-contraste);
    box-shadow: 0px 5px 0px var(--azul-oscuro-contraste);
}

#banner-2 h2 {
    height: 80px;
    width: 50%;
    position: relative;
    margin: 15px 0;
    color: #000;
    font-size: 20px;
}

/* Sección de páginas */
#section-paginas {
  display: flex;
  position: relative;
  width: 100%;
  top: 90px;
  margin: 0;
    margin-bottom: 0px;
  padding: 0;
  height: 550px;
  margin-bottom: 100px;
}

#section-paginas iframe {
  position: relative;
  width: 55%;
  margin: 0;
  padding: 0;
}

#panel-noticias {
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0;
  padding: 0;
  width: 50%;
}
#contenedor-youtube{
    width: 40%;
     height: 100%; 
     display: flex;
}


@media screen and (max-width: 700px){
   
    #section-principal {
        height: 250px;
        width: 80%;
        margin: 0;
        padding: 0;
        position: relative;

      }
      #banner-1 {
        height: 50%;
        width: 100%;
        background-color: transparent;
        margin: 0;
        padding: 0;
        position: relative;
      }
      #banner-1 img {
        height: 100%;
        width: 100%;
        object-fit: cover;
        object-position: center center;
      }
      #banner-2 {
        display: inline-flex;
        position: relative;
        margin: 0;
        height: 35%;
        justify-content: space-between;
      }
      #banner-2 h2 {
        height: 80px;
        width: 30%;
        position: relative;
        margin: 0;
        color: #000;
        font-size: 8px;
        left: 0;
        top: 0;
      }
      #banner-2 a {
        background-color: var(--verde-corporativo);
        border-radius: 25px;
        height: 25%;
        width: 25%;
        position: absolute;
        align-items: center;
        padding: 0px;
        font-size: 10px;
        text-decoration: none;
        font-weight: 600;
        top: 75%;
        color: var(--blanco);
        left: 0;
        justify-content: center;
        display: flex;
      }
      #figure-contenedor-2 {
        display: inline-flex;
        margin: 0;
        padding: 0;
        justify-content: space-between;
        width: 80%;
        overflow: hidden;
        height: 100%;
        top: 0;
      }
      #figure-contenedor-2 img {
        height: 100%;
        width: 32%;
        object-fit: cover;
        object-position: center center;
        margin: 0;
        padding: 0;
      }
      #section-paginas {
        display: flex;
        position: relative;
        width: 100%;
        top: 125px;
        margin: 0;
        margin-bottom: 0px;
        margin-bottom: 0px;
        padding: 0;
        margin-bottom: 200px;
        flex-direction: column;
        height: 1200px;
      }
      #panel-noticias {
        display: flex;
        justify-content: center;
        align-items: center;
        margin: 0;
        padding: 20px 4px;
        height: 50%;
        width: 100%;
        overflow: hidden;
      }
      #section-paginas iframe {
        width: 100%;
        margin: 0;
        padding: 0;
      }
      #contenedor-youtube {
        width: 100%;
        height: 400px;
        display: flex;
        padding: 20px;
      }
}

@media screen and (min-width: 701px) and (max-width: 1010px){
#section-principal {
    height: 25%;
    width: 80%;
    margin: 0;
    padding: 0;
    position: relative;
 
  }
  #banner-1 {
    height: 50%;
    width: 100%;
    background-color: transparent;
    margin: 0;
    padding: 0;
    position: relative;
  }
  #banner-1 img {
    height: 100%;
    width: 100%;
    object-fit: cover;
    object-position: center center;
  }
  #banner-2 {
    display: inline-flex;
    position: relative;
    margin: 0;
    height: 35%;
    justify-content: space-between;
  }
  #banner-2 h2 {
    height: 80px;
    width: 30%;
    position: relative;
    margin: 0;
    color: #000;
    font-size: 8px;
    left: 0;
    top: 0;
  }
  #banner-2 a {
    height: 20%;
    width: 25%;
    position: absolute;
    align-items: center;
    font-size: 17px;
    top: 50%;
    justify-content: center;
    display: flex;
  }
  #figure-contenedor-2 {
    display: inline-flex;
    margin: 0;
    padding: 0;
    justify-content: space-between;
    width: 80%;
    overflow: hidden;
    height: 100%;
    top: 0;
  }
  #figure-contenedor-2 img {
    height: 100%;
    width: 32%;
    object-fit: cover;
    object-position: center center;
    margin: 0;
    padding: 0;
  }
  #section-paginas {
    display: flex;
    position: relative;
    width: 100%;
    top: 125px;
    margin: 0;
      margin-bottom: 0px;
    padding: 0;
    margin-bottom: 200px;
    flex-direction: column;
    height: 1200px;
  }
  #panel-noticias {
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0;
    padding: 0;
    width: 100%;
  }
  #contenedor-youtube {
    height: 100%;
    width: 100%;
    display: flex;
    padding: 40px;
  }
}
/* @media screen and (max-width: 1080px) and  (orientation: landscape){
  .boton-menu{
    font-size: 16px !important;
  }
  #menu{
    width: 60%;
    left: 35%;
  }
} */
@media screen and (min-width:1011px) and (max-width:1900px) {
  #section-principal{
    height: 45%;
  }
  #banner-2 {
    height: 200px;
    position: relative;
    top: 5px;
  }
  #banner-2 a{
    height: 50px;
    width: 20%;
    bottom: 0;
  }
  #banner-2 h2{
    margin: 15px 0 0;
  }
  #figure-contenedor-2{
    top: 0;
  }
  
}