html {
  scroll-behavior: smooth;
  scroll-padding-top: 20%;
}

.skill {
  margin: 60px auto;
  color: white;
  padding: 20px;
  border-radius: 8px;
  /* box-shadow: 0 12px 8px rgba(0, 0, 0, 0.07); */
}

.skill li {
  margin: 20px 0;
  padding: 10px;
}

.bar {
  display: block;
  height: 20px;
  border-radius: 4px;
  overflow: hidden;
  box-shadow:
    0 1px 3px rgba(0, 0, 0, 0.12),
    0 1px 2px rgba(0, 0, 0, 0.24);
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.bar span {
  height: 20px;
  float: left;
  background: linear-gradient(
    152deg,
    rgba(255, 255, 255, 1) 0%,
    rgba(7, 150, 105, 0.6015037593984962) 46%,
    rgba(7, 150, 105, 1) 100%
  );
}

.habilidad1 {
  width: 100%;
  animation: habilidad1 3s;
}

@keyframes habilidad1 {
  0% {
    width: 0%;
  }
  100% {
    width: 100%;
  }
}
.habilidad2 {
  width: 100%;
  animation: habilidad1 3.5s;
}

@keyframes habilidad2 {
  0% {
    width: 0%;
  }
  100% {
    width: 100%;
  }
}
.habilidad3 {
  width: 100%;
  animation: habilidad1 4s;
}

@keyframes habilidad3 {
  0% {
    width: 0%;
  }
  100% {
    width: 100%;
  }
}
.habilidad4 {
  width: 100%;
  animation: habilidad1 4.5s;
}

@keyframes habilidad4 {
  0% {
    width: 0%;
  }
  100% {
    width: 100%;
  }
}
.habilidad5 {
  width: 100%;
  animation: habilidad1 5s;
}

@keyframes habilidad5 {
  0% {
    width: 0%;
  }
  100% {
    width: 100%;
  }
}

/* Animations */
.hide {
  opacity: 0;
  filter: blur(5px);
  transform: translateX(-100%);
  transition: all 1s;
}

.show {
  opacity: 1;
  filter: blur(0);
  transform: translate(0);
}

.header:nth-child(2) {
  transition-delay: 300ms;
}

.bg-table {
  background-color: #ebf4f084;
}

/*-------- Video modal styles --------*/
.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
  z-index: 99;
}

.modal-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  z-index: 100;
  padding: 0;
  background-color: rgba(255, 255, 255, 0);
}

.close {
  color: #aaa;
  float: right;
  font-size: 28px;
  font-weight: bold;
  cursor: pointer;
  z-index: 100;
}

.close:hover,
.close:focus {
  color: black;
}
