/*=============== GOOGLE FONTS ===============*/

/*=============== VARIABLES CSS ===============*/
:root {
  /*========== Colors ==========*/
  --hue: 328;
  --first-color: hsl(var(--hue), 100%, 66%);
  --first-color-alt: hsl(var(--hue), 100%, 56%);
  --first-color-alt-2: hsl(var(--hue), 96%, 48%);
  --first-color-light: hsl(var(--hue), 100%, 82%);
  --title-color: hsl(240, 12%, 97%);
  --text-color: hsl(320, 22%, 80%);
  --text-color-light: hsl(321, 18%, 56%);
  --body-color: hsl(320, 52%, 3%);
  --container-color: hsl(322, 34%, 6%);
  --cursor: hsl(var(--hue), 100%, 68%);
  --header-border: hsla(var(--hue), 100%, 74%, 0.22);
  --bg-dark-opacity: 1;
  --bg-light-opacity: 0;
  --bg-dark-surface: hsl(320, 52%, 3%);
  --bg-light-surface: hsl(328, 100%, 98%);
  --bg-light-surface-2: hsl(328, 76%, 95%);
  --home-ballpit-tint-1: rgba(255, 0, 123, 0.22);
  --home-ballpit-tint-2: rgba(244, 60, 158, 0.2);
  --home-ballpit-gloss: rgba(255, 255, 255, 0.08);

  /*========== Liquid glass ==========*/
  --lg-tint: hsla(324, 55%, 20%, 0.15);
  --lg-tint-2: hsla(324, 50%, 8%, 0.045);
  --lg-highlight: hsla(0, 0%, 100%, 0.65);
  --lg-highlight-soft: hsla(0, 0%, 100%, 0.14);
  --lg-shadow: hsla(320, 80%, 2%, 0.55);
  --lg-edge: hsla(var(--hue), 100%, 72%, 0.38);
  --lg-rim: hsla(0, 0%, 100%, 0.6);
  --lg-rim-2: hsla(var(--hue), 100%, 86%, 0.32);
  --lg-rim-glow: hsla(var(--hue), 100%, 82%, 0.14);
  --lg-occlusion: hsla(320, 80%, 2%, 0.42);
  --lg-drop: hsla(320, 80%, 2%, 0.5);
  --lg-blur: 4px;
  --lg-saturate: 1.6;

  /*========== Font and typography ==========*/
  --body-font: "Montserrat", sans-serif;
  --second-font: "Unbounded", sans-serif;
  --biggest-font-size: 2rem;
  --bigger-font-size: 1.75rem;
  --h1-font-size: 1.5rem;
  --h2-font-size: 1.25rem;
  --h3-font-size: 1rem;
  --normal-font-size: .938rem;
  --small-font-size: .813rem;
  --smaller-font-size: .75rem;

  /*========== Font weight ==========*/
  --font-regular: 400;
  --font-medium: 500;
  --font-semi-bold: 600;

  /*========== z index ==========*/
  --z-fixed: 100;

  /*========== Rubber easing (iOS-like) ==========*/
  --rubber: cubic-bezier(.34, 1.56, .64, 1);
  --rubber-strong: cubic-bezier(.18, 1.78, .38, 1);
  --rubber-soft: cubic-bezier(.32, 1.24, .5, 1);
}

@supports (transition-timing-function: linear(0, 1)) {
  :root {
    --rubber: linear(0, 0.047, 0.169, 0.341, 0.537, 0.735, 0.916, 1.067, 1.181, 1.256, 1.292, 1.295, 1.271, 1.227, 1.172, 1.113, 1.055, 1.005, 0.964, 0.935, 0.918, 0.912, 0.914, 0.924, 0.939, 0.956, 0.974, 0.99, 1.004, 1.015, 1.022, 1.026, 1.026, 1.024, 1.021, 1.016, 1.011, 1.006, 1.001, 0.997, 0.995, 0.993, 0.992, 0.992, 0.993, 0.994, 0.996, 0.997, 1);
    --rubber-strong: linear(0, 0.077, 0.274, 0.538, 0.816, 1.064, 1.252, 1.365, 1.4, 1.369, 1.29, 1.185, 1.073, 0.974, 0.899, 0.854, 0.84, 0.852, 0.884, 0.926, 0.971, 1.011, 1.041, 1.058, 1.064, 1.059, 1.046, 1.029, 1.012, 0.996, 0.984, 0.977, 0.974, 0.976, 0.981, 0.988, 0.995, 1.002, 1.007, 1.009, 1.01, 1.009, 1.007, 1.005, 1.002, 0.999, 0.997, 0.996, 1);
    --rubber-soft: linear(0, 0.02, 0.074, 0.152, 0.248, 0.353, 0.461, 0.568, 0.67, 0.763, 0.847, 0.92, 0.98, 1.029, 1.067, 1.095, 1.113, 1.123, 1.126, 1.124, 1.117, 1.108, 1.096, 1.083, 1.069, 1.055, 1.042, 1.031, 1.02, 1.011, 1.003, 0.997, 0.992, 0.988, 0.986, 0.985, 0.984, 0.984, 0.985, 0.986, 0.988, 0.989, 0.991, 0.993, 0.995, 0.996, 0.997, 0.999, 1);
  }
}

.light-theme {
  --title-color: hsl(323, 46%, 10%);
  --text-color: hsl(322, 26%, 30%);
  --text-color-light: hsl(322, 18%, 46%);
  --body-color: hsl(328, 100%, 98%);
  --container-color: hsl(325, 100%, 95%);
  --first-color: hsl(var(--hue), 100%, 54%);
  --first-color-alt: hsl(var(--hue), 100%, 46%);
  --first-color-alt-2: hsl(var(--hue), 96%, 40%);
  --first-color-light: hsl(var(--hue), 92%, 88%);
  --cursor: hsl(135, 100%, 12%);
  --header-border: hsla(var(--hue), 90%, 52%, 0.22);
  --bg-dark-opacity: 0;
  --bg-light-opacity: 1;
  --home-ballpit-tint-1: rgba(255, 130, 190, 0.16);
  --home-ballpit-tint-2: rgba(244, 60, 158, 0.14);
  --home-ballpit-gloss: rgba(255, 255, 255, 0.32);

  /*========== Liquid glass (light) ==========*/
  --lg-tint: hsla(328, 100%, 92%, 0.28);
  --lg-tint-2: hsla(328, 100%, 99%, 0.1);
  --lg-highlight: hsla(0, 0%, 100%, 0.9);
  --lg-highlight-soft: hsla(0, 0%, 100%, 0.5);
  --lg-shadow: hsla(320, 60%, 46%, 0.12);
  --lg-edge: hsla(var(--hue), 90%, 54%, 0.42);
  --lg-rim: hsla(0, 0%, 100%, 0.95);
  --lg-rim-2: hsla(0, 0%, 100%, 0.7);
  --lg-rim-glow: hsla(0, 0%, 100%, 0.6);
  --lg-occlusion: hsla(var(--hue), 80%, 50%, 0.1);
  --lg-drop: hsla(var(--hue), 70%, 40%, 0.16);
}

