:root {
  --font-principal: "Rubik", sans-serif;
  --text-regular: 400;
  --text-medium: 500;
  --text-semibold: 600;
  --size-title: 40px;
  --size-subtitle: 25px;
  --size-sub-section: 18px;
  --index-minus: -1;
  --index-10: 10;
  --index-20: 20;
  --index-90: 90;
  --index-100: 100;
  --m-10: 20px;
  /* new variables */
  --color-icons: #5f9ea0;
  --color-menu-p: #497c69;
  --color-strong: #5f9ea0;
  --color-number: #1bc785;

  --color-logo: #497c69;
  --color-title: #497c69;
  --color-box-shadow: #727272;
  --color-p: #494949;
  --color-p-portfolio: #ffffff;
  --color-subtitle: #000000;
  --color-title-portfolio: #ffffff;

  --color-bg-one: #ffffff;
  --color-bg-two: #ffffff;
  --color-fondo: #023658;
  --color-bg-portfolio: #023658;
  --color-bg-curve: 100;

  --color-form-text: #84ceff;

  --color-bg-square: #2f1c6a;
  --color-bg-c-one: #e0ff33;
  --color-bg-c-two: #ae05f7fb;
}
/** APUNTES ============= */
/** NUEVOS COLORES */
/*
  --color-icons: #5f9ea0;
  --color-menu-p: #497c69;
  --color-strong: #5f9ea0;
  --color-number: #1bc785;
  
  --color-logo: #497c69;
  --color-title: #497c69;
  --color-box-shadow: #727272;
  --color-p: #494949;
  --color-p-portfolio: #ffffff;
  --color-subtitle: #000000;
  --color-title-portfolio: #ffffff;
  
  --color-bg-one: #ffffff;
  --color-bg-two: #ffffff;
  --color-fondo: #023658;
  --color-bg-portfolio: #023658;
  --color-bg-curve: 100;
  
  --color-bg-square: #2f1c6a;
  --color-bg-c-one: #e0ff33;
  --color-bg-c-two: #ae05f7fb;
*/
/** DARK MODE */
/*   
--color-number: #1bc785; 
--color-icons: #14d890;
--color-menu-p: #14d890;
--color-strong: #14d890;

--color-logo: #6633ff;
--color-title: #6633ff;
--color-box-shadow: #c4c4c4;
--color-p: #949494;
--color-p-portfolio: #c5c3c3;
--color-subtitle: #ffffff;
--color-title-portfolio: #ffffff;

--color-bg-one: #0e3b38;
--color-bg-two: #000000;
--color-fondo: #6633ff;
--color-bg-portfolio: #6633ff;
--color-bg-curve: 0;

--color-bg-square: #5f9ea0;
--color-bg-c-one: #e0ff33;
--color-bg-c-two: #ae05f7fb;
*/
/*! ================== UNIVERSAL CONFIG =============== */
body {
  font-family: var(--font-principal);
  color: var(--color-p);
  background: linear-gradient(360deg, var(--color-bg-one), var(--color-bg-two));
}
body.dark {
  --color-number: #1bc785;
  --color-icons: #14d890;
  --color-menu-p: #14d890;
  --color-strong: #14d890;

  --color-logo: #6633ff;
  --color-title: #6633ff;
  --color-box-shadow: #c4c4c4;
  --color-p: #949494;
  --color-p-portfolio: #c5c3c3;
  --color-subtitle: #ffffff;
  --color-title-portfolio: #ffffff;

  --color-bg-one: #001029;
  --color-bg-two: #000000;
  --color-fondo: #1a0066;
  --color-bg-portfolio: #1a0066;
  --color-bg-curve: 0;

  --color-bg-square: #5f9ea0;
  --color-bg-c-one: #e0ff33;
  --color-bg-c-two: #ae05f7fb;
  --index-icon-dark: 1;
}
section[id*="sec"] {
  scroll-margin-top: 112px;
}
/*? ================== SELECTOR UNIVERSAL ============= */
.relative {
  position: relative;
}
.mx-section {
  margin-left: var(--m-10);
  margin-right: var(--m-10);
}
.text-center {
  text-align: center;
}
.element-center {
  display: flex;
  margin: auto;
}
.flex {
  display: flex;
}
.grid {
  display: grid;
}
.title {
  font-size: var(--size-title);
  font-weight: var(--text-semibold);
  line-height: 40px;
  color: var(--color-title);
}
.sub-title {
  font-size: var(--size-subtitle);
  font-weight: var(--text-medium);
  line-height: 32px;
  /* color: salmon; */
}
.sub-title-color {
  color: var(--color-subtitle);
}
.sub-section {
  font-size: var(--size-sub-section);
  font-weight: var(--text-regular);
}
.title-strong {
  color: var(--color-strong);
}
.bg__content-circle {
  width: 144px;
  overflow: hidden;
  position: absolute;
  z-index: var(--index-minus);
}
.title__color {
  /* color: var(--color-title); */
  hyphens: none;
}
.margin-section {
  margin-bottom: 4em;
}
.pb-1 {
  padding-bottom: 1em;
}
/*! ==================== BACKGROUND ANIMATION CUBES=============== */
.area {
  width: 100%;
  height: 100vh;
  position: fixed;
  z-index: -2;
}

