@import url('https://fonts.googleapis.com/css2?family=Onest:wght@100..900&display=swap');

:root {
  --primary-color: #007bff;
  --secondary-color: #6c757d;
  --background-color: #121212;
  --text-color: #000000;
  --text-color-2: #000;
  --text-color-3: #444;
  --border-color: #ccc;
  --gradient-start: #ffffff;
  --gradient-end: #f0f0f0;
  --background-color-gradient: linear-gradient(90deg, var(--gradient-start) 0%, var(--gradient-end) 100%);
}

[data-theme="dark"] {
  --primary-color: #007bff;
  --secondary-color: #252529;
  --background-color: #121212;
  --text-color: #ffffff;
  --text-color-2: #ccc;
  --text-color-3: #444;
  --border-color: #333333;
  --gradient-start: #201D1D;
  --gradient-end: #000000;
  --background-color-gradient: linear-gradient(90deg, var(--gradient-start) 0%, var(--gradient-end) 100%);
}

/* Aplicación de los colores al fondo y texto */
body {
  background-color: var(--background-color);
  color: var(--text-color);
}

/* Estilos del toggle */
.theme-toggle {
  position: fixed;
  top: 20px;
  right: 20px;
}
.theme-toggle-container {
  display: flex;
  align-items: center;
  cursor: pointer;
  border: 1px solid var(--text-color);
  padding: 5px;
  border-radius: 10px;
}

.theme-toggle-container svg {
  width: 20px;
  height: 20px;
  stroke: var(--text-color);
  transition: opacity 0.3s ease;
}

/* Mostrar solo el icono de sol cuando el tema oscuro está activado */
[data-theme="dark"] .theme-toggle-container svg:nth-child(2) {
  opacity: 1;
}

[data-theme="dark"] .theme-toggle-container svg:nth-child(1) {
  opacity: 0;
}

/* Mostrar solo el icono de luna cuando el tema claro está activado */
[data-theme="light"] .theme-toggle-container svg:nth-child(1) {
  opacity: 1;
}

[data-theme="light"] .theme-toggle-container svg:nth-child(2) {
  opacity: 0;
}



/*  */

* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}


body {
  /* theme dark */
  /* background-color: #111;
  background: linear-gradient(90deg, #201D1D 0%, #000000 100%); */
  background: var(--background-color-gradient);

  /* font-family: Arial, Helvetica, sans-serif; */
  font-family: "Onest", sans-serif;

  min-height: 100vh;
  position: relative;
}

.conta {
  width: 90%;
  max-width: 900px;
  margin: auto;
}

.no {
  display: none !important;
}

.t-bold {
  font-weight: 600;
}

.ml-15 {
  margin-left: 15px;
}

.tc-blue {
  color: rgb(19, 166, 228);
}

/*  */
.thumbnail-waiting {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100%;
  position: absolute;
  z-index: 8;

  top: 0;
  left: 0;
  background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
  background-size: 200% 100%;
  animation: skeleton-loading 5s infinite;
}

@keyframes skeleton-loading {
  0% {
    background-position: 200% 0;
  }

  100% {
    background-position: -200% 0;
  }
}

