:root {
  --header-height: 3.5rem;

  /* colors */
  --first-color: rgba(30, 119, 165, 1);
  --first-color-alt: rgba(248, 80, 113, 1);
  --title-color: rgba(22, 22, 22, 1);
  --text-color: rgba(76, 76, 76, 1);
  --texto-color-light: rgba(255, 255, 255, 1);
  --header-color: rgba(255, 255, 255, 1);
  --body-color: rgba(255, 255, 255, 1);
  --border-color: rgba(165, 165, 165, 0.3);
  --logo-color: invert(0);
  --dark-btn-color: rgba(255, 255, 255, 1);
  --dark-btn-back: rgb(9, 60, 82);

  /* Gradient */
  --first-gradient: linear-gradient(
    45deg,
    rgba(30, 119, 165, 1) 20%,
    rgba(106, 242, 216, 1) 100%
  );
  --second-gradient: linear-gradient(
    45deg,
    rgba(248, 80, 113, 1) 20%,
    rgba(255, 216, 147, 1) 100%
  );

  /* shadow */
  --shadow-color: 0px 6px 20px 0px rgba(165, 165, 165, 0.3);
  --drop-shadow-color: drop-shadow(5px 5px 4px rgba(0, 0, 0, 0.3));
  --shadow-hover: 0px 0px 20px 0px rgba(248, 80, 113, 0.3);

  /* FONT */
  --body-font: "Poppins", sans-serif;
  --biggest-font-size: 2rem;
  --h1-font-size: 1.5rem;
  --h2-font-size: 1.25rem;
  --h3-font-size: 1rem;
  --normal-font-size: 0.938rem;
  --small-font-size: 0.813rem;
  --smaller-font-size: 0.75rem;

  /* font weight */
  --font-light: 300;
  --font-regular: 400;
  --font-medium: 500;
  --font-semi-bold: 600;

  /* margenes */
  --mb-0-25: 0.25rem;
  --mb-0-5: 0.5rem;
  --mb-0-75: 0.75rem;
  --mb-0-1: 1rem;
  --mb-1-5: 1.5rem;
  --mb-2: 2rem;
  --mb-2-5: 2.5rem;

  /* z-index */
  --z-tooltip: 10;
  --z-fixed: 100;

  /* responsive typography */
  @media screen and (min-width: 992px) {
    :root {
      --biggest-font-size: 4rem;
      --h1-font-size: 2.25rem;
      --h2-font-size: 1.5rem;
      --h3-font-size: 1.25rem;
      --normal-font-size: 1rem;
      --small-font-size: 0.875rem;
      --smaller-font-size: 0.813rem;
    }
  }
}
/* -----------modo oscuro-------------*/
body.dark-theme {
  --title-color: rgba(255, 255, 255, 1);
  --text-color: rgba(218, 218, 218, 1);
  --body-color: rgba(24, 25, 26, 1);
  --header-color: rgba(36, 37, 38, 1);
  --logo-color: invert(1);
  --shadow-color: 0px 6px 20px 0px rgba(0, 0, 0, 0.1);
  --shadow-hover: 0px 0px 20px 0px rgba(248, 80, 113, 0.8);
  --dark-btn-color: rgba(24, 24, 24, 1);
  --dark-btn-back: rgb(255, 255, 137);
}
/* -----------boton dark theme-------------*/
.nav__dark {
  display: flex;
}
.change-theme {
  color: var(--dark-btn-color);
  cursor: pointer;
  font-size: 1.1rem;
  background: var(--dark-btn-back);
  padding: 0.4rem;
  border-radius: 50%;
}
/*--------- reset ----------*/
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: var(--header-height) 0 0 0;
  font-family: var(--body-font);
  font-size: var(--normal-font-size);
  background: var(--body-color);
  color: var(--text-color);
}
h1,
h2,
h3,
h4 {
  color: var(--title-color);
  font-weight: var(--font-semi-bold);
}
ul {
  list-style: none;
}
a {
  text-decoration: none;
  color: inherit;
}
mark {
  background: none;
}
.mark {
  background: none;
  color: var(--first-color);
  font-weight: 600;
  transition: all 0.3s ease;
}
.mark2 {
  color: var(--first-color-alt);
}
img {
  max-width: 100%;
  height: auto;
}
button {
  cursor: pointer;
  font-family: var(--body-font);
  font-size: var(--normal-font-size);
}
.section {
  padding: 4.5rem 0 2rem;
}
.section__title {
  font-size: var(--h2-font-size);
  text-align: center;
}
.section__title-border {
  border-bottom: solid 2px var(--first-color);
  width: 50px;
  margin: 5px auto;
  margin-bottom: var(--mb-2-5);
}

