@font-face {
  font-family: "Onest Variable";
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url(https://cdn.jsdelivr.net/fontsource/fonts/onest:vf@latest/latin-wght-normal.woff2)
    format("woff2-variations");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
    U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193,
    U+2212, U+2215, U+FEFF, U+FFFD;
}

html * {
  font-family: "Onest Variable";
  text-decoration: none;
  color: rgba(255, 255, 255, 255);
  box-sizing: border-box;
  scroll-behavior: smooth;
}

body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  overscroll-behavior: none;
  margin: 0;
  line-height: inherit;
  position: relative;
  background-color: #0a0a0a; /* Color base similar a bg-neutral-950 */
  background-image: radial-gradient(
    ellipse 80% 100% at 50% -20%,
    rgba(120, 119, 198, 0.3),
    rgba(255, 255, 255, 0)
  );
}
header {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 1.5rem;
}
.header__nav {
  display: flex;
  justify-content: center;
  align-items: center;
  column-gap: 1rem;
  animation-name: navbar;
  animation-duration: 1s;
  animation-timing-function: linear;
  animation-fill-mode: both;
  animation-timeline: scroll();
  animation-range: 0 100px;
}
@keyframes navbar {
  100% {
    border-radius: 9999px;
    padding: 5px;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1),
      0 4px 6px -4px rgba(0, 0, 0, 0.1);
    outline: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(8px);
    position: fixed;
    z-index: 1;
  }
}
.header__nav a {
  position: relative;
}
.header__nav a::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background: #fffcff;
  transition: width 0.3s ease-out, left 0.3s ease-out;
}
.header__nav a:hover::after {
  width: 100%;
  left: 0;
}
main {
  margin-left: 1rem;
  margin-right: 1rem;
  display: flex;
  justify-content: center;
}
.main__container {
  width: 800px;
}

.section__profile {
  padding: 110px 0;
  margin-left: auto;
  margin-right: auto;
  width: 100%;
}
.section__profile__container {
  max-width: 36rem;
}

.profile__img__container {
  display: flex;
  gap: 1rem;
  align-items: center;
}
.profile__img {
  width: 7rem;
  border-radius: 100%;
  filter: drop-shadow(0 0 0.5rem rgba(0, 0, 0, 0.5));
}
@keyframes spin {
  100% {
    transform: rotate(360deg);
  }
}

.profile__container__name {
  letter-spacing: -1.2px;
  font-size: 48px;
  margin: auto;
  font-weight: 700;
}
.profile__container__headed {
  font-size: 20px;
  line-height: 28px;
  margin: 24px 0px 0px;
}
.profile__container__text span {
  color: #e4d87d;
}
.profile__container__nav {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2rem;
  justify-content: flex-start;
}
.profile__container__nav a {
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 9999px;
  padding: 0.5rem 1rem;
  background-color: #1f2937;
  border: 2px solid #414a59;
  column-gap: 5px;
  transition: all 0.3s ease;
  overflow: hidden;
  position: relative;
}
.profile__container__nav a::before {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  rotate: 45deg;
  background: linear-gradient(
    45deg,
    transparent,
    rgba(255, 255, 255, 0.1),
    transparent
  );
  top: -100%;
  left: -100%;
  transition: all 0.5s ease;
}

.profile__container__nav a:hover::before {
  top: 100%;
  left: 100%;
}
.profile__container__nav a:hover {
  background: linear-gradient(145deg, #2a2a2a, #383838);
  border: 2px solid #646cff;
  transform: scale(1.05) rotate(2deg);
  box-shadow: 0 0 15px #646cff50;
}
/*!!!!!!!Experiencia Laboral!!!!!!!*/

.section__experience {
  padding: 50px 0;
  display: flex;
  flex-direction: column;
  margin-left: auto;
  margin-right: auto;
  width: 100%;
}
.section__title {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 30px;
  font-weight: 700;
}

.timeline {
  list-style: none;
  padding: 0;
  margin: 0;
  margin-top: 4rem;
}

.timeline__item__container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-left: 3rem;
  margin-right: 3rem;
  position: relative;
}