.thumbnail-waiting__content {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.thumbnail-waiting__content-text {
  font-size: 14px;
  color: #ccc;
}

.thumbnail-waiting__loader {
  width: 30px;
  height: 30px;
  border: 3px solid #ccc;
  border-top: 3px solid #323232;
  border-radius: 50%;

  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

/*  */
.portfolio-gradient-background {
  position: absolute;
  width: 100%;
  height: 100%;
  max-height: 700px;
  background: radial-gradient(48.42% 48.42% at 49.41% 51.58%, rgba(0, 50, 248, 0.34) 0%, rgba(0, 0, 0, 0.00) 100%);
  max-width: 900px;
  top: -3%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: -1;
}


/*  */
header {
  background-color: unset;
  position: sticky;
  top: 20px;
  z-index: 999;
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
  margin-top: 20px;

  font-weight: bold;
  padding: 10px 20px;
  border-radius: 10px;

  border: 1px solid transparent;
  transition: all 0.3s ease-in-out;
}

.header--sticky {
  border: 1px solid #323232;
  background-color: #201d1dc2;
  backdrop-filter: blur(16px) saturate(180%);
}

.header-logo {
  color: #fff;
  font-size: 15px;
}

.header-logo__svg {
  display: block;
}

.header-nav__list {
  display: flex;
  gap: 10px;
  align-items: center;
}

.header-nav__list-li {
  list-style: none;
}

.header-nav__list-li-link {
  color: #fff;
  text-decoration: none;
}


footer {
  padding: 30px 0;
  color: var(--text-color);
}

.copyright {
  font-size: 12px;
}

/*  */
.portfolio {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding-bottom: 40px;
}

.portfolio-box__header {
  font-size: 14px;

  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.portfolio-box__header h2 {
  color: var(--text-color-2);
}

.project-header__name {
  color: var(--text-color);
}


.portfolio-box__header-icon__svg {
  display: block;
  fill: red;

  /* theme dark */
}

.portfolio-box__header-icon__svg path {
  stroke: #007bff;
}


/*  */
.banner {
  padding: 40px 0;
  color: #fff;
  /* border: 1px solid red; */
}

.banner-container {
  /* border: 1px solid #eee; */
  min-height: 300px;
  align-items: center;
  display: flex;
}

.banner-presentation {
  /* max-width: 500px; */
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.banner-presentation__profile {
  width: 100px;
  height: 100px;
  overflow: hidden;
  border-radius: 50%;
}

.banner-presentation__profile-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.banner-presentation__content {
  max-width: 600px;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.banner-presentation__content-subtitle__text {
  display: inline-block;
  padding: 5px 15px;
  border-radius: 100px;
  font-size: 12px;
  width: auto;

  border: 1px solid var(--border-color);
  background-color: var(--background-color);

  /* background-color: #444; */

  /* theme dark */
  /* border: 1px solid #323232; */
  /* background-color: #201D1D; */
}

.banner-presentation__content-title {
  font-size: 2rem;
  /* margin: 2px 0; */

  /* theme dark */
  color: var(--text-color);
}

.banner-presentation--text {
  font-size: 16px;
}

.banner-presentation__content-description {
  font-size: 20px;

  color: var(--text-color-2);

  /* theme dark */
  /* color: #e5e7eb; */
}

.banner-presentation__contact {
  display: flex;
  gap: 10px;
  align-items: center;
  padding-left: 15px;
  margin-top: 10px;
}

.banner-presentation__contact-link {
  display: flex;
  align-items: center;
  gap: 5px;
  color: #fff;
  text-decoration: none;
  border-radius: 50px;
  border: 1px solid #323232;
  padding: 5px 20px;
  background-color: #201D1D;
  font-size: 13px;
}


.icon-linkedin {
  display: block;
  width: 18px;
}


/*  

  estilos del timeline experiencia

*/
.project-timeline {
  position: relative;
  gap: 30px !important;
}

.project-timeline::before {
  content: '';
  position: absolute;
  width: 2px;
  height: 100%;
  background-color: #323232;
  left: 25px;
  /* top: 22px; */
  border-radius: 10px;
}

/* .project {
    width: 32%;
    max-width: 33%;
    border: 1px solid #eee;
    padding: 10px;
  } */
.project {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-left: 40px;
}

.project::before {
  content: ' ';
  position: absolute;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: #ccc;
  left: 0;
  top: 5px;
}

.project-tecnologies-header {
  color: var(--text-color);
}

.project-tecnologies-list {
  display: flex;
  align-items: center;
  gap: 4px;
  flex-wrap: wrap;
}

.project-tecnologies-list__item {
  padding: 5px 10px;
  border-radius: 10px;
  font-size: 12px;

  color: var(--text-color);
  background-color: var(--secondary-color);

  /* theme dark */
  /* background-color: #201D1D; */
}

.project-header__information {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.project-header__company {
  /* color: #; */
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.project-header__time {
  font-size: 12px;
  color: #919191;
}

.project-content__description {
  font-size: 14px;

  color: var(--text-color-2);
}

.project-tecnologies-thumbnails {
  display: flex;
  gap: 10px;
}

.project-tecnologies-thumbnails__item {
  width: 33%;
  max-width: 30%;
  height: 150px;
  border-radius: 5px;
  object-fit: cover;
  border-radius: 5px;
  overflow: hidden;
  position: relative;
}

.project-tecnologies-thumbnails__item:hover .project-tecnologies-thumbnails__item-img {
  transform: scale(1.1);
}

.project-tecnologies-thumbnails__item-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: all 0.3s ease-in-out;
}




/*  */
.svg-url--icon {
  width: 20px;
}


/*  */
/* .projects {
  border: 1px solid red;
} */
.projects-content-lists {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
}

.project-item {
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
}

.project-item__presentation {
  width: 50%;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.project-item__thumbnail {
  width: 100%;
  max-width: 100%;
  height: 250px;
  border-radius: 10px;
  background-color: #323232;

  display: flex;
  justify-content: center;
  align-items: center;
  border: 1px solid #444;
}

.project-item__content {
  padding-left: 20px;
  width: 50%;
  display: flex;
  flex-direction: column;
  gap: 15px;
  font-size: 15px;
}

.project-item__content p {
  color: var(--text-color-2);
}

.project-item__content-title--link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  text-decoration: none;
}

.project-item__content-button--link {
  padding: 10px 20px;
  border: 1px solid #323232;
  display: inline-flex;
  background-color: #201D1D;
  border-radius: 10px;
  align-items: center;
  gap: 10px;
  color: #fff;
  text-decoration: none;
}

.project-item__content-button--link:hover {
  background-color: #323232;
}

/*  */

.portfolio-box-container {
  color: #000;
  ;
  padding: 30px;
  border-radius: 10px;
  border: 1px solid var(--border-color);
  /* box-shadow: 0px 4px 4px rgba(17, 17, 17, 0.25); */

  /* theme dark */
  /* color: #fff;
  border: 1px solid #323232;
  background: linear-gradient(180deg, #000000af 0%, #11111197 100%); */
  /* backdrop-filter: blur(16px) saturate(180%); */
}

.portfolio-box__content {
  margin: auto;
  margin-top: 50px;
  padding: 0 20px;

  display: flex;
  flex-direction: column;
  gap: 10px;
  line-height: 22px;
}

.aboutme-content__header h3 {
  color: var(--text-color);
}

.aboutme-content__date {
  color: var(--primary-color);
  margin-bottom: 5px;
  font-size: 12px;
}

.aboutme-content__text {
  font-size: 15px;
  color: var(--text-color-2);

  /* theme dark */
  /* color: #ccc; */
}





/*  */


@media screen and (max-width: 805px) {
  .banner-presentation__profile {
    margin: auto;
    width: 200px;
    height: 200px;
  }

  .banner-presentation__content {
    text-align: center;
    margin: auto;
  }

  .banner-presentation__contact {
    margin: 20px auto;
  }

  /*  */
  .project-tecnologies-thumbnails__item {
    width: 100%;
    max-width: unset;
  }

}

@media screen and (max-width: 600px) {

  .portfolio-box-container {
    padding: 20px;
  }

  .portfolio-box__content {
    padding: 0 10px;
  }

  .project-timeline::before {
    left: 14px;
  }

  .project {
    padding-left: 20px;
  }


  /*  */
  .project-item {
    flex-direction: column;
    gap: 30px;
  }

  .project-item__presentation,
  .project-item__content {
    width: 100%;
  }

  .project-item__content {
    padding-left: 0;
  }
}