/* layout */
.container {
  max-width: 1200px;
  margin-left: var(--mb-1-5);
  margin-right: var(--mb-1-5);
}
.flex {
  display: flex;
  flex-wrap: wrap;
  flex-direction: row;
  justify-content: center;
}
.flex-reverse-home {
  display: flex;
  flex-wrap: wrap;
  flex-direction: row-reverse;
  align-items: center;
  justify-content: center;
}
.flex-work {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.main {
  overflow: hidden;
}
/* preloader */

.hidden {
  overflow: hidden;
}
.opacity {
  opacity: 0;
}
.preloader {
  position: fixed;
  height: 100vh;
  width: 100%;
  background-color: var(--body-color);
  z-index: 2000;
}
.preloader .img-preload {
  width: 100px;
  margin-top: -10px;
  filter: var(--logo-color);
}
.preloader-logo {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 20;
  display: grid;
  place-items: center;
}
.preloader-logo div {
  position: absolute;
  width: 173px;
  height: 102px;
}
.preloader-logo div:nth-of-type(2) {
  transform: rotate(60deg);
}
.preloader-logo div:nth-of-type(3) {
  transform: rotate(-60deg);
}
.preloader-logo div div {
  width: 100%;
  height: 100%;
  position: relative;
}
.preloader-logo div div span {
  position: absolute;
  width: 9px;
  height: 0%;
  background: var(--title-color);
  z-index: 999999;
  border-radius: 5px;
}
.preloader-logo .h1 {
  left: 0;
  animation: load1 2.4s ease infinite;
}
.preloader-logo .h2 {
  right: 0;
  animation: load2 2.4s ease 0.2s infinite;
}
.preloader-logo .h3 {
  right: 0;
  animation: load3 2.4s ease 0.4s infinite;
}
.preloader-logo .h4 {
  right: 0;
  animation: load4 2.4s ease 0.6s infinite;
}
.preloader-logo .h5 {
  left: 0;
  animation: load5 2.4s ease 0.8s infinite;
}
.preloader-logo .h6 {
  left: 0;
  animation: load6 2.4s ease 1s infinite;
}
@keyframes load1 {
  0% {
    bottom: 0;
    height: 0;
  }
  6.944444444% {
    bottom: 0;
    height: 100%;
  }
  50% {
    top: 0;
    height: 100%;
  }
  59.944444433% {
    top: 0;
    height: 0;
  }
}
@keyframes load2 {
  0% {
    top: 0;
    height: 0;
  }
  6.944444444% {
    top: 0;
    height: 100%;
  }
  50% {
    bottom: 0;
    height: 100%;
  }
  59.944444433% {
    bottom: 0;
    height: 0;
  }
}
@keyframes load3 {
  0% {
    top: 0;
    height: 0;
  }
  6.944444444% {
    top: 0;
    height: 100%;
  }
  50% {
    bottom: 0;
    height: 100%;
  }
  59.94444443% {
    bottom: 0;
    height: 0;
  }
}
@keyframes load4 {
  0% {
    top: 0;
    height: 0;
  }
  6.944444444% {
    top: 0;
    height: 100%;
  }
  50% {
    bottom: 0;
    height: 100%;
  }
  59.94444443% {
    bottom: 0;
    height: 0;
  }
}
@keyframes load5 {
  0% {
    bottom: 0;
    height: 0;
  }
  6.944444444% {
    bottom: 0;
    height: 100%;
  }
  50% {
    top: 0;
    height: 100%;
  }
  59.94444443% {
    top: 0;
    height: 0;
  }
}
@keyframes load6 {
  0% {
    bottom: 0;
    height: 0;
  }
  6.944444444% {
    bottom: 0;
    height: 100%;
  }
  50% {
    top: 0;
    height: 100%;
  }
  59.94444443% {
    top: 0;
    height: 0;
  }
}
@keyframes load5 {
  0% {
    bottom: 0;
    height: 0;
  }
  6.944444444% {
    bottom: 0;
    height: 100%;
  }
  50% {
    top: 0;
    height: 100%;
  }
  59.94444443% {
    top: 0;
    height: 0;
  }
}
@keyframes load6 {
  0% {
    bottom: 0;
    height: 0;
  }
  6.944444444% {
    bottom: 0;
    height: 100%;
  }
  50% {
    top: 0;
    height: 100%;
  }
  59.94444443% {
    top: 0;
    height: 0;
  }
}
/* header */
.header {
  background-color: var(--header-color);
  width: 100%;
  position: fixed;
  top: 0;
  left: 0;
  z-index: var(--z-fixed);
  -webkit-box-shadow: var(--shadow-color);
  -moz-box-shadow: var(--shadow-color);
  box-shadow: var(--shadow-color);
}

/* nav */
.nav {
  height: var(--header-height);
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.nav__logo {
  display: flex;
  align-items: center;
  column-gap: 0.5rem;
  font-weight: var(--font-medium);
}
.nav__logo-img {
  width: 1.25rem;
  filter: var(--logo-color);
}
.nav__link,
.nav__logo,
.nav__toggle,
.nav__close {
  color: var(--title-color);
}
.nav__toggle {
  font-size: 1.25rem;
  cursor: pointer;
  transition: all 0.3s ease;
}
.nav__toggle:hover {
  color: var(--first-color-alt);
}
@media screen and (max-width: 767px) {
  .nav__menu {
    position: fixed;
    width: 100%;
    background-color: var(--header-color);
    top: -750%;
    left: 0;
    padding: 3.5rem 0;
    transition: 0.4s;
    z-index: var(--z-fixed);
    border-radius: 0 0 1.5rem 1.5rem;
    -webkit-box-shadow: var(--shadow-color);
    -moz-box-shadow: var(--shadow-color);
    box-shadow: var(--shadow-color);
  }
}
.nav__close {
  font-size: 1.8rem;
  position: absolute;
  top: 0.5rem;
  right: 0.7rem;
  cursor: pointer;
  color: var(--text-color);
  transition: all 0.3s ease;
}
.nav__close:hover {
  color: var(--first-color-alt);
}
.nav__list {
  display: flex;
  flex-direction: column;
  align-items: center;
  row-gap: 1.5rem;
}
.nav__link {
  text-transform: uppercase;
  font-weight: var(--font-semi-bold);
  transition: 0.4s;
  color: var(--text-color);
}
.nav__link:hover {
  color: var(--first-color-alt);
}
.active-link {
  position: relative;
}
.active-link::before {
  content: "";
  position: absolute;
  bottom: -0.75rem;
  left: 50%;
  top: 120%;
  transform: translate(-50%, -50%);
  width: 10px;
  height: 2px;
  background-color: var(--first-color-alt);
  border-radius: 50%;
}
/* show menu */

.show-menu {
  top: 0;
}
/* home */

.home__content {
  row-gap: 2rem;
  margin-top: var(--mb-2-5);
  margin-bottom: var(--mb-2-5);
}
/* -------setting img main */
.home__content .contenedor-imagen {
  max-width: 700px;
  margin: auto;
  position: relative;
  -webkit-filter: var(--drop-shadow-color);
  -moz-filter: var(--drop-shadow-color);
  -ms-filter: var(--drop-shadow-color);
  -o-filter: var(--drop-shadow-color);
}
.home__content .cara {
  width: 100%;
  z-index: 5;
  position: relative;
  margin-top: 6px;
}
.home__content .fondo2 {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  left: 0;
  mask-image: url("../img/mask2.png");
  -webkit-mask-image: url("../img/mask2.png");
  -webkit-mask-position: center;
  -webkit-mask-size: 100%;
  -webkit-mask-repeat: no-repeat;
  background: rgba(166, 206, 221, 0.8);
  width: 100%;
  height: 100%;
  transition: all 0.3s ease;
  z-index: 1;
}
.home__content .fondo {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  left: 0;
  width: 100%;
  height: 100%;
  mask-image: url("../img/mask1.png");
  -webkit-mask-image: url("../img/mask1.png");
  -webkit-mask-position: center;
  -webkit-mask-size: 100%;
  -webkit-mask-repeat: no-repeat;
  background: var(--first-color);
  background: var(--first-gradient);
  background-size: 150%;
  animation: gradient 3s ease infinite;
  transition: all 0.8s ease;
  z-index: 2;
}
.home__content .fondo-oculto {
  position: absolute;
  content: "";
  top: 0;
  right: 0;
  left: 0;
  left: 0;
  mask-image: url("../img/mask1.png");
  -webkit-mask-image: url("../img/mask1.png");
  -webkit-mask-position: center;
  -webkit-mask-size: 100%;
  -webkit-mask-repeat: no-repeat;
  background: var(--second-gradient);
  background-size: 200%;
  animation: gradient 2.5s ease infinite;
  z-index: 1;
  width: 100%;
  height: 100%;
  opacity: 1;
  transition: all 0.6s ease;
}
.home__content .fondo img {
  width: 100%;
  margin-top: 20px;
}
@keyframes gradient {
  0% {
    background-position: 0% 30%;
  }
  50% {
    background-position: 70% 30%;
  }
  100% {
    background-position: 0% 30%;
  }
}

/*----------- Animate color main */

/* home main */
.home__img {
  margin-top: var(--mb-2);
  justify-self: center;
}
.home__data {
  width: 100%;
}
.home__subtitle {
  font-size: var(--h3-font-size);
  font-weight: var(--font-regular);
  margin-bottom: var(--mb-0-75);
  color: var(--text-color);
}
.home__title {
  font-size: var(--biggest-font-size);
  font-weight: var(--font-semi-bold);
  line-height: 109%;
  margin-bottom: var(--mb-0-75);
}
.home__button {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: var(--mb-1-5);
  background-image: var(--first-gradient);
  background-size: 150% 150%;
  padding: 0.75rem 1.5rem;
  border-radius: 0.5rem;
  animation: movingGradient 2s linear infinite alternate;
  max-width: 190px;
  position: relative;
  z-index: 1;
  transition: all 0.3s ease;
}
.home__button:before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: var(--second-gradient);
  background-size: 150% 150%;
  padding: 0.75rem 1.5rem;
  border-radius: 0.5rem;
  animation: movingGradient 2s linear infinite alternate;
  max-width: 190px;
  height: 23px;
  z-index: -1;
  opacity: 0;
  transition: all 0.3s ease;
}
.btn-main {
  max-width: 190px;
}
.btn-main:hover .home__button:before {
  opacity: 1;
}
@keyframes movingGradient {
  0% {
    background-position: 0% 30%;
  }
  50% {
    background-position: 70% 30%;
  }
  100% {
    background-position: 0% 30%;
  }
}
.button__icon {
  color: var(--texto-color-light);
  font-size: 1.25rem;
}
.home__links {
  display: flex;
}
.home__links-link {
  font-size: 1.25rem;
  margin-right: 1rem;
  transition: all 0.3s ease;
}
.animate-link {
  transition: all 0.3s ease;
  background-color: var(--first-color);
  color: var(--texto-color-light);
  padding: 0.5rem;
  border-radius: 50%;
}
.animate-link2 {
  background-color: var(--first-color-alt);
  transition: all 0.3s ease;
}
.home__links-link:nth-child(1) .animate-link:hover {
  background: rgb(240, 240, 240, 1);
  color: #0e76a8;
}
.home__links-link:nth-child(2) .animate-link:hover {
  background: #053eff;
}
.home__links-link:nth-child(3) .animate-link:hover {
  background: #25d366;
}

/* buttons */
.button {
  background: var(--first-color-alt);
  border: solid 2px var(--first-color-alt);
  text-align: center;
  padding: 0.3em 2.5em;
  outline: none;
  border-radius: 0.3em;
  color: var(--texto-color-light);
  transition: all 0.3s ease;
}
.button:hover {
  background: none;
  border: solid 2px var(--first-color-alt);
  color: var(--first-color-alt);
}
.button--ghost {
  text-transform: uppercase;
  font-weight: var(--font-semi-bold);
  color: var(--first-color-alt);
  border: 2px solid var(--first-color-alt);
  background-color: transparent;
  border-radius: 3rem;
  padding: 0.75rem 1.5rem;
  display: block;
}
.button--ghost:hover {
  color: var(--texto-color-light);
  border: solid 2px var(--first-color-alt);
  background-color: var(--first-color-alt);
}
.button--link {
  color: var(--texto-color-light);
}
.btn-download {
  display: flex;
}
.btn-cv {
  border: solid 2px var(--first-color-alt);
  padding: 5px 10px;
  border-radius: 10px;
  color: var(--first-color-alt);
  margin-right: 10px;
  margin-bottom: var(--mb-2-5);
  font-weight: 500;
  transition: all 0.3s ease;
  font-size: var(--normal-font-size);
}
.btn-cv:hover {
  color: var(--texto-color-light);
  background: var(--first-color-alt);
}
.btn-portfolio {
  border: solid 2px var(--first-color-alt);
  padding: 5px 10px;
  border-radius: 10px;
  color: var(--first-color-alt);
  margin-bottom: var(--mb-2-5);
  font-weight: 500;
  transition: all 0.3s ease;
  font-size: var(--normal-font-size);
}
.btn-portfolio:hover {
  color: var(--texto-color-light);
  background: var(--first-color-alt);
}
.bx-download {
  margin-left: 10px;
  font-weight: 600;
  font-size: var(--normal-font-size);
}
.btn .home__button:hover .button__icon {
  animation: movingIcon 0.4s linear infinite alternate;
}
@keyframes movingIcon {
  from {
    margin-right: 0;
  }
  to {
    margin-right: 0.5rem;
  }
}
.button--flex {
  display: inline-flex;
  align-items: center;
  column-gap: 0.5rem;
}
.button__icon {
  font-size: 1.25rem;
}

/* servicios */

#servicios .servicios__container {
  display: flex;
  flex-wrap: wrap;
  flex-direction: row;
  align-items: center;
  justify-content: center;
}
#servicios .servicio__data {
  text-align: center;
  margin-bottom: var(--mb-1-5);
  max-width: 300px;
  padding: 10px 10px;
}
#servicios .servicio__img {
  max-width: 100px;
  margin-bottom: var(--mb-0-75);
  transition: all 0.3s ease;
}
#servicios .servicio__data:hover .servicio__img {
  transform: translateY(-0.5rem);
}
#servicios .servicio__title {
  margin-bottom: var(--mb-0-25);
}

