@charset "UTF-8";

@font-face {
  font-family: 'yolli';
  src: url('./fuente/yolli.ttf');
}

@font-face {
  font-family: 'roboto';
  src: url('./fuente/roboto.ttf');
}

html,
body {
  margin: 0;
  padding: 0;
  font-size: 16px;
  font-family: 'roboto', sans-serif;
  font-weight: 400;
  background: #000;
}

h1 {
  font-family: 'yolli', sans-serif;
  font-weight: 400;
  margin: 0;
}

.presentacion {
  margin: 0;
  width: 100vw;
  height: 100vh;
  position: relative;
  overflow: hidden;
}

.contacto {
  position: absolute;
  top: 1rem;
  left: 1rem;
  z-index: 1;
  display: flex;
  align-items: center;
  color: #fff;
  font-weight: 600;
}
.contacto img {
  border-radius: .5rem;
  height: 40px;
  margin-right: 1rem;
}
@media screen and (min-width: 48rem) {
  .contacto {
    top: 40px;
    left: 40px;
  }
}

.persona {
  z-index: 1;
  position: absolute;
  bottom: 1rem;
  left: 1rem;
  right: 1rem;
  font-size: 4rem;
  line-height: .9em;
  color: #fff;
  text-shadow: -2px 2px 0 #0df, 4px -4px 1px #f05;
  filter: drop-shadow(-5px -12px 20px #000);
}
.trabajo {
  text-shadow: none;
  font-size: 1.5rem;
  line-height: 1em;
  display: block;
  line-break: strict;
  margin-top: 10px;
}
@media screen and (min-width: 48rem) {
  .persona {
    font-size: 7rem;
    bottom: 40px;
    left: 40px;
    right: 40px;
  }
  .trabajo {
    font-size: 2.5rem;
  }
}

.galeria img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 50%;
  position: absolute;
  top: 0;
  left: 0;
  opacity: 0;
  animation: slide 110s linear infinite 0s;
}
.galeria img:nth-child(2) {
  animation-delay: 10s;
}
.galeria img:nth-child(3) {
  animation-delay: 20s;
}
.galeria img:nth-child(4) {
  animation-delay: 30s;
}
.galeria img:nth-child(5) {
  animation-delay: 40s;
}
.galeria img:nth-child(6) {
  animation-delay: 50s;
}
.galeria img:nth-child(7) {
  animation-delay: 60s;
}
.galeria img:nth-child(8) {
  animation-delay: 70s;
}
.galeria img:nth-child(9) {
  animation-delay: 80s;
}
.galeria img:nth-child(10) {
  animation-delay: 90s;
}
.galeria img:nth-child(11) {
  animation-delay: 100s;
}
.galeria img:nth-child(12) {
  animation: slide-end 110s linear infinite 110s;
}

@keyframes slide {
  0% {
    opacity: 0;
    animation-timing-function: ease-in;
  }

  2% {
    opacity: 1;
  }

  5% {
    opacity: 1;
    transform: scale(1);
  }

  10% {
    opacity: 1;
    animation-timing-function: ease-out;
    transform: scale(1.1);
  }

  12% {
    opacity: 0;
  }

  100% {
    opacity: 0;
  }
}