.circles {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: -1;
}

.circles li {
  position: absolute;
  display: block;
  list-style: none;
  width: 1.25rem;
  height: 1.25rem;
  background: var(--color-bg-square);
  animation: animate 25s linear infinite;
  bottom: -9.375rem;
}

.circles li:nth-child(1) {
  left: 25%;
  width: 5rem;
  height: 5rem;
  animation-delay: 0s;
}
.circles li:nth-child(2) {
  left: 10%;
  width: 1.25rem;
  height: 1.25rem;
  animation-delay: 2s;
  animation-duration: 12s;
}
.circles li:nth-child(3) {
  left: 70%;
  width: 1.25rem;
  height: 1.25rem;
  animation-delay: 4s;
}
.circles li:nth-child(4) {
  left: 40%;
  width: 3.75rem;
  height: 3.75rem;
  animation-delay: 0s;
  animation-duration: 18s;
}
.circles li:nth-child(5) {
  left: 65%;
  width: 1.25rem;
  height: 1.25rem;
  animation-delay: 0s;
}
.circles li:nth-child(6) {
  left: 75%;
  width: 6.875rem;
  height: 6.875rem;
  animation-delay: 3s;
}
.circles li:nth-child(7) {
  left: 35%;
  width: 9.375rem;
  height: 9.375rem;
  animation-delay: 7s;
}
.circles li:nth-child(8) {
  left: 50%;
  width: 1.5625rem;
  height: 1.5625rem;
  animation-delay: 15s;
  animation-duration: 45s;
}
.circles li:nth-child(9) {
  left: 20%;
  width: 0.9375rem;
  height: 0.9375rem;
  animation-delay: 2s;
  animation-duration: 35s;
}
.circles li:nth-child(10) {
  left: 85%;
  width: 9.375rem;
  height: 9.375rem;
  animation-delay: 0s;
  animation-duration: 11s;
}