/* programming */
#programming .bannerskill {
  display: flex;
  flex-wrap: wrap;
  flex-direction: row;
  align-items: center;
  justify-content: center;
}
#programming .bannerskill img {
  max-width: 150px;
  padding: 30px 20px;
}

/* software */
#software .bannerskill {
  display: flex;
  flex-wrap: wrap;
  flex-direction: row;
  align-items: center;
  justify-content: center;
}
#software .bannerskill img {
  max-width: 150px;
  padding: 30px 20px;
}

/* work */

.work__content {
  background: var(--texto-color-light);
  -webkit-box-shadow: var(--shadow-color);
  -moz-box-shadow: var(--shadow-color);
  box-shadow: var(--shadow-color);
  border-radius: 1rem;
  padding: 0 0 1rem 0;
  text-align: center;
  overflow: hidden;
  width: 100%;
  max-width: 900px;
  margin-bottom: var(--mb-2);
  display: flex;
  flex-direction: column;
  transition: box-shadow ease-in-out 0.3s;
  background: var(--header-color);
}
.work__img {
  width: 100%;
  transition: all 0.3s ease;
  background-image: url("../img/fondowork.png");
  background-size: cover;
  background-repeat: no-repeat;
  display: grid;
  place-items: center;
  padding: 4rem 0;
}
.work__img2 {
  width: 100%;
  transition: all 0.3s ease;
  background-image: url("../img/fondowork2.png");
  background-size: cover;
  background-repeat: no-repeat;
  display: grid;
  place-items: center;
  padding: 4rem 0;
}
.work__logo {
  max-height: 150px;
  transition: all 0.3s ease-in-out;
  aspect-ratio: 10 / 7;
  object-fit: contain;
}

