@import url('https://fonts.googleapis.com/css2?family=Onest&family=Poppins:wght@400;700&display=swap');

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  text-decoration: none;
}

body {
  background: linear-gradient(to bottom, #202020 0%, #3F3F3F 40%, #161616 150%), linear-gradient(to top, rgba(255, 255, 255, 0.40) 0%, rgba(0, 0, 0, 0.25) 200%);
  background-repeat: no-repeat;
  background-blend-mode: multiply;
  font-family: 'Poppins', sans-serif;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
}

.main-div {
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: 50%;
}

.seccion-main {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  justify-content: space-between;
  padding-top: 16.5rem;
  padding-bottom: 16.5rem;
}

.seccion1 {
  position: relative;
  width: 90%;
  margin: 0 auto 15px auto;
}

.seccion1 .tituloNombre {
  font-size: 4.5rem;
  line-height: 6.5rem;
  font-weight: 400;
  margin: 0;
  color: white;
}

.seccion1 .strong-title {
  font-weight: 600;
  color: #FFC83D;
  display: inline-flex;
  text-shadow: 0 0 10px #FFC83D, 2px 2px 20px rgba(206, 89, 55, 0);
  background: linear-gradient(270deg, #f76927 0%, #fdfa29 100%);
  background-size: 150%;
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}


.seccion1 .subtituloNombre {
  display: block;
  font-size: 1.25rem;
  line-height: 1.75rem;
  font-family: 'Onest';
  margin-left: 2.5px;
  color: white;
  opacity: 80%;
}

.subtituloNombre .fullstack-text {
  color: #FFC83D;
}

.seccion2 img {
  width: 100%;
  height: auto;
  border-radius: 50%;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.2);
  border: 2px solid #FFC83D;
}

.socials {
  display: inline-block;
  margin: 16px 2.5px 0 0;
}

.socials a {
  display: inline-block;
  transition: transform 0.3s ease;
}

.socials a:hover {
  transform: scale(1.2);
}

.experiencia {
  display: flex;
  justify-content: start;
  align-items: center;
  margin: 0 0 3rem 2.6px;
  color: white;
  opacity: 95%;
  gap: 1rem;
}

.proyectos {
  display: flex;
  justify-content: start;
  align-items: center;
  margin: 6rem 0 3rem 2.6px;
  color: white;
  opacity: 95%;
  gap: 1rem;
}

.stack {
  display: flex;
  justify-content: start;
  align-items: center;
  margin: 6rem 0 3rem 2.6px;
  color: white;
  opacity: 95%;
  gap: 1rem;
}

.proyects-container {
  display: flex;
  flex-direction: row;
  align-items: center;
  flex-wrap: nowrap;
  gap: 1.5em;
}

.proyects-container .proyect {
  position: relative;
  width: 50%;
  height: fit-content;
  max-width: 500px;
  border-radius: 10px;
  background: rgba(0, 0, 0, 0.03);
  box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.1);
}

.proyects-container .proyect .proyect-info {
  padding: 20px;
}

.proyects-container .proyect .proyect-info .proyect-title {
  position: relative;
  margin: 12px 0;
  display: flex;
  align-items: center;
  justify-content: start;
  gap: 14px;
  color: #FFC83D;
  font-size: 1.5rem;
  font-weight: 600;
}

.proyects-container .proyect .proyect-info .proyect-description {
  font-size: 1rem;
  color: #fff;
  margin-bottom: 2em;
}

.proyects-container .proyect {
  position: relative;
  overflow: hidden;
}

.proyect-image {
  position: relative;
  overflow: hidden;
  width: 100%;
  height: 300px;
}

.proyects-container .proyect .proyect-image img {
  max-width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  background-color: red;
  max-height: 300px;
  transition: transform 0.3s ease;
}

.proyects-container .proyect .proyect-image img:hover {
  transform: scale(1.1);
}

@keyframes slide {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-100%);
  }
}

.logos {
  overflow: hidden;
  padding: 60px 0;
  background: rgba(0, 0, 0, 0.03);
  box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.1);
  border-radius: 10px;
  white-space: nowrap;
  position: relative;
}

.logos:before,
.logos:after {
  position: absolute;
  top: 0;
  width: 250px;
  height: 100%;
  content: "";
  z-index: 2;
}

.logos:hover .logos-slide {
  animation-play-state: paused;
}

.logos-slide {
  display: inline-block;
  animation: 35s slide infinite linear;
}

.logos-slide img {
  height: 50px;
  margin: 0 40px;
}

.custom-purple-badge {
  background-color: #faf5ff;
  color: #6b21a8;
  font-size: 0.875rem;
  font-weight: 500;
  margin-inline-end: 0.5rem;
  padding: 0.15rem 0.66rem;
  border-radius: 0.375rem;
}

@media (prefers-color-scheme: dark) {
  .custom-purple-badge {
    background-color: #3f1d57;
    color: #d8b4fe;
  }
}

.custom-gray-badge {
  background-color: #f5f5f5;
  color: #1f2937;
  font-size: 0.875rem;
  font-weight: 500;
  margin-inline-end: 0.5rem;
  padding: 0.3rem 1rem;
  border-radius: 0.375rem;
}

.footer {
  padding: 1rem;
  text-align: center;
  font-size: 1rem;
  padding: 2.5rem;
}

.footer-text {
  color: white;
  opacity: 80%;
  margin-top: 85px;
}

.heart-icon {
  color: #FFC83D;
}

.timeline {
  border-left: 2px solid #FFC83D;
  margin: 10px;
  list-style: none;
}