@keyframes animate {
  0% {
    transform: translateY(0) rotate(0deg);
    opacity: 1;
    border-radius: 0;
  }

  100% {
    transform: translateY(-62.5rem) rotate(720deg);
    opacity: 0;
    border-radius: 50%;
  }
}
/*! ================== HEADER =================== */
.container__arrow-up {
  width: 59.2px;
  height: 59.2px;
  border-radius: 50%;
  justify-content: center;
  align-items: center;
  position: fixed;
  right: -50%;
  bottom: 10%;
  z-index: var(--index-90);
  color: var(--color-icons);
  opacity: 0;
  transition: opacity 0.5s, right 5s;
  -webkit-tap-highlight-color: transparent;
}
.container__arrow-up--active {
  right: 10%;
  background-color: var(--color-fondo);
  opacity: 0.6;
  transition: opacity 3s;
}
.header {
  width: 100%;
  padding: 20px 17.6px;
  position: fixed;
  top: 0;
  left: 0;
  z-index: var(--index-90);
  transition: box-shadow 1s;
}
.header__container {
  justify-content: space-between;
  align-items: center;
  transition: box-shadow 0.5s;
}
.header__logo {
  line-height: normal;
  font-family: "Chakra Petch", sans-serif;
  font-size: 36.8px;
  color: var(--color-logo);
}
/** ================== HEADER-FIXED =============== */
.header__fixed {
  background: #ffffff4d;
  box-shadow: 0rem 0.25rem 0.5rem 0.0625rem var(--color-box-shadow);
  transition: box-shadow 1s, background-color 1s;
}
.header__fixed::before {
  width: 100%;
  height: 100%;
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  z-index: -1;
  backdrop-filter: blur(0.625rem);
  transition: backdrop-filter 1s;
}
.header__nav {
  display: flex;
  align-items: center;
}

/*? ================== NAV ===================== */
.nav__Menu-img {
  padding: 0.625rem;
  color: var(--color-icons);
}
/** ==================== DIV-menu =========== */
.nav__menu {
  color: var(--color-menu-p);
  width: 65%;
  height: 100%;
  padding: 10px 10px 10px 20px;
  box-shadow: 0px 5.9375rem 0.9375rem 0.0625rem var(--color-box-shadow);
  flex-direction: column;
  gap: 2rem;
  position: fixed;
  top: 0;
  right: 0;
  z-index: var(--index-100);
  background: linear-gradient(90deg, var(--color-bg-one), var(--color-bg-two));
  /* backdrop-filter: blur(.625rem);
  filter: invert(100%); */
}
/** ================ DARK MODE BUTTON ======================= */
.header__darkmode-container {
  margin-right: 1.25rem;
  padding: 0.25rem 0.4375rem;
  border-radius: 50%;
  background-color: var(--color-icons);
}
.header__darkmode-light {
  position: absolute;
  padding: 0.25rem;
  color: var(--color-subtitle);
  border-radius: 50%;
  background-color: var(--color-icons);
  z-index: var(--index-icon-dark);
  transition: z-index 1s ease;
}
.header__darkmode-moon {
  position: relative;
  padding: 0.25rem;
  border-radius: 50%;
  color: var(--color-subtitle);
  background-color: var(--color-icons);
}
/** ============= MENU OPEN/CLOSE ============ */
.menu__close {
  right: -100%;
  transition: right 0.5s;
}
.menu__open {
  right: 0;
  transition: right 0.5s;
}
/** IMG/CLOSE */
.nav__menu-img-close {
  padding: 0.625rem;
  align-self: flex-end;
  color: var(--color-icons);
}
/** ================== LIST UL CONTENT ================== */
.nav__div-list {
  flex-direction: column;
  gap: 19.2px;
}
/** ANCHOR/ITEM */
.ul__item {
  padding: 0.3125rem 0;
}
/*! =================== SECTION-PRINCIPAL =============== */
.main {
  padding-top: 6.25rem;
}
.principal__content {
  margin-top: 4em;
  padding: 16px;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  z-index: var(--index-10);
}
/*? ========== BACKGROUND ONE ============ */
.principal__background {
  width: 100%;
  position: absolute;
  z-index: var(--index-minus);
  top: 20%;
  left: 0;
  filter: invert(var(--color-bg-curve));
}
/* IMAGE PERFIL */
.principal__face-perfil {
  width: 200px;
  border-radius: 20%;
  margin-bottom: 1em;
}
.principal__redes {
  margin-top: 16px;
  margin-bottom: 3em;
  gap: 20px;
  color: var(--color-icons);
}
.principal__button-cv {
  background-color: var(--color-fondo);
  color: var(--color-strong);
  padding: 0.6em;
  border: 0.125rem solid inherit;
  border-radius: 0.5em;
  box-shadow: 0.1875rem 0.1875rem 0.125rem var(--color-box-shadow);
  font-weight: var(--text-semibold);
  cursor: pointer;
}
.principal__button-cv:active {
  position: relative;
  top: 0.1875rem;
  left: 0.1875rem;
  box-shadow: 0 0 0;
}
/*?todo =============== BACKGROUND-CURVE =========== */
.principal__background-curve {
  width: 110%;
  left: -5%;
  margin-top: 1em;
  overflow: hidden;
  filter: invert(var(--color-bg-curve));
}
/*! ================= SECTIONS ABOUT============== */
/*?todo ==========background CIRCLE-one =============== */
.section__about a {
  color: #14d890;
  text-decoration: underline;
  cursor: alias;
}
.bg__content-circle--one {
  right: -20px;
  top: -32px;
}
.bg-circle-one {
  left: 50%;
  background: var(--color-bg-c-one);
}