.work__title {
  color: var(--title-color);
  font-weight: var(--font-medium);
  font-size: var(--h2-font-size);
  margin-top: 20px;
  margin-bottom: var(--mb-0-75);
  line-height: 1.2em;
}

.work__block {
  z-index: 150;
}
.work__description {
  display: block;
  font-size: var(--smaller-font-size);
  margin-bottom: var(--mb-0-75);
  padding: 0 1rem;
}
.work__button {
  margin: auto;
  margin-bottom: var(--mb-0-75);
  width: fit-content;
  display: block;
}
.work__content:hover {
  -webkit-box-shadow: var(--shadow-hover);
  -moz-box-shadow: var(--shadow-hover);
  box-shadow: var(--shadow-hover);
}
.work__content:hover .work__logo {
  transform: scale(1.05);
}

/* Contacto */

#contact form {
  width: 100%;
  max-width: 900px;
  margin: auto;
}
#contact form input[type="text"],
#contact form input[type="email"],
#contact form textarea {
  width: 100%;
  padding: 1rem;
  margin-bottom: 1rem;
  border: 1px solid transparent;
  border-bottom: solid 1px var(--border-color);
  font-family: var(--body-font);
  outline: none;
  background: none;
  transition: all 0.3s ease;
}
#contact form input[type="submit"] {
  display: block;
  margin: 40px auto;
  background: var(--first-color-alt);
  border: solid 2px var(--first-color-alt);
  color: var(--texto-color-light);
  text-align: center;
  padding: 0.3em 2.5em;
  outline: none;
  border-radius: 0.3em;
  font-family: var(--body-font);
  font-size: var(--normal-font-size);
  cursor: pointer;
  transition: all 0.3s ease;
}
#contact form input[type="submit"]:hover {
  background: none;
  border: solid 2px var(--first-color-alt);
  color: var(--first-color-alt);
}
#contact form input:focus,
#contact form textarea:focus {
  border: 1px solid rgba(255, 50, 139, 0.4);
  box-shadow: 0 0 0 4px rgb(255 50 138 /8%);
}

