/*------------------------------------------------------LAYOUT------------------------------------------------------*/
/*-----------------------------------Barra-----------------------------------*/
.menu-bar {
  background: linear-gradient(90deg, rgb(83, 226, 85) 0%, rgb(222, 171, 3) 75%);
}

.nav-link {
  font-size: 16px;
  margin: 3px;
  color: #fff !important;
  font-weight: 500;
}

.navbar-nav {
  text-align: right;
  margin-right: 20px;

}

.menu-bar .navbar-toggler {
  padding-right: 20px;
  outline: none !important;
  border: none !important;
}

.navbar .fa {
  color: #fff !important;
  font-size: 26px;
}

.nav-link::hover {
  font-weight: 600;
  border-bottom: 1px solid #fff;
}

.navbar-brand img {
  width: 150px;
  margin-top: 5px;
  margin-left: 20px;
}

.dropdown-menu-gradient {
  background: linear-gradient(90deg, rgb(122, 228, 124) 0%, rgb(228, 189, 58) 49%);
  border: #fff;
  background-color: #f0ad4e;
}

.dropdown-item {
  color: #fff;
}

/*-----------------------------------Header-----------------------------------*/
@import url(//fonts.googleapis.com/css?family=Lato:300:400);



.header {
  position: relative;
  text-align: center;
  background: linear-gradient(90deg, rgb(83, 226, 85) 0%, rgb(222, 171, 3) 75%);
  color: white;
  border: none;
  padding-bottom: 0px;
}

.logo {
  fill: white;
  padding-right: 15px;
  display: inline-block;
  vertical-align: middle;
  width: 275px;
  max-width: 85%;
  width: 275px;
  height: auto;
}

.inner-header {
  height: 50vh;
  width: 100%;
  margin: 0;
  padding: 0;
}

.flex {
  /*Flexbox for containers*/
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.waves {
  position: relative;
  width: 100%;
  height: 15vh;
  margin-bottom: -7px;
  /*Fix for safari gap*/
  min-height: 100px;
  max-height: 150px;
}

.content {
  position: relative;
  height: 20vh;
  text-align: center;
  background-color: white;
}

/*Wave animation*/

.parallax>use {
  animation: move-forever 25s cubic-bezier(.55, .5, .45, .5) infinite;
}

.parallax>use:nth-child(1) {
  animation-delay: -2s;
  animation-duration: 7s;
}

.parallax>use:nth-child(2) {
  animation-delay: -3s;
  animation-duration: 10s;
}

.parallax>use:nth-child(3) {
  animation-delay: -4s;
  animation-duration: 13s;
}

.parallax>use:nth-child(4) {
  animation-delay: -5s;
  animation-duration: 20s;
}

@keyframes move-forever {
  0% {
    transform: translate3d(-90px, 0, 0);
  }

  100% {
    transform: translate3d(85px, 0, 0);
  }
}

/*Shrinking for mobile*/
@media (max-width: 768px) {
  .waves {
    height: 40px;
    min-height: 40px;
  }

  .content {
    height: 30vh;
  }

  h1 {
    font-size: 24px;
  }
}

.explain {
  font-family: 'Lato', sans-serif;
  letter-spacing: 1px;
  font-weight: 250;
  font-size: 20px;
  color: white;
}



/*-----------------------------------Footer-----------------------------------*/
footer a {
  color: white;
  font-weight: bold;
  text-decoration: none;
}

footer a:hover {
  color: white;
  text-decoration: underline;
}

footer {
  position: relative;
  width: 100%;
  background: rgb(122, 228, 124);
  min-height: 100px;
  padding: 20px 50px;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  margin: 0;
}

footer .social_icon,
footer .menu,
footer .logos {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 10px 0;
}

footer .social_icon li,
footer .menu li,
footer .logos li {
  list-style: none;
}

footer .social_icon li a {
  font-size: 2em;
  color: #fff;
  margin: 0 10px;
  display: inline-block;
  transition: 0.5s;
}

footer .logos li a {
  margin: 0 10px;
  display: inline-block;
  transition: 0.5s;
}

footer .menu li a {
  font-size: 1.2em;
  color: #fff;
  margin: 0 10px;
  display: inline-block;
  text-decoration: none;
  opacity: 0.75;
}

footer .menu li a:hover {
  /*hover cuando seleccionamos el elemento*/
  opacity: 1;
}

footer .social_icon li a:hover {
  transform: translateY(-20px);
}

footer .logos li a:hover {
  animation: wiggle 2s linear infinite;
}

/* Efecto de los logos */
@keyframes wiggle {

  0%,
  7% {
    transform: rotateZ(0);
  }

  15% {
    transform: rotateZ(-15deg);
  }

  20% {
    transform: rotateZ(10deg);
  }

  25% {
    transform: rotateZ(-10deg);
  }

  30% {
    transform: rotateZ(6deg);
  }

  35% {
    transform: rotateZ(-4deg);
  }

  40%,
  100% {
    transform: rotateZ(0);
  }
}

footer p {
  color: #fff;
  text-align: center;
  margin-top: 15px;
  margin-bottom: 10px;
  font-size: 1.1em;
}

footer svg .waves {
  position: absolute;
  top: 100px;
  left: 0;
  width: 100%;
  height: 100px;
  background: #069821;
  background-size: 1000px 100px;
}

footer .logos img{
  max-width: 85%;
  height: auto;
}

/*-----------------------------------Body-----------------------------------*/
body {
  justify-content: center;
  margin: 0;
  padding-top: 56px;
}

* {
  margin: 0;
  padding: 0;
}

/*------------------------------------------------------------------------------------------------------------------------*/
/*------------------------------------------------------HOME------------------------------------------------------*/
#homepageDiv {
  width: 85% !important;
  background-image: url("https://static.igem.wiki/teams/4453/wiki/home-1.svg") !important;
  background-repeat: no-repeat !important;
  background-attachment: scroll !important;
  background-size: 100% !important;
  margin:0%;
  margin-left: 10% !important;
}
/*------------------------------------------------------------------------------------------------------------------------*/
/*------------------------------------------------------DESCRIPTION------------------------------------------------------*/
/*Linea*/
.timeline {
  background: var(--primary-color);
  margin: 20px auto;
  padding: 20px;
}

/*Bloque de carta*/
.card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
  word-wrap: break-word;
  background-color: transparent;
  background-clip: border-box;
  border: rgb(122, 228, 124);
  border-radius: .25rem;
}