#theme-toggle:hover {
  color: var(--first-color);
}

#theme-toggle i {
  pointer-events: none;
}

@media (pointer: coarse) {
    .cursor {
        display: none !important;
    }
}

/*========== Responsive typography ==========*/
@media screen and (min-width: 1150px) {
  :root {
    --biggest-font-size: 3rem;
    --bigger-font-size: 2rem;
    --h1-font-size: 2.25rem;
    --h2-font-size: 1.5rem;
    --h3-font-size: 1.25rem;
    --normal-font-size: 1rem;
    --small-font-size: .875rem;
    --smaller-font-size: .813rem;
  }
}

/*=============== BASE ===============*/
* {
  box-sizing: border-box;
  padding: 0;
  margin: 0;
}

html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .cursor {
    display: none !important;
  }
  .blob-animate,
  .sb-counter.counter-booting {
    animation: none !important;
  }
  .digit {
    transition: none !important;
  }
}

body,
button {
  font-family: var(--body-font);
  font-size: var(--normal-font-size);
}

body,
.header,
.nav,
.nav__link,
.container {
  transition: background-color 0.4s ease, color 0.4s ease, border-color 0.4s ease;
}

body {
  background-color: var(--body-color);
  color: var(--text-color);
  -webkit-user-select: none;
  user-select: none;
}

@media (prefers-reduced-motion: no-preference) {
  .js body.preload :is(
    .home__image, .home__data, .home__info, .home__social, .home__cv,
    .about__data, .about__image, .projects__container, .services__card,
    .testimonials__container, .contact__container, .footer,
    :is(.projects, .services, .testimonials) .section__title
  ) {
    visibility: hidden;
  }
}

input,
textarea {
  -webkit-user-select: text;
  user-select: text;
}

.bg-ambient{
  position: fixed;
  inset: 0;
  height: 100vh;
  height: 100dvh;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.bg-ambient::before,
.bg-ambient::after{
  content: "";
  position: absolute;
  inset: 0;
  transition: opacity 0.45s ease;
}

.bg-ambient::before{
  opacity: var(--bg-dark-opacity);
  background: var(--bg-dark-surface);
}

.bg-ambient::after{
  opacity: var(--bg-light-opacity);
  background: linear-gradient(180deg, var(--bg-light-surface) 0%, var(--bg-light-surface-2) 60%, var(--bg-light-surface) 100%);
}

button {
  outline: none;
  border: none;
}

:where(a, button):focus-visible {
  outline: 2px solid hsla(var(--hue), 100%, 64%, 0.7);
  outline-offset: 3px;
  border-radius: 12px;
}

.theme-transition,
.theme-transition *:not(.projects__card):not(.services__card):not(.services__skill):not(.sb-counter):not(.header):not(.button){
  transition:
    background-color 0.45s ease,
    color 0.45s ease,
    border-color 0.45s ease,
    box-shadow 0.45s ease,
    opacity 0.45s ease,
    filter 0.45s ease;
}

h1, h2, h3, h4 {
  color: var(--title-color);
  font-family: var(--second-font);
  font-weight: var(--font-semi-bold);
}

ul {
  list-style: none;
}

a {
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
  -webkit-touch-callout: none;
  -webkit-user-drag: none;
  user-select: none;
  pointer-events: none;
}

/*=============== REUSABLE CSS CLASSES ===============*/
.container {
  max-width: 1320px;
  margin-inline: 1.5rem;
}

.grid {
  display: grid;
  gap: 1.5rem;
}

.section {
  padding-block: 5rem 1rem;
}

.section__title {
  text-align: center;
  font-size: var(--h1-font-size);
  margin-bottom: 3rem;
}

.section__title span {
  color: var(--first-color);
}

.main {
  overflow: hidden;
  position: relative;
  z-index: 1;
}

/*=============== BLOB ===============*/
.blob-animate {
  width: 100px;
  height: 100px;
  background: conic-gradient(
    from 180deg,
    var(--first-color) 0%,
    var(--first-color-alt) 25%,
    var(--first-color-light) 55%,
    var(--first-color) 100%
  );
  border-radius: 42% 58% 63% 37% / 45% 40% 60% 55%;
  position: absolute;
  opacity: .95;
  filter: blur(55px) saturate(1.35);
  z-index: -1;
  animation: blobMorphSpin 12s ease-in-out infinite;
}

@keyframes blobMorphSpin {
  50% {
    transform: rotate(180deg) scale(1.08);
  }
  100% {
    transform: rotate(360deg);
  }
}
.blob{
  width: 250px;
  height: 250px;
  background: linear-gradient(180deg,
              var(--first-color-alt) 0%,
              var(--first-color-light) 100%);
              border-radius: 50%;
              filter: blur(50px);
              position: absolute;
              z-index: -1;
}

/*=============== CUSTOM CURSOR ===============*/
.cursor{
  position: fixed;
  left: 0;
  top: 0;
  z-index: 999999;
  width: 40px;
  height: 40px;
  background-color: var(--cursor);
  border-radius: 50%;
  mix-blend-mode: difference;
  pointer-events: none;
  opacity: 0;
  transition:
      opacity .18s ease,
      width .3s ease,
      height .3s ease,
      border-radius .6s ease;
  will-change: transform, opacity;
  contain: layout style paint;

  box-shadow: 0 0 24px var(--cursor);
}

.cursor-ready{
  opacity: 1;
}

.hide-cursor{
  opacity: 0;
}

/*=============== LIQUID GLASS SYSTEM ===============*/
.header,
.button,
.sb-counter,
.projects__card,
.services__card,
.services__skill,
.services__button {
  --lg-rim-size: 1px;
  --lg-depth: 14px;
  --lg-edge-shadow:
    inset var(--lg-rim-size) var(--lg-rim-size) 1px 0 var(--lg-rim),
    inset calc(var(--lg-rim-size) * -1) calc(var(--lg-rim-size) * -1) 1px 0 var(--lg-rim-2),
    inset 0 0 calc(var(--lg-depth) / 3) calc(var(--lg-depth) / 14) var(--lg-rim-glow),
    inset 0 0 var(--lg-depth) calc(var(--lg-depth) / 8) var(--lg-occlusion);
}

.header,
.button {
  --lg-depth: 10px;
}

.services__skill,
.services__button {
  --lg-depth: 6px;
}

.header::before,
.video-wrapper::before,
.projects__card::before,
.services__card::before,
.services__skill::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  border-radius: inherit;
  background: radial-gradient(120% 70% at 14% -15%, var(--lg-highlight-soft) 0%, transparent 55%);
  opacity: .7;
  pointer-events: none;
}

