@font-face {
  font-family: "Open Sans";
  src:local(OpenSans-VariableFont_wdth),
  url(res/Open_Sans/OpenSans-VariableFont_wdth\,wght.ttf);
}
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    max-width: 100%;
    max-height: 100%;
    font-family: 'Open Sans';
    text-decoration: none !important;
  }

a {
    text-decoration: none !important;
  } 

header img {
    float: left;
    width: 29%;
  }
  
/* Centra la barra y la vuelve azul*/
.navegador {
    background-color: rgb(4, 4, 133);
    font-size: 12px;
    font-size: 1.1vw;
  }
  
  /* Estilo de los enlaces dentro de la barra */
  .navegador a {
    display: inline-flex;
    color: white;
    text-align: center;
    padding: 2% 1.6%;
    text-decoration: none;
    font-size: 100%;
    cursor:pointer;
  }
  
  /* Color de los enlances al pasar por encima */
  .navegador a:hover {
    color: rgb(255, 217, 3);
  }
  
  /* Estilo de la caja de busqueda */
  .navegador input[type=text] {
    float: right;
    padding: 1%;
    border: none;
    margin-top: 1%;
    margin-right: 1%;
    font-size: 100%;
    border-radius: 2vw;
  }
  input::placeholder{
    padding: 10px;
  }
    
/* Change the link color to #111 (black) on hover */
li a:hover {
  background-color: #111;
}
/*Cambia las barras de navegación y footer*/
  @media screen and (min-width:900px){
    .navegador{
      overflow: hidden;
    }
    .dropdown {
      display: none;
    }
    .footer_mov{
      display: none;
    }
  }
  
 
/*Fondo de pantalla*/
body {
  position: absolute;
  height: auto;
}
.noticia{
  margin-left: auto;
  margin-right: auto;
  width: 80vw;
  height: 25vw; 
  border-radius: 1vw;
  background-color: rgba(255, 255, 255, 0.6);
  display:flex;
  box-shadow: 0 0 3px -1px;
  font-size: 12px;
  font-size: 1.3vw;
  
}
.texto{
  width: 60vw;
  height: 100vw;
  margin-left: 2vw;
  margin-right: 2vw;
  margin-top: 1.2vw;
  font-size: auto;
  display: flexbox;
}

.parrafo{
  margin-top: 0.5vw;
}
/*Tamaño de la caja de las imagenes*/
.div-img{
  width: 50vw;
  height: 100vw;
}
/*Posicionamento y tamaño de las imagenes de las noticias*/
.tamaño-img{
  width: 100vw;
  height: 100vw;
  border-start-end-radius: 1vw;
  border-end-end-radius: 1vw;
}

.div-body{
  width: 100vw;
  height: auto;
  background-color: rgb(239, 240, 240);
  box-shadow: 0 0 3px -1px;
}
.indice{
  display: flex;
  justify-content: center;
}

.indice a{
  text-decoration: none;
  color: rgb(63, 63, 63);
  font-size: 1.5vw;
}
li{
  list-style-type: circle;
  margin-left: 1.5vw;
  margin-top: 0.3vw;
}

footer{
  background-color: rgb(239, 240, 240);
  width: 100vw;
  height: auto;
  box-shadow: 0 0 3px -1px;
}

footer img {
  width: 10vw;
  height: 6vw;
  margin-top: 1vw;
  margin-left: 4vw;
}
footer i{
  margin-right: 1vw;
  font-size: 1.5vw;
}
footer a{
  color: black;
}

.footer_ord{
  display: flex;
  justify-content: space-around;
  align-items: center;
}