/*Padding segun par o impar*/
.card:nth-child(odd) {
  padding: 30px 0 30px 30px;
}

.card:nth-child(even) {
  padding: 30px 30px 30px 0;
}

/*::before */
.card::before {
  content: "";
  position: absolute;
  width: 50%;
  border: solid rgb(176, 228, 176);
}

/*Bordes*/
.card:nth-child(odd)::before {
  left: 0px;
  top: -4.5px;
  bottom: -5px;
  border-width: 5px 0 5px 5px;
  border-radius: 50px 0 0 50px;
}

/*Para dispositivos moviles*/
@media only screen and (max-width: 400px) {
  .card:nth-child(odd)::before {
    top: -5px;
    bottom: -5px;
  }
}

/*Bordes*/
.card:nth-child(even)::before {
  right: 0;
  top: 0;
  bottom: 0;
  border-width: 5px 5px 5px 0;
  border-radius: 0 50px 50px 0;
}

/*Eliminando el borde si es la primera carta*/
.card:first-child::before {
  border-top: 0;
}

/*Eliminando el borde si es la última carta y es impar*/
.card:last-child:nth-child(odd)::before {
  border-bottom: 0;
}

/*Eliminando el borde si es la última carta y es par*/
.card:last-child:nth-child(even)::before {
  border-bottom: 0;
}

/*Info de las cartas*/
.info {
  display: flex;
  flex-direction: column;
  background: white;
  color: black;
  border-radius: 10px;
  padding: 10px;
}

/*Titulo de la carta*/
.title {
  color: black;
  position: relative;
}

/*Punto del titulo*/
.title::before {
  content: "";
  position: absolute;
  width: 15px;
  height: 15px;
  background: white;
  border-radius: 1000px;
  border: 3px solid rgb(122, 228, 124);
}