.header::after,
.sb-counter::after,
.video-wrapper::after,
.projects__card::after,
.services__card::after,
.services__skill::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  border-radius: inherit;
  background: radial-gradient(90% 60% at 108% 118%, var(--lg-shadow) 0%, transparent 60%);
  opacity: .6;
  pointer-events: none;
}

/*=============== HEADER & NAV ===============*/

.header {
  width: fit-content;
  max-width: calc(100% - 2rem);
  position: fixed;
  top: 1rem;
  left: 0;
  right: 0;
  margin-inline: auto;
  isolation: isolate;
  overflow: hidden;
  -webkit-mask-image: -webkit-radial-gradient(white, black);
  mask-image: radial-gradient(white, black);
  background: linear-gradient(150deg, var(--lg-tint) 0%, var(--lg-tint-2) 100%);
  -webkit-backdrop-filter: blur(calc(var(--lg-blur) * .55)) saturate(var(--lg-saturate));
  backdrop-filter: blur(calc(var(--lg-blur) * .55)) saturate(var(--lg-saturate)) var(--lg-glass,);
  border-radius: 3rem;
  border: 1px solid var(--header-border);
  box-shadow: var(--lg-edge-shadow);
  z-index: var(--z-fixed);
  transition: max-width .6s var(--rubber-soft), box-shadow .4s ease;
}

.header .blob-animate {
  top: -1rem;
  left: -1rem;
  z-index: -1;
}

.nav {
  display: flex;
  align-items: center;
  column-gap: 1.5rem;
  padding: .55rem 1rem .55rem 1.35rem;
}

.nav__logo {
  font-family: var(--second-font);
  font-weight: var(--font-semi-bold);
  color: var(--title-color);
  font-size: var(--small-font-size);
  white-space: nowrap;
  transition: color .4s, transform .5s var(--rubber);
}

.nav__logo:hover {
  color: var(--first-color);
  transform: translateY(-1px) scale(1.04);
}

.nav__menu {
  display: flex;
}

.nav__list {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  row-gap: .3rem;
  column-gap: .35rem;
}

.nav__list li {
  display: flex;
}

.nav__link {
    display: flex;
    align-items: center;
    column-gap: .4rem;
    color: var(--title-color);
    font: var(--font-semi-bold) var(--small-font-size) var(--second-font);
    white-space: nowrap;
    padding: .5rem .85rem;
    border-radius: 2rem;
    transition: color .3s, text-shadow .3s, transform .28s var(--rubber), background-color .3s;
  }

@media (hover: hover) and (pointer: fine) {
  .nav__link {
    will-change: transform;
  }
}

.nav__link-icon {
  display: none;
  font-size: 1.1rem;
  line-height: 1;
  font-weight: 400;
}

.nav__link--button{
  background: none;
  cursor: pointer;
  padding: .5rem .7rem;
  font-weight: 400;
}

.nav__link:hover,
.nav__link:focus-visible {
    color: var(--first-color);
    background: hsla(var(--hue), 100%, 70%, 0.12);
    text-shadow: 0 8px 16px hsla(var(--hue), 100%, 64%, 0.5);
    transform: scale(1.12);
}
.active-link{
    color: var(--first-color);
    background: hsla(var(--hue), 100%, 70%, 0.14);
    text-shadow: 0 8px 16px hsla(var(--hue), 100%, 64%, 0.5);
}

@media (max-width: 560px) {
  .header {
    top: auto;
    bottom: calc(.85rem + env(safe-area-inset-bottom, 0px));
    width: fit-content;
    max-width: calc(100% - 1.5rem);
  }
  .home {
    min-height: 100vh;
    min-height: 100dvh;
  }
  .nav {
    flex-direction: row;
    align-items: center;
    justify-content: center;
    column-gap: .4rem;
    padding: .5rem;
  }
  .nav__logo {
    display: none;
  }
  .nav__list {
    flex-wrap: nowrap;
    column-gap: .3rem;
  }
  .nav__link {
    flex-direction: column;
    justify-content: center;
    width: 48px;
    height: 48px;
    padding: 0;
    border-radius: 1.15rem;
  }
  .nav__link-icon {
    display: block;
    font-size: 1.3rem;
  }
  .nav__link--button i {
    font-size: 1.3rem;
  }
  .nav__link-text {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
  }
  .nav__link:hover,
  .nav__link:focus-visible {
    transform: scale(1.08);
  }

  .footer {
    padding-bottom: 6.5rem;
  }
}

/*=============== HOME ===============*/

.home {
  position: relative;
  isolation: isolate;
}

.home__ballpit {
  position: fixed;
  inset: 0;
  height: 100vh;
  height: 100dvh;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.home__ballpit::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(460px circle at 50% 8%, rgba(255, 255, 255, 0.08) 0%, transparent 62%),
    radial-gradient(580px circle at 18% 18%, var(--home-ballpit-tint-1) 0%, transparent 58%),
    radial-gradient(620px circle at 82% 14%, var(--home-ballpit-tint-2) 0%, transparent 54%),
    linear-gradient(180deg, var(--home-ballpit-gloss) 0%, transparent 24%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.04) 0%, transparent 28%, transparent 72%, rgba(255, 170, 210, 0.08) 100%);
  z-index: 1;
}

