
body {
  background: #111;
}

#timeline {
  display: flex;
  background-color: #031625;
  padding: 0;
}

#timeline:hover .tl-item {
  width: 32%;
}

.tl-item {
  display: block;
  transform: translate3d(0, 0, 0);
  position: relative;
  width: 33.3333%;
  height: 100vh;
  min-height: 600px;
  color: #fff !important;
  overflow: hidden;
  transition: width 0.5s ease;
}

.tl-item:before, .tl-item:after {
  transform: translate3d(0, 0, 0);
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
}

.tl-item:after {
  opacity: 1;
  transition: opacity 0.5s ease;
}

.tl-item.agro:after {
  background: rgb(81 30 0 / 40%);
}

.tl-item.nova:after {
  background: #182d6b66;
}

.tl-item.garden:after {
  background: #53b51966;
}

.tl-item:before {
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0) 0%, black 75%);
  z-index: 1;
  opacity: 0;
  transform: translate3d(0, 0, 0) translateY(50%);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.tl-item:hover {
  width: 36.3333% !important;
}

.tl-item:hover:after {
  opacity: 0;
}

.tl-item:hover:before {
  opacity: 1;
  transform: translate3d(0, 0, 0) translateY(0);
  transition: opacity 1s ease, transform 1s ease 0.25s;
}

.tl-item:hover .tl-content {
  opacity: 1;
  transform: translateY(0);
  transition: all 0.75s ease 0.5s;
}

.tl-item:hover .tl-bg {
  filter: grayscale(0);
}

.tl-content {
  transform: translate3d(0, 0, 0) translateY(25px);
  position: relative;
  z-index: 1;
  text-align: center;
  margin: 0 1.618em;
  margin-top: 4rem;
  top: 65%;
  opacity: 0;
}

.tl-content h1 {
  font-family: "Pathway Gothic One", Helvetica Neue, Helvetica, Arial, sans-serif;
  text-transform: uppercase;
  color: #c8b16f;
  font-size: 1.44rem;
  font-weight: normal;
}

.tl-year {
  position: absolute;
  top: 50%;
  left: 50%;
  max-width: 80%;
  transform: translateX(-50%) translateY(-50%);
  z-index: 1;
  border-top: 1px solid #fff;
  border-bottom: 1px solid #fff;
}

.tl-year p img {
  max-width: 100%;
}

.tl-item:hover .tl-year {
  border-width: 0;
  cursor: pointer;
}

.tl-item:hover .tl-year::before,
.tl-item:hover .tl-year::after {
  content: "";
  position: absolute;
  left: 50%;
  width: 0;
  height: 1px;
  background-color: #ffffff;
  animation: borderAnimation 10s infinite;
}

.tl-item:hover .tl-year::before {
  top: 0;
  transform: translateX(-50%);
}

.tl-item:hover .tl-year::after {
  bottom: 0;
  transform: translateX(-50%);
}

@keyframes borderAnimation {
  0%, 100% {
    width: 0;
  }
  50% {
    width: 100%;
  }
}

.tl-year p {
  font-family: "Pathway Gothic One", Helvetica Neue, Helvetica, Arial, sans-serif;
  font-size: 1.728rem;
  line-height: 0;
  margin: revert;
}

.tl-bg {
  transform: translate3d(0, 0, 0);
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  background-size: cover;
  background-position: center center;
  transition: filter 0.5s ease;
  /* filter: grayscale(100%); */
}

@media (max-width: 750px) {
  #timeline {
    display: block;
  }

  #timeline:hover .tl-item {
    width: 100%;
  }

  .tl-item {
    width: 100%;
  }

  .tl-item:hover {
    width: 100% !important;
  }

}


/* Propios */

.px-0 {
  padding-left: 0px !important;
  padding-right: 0px !important;
}

.text-white {
  color: white !important;
}

.row {
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
}

.d-flex {
  display: -ms-flexbox;
  display: flex;
}

.gal-home {
  border: none;
}

.text-shadow {
  text-shadow: 2px 2px 2px #000;
}

#home {
  box-shadow: 0px 3px 10px #00000059;
}

.bg-dots {
  width: auto;
  max-width: 100%;
  text-align: center;
}

.image-100vh {
  width: auto !important;
  height: 100vh;
}

.hovereffect-color {
  display: flex;
  justify-content: center;
}

.navbar-default-white {
  margin: 30px auto;  
}

.text-div {
  position: absolute; 
  top: 0; 
  left: 0; 
  background: rgba(00,00,00,0.5); 
  width: 100%; 
  height: 100%; 
  display: flex; 
  justify-content: center; 
  align-items: center;
}

.projects-grid .hovereffect-color.azul .overlay div {
  background-color: rgba(0, 0, 102, .5);
}

.projects-grid .hovereffect-color.rojo .overlay div {
  background-color: rgba(248, 0, 0, .5);
}

.projects-grid .hovereffect-color.blanco .overlay div {
  background-color: rgba(255, 255, 255, .5);
}

/* Loader */

.contenedor-loader {
  position: fixed;
  width: 100%;
  height: 100%;
  top: 0px;
  left: 0px;
  background: #090c0d;
  z-index: 99999;
}

.contenido-loader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 99999;
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-flex-flow: row nowrap;
  -ms-flex-flow: row nowrap;
  flex-flow: row nowrap;
  -webkit-box-pack: center;
  -webkit-justify-content: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-box-align: center;
  -webkit-align-items: center;
  -ms-flex-align: center;
  align-items: center;
  background: #090c0d;
}

.loader {
  position: relative;
  width: 100px;
  height: 100px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.loader:before , .loader:after{
  content: '';
  border-radius: 50%;
  position: absolute;
  inset: 0;
  box-shadow: 0 0 10px 2px rgba(0, 0, 0, 0.3) inset;
}

.loader:after {
  box-shadow: 0 2px 0 #f80000 inset;
  animation: rotate 2s linear infinite;
}

@keyframes rotate {
  0% {  transform: rotate(0)}
  100% { transform: rotate(360deg)}
}

@media (max-width: 1199px) {
  .navbar-default-white {
    margin-top: 0;
  }
}