/*Texto a la derecha si el bloque es impar*/
.card:nth-child(even)>.info>.title {
  text-align: right;
}

/*Poner el punto a la izquierda si la tarjeta es par*/
.card:nth-child(odd)>.info>.title::before {
  left: -45px;
}

/*Poner el punto a la derecha si la tarjeta es impar*/
.card:nth-child(even)>.info>.title::before {
  right: -45px;
}

/*Parametros para crear las listas con numeración de grdientes*/
ol.gradient-list {
  counter-reset: gradient-counter;
  list-style: none;
  margin: 0.75rem 0;
  padding-left: 0.25rem;
}

ol.gradient-list>li {
  background: white;
  border-radius: 0 0.5rem 0.5rem 0.5rem;
  counter-increment: gradient-counter;
  margin-top: 1rem;
  min-height: 3rem;
  padding: 0rem 0rem 0rem 3rem;
  position: relative;
}

ol.gradient-list>li::before,
ol.gradient-list>li::after {
  background: linear-gradient(135deg, rgb(83, 226, 85) 0%, #fddc32 100%);
  border-radius: 1rem 1rem 0 1rem;
  content: "";
  left: -1rem;
  overflow: hidden;
  position: absolute;
  top: -0.1rem;
  width: 3rem;
}

ol.gradient-list>li::before {
  align-items: flex-end;
  content: counter(gradient-counter);
  color: #1d1f20;
  display: flex;
  justify-content: flex-end;
  padding: 0.125em 0.25em;
  z-index: 1;
}

ol.gradient-list>li+li {
  margin-top: 1rem;
}

/*Efecto hover de remarcar el titulo y el punto que se esta leyendo*/
.card:hover .title {
  color: rgb(83, 226, 85);
}

.card:hover .title::before {
  background-color: rgb(168, 237, 168);
}



/*------------------------------------------------------------------------------------------------------------------------*/
/*------------------------------------------------------ATTRIBUTIONS------------------------------------------------------*/
/*Definición de los bloques*/
.cuadrado {
  background-color: rgb(176, 228, 176);
  color: white;
  border-radius: 7px;
  padding: 3%;
  margin-left: 1.5%;
  margin-right: 1%;
  margin-bottom: 3.5%;
  margin-top: 1%;
  text-align: justify;
  transition: background-color 1.25s;
  max-width: 90%;
  height: auto;
}

.cuadrado:hover {
  background-color: rgb(83, 226, 85);
}

.cuadrado h2 {
  font-weight: 600;
}

.cuadrado span {
  font-weight: 200;
}

.cuadrado h4 {
  margin: 0;
}

.cuadrado ul li {
  font-weight: 200;
  display: inline-block;
  margin: 0 50px 0 0;
}

.cuadrado ul {
  margin-top: 0.75rem;
  margin-bottom: 0.75rem;
}

.cuadrado ul li:hover {
  color: #fddc32;
}

.name:hover {
  color: #fddc32;
}

/*Clases necesarias para la realización del efecto de los bloques*/
.tile {
  -webkit-transform: translateY(50px) rotate(-5deg) translateZ(0);
  transform: translateY(50px) rotate(-5deg) translateZ(0);
  -webkit-transition-delay: .5s;
  -o-transition-delay: .5s;
  transition-delay: .5s;
  -webkit-transition: .6s;
  -o-transition: .6s;
  transition: .6s;
  opacity: 0;
}

.inView {
  opacity: 1;
  -webkit-transform: translateY(0px) rotate(0deg) translateZ(0);
  transform: translateY(0px) rotate(0deg) translateZ(0);
}

/*Logos sponsors*/
.cuadrado .logos {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 10px 0;
}

.cuadrado .logos li {
  list-style: none;
}

.cuadrado .logos li a {
  margin: 0 10px;
  display: inline-block;
  transition: 0.5s;
}

.cuadrado .logos img {
  max-width: 45%;
  height: auto;
  opacity: 0.5;
  transition: opacity 1.25s;
}

.cuadrado:hover .logos img {
  opacity: 1;
}

span .cursiva {
  font-style: italic;
}

/*------------------------------------------------------------------------------------------------------------------------*/
/*------------------------------------------------------TEAM------------------------------------------------------*/
/*Student Image*/
/*
.studentImage {
  object-fit: cover;
  width: 267px;
  height: 400px;
  border: solid 3px #069821;
}
*/
col-4 {
  height: 400;
  width: 270;
}

row {
  display: flex;
  justify-content: center;
}



/*------------------------------------------------------------------------------------------------------------------------*/
/*-----------------------------------------------------------------------------------------------------------------------*/
/*Info de serie*/
.bd-callout {
  padding: 1.25rem;
  margin-top: 1.25rem;
  margin-bottom: 1.25rem;
  border: 1px solid #e9ecef;
  border-left-width: .25rem;
  border-radius: .25rem
}

.bd-callout h4 {
  margin-bottom: .25rem
}

.bd-callout p:last-child {
  margin-bottom: 0
}

.bd-callout code {
  border-radius: .25rem
}

.bd-callout+.bd-callout {
  margin-top: -.25rem
}

.bd-callout-info {
  border-left-color: #5bc0de
}

.bd-callout-warning {
  border-left-color: #f0ad4e
}

.bd-callout-danger {
  border-left-color: #d9534f
}

.left-aligned {
  margin-left: auto;
}

.bg-dark {
  background-color: #069821 !important;
}

.bg-hero {
  background-color: #7952b3;
}


/*------------------------------------------------------------------------------------------------------------------------*/
/*-----------------------------------------------------------------------------------------------------------------------*/
/*Student presentation card*/
.teamcard-wrapper {
  width: 400px;
  height: 500px;
  position: relative;
}

.teamcard {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 350px;
  height: 450px;
  transform: translate(-50%, -50%);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 5px 18px rgba(0, 0, 0, 0.6);
  cursor: pointer;
  transition: 0.5s;
}  
.teamcard .teamcard-image {
    position: absolute;
    top: 0px;
    left: 0px;
    width: 100%;
    height: 100%;
    z-index: 2;
    background-color: #000;
    transition: .5s;
}
  
.teamcard &:hover img {
    opacity: 0.4;
    transition: .5s;
}

.teamcard:hover .teamcard-image {
  transform: translateY(-150px);
  transition: all .9s;
}

.teamcard:hover li:nth-child(1) a {
    transition-delay: 0.1s;
}
.teamcard:hover li:nth-child(2) a {
  transition-delay: 0.2s;
}
.teamcard:hover li:nth-child(3) a {
  transition-delay: 0.3s;
}
.teamcard:hover li:nth-child(4) a {
  transition-delay: 0.4s;
}

/**** Personal Details ****/

.details {
  position: absolute;
  bottom: 0;
  left: 0;
  background: #fff;
  width: 100%;
  height: 150px;
  z-index: 1;
  padding: 10px;
}

.details h2 {
    margin: 10px 0;
    padding: 0;
    text-align: center;
}   

.details h2 .degree {
        font-size: 1rem;
        line-height: 2rem;
        color: #333;
        font-weight: 300;
    }


.teamcardflip {
  position: absolute;
  bottom: -120px;
  left: 0;
  opacity: 0;
  background: #fff;
  width: 100%;
  height: 120px;
  z-index: 3;
  padding: 10px;
  transition: .4s;
}

.profile-two .social-icons li a {
  border-radius: 50%;
}

.teamcard:hover .profile-img--two {
  transform: rotateY(180deg);
}

.teamcard:hover .teamcardflip {
  bottom: 0;
  left: 0;
  transition-delay: 0.5s;
  opacity: 1;
}

/*------------------------------------------------------------------------------------------------------------------------*/
/*----------------------------------------------------HP-----------------------------------------------------------------*/

  .hpp {
    position: relative;
    padding: 4px 0 0 0;
    margin-top: 22px;
    list-style: none;
  }

  .hpp>li:nth-child(even) {
    position: relative;
    margin-bottom: 50px;
    height: 180px;
    right: -100px;
  }

  .hpp>li:nth-child(odd) {
    position: relative;
    margin-bottom: 50px;
    height: 180px;
    left: -100px;
  }

  .hpp>li:before,
  .hpp>li:after {
    content: " ";
    display: table;
  }

  .hpp>li:after {
    clear: both;
    min-height: 170px;
  }

  .hpp>li .hpp-panel {
    position: relative;
    float: left;
    width: 41%;
    padding: 0 20px 20px 30px;
    text-align: right;
  }

  .hpp>li .hpp-panel:before {
    right: auto;
    left: -15px;
    border-right-width: 15px;
    border-left-width: 0;
  }

  .hpp>li .hpp-panel:after {
    right: auto;
    left: -14px;
    border-right-width: 14px;
    border-left-width: 0;
  }

  .hpp>li .hpp-image {
    z-index: 100;
    position: absolute;
    left: 50%;
    border: 7px solid rgb(96, 180, 97);
    border-radius: 100%;
    background-color: rgb(66, 123, 67);
    box-shadow: 0 0 5px rgb(122, 228, 124);
    width: 215px;
    height: 215px;
    margin-left: -100px;
  }

  .hpp>li .hpp-image h4 {
    margin-top: 12px;
    font-size: 10px;
    line-height: 14px;
  }

  .hpp>li.hpp-inverted>.hpp-panel {
    float: right;
    padding: 0 30px 20px 20px;
    text-align: left;
  }

  .hpp>li.hpp-inverted>.hpp-panel:before {
    right: auto;
    left: -15px;
    border-right-width: 15px;
    border-left-width: 0;
  }

  .hpp>li.hpp-inverted>.hpp-panel:after {
    right: auto;
    left: -14px;
    border-right-width: 14px;
    border-left-width: 0;
  }

  .hpp>li:last-child {
    margin-bottom: 0;
  }

  .hpp .hpp-heading h4 {
    margin-top: 22px;
    margin-bottom: 4px;
    padding: 0;
    color: #b3b3b3;
  }

  .hpp .hpp-heading h4.subheading {
    margin: 0;
    padding: 0;
    text-transform: none;
    font-size: 18px;
    color: #333333;
  }

  .hpp .hpp-body>p,
  .hpp .hpp-body>ul {
    margin-bottom: 0;
    color: #808080;
  }

  /*Style for even div.line*/
  .hpp>li:nth-child(odd) .line:before {
    content: "";
    position: absolute;
    top: 60px;
    bottom: 0;
    left: 690px;
    width: 4px;
    height: 340px;
    background-color: rgb(66, 123, 67);
    -ms-transform: rotate(-44deg);
    /* IE 9 */
    -webkit-transform: rotate(-44deg);
    /* Safari */
    transform: rotate(-44deg);
    box-shadow: 0 0 5px rgb(122, 228, 124);
  }

  /*Style for odd div.line*/
  .hpp>li:nth-child(even) .line:before {
    content: "";
    position: absolute;
    top: 60px;
    bottom: 0;
    left: 450px;
    width: 4px;
    height: 320px;
    background-color: rgb(66, 123, 67);
    -ms-transform: rotate(44deg);
    /* IE 9 */
    -webkit-transform: rotate(44deg);
    /* Safari */
    transform: rotate(44deg);
    box-shadow: 0 0 5px rgb(122, 228, 124);
  }

  .hpp>li:last-child .line:before{
    width: 0px;
    height: 0px;
  }
  .hpp>li:last-child .line:after{
    width: 0px;
    height: 0px;
  }

  /* Custom, iPhone Retina */
  @media only screen and (max-width: 1400px) {
    .hpp>li:nth-child(even) {
      margin-bottom: 0px;
      min-height: 0px;
      right: 0px;
    }

    .hpp>li:nth-child(odd) {
      margin-bottom: 0px;
      min-height: 0px;
      left: 0px;
    }

    .hpp>li .hpp-image {
      position: static;
      width: 250px;
      height: 250px;
      margin-bottom: 20px;
    }

    .hpp>li:nth-child(even) .hpp-image {
      left: 0;
      margin-left: 0;
    }

    .hpp>li:nth-child(odd) .hpp-image {
      float: right;
      left: 0px;
      margin-left: 0;
    }

    .hpp>li:nth-child(even) .hpp-panel {
      width: 100%;
      padding: 0 0 20px 14px;
    }

    .hpp>li:nth-child(odd) .hpp-panel {
      width: 100%;
      padding: 0 14px 20px 0px;
    }

    .hpp>li .line {
      display: none;
    }
  }

  @media only screen and (max-width: 1400px) {
    .hpp>li:nth-child(even) .hpp-image {
      float: left;
      left: 0;
      margin-left: 0;
    }
  }

/*-----------------------------------------------------------------------------------------------------------------------*/
/*Contact-Page*/
@media (min-width: 1025px) {
  .contact-page ul {
    display: flex;
  }
}

.contact-page {
  padding-bottom: 8rem;
}

  .contact-page ul {
    position: relative;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    margin: 0;
    padding: 0;
  }

.contact-page ul li {
  list-style:none;
  margin:0 5px;
}

.contact-page ul li a .fa {
  font-size: 40px;
  color: #262626;
  line-height:80px;
  transition: .5s;
  padding-right: 14px;
}

.contact-page ul li a span {
  padding:0;
  margin:0;
  position:absolute;
  top: 30px;
  color: #262626;
  letter-spacing: 4px;
  transition: .5s;
}

.contact-page ul li a {
  text-decoration: none;
  display:absolute;
  display:block;
  width:210px;
  height:80px;
  background: #eee;
  text-align:left;
  padding-left: 20px;
  transform: rotate(-30deg) skew(25deg) translate(0,0);
  transition:.5s;
  box-shadow: -20px 20px 10px rgba(0,0,0,.5);
}
.contact-page ul li a:before {
  content: '';
  position: absolute;
  top:10px;
  left:-20px;
  height:100%;
  width:20px;
  background: #b1b1b1;
  transform: .5s;
  transform: rotate(0deg) skewY(-45deg);
}
.contact-page ul li a:after {
  content: '';
  position: absolute;
  bottom:-20px;
  left:-10px;
  height:20px;
  width:100%;
  background: #b1b1b1;
  transform: .5s;
  transform: rotate(0deg) skewX(-45deg);
}

.contact-page ul li a:hover {
  transform: rotate(-30deg) skew(25deg) translate(20px,-15px);
  box-shadow: -50px 50px 50px rgba(0,0,0,.5);
}

.contact-page ul li:hover .fa {
  color:#eee;
}

.contact-page ul li:hover span {
  color:#eee;
}

.contact-page ul li:hover:nth-child(1) a{
  background: #3b5998;
}
.contact-page ul li:hover:nth-child(1) a:before{
  background: #365492;
}
.contact-page ul li:hover:nth-child(1) a:after{
  background: #4a69ad;
}

.contact-page ul li:hover:nth-child(2) a{
  background: #00aced;
}
.contact-page ul li:hover:nth-child(2) a:before{
  background: #097aa5;
}
.contact-page ul li:hover:nth-child(2) a:after{
  background: #53b9e0;
}

.contact-page ul li:hover:nth-child(3) a{
  background: #dd4b39;
}
.contact-page ul li:hover:nth-child(3) a:before{
  background: #b33a2b;
}
.contact-page ul li:hover:nth-child(3) a:after{
  background: #e66a5a;
}

.contact-page ul li:hover:nth-child(4) a{
  background: #e4405f;
}
.contact-page ul li:hover:nth-child(4) a:before{
  background: #d81c3f;
}
.contact-page ul li:hover:nth-child(4) a:after{
  background: #e46880;
}

/*Contanct Card*/

.contactcard-wrapper {
  width: 400px;
  height: 500px;
  position: relative;
}

.contactcard {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 350px;
  height: 450px;
  transform: translate(-50%, -50%);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 5px 18px rgba(0, 0, 0, 0.6);
  cursor: pointer;
  transition: 0.5s;
}  

.contactcard .contactcard-image {
    position: absolute;
    top: 0px;
    left: 10px;
    width: 100%;
    height: 100%;
    z-index: 2;
    background-color: #000;
    transition: .5s;
}

.teamcard &:hover img {
    opacity: 1;
    transition: .5s;
}


.text {
  position: absolute;
  bottom: 0;
  left: 0;
  background: #fff;
  width: 100%;
  height: 120px;
  z-index: 1;
  padding: 10px;
}