.home__ballpit-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  opacity: .92;
}

.home__container {
  position: relative;
  z-index: 3;
  padding-top: 4rem;
  row-gap: 3rem;
}

.home__greeting {
  font-size: var(--h2-font-size);
  font-weight: var(--font-regular);
  color: var(--first-color);
}

.home__name {
  font-size: var(--biggest-font-size);
}

.home__image-wrap {
  position: relative;
  display: grid;
  place-items: center;
  overflow: visible;
}

.home__image {
  position: relative;
  display: grid;
  place-items: center;
  overflow: visible;
  isolation: isolate;
}

.home__image-wrap .blob-animate{
  width: 250px;
  height: 250px;
  bottom: 0;
  justify-self: center;
  background:
    radial-gradient(circle at 30% 30%, hsla(var(--hue), 100%, 64%, 0.95) 110%, transparent 55%),
    radial-gradient(circle at 70% 35%, hsla(var(--hue), 80%, 56%, 0.70) 110%, transparent 58%),
    radial-gradient(circle at 50% 75%, hsla(var(--hue), 60%, 74%, 0.55) 110%, transparent 62%);
  border-radius: 42% 58% 63% 37% / 45% 40% 60% 55%;
  opacity: .9;
  filter: blur(70px) saturate(1.35);
  animation: heroBlobSpin 18s linear infinite;
  will-change: transform;
  transform: translate3d(0,0,0);
  transform-origin: 50% 50%;
  backface-visibility: hidden;
  contain: paint;
  pointer-events: none;
}

@keyframes heroBlobSpin{
  to{
    transform: translate3d(0,0,0) rotate(360deg);
  }
}

.perfil-box {
    position: relative;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: fit-content;
    text-decoration: none;
    color: inherit;

    z-index: 50;
}

.home__perfil {
    width: 320px;
    display: block;
    filter:
      drop-shadow(0 18px 42px hsla(var(--hue), 100%, 82%, 0.18))
      drop-shadow(0 8px 18px rgba(0, 0, 0, 0.18));
    z-index: 51;
}

.home__info, .home__social, .home__cv {
  position: absolute;
}

.home__info {
  z-index: 2;
  bottom: -1rem;
  justify-self: center;
}

.home__split {
  font-size: var(--h3-font-size);
  font-weight: var(--font-regular);
  color: var(--first-color);
}

.home__proffesion-1, .home__proffesion-2 {
  font-size: var(--bigger-font-size);
  text-align: center;
  overflow: hidden;
}

