h4 {
  font-size: 1.2rem;
}


footer {
  display: flex;
  flex-direction: row;

  gap: 4rem;

  padding: 1rem 2.5rem;

  .map {
    flex: 1;
  }

  .whoWeAre {
    flex: 1;
  }

  .contact {
    flex: 1;

    .email, .home, .facebook, .X, .web {
      display: flex;
      align-items: center;
      text-align: center;

      gap: .5rem;
      margin-bottom: .5rem;
    }

    .img-x {
      background-image: url(../images/logoTwitter.png);
    }

    .img-email {
      background-image: url(../images/logoCorreo.png);
    }

    .img-facebook {
      background-image: url(../images/logoFacebook.png);
    }

    .img-home {
      background-image: url(../images/logoHome.png);
    }

    .img-rrss {
      background-position: center;
      background-repeat: no-repeat;
      background-size: contain;

      height: 25px;
      width: 25px;
      
    }

    .info {
      text-decoration: none;
      
    }

    a:hover {
      color: rgba(126, 49, 8);
    }
  }
}

.horizontal {
  margin-top: 3rem;
  text-align: center;

  img {
    width: 50rem;
    height: auto;

  }
}

.colaboradores {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;

  justify-content: space-around;
  align-items: center;
  text-align: center;
}

.main-title {
  text-align: center;
  font-size: clamp(2rem, 0.857rem + 3.81vw, 3rem);
  
}

.colab-ciencias {
  width: 60%;
}


*{
  	font-family: 'Open Sans', sans-serif;
    
  }

  * p{
  text-align: left;
  }
  * li{
    text-align: justify;
  }

  body{
  	width: 90%;
  	margin: 1.5em auto;
  }

  hr {
    border: 0;
    border-bottom: 1px solid #DCDCDC;
    clear: both;
    display: block;
    height: 0;
    margin: 0 auto 50px auto;
    padding-top: 50px;
    /*max-width: 220px;
    width: 100%;*/
  }

.no-seleccionable {
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none; 
}

  /***********************************************************/
  /********************HEADER*********************************/
  /***********************************************************/

  header{
    width: 100%;
    text-align:center;

    .nav-top {
      display: flex;
      flex-direction: row;

      align-items: center;
      justify-content: space-between;
    }
  }

  .logos{
    width: 100%;
  }

  .az-logos {
    width: 80%;
  }

  #l-ugr {
    width: 110%;
  }


  header section{
    display: inline-flex;
  }

  header section article{
    width: 25%;
    margin-right: 4%;
  }

  #fecyt-logo{
      font-size: 0.75em;
  }

  #fecyt-logo img{
    width: 130%;
    margin-right: 7%;
  }

  /***********************************************************/
  /********************FOOTER*********************************/
  /***********************************************************/


  footer{
  	background-color: rgba(101, 181, 168, .7);
    float: left;
    overflow: hidden;
  }


  #map{
    position: relative;
    overflow: hidden;
    padding-bottom: 20%;
  }

  #map iframe{
    position: relative;
  	width: 100%;
  	border: 0;
  }

  footer a{
    color: black;
  }

  /******************************************************/
  /*****************MENU SUPERIOR************************/
  /******************************************************/
  #btn-menu{
    display:none;
  }

  main label{
    display: none;
    width: 30px;
    height: 30px;
    padding: 10px;
    border-right: 1px solid #fff;
    overflow-y: hidden;
  }

  #menu{
    width: 100%;
    background-color: rgba(101, 181, 168, .7);
  }

  #menu ul{
    text-align: center;
    display: flex;
    flex-direction: row;
    margin: 0;
    list-style: none;
    justify-content: center;
  }
  

  #menu li {
    display: block;
    padding: 15px 20px;
    cursor: pointer;
  }

  #menu li:hover{
    background: rgba(35, 115, 102, .8);
  }

  #menu li a:hover{
    color: white;
  }

  #menu a{
    text-decoration: none;
    color: black;
  }


  /***********************************************/
  /*****************SLIDER************************/
  /***********************************************/

  @keyframes slidy {
  0% { left: 0%; }
  20% { left: 0%; }
  25% { left: -100%; }
  45% { left: -100%; }
  50% { left: -200%; }
  70% { left: -200%; }
  75% { left: -300%; }
  95% { left: -300%; }
  100% { left: -400%; }
  }

  figure { 
    margin: 0; 
    background: #101010;
    font-weight: 100;
  }

  section#captioned-gallery { 
    width: 55%; 
    overflow: hidden; 
    margin-left: 24%;
  }

  figure.slider { 
    position: relative; 
    width: 500%;
    font-size: 0; 
    animation: 30s slidy infinite; 
    z-index: -1;
    overflow: hidden;
  }

  figure.slider figure { 
    width: 20%; 
    height: auto;
    display: inline-block;  
    position: inherit; 
    overflow: hidden;
  }

  figure.slider img { 
  	width: 100%; 
  	height: auto; 
    overflow-y: hidden;
  } 

  /*figure.slider figure figcaption { 
    position: absolute; bottom: 0;
    background: rgba(0,0,0,0.4);
    color: #fff; width: 100%;
    font-size: 2rem; padding: .6rem; 
  }*/


  /***********************************************/
  /*******************Programa********************/
  /***********************************************/

  h2.tituloCentrado{
	text-align: center;
  }

  #descripcionProg{
    float: left;
    width: 60%;
  }

  #imageProg{
    padding-top: 5px;
    float: left;
    width: 40%;
    overflow-y: hidden;
    overflow-x: hidden;
  }

  #fotoP{
    padding-top:10%;
    padding-left:20px;
    width: 180%;
  }

  #cartel-logo{
    width: 100%;
    margin-left: 15px;
    margin-top: 12%;
  }


  .imagesColaboradores img{
    width: 70%;
  }