.hg_p{
  text-align: center;
  font-size: 1.3vw;
}
.iconos{
  text-decoration: none ;
  
}

 /* Cuando la pantalla sea menos ancha que 1800px , pone los enlaces en vertical */
 @media screen and (max-width: 900px) {
  /*Menu desplegable*/
  *{
    font-size: 3vw;
  }
  .navegador{
    display: inline-block;
  }
  .footer_ord{
    display: none;
  }
  header img {
    width: 49vw;
    height: 12vw;
  }
  .navegador input[type=text] {
    margin-top: 11px;
    margin-left: 1.5%;
    float: left;
  }
  .dropdown {
    position: absolute;
    display: inline-block;
    width: 100%;
    background-color: rgb(4, 4, 133);
  }
  
  .dropbtn {
    background-color: rgb(4, 4, 133);
    color: white;
    padding: 2%;
    font-size: 80%;
    border: none;
    cursor: pointer;
    width: 10%;
    float: left;
    margin-top: 1vw;
  }
  
  .dropdown-content {
    display: none;
    position: absolute;
    margin-top: 10.06vw;
    margin-left: 60vw;
    min-width: 40%;
    min-height: 125%;
    box-shadow: 0px 1% 2% 0px rgba(0,0,0,0.2);
    z-index: 1;
  }
  
  .dropdown-content a {
    color: white;
    background-color: rgb(4, 4, 133);
    padding: 5% 10%;
    text-decoration: none;
    display:flex;
    justify-content: center;
  }
  .material-icons{
    width: 6vw;
    padding-top: 0.2vw;
  }
  
  .dropdown:hover .dropdown-content {
    display: block;
  }
  section {  
    display: none;
  }
  body{
    height: auto;
    max-height: 1000%;
  }
  .noticia {
    height: 115vw;
    width: 75vw;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 2vw;
    display: flex;
    flex-direction: column-reverse ;
  }
  .texto{
    height: 135vw;
    width: 68vw;
    margin-left: 4vw;
    margin-right: 2vw;
    margin-bottom: 5vw;
    font-size: auto;
    display: flexbox;
  }
  li{
    margin-left: 4vw;
  }
  /*Tamaño de la caja de las imagenes*/
  .div-img{
    width: 120vw;
    height: 100vw;
  }
/*Posicionamento y tamaño de las imagenes de las noticias*/
  .tamaño-img{
    width: 110vw;
    height: 40vw;
    border-start-start-radius: 1vw;
    border-end-end-radius: 0vw;
  }

  .div-body{
    margin-top: 10vw;
    width: 100vw;
    height: auto;
    background-color: rgb(239, 240, 240);
    box-shadow: 0 0 3px -1px;
  }
  
  .div-body-about {
    width: 100vw;
    height: auto;
    background-color: rgb(239, 240, 240);
    box-shadow: 0 0 3px -1px;
    text-align: justify;
    margin-top: 12%;
  }

  .parrafo{
    margin-top: 0.5vw;
  }
  input::placeholder{
    padding: 13px;
  }
  .indice a{
    text-decoration: none;
    color: rgb(63, 63, 63);
    font-size: 3.5vw;
  }
/*Sección footer*/
  footer{
    background-color: rgb(239, 240, 240);
    width: 100vw;
    height: auto;
    box-shadow: 0 0 3px -1px;
  }
  
  footer img {
    width: 15vw;
    height: 11vw;
    text-wrap: center;
    margin-right: 5vw;
  }
  footer i{
    font-size: 4vw; 
       
  }
  footer a{
    text-decoration: none;
  }
  .footer_mov{
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .hg_p{
    font-size: 3vw;
    margin-top: 4vw;
  }
  .iconos{
    margin-left: 4vw;
    margin-top: 4vw;
  }
}




/* Clases CSS para la sección Quiénes somos. La diferencia con .texto y .div-img respectivamente es 
   la eliminación de height: 100vw */
.texto-about {
  
  
  margin-left: 2vw;
  margin-right: 2vw;
  margin-top: 1.2vw;
  font-size: auto;
  display: flexbox;
}

.div-img-about {
  width: 50vw;
}

.div-body-about {
  width: 100vw;
  height: auto;
  background-color: rgb(239, 240, 240);
  box-shadow: 0 0 3px -1px;
  text-align: justify;
}