.home__proffesion-1 {
  position: relative;
  color: var(--first-color);
  -webkit-mask-image: linear-gradient(to bottom, #000 0%, #000 60%, transparent 100%);
  mask-image: linear-gradient(to bottom, #000 0%, #000 60%, transparent 100%);
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-size: 100% 100%;
  mask-size: 100% 100%;
}

.home__proffesion-2 {
  transform: translateY(-1rem);
}

.home__social {
  z-index: 2;
  left: 0;
  align-self: center;
  display: flex;
  flex-direction: column;
  row-gap: .75rem;
}

.home__social-link {
  color: var(--title-color);
  font-size: 1.25rem;
  display: inline-flex;
  transition: transform .55s var(--rubber), color .4s;
}

.home__social-link:hover {
  color: var(--first-color);
  transform: translateX(.25rem) scale(1.18);
}

.home__social-link:active {
  transform: scale(.88);
  transition-duration: .18s;
}

.home__cv {
  z-index: 2;
  right: -2.5rem;
  bottom: 2.5rem;
  rotate: -90deg;
  color: var(--text-color-light);
  font: var(--font-medium) var(--small-font-size) var(--second-font);
  display: flex;
  align-items: center;
  column-gap: .5rem;
  transition: color .4s;
}

.home__cv i {
  font-size: 1rem;
}

.home__cv:hover {
  color: var(--first-color);
}

/*=============== BUTTON ===============*/
.button{
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: linear-gradient(150deg, var(--lg-tint) 0%, var(--lg-tint-2) 100%);
  -webkit-backdrop-filter: blur(calc(var(--lg-blur) * .6)) saturate(var(--lg-saturate));
  backdrop-filter: blur(calc(var(--lg-blur) * .6)) saturate(var(--lg-saturate)) var(--lg-glass,);
  border: 1px solid var(--first-color);
  color: var(--title-color);
  padding: 1rem 2rem;
  box-shadow: 0 8px 32px hsla(var(--hue), 60%, 64%, .5),
              inset 0 -8px 24px hsla(var(--hue), 76%, 40%, .35),
              var(--lg-edge-shadow);
  border-radius: 4rem;
  font-family: var(--second-font);
  font-weight: var(--font-semi-bold);
  display: inline-flex;
  align-items: center;
  column-gap: .5rem;
  transition: transform .6s var(--rubber-strong), box-shadow 0.35s ease;
}

.button::before {
  content: "";
  position: absolute;
  top: 0;
  left: -75%;
  width: 50%;
  height: 100%;
  background: linear-gradient(
    120deg,
    transparent,
    rgba(255, 255, 255, 0.6),
    transparent
  );
  transform: skewX(-25deg);
}

.button i {
  font-weight: initial;
  font-size: 1rem;
}

.button:hover {
  transform: scale(1.05);
  box-shadow: 0 8px 48px hsla(var(--hue), 60%, 64%, .7),
              inset 8px -8px 30px var(--first-color-alt-2),
              var(--lg-edge-shadow);
  transition-duration: .5s;
}

.button:active {
  transform: scale(.93);
  transition-duration: .18s;
}

.button:hover::before {
  animation: shine 0.8s forwards;
}

@keyframes shine {
  to {
    translate: 400% 0;
  }
}

.sb-counter {
  font-variant-numeric: tabular-nums;
  letter-spacing: 0;
  position: relative;
  isolation: isolate;
  display: flex;
  gap: .04em;
  font-family: var(--second-font);
  font-size: clamp(30px, 9.5vw, 184px);
  font-weight: 700;
  color: var(--first-color);

  line-height: 1;
  max-width: 100%;

  padding: .14em .12em;
  border-radius: 2rem;
  background: linear-gradient(150deg, var(--lg-tint) 0%, var(--lg-tint-2) 100%);
  -webkit-backdrop-filter: blur(calc(var(--lg-blur) * .3)) saturate(var(--lg-saturate));
  backdrop-filter: blur(calc(var(--lg-blur) * .3)) saturate(var(--lg-saturate)) var(--lg-glass,);
  border: 1px solid var(--lg-edge);
  box-shadow:
    0 16px 44px hsla(var(--hue), 100%, 64%, 0.10),
    var(--lg-edge-shadow);

  align-items: center;
  overflow: visible;
  contain: layout paint;
  transform: translateZ(0);
}

.sb-counter::before{
  content: "";
  position: absolute;
  inset: -0.45em;
  z-index: -1;
  background: radial-gradient(closest-side at 50% 50%,
    hsla(var(--hue), 100%, 64%, 0.20) 0%,
    hsla(var(--hue), 100%, 64%, 0.10) 35%,
    transparent 70%);
  opacity: .58;
  pointer-events: none;
}

.digit-wrapper {
  width: .80em;
  height: 1em;
  overflow: hidden;
  position: relative;
  contain: strict;
  transform: translateZ(0);
}

.digit {
  display: flex;
  flex-direction: column;
  will-change: transform;
  backface-visibility: hidden;
  font-weight: 900;
  line-height: 0.88;
  filter:
    drop-shadow(0 2px 1px rgba(255, 190, 224, 0.15))
    drop-shadow(0 5px 4px rgba(80, 0, 38, 0.30));
}

@media screen and (max-width: 700px) {
  .sb-counter {
    font-size: min(184px, calc((100vw - 2rem - 2px) / (var(--digits, 9) * .84 + .2)));
  }
}

.sb-counter.counter-booting {
  animation: counterPulse .85s ease-in-out infinite alternate;
}

.sb-counter.is-loading {
  min-height: 1.28em;
  justify-content: center;
  padding-inline: .22em;
}

.sb-counter.is-error {
  color: hsl(0, 86%, 68%);
  border-color: hsla(0, 86%, 68%, 0.28);
  box-shadow:
    0 18px 56px hsla(0, 86%, 58%, 0.12),
    inset 0 1px 0 hsla(0, 0%, 100%, 0.06);
}

.sb-counter__loading {
  display: inline-flex;
  align-items: center;
  gap: .18em;
  font-size: clamp(18px, 3vw, 34px);
  line-height: 1.1;
  text-transform: uppercase;
  letter-spacing: .06em;
}

.sb-counter.is-error .sb-counter__loading {
  font-size: clamp(14px, 2.4vw, 28px);
  text-align: center;
}

.sb-counter__loading-text {
  opacity: .94;
}

.sb-counter__loading-dots {
  display: inline-flex;
  align-items: center;
  gap: .12em;
}

.sb-counter__loading-dots span {
  width: .24em;
  height: .24em;
  border-radius: 50%;
  background: currentColor;
  opacity: .28;
  animation: counterLoadingDot 1.2s ease-in-out infinite;
}

.sb-counter__loading-dots span:nth-child(2) {
  animation-delay: .16s;
}

.sb-counter__loading-dots span:nth-child(3) {
  animation-delay: .32s;
}

@keyframes counterPulse {
  from {
    box-shadow:
      0 18px 60px hsla(var(--hue), 100%, 64%, 0.14),
      inset 0 1px 0 hsla(0, 0%, 100%, 0.06);
    border-color: hsla(var(--hue), 100%, 64%, 0.16);
  }
  to {
    box-shadow:
      0 22px 80px hsla(var(--hue), 100%, 64%, 0.22),
      inset 0 1px 0 hsla(0, 0%, 100%, 0.08);
    border-color: hsla(var(--hue), 100%, 64%, 0.28);
  }
}

@keyframes counterLoadingDot {
  0%, 80%, 100% {
    opacity: .24;
    transform: translateY(0) scale(.9);
  }
  40% {
    opacity: 1;
    transform: translateY(-0.08em) scale(1.08);
  }
}

.digit span {
  height: 1em;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;

  background:
    linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.30) 0%,
      rgba(255, 255, 255, 0.10) 18%,
      rgba(255, 255, 255, 0) 42%
    ),
    linear-gradient(
      180deg,
      #ffffff 0%,
      #ffc6e3 22%,
      #ffa8d2 52%,
      #fa8bc2 76%,
      #ed74b1 100%
    );

  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.light-theme .digit span {
  background:
    linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.18) 0%,
      transparent 35%
    ),
    linear-gradient(
      180deg,
      #d83282 0%,
      #bd216c 48%,
      #94184f 100%
    );

  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.light-theme .digit {
  filter:
    drop-shadow(0 2px 1px rgba(255, 255, 255, 0.16))
    drop-shadow(0 3px 3px rgba(80, 0, 38, 0.16));
}

/*=============== ABOUT ===============*/
.about{
  position: relative;
}

.about__container{
  row-gap: 5rem;
  overflow-y: clip;
  overflow: visible;
}

.about__data .section__title{
  flex: 1;
  text-align: center;
}

.about__description{
  font-size: var(--h2-font-size);
  margin-bottom: 5rem;
  text-align: center;
  max-width: 62ch;
  margin-inline: auto;
}

.about__description b{
  color: var(--first-color);
  font-weight: var(--font-semi-bold);
}

.about__image{
  justify-self: center;
  overflow: visible;
  display: flex;
  flex-direction: column;
  align-items: center;
}

iframe {
  background-color: transparent;
  border: none;
  display: block;
}