/*****************************************************************************************/
/*****************************************************************************************/
/************************************SMARTPHONES******************************************/
/*****************************************************************************************/
/*****************************************************************************************/

@media screen and (max-width: 480px){
  /******************************************************/
  /********************HEADER****************************/
  /******************************************************/
/*
  #logosLista{
    display: flex;
  }

  .logos{
    width:180px;
  }

  #fecyt-logo img{
    width: 220px;
  }
*/
  #fecyt-logo{
      font-size: 0.50em;
  }
  /******************************************************/
  /********************FOOTER****************************/
  /******************************************************/

  .logosContacto{
    width: 20px;
    height: 20px;
  }

  footer {
    flex-direction: column;
    gap: 1rem;
  }













  #map{
    padding-bottom: 0;
  }

  

  #enlacesContactos{
    font-size: 0.75em;
    width: 20%;
  }

  /******************************************************/
  /*****************MENU SUPERIOR************************/
  /******************************************************/

  main label{
    display: block;
  }

  #menu{
    position: absolute;
    width: 70%;
    margin-left: -75%;
    transition: all 0.5s;
  }

  #menu ul{
    display: flex;
    flex-direction: column;
    padding: 0;
  }

  #menu li {
    border-top: 1px solid #fff;
  }

  #btn-menu:checked ~ #menu{
    margin: 0;
  }

  /******************************************************/
  /********************CONTENIDO*************************/
  /******************************************************/
main section{
  display: block;

}

  #descripcionProg{

    width: 100%;
  }

  #imageProg{
    padding-top: 5px;
    width: 100%;
    clear: right;
    overflow: none;
  }


  #imageProg img{
    width: 100%;
    /*float: right;*/
  }

  .colaboradores {
    grid-template-columns: repeat(1, 1fr);
  }

  .horizontal img {
      width: 100%;
      height: auto;

    }

    section#captioned-gallery { 
    width: 90%; 
    overflow: hidden; 
    margin-left: 5%;
  }


}