.error-formulario {
  display: none;
  color: #ff7700;
  font-size: 14px;
  font-weight: 400;
  font-family: "Helvetica Light", sans-serif;
  margin: 20px auto;
  border: 1px solid;
  padding: 10px;
  text-align: center;
  border-radius: 5px;
}
.gracias-formulario {
  display: none;
  color: #03d348;
  font-size: 16px;
  font-weight: 400;
  font-family: "Helvetica Light", sans-serif;
  margin: 20px auto;
  border: 1px solid;
  padding: 10px;
  text-align: center;
  border-radius: 5px;
}

/* footer */
footer {
  background-image: url("../img/footer.png");
  background-position: top center;
  background-size: cover;
  padding: 70% 0 50px 0;
  background-repeat: no-repeat;
}
footer .footer__title {
  font-size: var(--h1-font-size);
  color: var(--texto-color-light);
  text-align: center;
}
footer .footer__btn {
  margin: 50px auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: var(--mb-2);
  padding: 0.75rem 1.5rem;
  border-radius: 0.5rem;
  max-width: 190px;
  background-image: var(--second-gradient);
  background-size: 300% 300%;
  background-position: left;
  transition: all 0.3s ease;
}
footer .footer__btn:hover {
  background-position: center;
  background-size: 150% 150%;
  animation: movingGradient 2s linear infinite alternate;
}
.button__icon {
  transition: all 0.3s ease;
}
footer .footer__btn:hover .button__icon {
  animation: movingIcon 0.4s linear infinite alternate;
}
footer .footer__links {
  display: flex;
  align-items: center;
  justify-content: center;
}
footer .footer__links-link {
  font-size: 1.25rem;
  margin-right: 1rem;
}
footer .footer__links-link i {
  background-color: var(--texto-color-light);
  color: var(--first-color);
  padding: 0.5rem;
  border-radius: 50%;
  transition: all 0.3s ease;
}
footer .footer__links-link:nth-child(1) i:hover {
  background: #0e76a8;
  color: var(--texto-color-light);
}
footer .footer__links-link:nth-child(2) i:hover {
  color: var(--texto-color-light);
  background: #053eff;
}
footer .footer__links-link:nth-child(3) i:hover {
  color: var(--texto-color-light);
  background: #25d366;
}

