* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Quicksand', sans-serif;
  height: 100vh;
  background: rgb(37, 59, 131);
  background: linear-gradient(135deg, rgba(37, 59, 131, 1) 0%, rgba(5, 110, 119, 1) 100%);
  color: white;
}

main {
  height: 100%;
  width: 90%;
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  justify-content: space-evenly;
  align-items: center;
}

.profile {
  text-align: center;
}
.profile__img {
  width: 120px;
  height: 120px;
  border-radius: 50%;
}

.description {
  text-align: center;
  letter-spacing: 1px;
  font-weight: 600;
}

.tecnologies {
  text-align: center;
  letter-spacing: 1.2px;
}
.tecnologies h3 {
  margin-bottom: 8px;
}

.social {
  display: flex;
}
.social a {
  text-align: center;
  color: white;
  text-decoration: none;
}
.social figure {
  margin: 0 20px;
  width: 48px;
  height: 48px;
  padding: 12px;
  border-radius: 50%;
  background-color: black;
  transition: all 0.3s ease-in-out;
}
.social figure:hover {
  transform: translateY(-4px);
}
.social figure img {
  width: 100%;
  height: auto;
  filter: invert(100%);
}

.welcome__bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  animation: disappear 1s linear 3s forwards;
}

.welcome__bg::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 200vw;
  height: 100vh;
  background: black;
  background-image: linear-gradient(140deg, rgb(15, 17, 116), rgb(10, 139, 118));
  animation: change_color 2s linear 1s forwards;
}

.welcome {
  z-index: 1;
  text-align: center;
  font-size: 2rem;
  position: relative;
  animation: disappear 1s linear 3s forwards;
}

#welcome__text__es {
  position: absolute;
  top: 0;
  left: 0;
  transform: translateX(-10%);
  animation: text_es 0.8s linear 1s forwards;
}

#welcome__text__en {
  opacity: 0;
  animation: text_en 0.8s linear 1.3s forwards;
}

@keyframes change_color {
  0% {
    transform: translateX(0%);
  }
  100% {
    transform: translateX(-50%);
  }
}

@keyframes disappear {
  0% {
    opacity: 1;
  }
  100% {
    opacity: 0;
  }
}

@keyframes text_es {
  0% {
    opacity: 1;
  }
  100% {
    opacity: 0;
  }
}

@keyframes text_en {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}