.video-wrapper {
      position: relative;
      z-index: 3;
      width: 100%;
      max-width: 1200px;
      margin: 0 auto;
      padding-top: 56.25%;
      overflow: hidden;
      border-radius: 1.5rem;
      background: linear-gradient(150deg, var(--lg-tint) 0%, var(--lg-tint-2) 100%);
      border: 1px solid var(--lg-edge);
      box-shadow:
        0 10px 28px rgba(0,0,0,0.20),
        0 1px 0 0 var(--lg-highlight) inset,
        0 -1px 0 0 var(--lg-shadow) inset;
    }

    .video-wrapper iframe {
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      border: 0;
      opacity: 0;
      transition: opacity .25s ease;
    }

    .video-wrapper.is-playing iframe {
      opacity: 1;
    }

    .video-thumb {
      position: absolute;
      inset: 0;
      width: 100%;
      height: 100%;
      object-fit: cover;
      z-index: 1;
      pointer-events: none;
      transition: opacity .25s ease;
    }

    .video-play {
      position: absolute;
      top: 50%;
      left: 50%;
      transform: translate(-50%, -50%);
      z-index: 2;
      display: grid;
      place-items: center;
      width: 60px;
      height: 60px;
      border-radius: 50%;
      border: none;
      cursor: pointer;
      background: hsla(0, 0%, 0%, 0.55);
      color: hsl(0, 0%, 100%);
      font-size: 1.6rem;
      transition: transform .5s var(--rubber-strong), background-color .2s ease;
    }

    .video-play:hover,
    .video-play:focus-visible {
      transform: translate(-50%, -50%) scale(1.14);
      background-color: var(--first-color);
    }

    .video-play i {
      margin-left: .15rem;
    }

    .video-wrapper.is-playing .video-thumb,
    .video-wrapper.is-playing .video-play {
      opacity: 0;
      pointer-events: none;
    }

    .projects__swiper .video-wrapper iframe {
      pointer-events: auto;
    }

/*=============== PROJECTS ===============*/
.projects .section__title{
  text-align: initial;
  margin-left: 1.5rem;
}

.projects__card{
  position: relative;
  isolation: isolate;
  border: 1px solid var(--lg-edge);
  padding: 1.5rem;
  background: linear-gradient(150deg, var(--lg-tint) 0%, var(--lg-tint-2) 100%);
  -webkit-backdrop-filter: blur(var(--lg-blur)) saturate(var(--lg-saturate));
  backdrop-filter: blur(var(--lg-blur)) saturate(var(--lg-saturate)) var(--lg-glass,);
  box-shadow:
    0 18px 32px -14px var(--lg-drop),
    var(--lg-edge-shadow);
  border-radius: 3rem;
  overflow: hidden;
}

.projects__card::before {
  background: radial-gradient(120% 70% at 14% -15%, var(--lg-highlight) 0%, transparent 55%);
  opacity: .4;
}

.projects__card .blob {
  z-index: 0;
  right: -7.75rem;
  bottom: 0;
}

.projects__number, .projects__data{
  position: relative;
  z-index: 3;
}

.projects__number{
  display: flex;  
  align-items: center;
  justify-content: space-between ;
}

.projects__index{
  color: var(--title-color);
  font-family: var(--second-font);
  font-weight: var(--font-semi-bold);
  font-size: var(--biggest-font-size);
  line-height: 1.2;
}

.projects__number h3{
  font-weight: var(--font-regular);
  font-size: var(--h3-font-size);
}

.projects__data{
  margin-block: 2rem;
} 

.projects__subtitle{
  font-family: var(--second-font);
  font-size: var(--small-font-size);
  margin-bottom: .5rem;
}

.projects__description{
  font-size: var(--small-font-size);
} 

.projects__swiper {
  margin-inline: initial;
  padding-bottom: 2rem;
}

.projects__swiper .swiper-wrapper {
  align-items: flex-start;
}
.projects__swiper .swiper-slide {
  height: auto;
}

.projects .swiper-pagination-bullets {
  bottom: 0 !important;
}

.projects .swiper-pagination-bullet {
  background-color: var(--first-color);
  transition: opacity .4s;
}

/*=============== SERVICES ===============*/
.services__container{
  row-gap: 2rem;
  justify-content: center;
}

.services__card{
  position: relative;
  isolation: isolate;
  background: linear-gradient(150deg, var(--lg-tint) 0%, var(--lg-tint-2) 100%);
  -webkit-backdrop-filter: blur(calc(var(--lg-blur) * .55)) saturate(var(--lg-saturate));
  backdrop-filter: blur(calc(var(--lg-blur) * .55)) saturate(var(--lg-saturate)) var(--lg-glass,);
  border: 1px solid var(--lg-edge);
  box-shadow:
    0 18px 32px -14px var(--lg-drop),
    var(--lg-edge-shadow);
  padding: 2rem 1.5rem;
  border-radius: 3rem;
  display: grid;
  row-gap: 1.5rem;
  overflow: hidden;
}

.services__card .blob{
  z-index: 0;
  top: -7.75rem;
  left: -7.75em;
}

.services__card .blob-2{
  left: initial;
  right: -7.75rem;
}

.services__data, .services__info{
  position: relative;
  z-index: 1;
}

.services__title{
  font-size: var(--h2-font-size);
  margin-bottom: .5rem;
}

.services__subtitle{
  font-size: var(--small-font-size);
  font-weight: var(--font-regular);
  color: var(--text-color);
  margin-bottom: .5rem;
}

.services__skills{
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .5rem .25rem;
}

.services__skill{
  position: relative;
  isolation: isolate;
  background: linear-gradient(150deg, var(--lg-tint) 0%, var(--lg-tint-2) 100%);
  -webkit-backdrop-filter: blur(calc(var(--lg-blur) * .28)) saturate(var(--lg-saturate));
  backdrop-filter: blur(calc(var(--lg-blur) * .28)) saturate(var(--lg-saturate)) var(--lg-glass,);
  color: var(--title-color);
  border: 1px solid var(--lg-edge);
  box-shadow: var(--lg-edge-shadow);
  padding: 4px 10px;
  border-radius: 4rem;
  font-size: var(--smaller-font-size);
  font-family: var(--second-font);
}

.services__button{
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  background: linear-gradient(150deg, var(--lg-tint) 0%, var(--lg-tint-2) 100%);
  -webkit-backdrop-filter: blur(calc(var(--lg-blur) * .6)) saturate(var(--lg-saturate));
  backdrop-filter: blur(calc(var(--lg-blur) * .6)) saturate(var(--lg-saturate));
  border: 2px solid var(--first-color);
  color: var(--title-color);
  border-radius: .5rem;
  position: absolute;
  right: 1rem;
  bottom: 1rem;
  z-index: 2;
  cursor: pointer;
  box-shadow: var(--lg-edge-shadow);
}