/* scrollup */

.scrollup {
  position: fixed;
  background-color: var(--first-color-alt);
  right: 1.5rem;
  bottom: -10%;
  display: inline-flex;
  padding: 0.3rem;
  border-radius: 50%;
  z-index: var(--z-tooltip);
  opacity: 0.8;
  transition: all 0.3s ease;
}
.scrollup:hover {
  opacity: 1;
}
.scrollup__icon {
  font-size: 1.25rem;
  color: var(--texto-color-light);
}
.show-scroll {
  bottom: 3rem;
}

/*============== medias querys ===============*/
/* small devices */

@media screen and (max-width: 320px) {
  .container {
    margin-left: var(--mb-0-1);
    margin-right: var(--mb-0-1);
  }
  .home__img {
    max-width: 200px;
  }
}
/* medium devices */

@media screen and (min-width: 576px) {
  footer {
    padding: 50% 0 50px 0;
  }
}

@media screen and (min-width: 767px) {
  body {
    margin: 0;
  }
  .section {
    padding: 7rem 0 2rem;
  }
  .nav {
    height: calc(var(--header-height) + 1.5rem);
  }
  .nav__close,
  .nav__toggle {
    display: none;
  }
  .nav__list {
    flex-direction: row;
    column-gap: 3rem;
  }
  .nav__link {
    font-size: 13px;
  }
  .nav__toggle,
  .nav__close {
    display: none;
  }
  .button--ghost {
    padding: 6px 15px;
    border: solid 1, 3px;
  }
  .home__content {
    padding: 8rem 0 2rem;
  }
  .home__img {
    width: 60%;
    max-width: 600px;
  }
  .home__data {
    width: 40%;
  }
  footer {
    padding: 40% 0 50px 0;
  }
}

