/*PALETA DE COLORES*/
:root {
  /*COLORES DE REDES SOCIALES*/
  --facebook: #3b5998;
  --twitter: #1da1f2;
  --instagram: #c13584;
  --linkedin: #dd5143;
}

body {
  font-family: "Open Sans", sans-serif;
}

header {
  background: url("../img/header-lg.png");
  background-size: 100% 100%;
  background-position: center;
  background-repeat: no-repeat;
  width: 100%;
  height: 200px;
  position: relative;
}

/*Redes sociales en el HEADER*/
.redes-header {
  width: 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: absolute;
  top: 0;
  bottom: 0;
  right: 30px;
  margin: auto;
  list-style: none;
}

.redes-header li {
  text-align: center;
}

.redes-header li a {
  color: #fff;
  text-decoration: none;
  display: block;
  font-size: 18px;
  border-radius: 5px;
  margin: 5px 0;
}

.facebook {
  background: var(--facebook);
}

.twitter {
  background: var(--twitter);
}

.instagram {
  background: var(--instagram);
}

.linkedin {
  background: var(--linkedin);
}

/*Menú de navegación*/
.navegacion {
  position: relative;
  background: #191d4b;
  width: 100%;
  min-height: 40px;
  padding: 10px 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  margin-top: 5px;
}

.sticky {
  position: fixed;
  top: 0;
  width: 100%;
  margin-top: 0;
  z-index: 100;
}

.sticky + .seccion-team-eres {
  margin-top: 70px;
}

.menu-ham,
.menu-x {
  margin: 0;
  padding: 0;
  display: none;
  margin-left: 20px;
  cursor: pointer;
}

.menu-ham i,
.menu-x i {
  font-size: 25px;
  color: #ddd;
}

.imagen-logo {
  height: 40px;
  margin-left: 30px;
}

.menu {
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}

.menu li {
  list-style: none;
}

.menu li a {
  color: #fff;
  text-decoration: none;
  display: block;
  margin: 0 20px;
  font-size: 17px;
  padding: 5px 10px;
}

.menu a:hover {
  background: #2b3386;
}

.menu .active {
  background: #494f94;
}

/*Redes sociales de menú de navegación*/
.redes-circulo,
.redes-modal {
  height: 30px;
  list-style: none;
  padding: 0;
  margin: 0;
  margin-right: 20px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}

.navegacion .redes-circulo {
  display: none;
  opacity: 0;
}

.navegacion .redes-circulo.d-opacity-1 {
  display: initial;
  opacity: 1;
}

.redes-circulo li,
.redes-modal li {
  display: inline-block;
  text-align: center;
}

.redes-circulo li a,
.redes-modal li a {
  height: 30px;
  width: 30px;
  display: flex;
  justify-content: center;
  align-items: center;
  color: #fff;
  text-decoration: none;
  border-radius: 100%;
  font-size: 15px;
  margin: 0 5px;
}

.redes-modal {
  height: 35px;
}

.redes-modal li a {
  width: 40px;
  height: 35px;
  border-radius: 5px;
}

.redes-modal .cvitae,
.redes-modal .scopus,
.redes-modal .orcid,
.redes-modal .resgate,
.redes-modal .scgoogle {
  background-position: center;
  background-repeat: no-repeat;
}

.redes-modal .cvitae {
  background: rgb(162, 241, 255);
  background-image: url("../img/cvitae.png");
  background-size: 80% 80%;
  background-position: center;
  background-repeat: no-repeat;
}

.redes-modal .scopus {
  background: #fe8301;
  background-image: url("../img/scopus.ico");
  background-size: 90% 90%;
}

.redes-modal .orcid {
  background: #a7cf36;
  background-image: url("../img/orcid.png");
  background-size: 100% 100%;
}

.redes-modal .resgate {
  background-image: url("../img/resgate.png");
  background-size: 100% 100%;
}