.services__button i{
transition: rotate .6s var(--rubber-strong);
}

.services-close .services__info{
  height: 0;
  opacity: 0;
  overflow: hidden;
}

.services__info{
  transition: height .55s var(--rubber-soft), opacity .4s;
}

.services-open .services__button i{
  rotate: -180deg;
}

.light-theme .video-wrapper {
  box-shadow:
    0 12px 34px hsla(var(--hue), 90%, 56%, 0.10),
    0 1px 0 0 var(--lg-highlight) inset,
    0 -1px 0 0 var(--lg-shadow) inset;
}

/*=============== TESTIMONIALS ===============*/
.testimonials .section__title{
  text-align: initial;
  margin-left: 1.5rem;
}

.testimonials__container{
  position: relative;
  margin-inline: 0;
  overflow: hidden;
  --ratings-fade: 12%;
  -webkit-mask-image: linear-gradient(
    to right,
    transparent 0%,
    #000 var(--ratings-fade),
    #000 calc(100% - var(--ratings-fade)),
    transparent 100%
  );
  mask-image: linear-gradient(
    to right,
    transparent 0%,
    #000 var(--ratings-fade),
    #000 calc(100% - var(--ratings-fade)),
    transparent 100%
  );
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-size: 100% 100%;
  mask-size: 100% 100%;
}

.testimonials__card{
  position: relative;
  width: 320px;
  height: 170px;
  background-color: var(--container-color);
  padding: 1.5rem 1rem 2.5rem;
  margin-inline: 1rem;
  border-radius: 3rem;
  text-align: center;
  overflow: hidden;
}

.testimonials__card .blob{
  z-index: 0;
  left: 0;
  right: 0;
  margin-inline: auto;
  bottom: -12.5rem;
}

.testimonials__data{
  position: relative;
  z-index: 1;
}

.testimonials__img{
  width: 60px;
  border-radius: 50%;
  margin: 0 auto .5rem;
}

.testimonials__name{
  font-size: var(--normal-font-size);
  font-weight: var(--font-regular);
  margin-bottom: 1.5rem;
}

.testimonials__rating{
  display: flex;
  justify-content: center;
  align-items: center;
  column-gap: .5rem;
  margin-bottom: .5rem;
}

.testimonials__stars{
  display: flex;
  column-gap: .25rem;
}

.testimonials__stars i{
  font-size: 1rem;
  color: var(--title-color)
}

.testimonials__number{
  font-size: var(--h3-font-size);
}

.testimonials__content{
  display: flex;
  width: max-content;
  animation: scroll 18s linear infinite;
}

.testimonials__reverse{
  flex-direction: row-reverse;
  animation-direction: reverse;
  animation-delay: -1s;
}

.testimonials__content:hover{
  animation-play-state: paused;
}

@keyframes scroll {
  0%{
    transform: translateX(0);
  }
  100%{
    transform: translateX(-50%);
  }
}

/*=============== CONTACT ===============*/
.contact__container{
  row-gap: 4rem;
  padding-bottom: 2rem;
}

.contact .section__title{
  margin-bottom: 1rem;
}

.contact__data{
  text-align: center;
}

.contact__description{
  font-family: var(--second-font);
  margin-bottom: 1.5rem;
}
.contact__email{
  display: none;
}

.contact__button{
  cursor: pointer;
}

.contact__content{
  row-gap: 3rem;
}

.contact__info{
  row-gap: 1rem;
}

.contact__title{
  font-size: var(--h3-font-size);
  color: var(--first-color);
  text-align: center;
  margin-bottom: .5rem;
}

.contact__address{
  color: var(--title-color);
  font-style: normal;
  font-weight: var(--font-medium);
  text-align: center;
}

.contact__links{
  display: grid;
  grid-template-columns: max-content;
  justify-content: center;
  row-gap: .25rem;
}

.contact__link{
  color:  var(--title-color);
  font-weight: var(--font-medium);
  display: flex;
  justify-content: space-between;
  align-items: center;
  column-gap: .5rem;
  min-width: 0;
  overflow-wrap: anywhere;
  transition: transform .55s var(--rubber), color .4s;
}

.contact__link i{
  font-size: 1.5rem;
}

.contact__link:hover{
  transform: translateX(.35rem);
  color: var(--text-color);
}

/*=============== FOOTER ===============*/
.footer{
  position: relative;
  z-index: 1;
  padding-block: 4rem 2rem;
  text-align: center;
  row-gap: 1rem;
  overflow: hidden;
}

.footer .blob-animate{
  right: -3rem;
  bottom: -3rem;
}

.footer__copy{
  color: var(--title-color);
}

.footer__copy span{
  color: var(--first-color);
}

.footer__year span{
  font-family: var(--second-font);
}

/*=============== SCROLL BAR ===============*/
::-webkit-scrollbar{
  width: .6rem;
  background-color: hsl(322, 40%, 3%);
  border-radius: .5rem;
}

::-webkit-scrollbar-thumb{
  background-color: hsl(var(--hue), 60%, 30%);
  border-radius: .5rem;
}

::-webkit-scrollbar-thumb:hover{
  background-color: hsl(var(--hue), 70%, 38%);
}

/*=============== RUBBER MOTION (iOS-like) ===============*/

@keyframes rubberDrop {
  from {
    transform: translateY(-140%);
  }
  to {
    transform: translateY(0);
  }
}