@media screen and (min-width: 992px) {
  .nav__logo-img {
    width: 2rem;
  }
  .nav__logo-text {
    font-size: 1.2rem;
    letter-spacing: 0.03rem;
  }
  .container {
    margin-left: auto;
    margin-right: auto;
    padding: 0px var(--mb-1-5);
  }
  .section__title {
    font-size: var(--h1-font-size);
  }
  #programming .bannerskill img {
    filter: grayscale(100%);
    opacity: 0.5;
  }
  #programming .bannerskill img:hover {
    transition: all 0.3s ease !important;
    transform: translateY(-0.5rem) !important;
    filter: grayscale(0%);
    opacity: 1 !important;
  }
  #programming .bannerskill img:nth-child(2),
  #programming .bannerskill img:nth-child(4) {
    margin-top: 25px;
  }
  #programming .bannerskill img:nth-child(3) {
    margin-top: 50px;
  }
  #software .bannerskill img {
    filter: grayscale(100%);
    opacity: 0.5;
  }
  #software .bannerskill img:hover {
    transition: all 0.3s ease !important;
    transform: translateY(-0.5rem) !important;
    filter: grayscale(0%);
    opacity: 1 !important;
  }
  #software .bannerskill img:nth-child(2),
  #software .bannerskill img:nth-child(4) {
    margin-top: 25px;
  }
  #software .bannerskill img:nth-child(3) {
    margin-top: 50px;
  }
  .work__content {
    padding: 0;
    margin-bottom: 3rem;
    text-align: start;
    align-items: center;
    justify-content: space-around;
  }
  .reverse {
    flex-direction: row-reverse;
  }
  .row {
    flex-direction: row;
  }
  .work__img {
    width: 50%;
    padding: 7rem 0;
  }
  .work__img2 {
    width: 50%;
    padding: 7rem 0;
  }
  .work__data {
    padding: 0 0;
    width: 50%;
  }
  .work__title {
    font-size: var(--biggest-font-size);
    padding: 0 3rem;
  }
  .work__description {
    font-size: var(--font-medium);
    margin-bottom: 5rem;
    padding: 0 3rem;
  }
  .work__button {
    margin: 0 3rem;
    margin-bottom: var(--mb-0-75);
    width: fit-content;
    display: block;
  }
  #contact form .name-mail {
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    justify-content: space-between;
  }
  #contact .doble-field {
    width: 48%;
  }
  #contact form textarea {
    height: 100px;
  }
  footer {
    padding: 35% 0 100px 0;
  }
  footer .footer__title {
    font-size: var(--biggest-font-size);
  }
}
@media screen and (min-width: 1200px) {
  .home__content {
    height: 80vh;
    margin: 0;
    padding: 0;
    margin-top: 100px;
  }
  .home__img {
    margin: 0;
  }
  .home__title {
    font-size: 3.2rem;
  }
  .home__subtitle {
    font-size: 1.5rem;
  }
}