.timeline-item {
  position: relative;
  margin-bottom: 20px;
  padding-left: 20px;
}

.marker {
  position: absolute;
  left: -7px;
  top: 6px;
  width: 12px;
  height: 12px;
  background-color: #FFC83D;
  border: 2px solid #fff;
  border-radius: 50%;
  z-index: 1;
}

.date {
  font-size: 0.875rem;
  color: #FFC83D;
  margin-bottom: 4px;
}

.title {
  font-size: 1.25rem;
  font-weight: 600;
  color: white;
  margin: 4px 0;
}

.description {
  font-size: 1rem;
  color: white;
  opacity: 80%;
  margin: 8px 0 12px;
}

.button {
  display: inline-flex;
  align-items: center;
  padding: 8px 16px;
  font-size: 0.875rem;
  font-weight: 500;
  color: #111827;
  background-color: #FFC83D;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.3s ease;
}

.button:hover {
  background-color: #f3f4f6;
  color: #1d4ed8;
  border-color: #1d4ed8;
}

.button:focus {
  outline: none;
  box-shadow: 0 0 0 4px rgba(29, 78, 216, 0.3);
}

.footer-icons {
  display: flex;
  gap: 30px;
  margin-top: 65px;
  justify-content: center;
}

.icon-social {
  position: relative;
  height: 50px;
  width: 50px;
  background-size: cover;
  border-radius: 50%;
  animation: wave 4s ease-in-out infinite;
  transition: transform 0.3s ease, background-image 0.3s ease;
}

.icon-social:hover {
  transform: scale(1.1);
}

.youtube {
  background-image: url(youtube.webp);
  background-color: white;
  animation-delay: 2s;
}

.linkedin {
  background-image: url(linkedin.webp);
  animation-delay: 2.5s;
}

.github {
  background-image: url(github.webp);
  animation-delay: 3s;
}

@keyframes wave {
  0%, 100% {
    transform: translate(0);
  }
  25% {
    transform: translateY(-20px);
  }
  50% {
    transform: translateY(10px);
  }
  75% {
    transform: translateY(-20px);
  }
}


/* Define la animación de fade-in */
@keyframes fadeIn {
  from {
      opacity: 0;
      transform: translateY(20px);
  }
  to {
      opacity: 1;
      transform: translateY(0);
  }
}

.fade-in {
  opacity: 0;
  transition: opacity 0.5s ease-out, transform 0.5s ease-out;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
  animation: fadeIn 2s ease-out forwards;
}


@media screen and (max-width: 800px) {
  .icon::before {
    top: -500px;
    height: 500px;
  }
}

@media screen and (max-width: 450px) {
  .container {
    align-items: center;
    gap: 10px;
  }
  .icon {
    height: 60px;
    width: 60px;
  }
  .icon::before {
    top: -500px;
    height: 500px;
  }
}

@media screen and (max-width: 400px) {
  .icon {
    height: 50px;
    width: 50px;
  }
}

@media screen and (max-width: 330px) {
  .icon {
    height: 40px;
    width: 40px;
  }
}


.icon {
  width: 12px;
  height: 12px;
  margin-left: 8px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
}

@media (prefers-color-scheme: dark) {
  .custom-gray-badge {
    background-color: #374151;
    color: #d1d5db;
  }
}

.custom-blue-badge {
  gap: 0.5rem;
  background-color: #dbeafe;
  color: #1e40af;
  font-size: 0.875rem;
  font-weight: 500;
  margin-inline-end: 0.5rem;
  padding: 0.3rem 1rem;
  border-radius: 0.375rem;
}

.badge-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}

.custom-transparent-tailwindcss-badge {
  gap: 0.25rem;
  background-color: transparent;
  color: #38BDF8;
  border: 1px solid #38BDF8;
  font-size: 0.75rem;
  font-weight: 500;
  margin-inline-end: 0.25rem;
  padding: 0.2rem 0.5rem;
  border-radius: 0.25rem;
}

.custom-transparent-remix-badge {
  gap: 0.25rem;
  background-color: transparent;
  color: #9CDB9B;
  border: 1px solid #9CDB9B;
  font-size: 0.75rem;
  font-weight: 500;
  margin-inline-end: 0.25rem;
  padding: 0.2rem 0.5rem;
  border-radius: 0.25rem;
}

.custom-transparent-postgresql-badge {
  gap: 0.25rem;
  background-color: transparent;
  color: #699EBF;
  border: 1px solid #699EBF;
  font-size: 0.75rem;
  font-weight: 500;
  margin-inline-end: 0.25rem;
  padding: 0.2rem 0.5rem;
  border-radius: 0.25rem;
}

.custom-transparent-purple-badge {
  gap: 0.25rem;
  background-color: transparent;
  color: #9143FB;
  border: 1px solid #9143FB;
  font-size: 0.75rem;
  font-weight: 500;
  margin-inline-end: 0.25rem;
  padding: 0.2rem 0.5rem;
  border-radius: 0.25rem;
}

.custom-transparent-orange-badge {
  gap: 0.25rem;
  background-color: transparent;
  color: #FFC400;
  border: 1px solid #FFC400;
  font-size: 0.75rem;
  font-weight: 500;
  margin-inline-end: 0.25rem;
  padding: 0.2rem 0.5rem;
  border-radius: 0.25rem;
}

@media (prefers-color-scheme: dark) {
  .custom-blue-badge {
    background-color: #1e3a8a;
    color: #93c5fd;
  }
}