@import url('https://fonts.googleapis.com/css2?family=UnifrakturCook:wght@700&display=swap');

header {
  align-self: flex-start;
  height: 120px;
  width: 100%;
}

footer {
  margin-top: auto;
  height: 130px;
  width: 100%;
}

body {
  display: flex;
  flex-direction: column;
  min-height: 100%;
}

article {
  margin-left: 2em;
  margin-right: 2em;
}

body>article:last-of-type {
  margin-bottom: 1em;
}

.portada {
  position: relative;
}

.presentacion {
  position: absolute;
  top: 20%;
  left: 50%;
  transform: translate(-50%, -20%);
  text-align: center;
  -webkit-text-stroke: 1px black;
  color: white;
}

.actividad {
  background-color: #B0B0B0;
  text-align: center;
  color: white;
  padding-top: 2em;
  padding-bottom: 2em;
}

.operario {
  margin-top: 1em;
  margin-bottom: 1em;
}

.formOperario {
  background-color: grey;
  padding: 1em;
}

.img-operario {
  width: 10%;
  height: 10%;
}

.img-fluid-custom {
  width: 100%;
  height: 260px;
  margin-bottom: 1em;
  margin-top: 1em;
}

.ecosistema {
  column-count: 3;
  margin-top: 1em;
  text-align: justify;
}

.carousel-caption-custom {
  position: relative;
  color: black;
  margin-top: 3em;
  margin-right: 3em;
}

.ecosistema>p::first-letter {
  font-size: 2em;
  text-shadow: -4px 3px 2px #B0B0B0;
  float: left;
  line-height: 0.5;
  font-family: "UnifrakturCook", cursive;
  font-weight: 700;
  font-style: normal;
}

/* Animación */

.bounce {
  animation: bounce 3s both;
  width: 10%;
  height: 40%;
}

@keyframes bounce {
  0% {
    transform: translate(-500px, -500px);
    animation-timing-function: ease-in;
    opacity: 0;
  }

  38% {
    transform: translate(0, 0);
    animation-timing-function: ease-out;
    opacity: 1;
  }

  55% {
    transform: translate(300px, -35px);
    animation-timing-function: ease-in;
  }

  72% {
    transform: translate(800px, 0);
    animation-timing-function: ease-out;
  }

  81% {
    transform: translate(1200px, -35px);
    animation-timing-function: ease-in;
  }

  90% {
    transform: translate(1600px, 0);
    animation-timing-function: ease-out;
  }

  95% {
    transform: translate(1800px, -35px);
    animation-timing-function: ease-in;
  }

  100% {
    transform: translate(2000px, 0);
    animation-timing-function: ease-out;
  }
}