.redes-modal .scgoogle {
  background-image: url("../img/scgoogle.png");
  background-size: 100% 100%;
}

.redes-modal .cv {
  background: #f44;
  background-image: url("../img/cv.png");
  background-size: 100% 100%;
}

/* .redes-modal .instagram {
  background: var(--instagram);
} */

.redes-modal .facebook {
  background: var(--facebook);
}

.redes-modal .linkedin {
  background: var(--linkedin);
}
/*
.redes-modal .twitter {
  background: var(--twitter);
} */

/*FOOTER*/
footer {
  background: #191d4b;
  width: 100%;
  min-height: 70px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-content: flex-end;
}

.copyright {
  text-align: center;
  color: #fff;
  font-family: "Quicksand", sans-serif;
  padding: 20px;
  padding-bottom: 12px;
  align-self: flex-end;
}

/********* HEADER MEDIA *********/
@media (max-width: 1000px) {
  header {
    background: url("../img/header-md.png");
    background-size: 100% 100%;
    height: 150px;
  }
}

@media (max-width: 650px) {
  header {
    background: url("../img/header-sm.png");
    background-size: 100% 100%;
    height: 130px;
  }

  .redes-header {
    width: 30px;
  }

  .redes-header li a {
    font-size: 15px;
    margin: 3px 0;
  }
}

@media (max-width: 390px) {
  header {
    background: url("../img/header-sm.png");
    background-size: 100% 100%;
    height: 100px;
  }

  .redes-header {
    width: 20px;
  }

  .redes-header li a {
    font-size: 11px;
    margin: 2px 0;
  }

  .navegacion img {
    margin-right: 20px;
  }
}

/********* NAVEGACIÓN MEDIA *********/
@media (max-width: 670px) {
  .menu-ham {
    display: initial;
  }

  .menu-x i {
    color: #555;
  }

  .seccion-team-eres {
    transition: margin-top ease-in-out 0.5s;
  }

  #check-menu:checked ~ .navegacion {
    background: #fff;
    box-shadow: 0 2px 7px #000;
    z-index: 50;
  }

  #check-menu:checked ~ .navegacion .line {
    content: "";
    position: absolute;
    top: 100%;
    width: 100%;
    height: 5px;
    background: #fff;
    box-shadow: 0 2.25px 3px 0 #000;
  }

  #check-menu:checked ~ .navegacion .menu-ham {
    display: none;
  }

  #check-menu:checked ~ .navegacion .menu-x {
    display: initial;
  }

  #check-menu:checked ~ .navegacion .menu {
    height: 130px;
    padding-bottom: 3px;
    z-index: 0;
  }

  #check-menu:checked ~ .seccion-team-eres {
    margin-top: 150px;
  }

  .navegacion {
    transition: background ease-in-out 0.5s;
  }

  .div-img-logo {
    flex: 1;
    display: flex;
    justify-content: flex-end;
  }

  .div-img-logo .imagen-logo {
    margin: 0;
    margin-right: 30px;
  }

  .flex-center {
    justify-content: center;
  }

  .menu {
    width: 100%;
    flex-wrap: nowrap;
    flex-direction: column;
    position: absolute;
    top: 100%;
    background: rgb(250, 250, 250);
    height: 0;
    overflow-y: hidden;
    transition: height ease-in-out 0.5s;
  }

  .menu li::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    margin: auto;
    width: 95%;
    height: 0.5px;
    background: #333;
    box-shadow: 0 0 2px #000;
  }

  .menu li a {
    margin: 0;
    width: 100%;
    padding: 7px 0;
    padding-left: 20px;
    text-align: left;
    color: #333;
    background: #fff;
  }

  .menu li a:hover {
    background: #e8e8e8;
  }
}

/********* FOOTER MEDIA *********/
@media (max-width: 560px) {
  footer {
    flex-direction: column;
    align-items: center;
  }
  .footer-left {
    margin-top: 20px;
  }
  .copyright {
    align-self: center;
  }
}