.timeline__item__container::before {
  content: "";
  border-color: #ffffff26;
  border-left-width: 2px;
  height: 100%;
  display: block;
  left: -35px;
  position: absolute;
}
.headed__title :first-child {
  line-height: 1;
  font-size: 3rem;
  border-radius: 9999px;
  left: -42px;
  position: absolute;
  color: rgb(255, 250, 50);
}

.headed__title :nth-child(2) {
  color: rgb(255, 204, 21);
  font-weight: 700;
  font-size: 1.25rem;
}
.headed__title :nth-child(3) {
  font-weight: 600;
  font-size: 1.25rem;
}
.headed__title :last-child {
  color: #4b5563cc;
  font-size: 0.875rem;
}

.timeline__item__container__text {
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.timeline__item__container__text a {
  display: flex;
  flex-direction: row-reverse;
  color: rgb(254 240 138);
  width: 109px;
  transition-duration: 200ms;
  transition-timing-function: ease-in-out;
}
.timeline__item__container__text a:hover {
  color: rgb(255, 204, 21);
}
.section__skills {
  margin-left: auto;
  margin-right: auto;
  width: 100%;
  margin-top: 2rem;
}
.section__skills__container {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  justify-items: center;
  gap: 20px;
  margin-bottom: 20px;
  margin-top: 4rem;
}
.section__skills__container img {
  transition-duration: 0.5s;
  max-width: 64px;
}
.section__skills__container img:first-child:hover {
  transform: scale(1.3);
  filter: drop-shadow(0px 0px 5px rgb(241, 101, 41));
}
.section__skills__container img:nth-child(2):hover {
  transform: scale(1.3);
  filter: drop-shadow(0px 0px 5px rgb(51, 170, 221));
}
.section__skills__container img:nth-child(3):hover {
  transform: scale(1.3);
  filter: drop-shadow(0px 0px 5px rgb(247, 223, 30));
}
.section__skills__container img:nth-child(4):hover {
  transform: scale(1.3);
  filter: drop-shadow(0px 0px 5px rgb(195, 0, 47));
}
.section__skills__container img:nth-child(5):hover {
  transform: scale(1.3);
  filter: drop-shadow(0px 0px 5px rgb(83, 158, 67));
}
.section__skills__container img:nth-child(6):hover {
  transform: scale(1.3);
  filter: drop-shadow(0px 0px 5px rgb(9, 46, 32));
}
.section__skills__container img:nth-child(7):hover {
  transform: scale(1.3);
  filter: drop-shadow(0px 0px 5px rgb(51, 103, 145));
}
.section__skills__container img:nth-child(8):hover {
  transform: scale(1.3);
  filter: drop-shadow(0px 0px 5px rgb(252, 208, 40));
}
.section__skills__container img:last-child:hover {
  transform: scale(1.3);
  filter: drop-shadow(0px 0px 5px rgb(231, 111, 0));
}
.section__about__me {
  margin-top: 2rem;
}
.about__me__container {
  display: flex;
  flex-direction: row-reverse;
  justify-content: space-around;
  gap: 50px;
  margin-bottom: 20px;
  margin-top: 4rem;
}
.about__me__container img {
  width: 200px;
  border-radius: 20px;
  border: #fffcff solid 2px;
  rotate: 4deg;
}

.footer {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 2rem;
  margin-bottom: 2rem;
}
.footer__container {
  display: flex;
  justify-content: space-around;
  width: 100%;
  font-size: 13px;
}
.footer__container * {
  color: gray;
}

@media (max-width: 481px) {
  main {
    max-width: 481px;
  }
  .timeline__item__container {
    grid-template-columns: 1fr;
  }
  .about__me__container {
    flex-direction: column;
  }
}
@media (max-width: 640px) {
  main {
    max-width: 640px;
  }
  .timeline__item__container {
    grid-template-columns: 1fr;
  }
  .about__me__container {
    flex-direction: column;
  }
}
@media (max-width: 768px) {
  main {
    max-width: 768px;
  }
  .timeline__item__container {
    grid-template-columns: 1fr;
  }
  .about__me__container {
    flex-direction: column;
    align-items: center;
  }
}
@media (max-width: 1024px) {
  main {
    max-width: 1024px;
  }
}