/* modal  */
.modal-bg {
  position: fixed;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.6);
  z-index: 100;
  transition: all 1s ease;
  padding: 0rem 1rem;
}
.modal-ft,
.modal-austral,
.modal-bertuko {
  display: none;
  opacity: 0;
}
.modal {
  width: 90%;
  max-width: 850px;
  position: absolute;
  z-index: 200;
  background-color: var(--header-color);
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  border-radius: 20px;
  overflow: hidden;
  opacity: 0;
  transition: all 1s ease;
}
.modal img {
  width: 100%;
}
.modal .header-modal {
  width: 100%;
  padding: 1rem;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  background-color: var(--header-color);
  border-bottom: solid 1px var(--border-color);
}
.modal .header-modal i {
  color: var(--first-color);
  font-size: var(--biggest-font-size);
  transition: all 0.3s ease;
  cursor: pointer;
}
.modal .header-modal i:hover {
  color: var(--first-color-alt);
}
.swiper-button-next:after,
.swiper-button-prev:after {
  font-size: 25px !important;
  font-weight: 800;
  color: var(--first-color);
  transition: all 0.3s ease;
}
.swiper-button-next:hover:after {
  color: var(--first-color-alt);
  transform: scale(1.2);
}
.swiper-button-prev:hover:after {
  color: var(--first-color-alt);
  transform: scale(1.2);
}