@keyframes rubberRise {
  from {
    transform: translateY(140%);
  }
  to {
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: no-preference) {
  .header {
    animation: rubberDrop .95s var(--rubber) .1s backwards;
  }

  @media (max-width: 560px) {
    .header {
      animation-name: rubberRise;
    }
  }
}

.projects__card,
.services__card {
  transition:
    box-shadow .5s var(--rubber-soft),
    border-color .4s ease;
}

.testimonials__card {
  transition:
    filter .5s var(--rubber-soft),
    border-color .4s ease;
}

.projects__card:hover,
.services__card:hover {
  box-shadow:
    0 26px 44px -14px var(--lg-drop),
    var(--lg-edge-shadow);
  border-color: hsla(var(--hue), 100%, 72%, 0.62);
}

.testimonials__card:hover {
  filter: drop-shadow(0 26px 44px hsla(var(--hue), 72%, 18%, 0.55));
  border-color: hsla(var(--hue), 100%, 72%, 0.62);
}

.services__skill {
  transition: transform .55s var(--rubber-strong);
}

.services__skill:hover {
  transform: scale(1.12);
}

.services__skill:active {
  transform: scale(.94);
  transition-duration: .18s;
}

.services__button,
#theme-toggle {
  transition: transform .55s var(--rubber-strong), color .3s ease;
}

.services__button:hover,
#theme-toggle:hover {
  transform: scale(1.12);
}

.services__button:active,
#theme-toggle:active {
  transform: scale(.88);
  transition-duration: .18s;
}

.home__cv {
  transition: color .4s, transform .55s var(--rubber);
}

.home__cv:hover {
  transform: translateY(-2px) scale(1.04);
}

.home__cv:active,
.contact__link:active,
.nav__link:active,
.nav__logo:active {
  transform: scale(.94);
  transition-duration: .18s;
}

.projects .swiper-pagination-bullet {
  transition: opacity .4s, transform .5s var(--rubber-strong);
}

.projects .swiper-pagination-bullet-active {
  transform: scale(1.45);
}

/*=============== BREAKPOINTS ===============*/
@media screen and (min-width: 320px) {
  .container {
    margin-inline: 1rem;
  }
.blob,
.home__image-wrap .blob-animate {
    width: 220px;
    height: 220px;
  }

  .projects__card{
    padding-inline: 1rem;
  }
  .about__container,
  .services__container{
    grid-template-columns: minmax(0, 1fr);
  }
   .about__data, 
  .about__data .section__title{
    text-align: center;
  }
  .testimonials__card{
    width: 250px;
    padding-bottom: 2rem;
  }

  .testimonials__card{
    height: 140px;
  }
} 

@media screen and (min-width: 540px) {
  .home__container {
    width: 460px;
    margin-inline: auto;
  }
  .about__container,
  .services__container{
    grid-template-columns: minmax(0, 1fr);
  }

  .about__data,
  .about__data .section__title{
    text-align: center;
  }
  :is(.projects, .testimonials) .section__title{
    text-align: center;
    margin-left: 0;
  }

  .projects__card{
    width: 350px;
  }
}

@media screen and (min-width: 768px) {
  .home__container {
    width: 600px;
    margin-inline: auto;
  }

  .services__container{
    grid-template-columns: repeat(2, 350px);
    align-items: flex-start;
  }
}

@media screen and (min-width: 1150px) {
  .container {
    margin-inline: auto;
  }
  .section{
    padding-block: 5rem 2rem;
  }
  .section__title{
    margin-bottom: 4rem;
  }

  .blob{
    width: 300px;
    height: 300px;
  }

  .nav{
    align-items: center;
    column-gap: 2.25rem;
  }
  .nav__logo {
    align-self: initial;
  }

  .nav__list {
    flex-direction: row;
    column-gap: .5rem;
  }

  .home__container{
    width: initial;
    padding-top: 3rem;
  }
  .home__perfil {
    width: 600px;
  }
  .home__image-wrap .blob-animate {
    width: 450px;
    height: 450px;
    bottom: 2rem;
    filter: blur(70px) saturate(1.35);
  }
  .home__data {
    position: absolute;
    top: 12rem;
    left: 3rem;
    z-index: 2;
  }
  .home__info{
    top: 12rem;
    right: 1rem;
    bottom: initial;
  }
  .home__split {
    font-size: var(--h2-font-size);
  }
  .home__proffesion-1, .home__proffesion-2 {
    font-size: var(--biggest-font-size);
    text-align: initial;
  }
  .home__proffesion-2 {
    font-size: var(--biggest-font-size);
    transform: translateY(-1.5rem);
  }
  .home__social{
    bottom: 3rem;
    row-gap: 1.5rem;
  }
  .home__social-link {
    font-size: 1.5rem;
  } 
  .home__cv{
    font-size: var(--normal-font-size);
    rotate: 0deg;
    right: 0;
  }

  .about__container {
    align-items: center;
    column-gap: 5.5rem;
    padding-top: 2rem;
  }

  .about__data,
  .about__data .section__title{
    z-index: 2;
  }
  .about__description{
    margin-bottom: 5rem;
  }
  .projects{
    padding-block: 9rem 4rem;
  }

  .projects__swiper{
    padding-bottom: 4rem;
  }

  .projects__card{
    width: 420px;
    padding: 2.5rem;
    border-radius: 4rem;
  }

  .projects__subtitle, .projects__description{
    font-size: var(--normal-font-size)
  }

  .services__container{
    grid-template-columns: repeat(2, 455px);
    column-gap: 5rem;
  }

  .services__card{
    padding: 3rem 3rem 4rem 3rem;
    border-radius: 4rem;
    row-gap: 2rem;
  }
  .services__title{
    font-size: var(--h1-font-size);
    margin-bottom: 1rem;
  }

  .services__button{
    right: 2rem;
    bottom: 2rem;
  }

  .testimonials__container{
    row-gap: 2rem;
    --ratings-fade: 18%;
  }
  .testimonials__card{
    width: 370px;
    padding: 3rem 2rem;
    border-radius: 4rem;
    height: 170px;
  }

  .contact{
    padding-block: 9rem 4rem;
  }
  .contact__container{
    row-gap: 8rem;
  }
  .contact__description{
    font-size: var(--h2-font-size);
  }
  .contact__content{
    grid-template-columns: repeat(3, 1fr);
  }
  .contact__info{
    row-gap: 1.5rem;
    justify-self: flex-start;
  }
  .contact__write{
    justify-self: flex-end;
  }
  .contact__title{
    margin-bottom: .75rem;
  }
}

/*=============== PORTAFOLIO: TARJETAS FUERA DE PANTALLA ===============*/
.projects__card:not(.swiper-slide-visible):not(.swiper-slide-active):not(.is-playing) {
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
  content-visibility: auto;
  contain-intrinsic-size: auto 420px auto 560px;
}