/*! ================== SKILLS ===================== */
.skills__container {
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5em 0em;
}
/* BOX SKILLS */
.skills__container-item {
  flex-direction: column;
  align-items: center;
  gap: 0.5em;
}
/* transition icons */
.skills__container-item:hover i {
  background-color: var(--color-strong);
  transition: color 1s;
}
.skills__container-item:hover i {
  color: var(--color-fondo);
  transition: color 1s;
}
.skills__container-item:hover p {
  color: var(--color-fondo);
  transition: color 1s;
}
/* IMG-BOXSKILLS */
.skills__icon {
  width: 2em;
  height: 2em;
  border-radius: 50%;
  justify-content: center;
  align-items: center;
  color: var(--color-icons);
  background-color: var(--color-fondo);
}

/*! ================ SECTION/EXPERIENCE ============= */
.experience--container-element--item {
  border-bottom: 0.0625rem solid var(--color-box-shadow);
  margin-bottom: 0.625rem;
}
.experience--container-element--item > span {
  width: 50%;
}
/*todo ========= IMG BACKGROUND-TWO ======== */
.bg__content-circle--two {
  bottom: -50%;
  left: -20px;
}
.bg-circle-two {
  right: 50%;
  background-color: var(--color-bg-c-two);
}
/*todo =========== ANIMATE BACKGROUND == */
.slider-thumb {
  content: "";
  margin: 0.625rem 0.625rem 0.625rem 0.3125rem;
  width: 9.375rem;
  height: 9.375rem;
  /* background-color: #3a0e92; */
  border-radius: 62% 47% 82% 35% / 45% 45% 80% 66%;
  will-change: border-radius, transform, opacity;
  animation: sliderShape 5s linear infinite;
  display: block;
  z-index: 1;
  -webkit-animation: sliderShape 5s linear infinite;
}
@keyframes sliderShape {
  0%,
  100% {
    border-radius: 42% 58% 70% 30% / 45% 45% 55% 55%;
    transform: translate3d(0, 0, 0) rotateZ(0.01deg);
  }
  34% {
    border-radius: 70% 30% 46% 54% / 30% 29% 71% 70%;
    transform: translate3d(0, 0.3125rem, 0) rotateZ(0.01deg);
  }
  50% {
    transform: translate3d(0, 0, 0) rotateZ(0.01deg);
  }
  67% {
    border-radius: 100% 60% 60% 100% / 100% 100% 60% 60%;
    transform: translate3d(0, -0.1875rem, 0) rotateZ(0.01deg);
  }
}
/*! ================== IMG/PORTAFOLIO ================= */
/** card container */
.portfolio__element {
  margin-bottom: 0.625rem;
  position: relative;
  padding: 2.1875rem 1.25rem;
  box-shadow: 0.1875rem 0.1875rem 0.5rem 0rem var(--color-box-shadow);
  border-radius: 5px;
  overflow: hidden;
  background: linear-gradient(
    90deg,
    var(--color-bg-portfolio) 60%,
    #00000000 90%
  );
}
/** img PREV */
.portfolio__img {
  position: absolute;
  top: 0%;
  left: 0%;
  height: 100%;
  z-index: -1;
  object-fit: contain;
  object-position: right;
  transition: 0.8s;
}
/** img desplegado VERTICAL */
.portfolio__img-vertical--active {
  display: block;
  max-width: 0rem;
  position: absolute;
  top: 0;
  right: 0;
  z-index: -1;
  opacity: 0;
  transition: max-width 1s, opacity 0.5s;
}
/** img desplegado HORIZONTAL */
.portfolio__img-horizontal--active {
  display: none;
}
/** TITLE CONTAINER */
.portfolio__element label {
  display: flex;
  gap: 0.625rem;
  cursor: pointer;
}
/** NUMBER */
.portfolio__element label h3 {
  color: var(--color-number);
  font-size: 2.5em;
  font-weight: 700;
  text-shadow: 0.5rem 0.5rem 0.125rem #00000062;
  transition: 0.8s;
}
/** TITLE */
.portfolio__element label h4 {
  color: var(--color-title-portfolio);
  position: relative;
  font-size: 1.3em;
  font-weight: 700;
}
/** ICON TITLE PLUS... */
.portfolio__element label::after {
  content: "+";
  position: absolute;
  right: 1.25rem;
  font-size: 3em;
  color: var(--color-icons);
  transition: transform 0.8s;
}
/** ICON TITLE PLUS HOVER... */
.portfolio__element:hover label::after {
  color: var(--color-logo);
}
/** ICON TITLE PLUS click rotate */
.portfolio__element input:checked ~ label::after {
  transform: rotate(135deg);
}
/** CONTAINER CONTENT */
/*!despegable */
.portfolio__element--content {
  max-height: 0;
  z-index: 10;
  overflow: hidden;
  position: relative;
  width: 70%;
  color: var(--color-p-portfolio);
  transition: max-height 0.5s, overflow 0.5s;
}
/** CONTAINER CONTENT p */
.portfolio__element--content p {
  font-weight: 300;
  min-height: 11.25rem;
}
/** CONTAINER CONTENT alert */
.portfolio__element--content error {
  text-decoration: line-through;
}
/** CONTAINER icons  */
.portfolio__element--content ul {
  margin-top: 0.3125rem;
  display: flex;
  gap: 20px;
  color: var(--color-icons);
}
/** NUMBER unfolded */
.portfolio__element input:checked ~ label h3 {
  position: absolute;
  top: 50%;
  left: 10%;
  font-size: 10em;
  z-index: 1;
  opacity: 0.2;
  transition: 0.7s;
}
/** CONTAINER CONTENT unfolded */
/*!despegable */
.portfolio__element input:checked ~ .portfolio__element--content {
  padding-top: 0.625rem;
  max-height: 100vh;
  width: 70%;
  transition: max-height 1.3s, overflow 1.3s;
}
/** img PREV unfolded */
.portfolio__element input:checked ~ label .portfolio__img {
  opacity: 0;
  transition: 0.5s;
}
/** img desplegado VERTICAL */
.portfolio__element input:checked ~ label .portfolio__img-vertical--active {
  max-width: 100%;
  opacity: 1;
  object-fit: contain;
  object-position: right;
  height: 100%;
  transition: max-width 1s;
}
/*! =============== FOOTER ================= */
.footer__container-contact {
  border-radius: 10px;
  flex-direction: column;
  color: var(--color-form-text);
  justify-content: center;
  gap: 1em;
  background-color: #0e5035c9;
  backdrop-filter: blur(1.5em);
}
.footer__container-contact > div,
form {
  padding: 0.9375rem;
}
/** FORM */
.contact__container-form {
  flex-direction: column;
  gap: 1em;
  cursor: pointer;
}
.contact__container-form input,
textarea {
  width: 100%;
  border-bottom: 0.125rem white solid;
  outline: none;
}
.contact__container-form textarea {
  resize: vertical;
}
.contact__container-form input:focus,
textarea:focus {
  color: white;
}
.contact__container-form input,
textarea {
  padding: 0.3125em;
}
.contact__container-form label::after {
  content: " ";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 0.1875rem;
}
.contact__container-form label:focus-within::after {
  background-color: aqua;
  box-shadow: 0rem -0.03rem 0.3rem aquamarine;
}
.contact__container-form label:focus-within span {
  color: aquamarine;
  text-shadow: 0px 2px 8px;
}
/** REDES */
.contact__container-redes {
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 1em 0.3em;
}
.contact__container-redes a:hover {
  color: white;
  text-shadow: 0px 2px 8px aqua;
}
.contact__container-item {
  align-items: center;
  width: 7.5em;
  gap: 8px;
}
.contact__item--icon {
  min-width: 2.1875rem;
  text-align: center;
}
.form__button-send {
  width: 100%;
  padding: 0.6em;
  border: 0.125rem solid inherit;
  border-radius: 0.5em;
  box-shadow: 0.1875rem 0.1875rem 0.125rem var(--color-box-shadow);
  font-weight: var(--text-semibold);
  color: var(--color-strong);
  background-color: var(--color-fondo);
  cursor: pointer;
}
.form__button-send:hover {
  background-color: white;
}
@media (width >= 480px) {
  /*! PRINCIPAL */
  .principal__background {
    top: 5%;
  }
  .principal__content {
    margin-top: 2em;
  }
  .principal__redes {
    margin-bottom: 5em;
  }
  /*! PRINCIPAL */
  .nav__menu {
    width: 50%;
  }
  /*! ================= PORTFOLIO CONTENT ================= */
  .portfolio__element {
    background: linear-gradient(
      90deg,
      var(--color-bg-portfolio) 65%,
      #00000000 100%
    );
  }
  /*! ================= PORTFOLIO CONTENT ================= */
  /*! footer icon */
  .contact__container-redes {
    justify-content: space-between;
  }
}
@media (width >= 640px) {
  :root {
    --size-subtitle: 2.1875rem;
  }
  .principal__redes {
    margin-bottom: 7em;
  }
  .principal__background {
    top: 0;
  }
  .skills__container {
    max-width: 90%;
    grid-template-columns: repeat(3, 1fr);
    margin-left: auto;
    margin-right: auto;
    gap: 35px;
  }
  .bg-circle-one {
    left: 20%;
  }
  .bg-circle-two {
    right: 20%;
  }
  /*! ================= PORTFOLIO CONTENT ================= */
  .portfolio__element {
    background: linear-gradient(
      90deg,
      var(--color-bg-portfolio) 75%,
      #00000000 90%
    );
  }
  .portfolio__element input:checked ~ .portfolio__element--content {
    width: 50%;
  }
  /*! ================= PORTFOLIO CONTENT ================= */
  /*? ================= FOOTER ================== */
  .footer__container-contact {
    margin: 0px 3em;
    flex-direction: row;
  }
  .contact__container-form {
    width: 100%;
  }
  .contact__container-redes {
    border-left: 2px solid aquamarine;
    flex-direction: column;
    justify-content: flex-start;
  }
  .contact__container-item {
    width: 9em;
  }
}
@media (width >= 768px) {
  .principal__background {
    top: -5%;
  }
  .nav__menu {
    width: 35%;
  }
  .principal__face-perfil {
    width: 15.625rem;
  }
  .principal__content h1 {
    max-width: 31.25rem;
  }
  .skills__container {
    grid-template-columns: repeat(3, 1fr);
  }
  /*! ================= PORTFOLIO CONTENT ================= */
  .portfolio__element {
    background: linear-gradient(
      90deg,
      var(--color-bg-portfolio) 80%,
      #00000000 90%
    );
  }
  /*! ================= PORTFOLIO CONTENT ================= */
  .footer__container-contact {
    max-width: 43.75em;
    margin: 0px auto;
  }
}
@media (width >= 960px) {
  :root {
    --m-10: 1.875em;
  }
  .principal__content {
    margin-top: 5em;
  }
  /* .principal__background {
    left: -6%;
  } */
  .title-center {
    text-align: center;
  }
  .bg__content-circle {
    width: 160px;
  }
  .margin-section {
    margin-bottom: 5em;
  }
  .pb-1 {
    padding-bottom: 1.5em;
  }
  /*! ======= elements ============= */
  .header {
    padding: 0;
  }
  .header__container {
    padding: 1.25em;
    box-shadow: none;
  }
  .header__container--shadow {
    box-shadow: 0rem 0.625rem 0.5rem -0.625rem var(--color-box-shadow);
    transition: box-shadow 0.5s;
  }
  .header__fixed {
    box-shadow: none;
  }
  .nav__menu {
    width: 30%;
  }
  .skills__container {
    max-width: 80%;
  }
  .bg__content-circle--one {
    right: 0;
  }
  .bg-circle-one {
    left: 0;
  }
  .bg__content-circle--two {
    left: 0;
  }
  .bg-circle-two {
    right: 0;
  }
  .experience--container-element--item {
    margin-left: auto;
    margin-right: auto;
    max-width: 50rem;
  }
  .footer__container-contact {
    max-width: 50em;
    margin: 0 auto;
  }
  .contact__container-item {
    gap: 1.5em;
  }
  /*! ================= PORTFOLIO CONTENT ================= */
  .portfolio__element {
    background: linear-gradient(
      90deg,
      var(--color-bg-portfolio) 85%,
      #00000000 90%
    );
  }
  .portfolio__element input:checked ~ .portfolio__element--content {
    width: 35%;
  }
  .portfolio__img-vertical--active {
    display: none;
  }
  .portfolio__img-horizontal--active {
    display: block;
    position: absolute;
    top: 0;
    right: 0;
    z-index: -2;
    height: 100%;
    opacity: 0;
    object-fit: contain;
    object-position: right;
  }
  .portfolio__element input:checked ~ label .portfolio__img-horizontal--active {
    z-index: 0;
    opacity: 1;
    transition: opacity 0.5s;
  }
  /*! ================= PORTFOLIO CONTENT ================= */
  /*! ================= FOOTER ======================*/
}
@media (width >= 1024px) {
  /*todo desktop */
  :root {
    --size-title: 64px;
    --size-subtitle: 48px;
    --size-sub-section: 32px;
    --m-10: 3.125em;
  }
  body {
    font-size: 18px;
  }
  .header__nav {
    flex-direction: row-reverse;
  }
  .header__darkmode-container {
    margin-right: 0;
    margin-left: 1.5em;
  }
  .title {
    line-height: 72px;
  }
  .sub-title {
    line-height: 48px;
  }
  .sub-section {
    line-height: 38.4px;
  }
  .redes__icon:hover,
  .principal__button-cv:hover {
    color: var(--color-subtitle);
  }
  .header__container,
  .main,
  .footer {
    max-width: 64em;
    margin: 0 auto 0;
  }
  /*? MENU DESESTRUCTURATION */
  .header__container {
    padding-left: 1.5em;
    padding-right: 1.5em;
  }
  .nav__Menu-img {
    display: none;
  }
  .nav__menu {
    width: auto;
    position: static;
    padding: 0;
    flex-direction: row;
    box-shadow: none;
    background: inherit;
  }
  .nav__menu-img-close {
    display: none;
  }
  .nav__div-list {
    flex-direction: row;
    gap: 30px;
    font-size: var(--text-regular);
  }
  .ul__item {
    padding: 0;
  }
  .ul__item:hover {
    color: var(--color-strong);
    box-shadow: 0rem 0.625rem 0.5rem -0.625rem var(--color-strong);
  }
  .principal__content h1 {
    max-width: 43.75rem;
  }
}
@media (width >= 1280px) {
  .principal__background-curve,
  .principal__background {
    width: 110%;
  }
  .principal__background {
    left: -6%;
  }
  .bg__content-circle--one {
    right: -10%;
  }
  .bg__content-circle--two {
    left: -10%;
  }
}
