* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: sans-serif, "poppins", "roboto";
}

html {
  scroll-behavior: smooth;
}

:root {
  --bg-color: #081b29;
  --bg-color-second: #ededed;
  --bg-color-three: #bbc1c4;
  --text-color: #fff;
  --text-color: #fcf4f4;
  --text-color-2: #9a9c9e;
  --text-color-3: #4dbe0b;
  --main-color: #00abf0;
  --main-color-second: #00bcd4;
  --modal-color: linear-gradient(90deg, #fff, #ddd);
}

a {
  text-decoration: none;
}

.alert-green {
  padding: 5px;
  font-size: 14px;
  background: var(--text-color-3);
}

.alert-error {
  padding: 5px;
  font-size: 14px;
  background: red;
  color: var(--text-color);
  margin: 0 0 15px;
}

/***                    ***/
/***        MENU        ***/
/***                    ***/

.header {
  position: fixed;
  display: flex;
  background: transparent;
  height: 100px;
  width: 100%;
  top: 0;
  left: 0;
  z-index: 100;
  justify-content: space-between;
  align-items: center;
}

.logo {
  height: 100%;
  width: auto;
  margin-left: 100px;
  margin-bottom: 10px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.logo img {
  height: 100px;
  width: 100px;
}

.logo h1,
.logo h2 {
  color: var(--text-color-2);
  margin-left: 15px;
  font-family: Cambria, Cochin, Georgia, Times, "Times New Roman", serif;
}

.logo h1 {
  letter-spacing: 2px;
}

.logo h2 {
  font-size: 2.5rem;
  display: none;
}

#chk1 {
  display: none;
}

.nav-menu {
  display: none;
  font-size: 50px;
  margin-right: 50px;
}

.navbar {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-right: 100px;
}

.navbar li {
  list-style: none;
}

.navbar a {
  position: relative;
  font-size: 18px;
  font-weight: 700;
  margin-left: 25px;
  color: var(--text-color-2);
  transition: 0.3s;
  -webkit-transition: 0.3s;
  -moz-transition: 0.3s;
  -ms-transition: 0.3s;
  -o-transition: 0.3s;
  opacity: 0;
  animation: slideTop 0.5s ease forwards;
  -webkit-animation: slideTop 0.5s ease forwards;
  animation-delay: calc(0.1s * var(--i));
}

.navbar a:after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 2px;
  width: 100%;
  background: var(--main-color);
  transform-origin: right;
  transform: scaleX(0);
  -webkit-transform: scaleX(0);
  -moz-transform: scaleX(0);
  -ms-transform: scaleX(0);
  -o-transform: scaleX(0);
  transition: 0.4s ease-in-out;
  -webkit-transition: 0.4s ease-in-out;
  -moz-transition: 0.4s ease-in-out;
  -ms-transition: 0.4s ease-in-out;
  -o-transition: 0.4s ease-in-out;
}

.navbar a:hover,
.navbar a.active {
  color: var(--main-color);
}

.navbar a:hover:after {
  transform-origin: left;
  transform: scaleX(1);
  -webkit-transform: scaleX(1);
  -moz-transform: scaleX(1);
  -ms-transform: scaleX(1);
  -o-transform: scaleX(1);
}

.modal__on {
  display: none;
}

.nav-menu {
  color: var(--text-color-2);
}

/***                    ***/
/***        BANNER      ***/
/***                    ***/

section {
  padding: 100px;
}

.banner {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
  background: radial-gradient(circle at 20% 20%, #0f2027, #05080f 60%);
}

.bg-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(0, 200, 255, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 200, 255, 0.08) 1px, transparent 1px);
  background-size: 60px 60px;
  animation: gridMove 8s linear infinite;
  -webkit-animation: gridMove 8s linear infinite;
}

.glow {
  position: absolute;
  width: 120%;
  height: 120%;
  border-radius: 50%;
  background:
    radial-gradient(
      circle at 30% 30%,
      rgba(0, 200, 255, 0.719),
      transparent 50%
    ),
    radial-gradient(circle at 70% 70%, rgba(0, 114, 255, 0.3), transparent 50%);
  filter: blur(60px);
  animation: rotateGlow 18s linear infinite;
  z-index: 0;
}

.sphere-container {
  perspective: 1000px;
}

.sphere {
  position: absolute;
  top: 0;
  right: 0;
  width: 600px;
  height: 600px;
  margin: 80px auto;
  border-radius: 50%;
  transform-style: preserve-3d;
  backdrop-filter: blur(25px);
  display: flex;
  align-items: center;
  justify-content: center;

  background: radial-gradient(
    circle at 30% 30%,
    rgba(0, 180, 255, 0.15),
    rgba(0, 40, 80, 0.3)
  );

  box-shadow:
    0 0 80px rgba(5, 165, 228, 0.3),
    inset 0 0 60px rgba(231, 233, 235, 0.2);

  animation: float 8s ease-in-out infinite;
  -webkit-animation: float 8s ease-in-out infinite;
}

/* Órbitas */
.orbit {
  position: absolute;
  width: 100%;
  height: 100%;
  border: 1px solid rgba(0, 200, 255, 0.3);
  border-radius: 50%;
}

.orbe {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1px solid rgba(0, 200, 255, 0.35);
}

/* Punto visible */
.orbe::after {
  content: "";
  position: absolute;
  top: -5px;
  left: 50%;
  width: 8px;
  height: 8px;
  background: radial-gradient(circle, #00ffff, #0088ff);
  border-radius: 50%;
  transform: translateX(-50%);
  box-shadow:
    0 0 15px #00ffff,
    0 0 30px #0088ff;
}

.orbit1 {
  --rx: 0deg;
  --ry: 0deg;
  animation: spine 22s linear infinite;
}

.orbit2 {
  --rx: 90deg;
  --ry: 0deg;
  animation: spine 28s linear infinite reverse;
}

.orbit3 {
  --rx: 45deg;
  --ry: 0deg;
  animation: spine 18s linear infinite;
}

.orbit4 {
  --rx: -45deg;
  --ry: 0deg;
  animation: spine 24s linear infinite reverse;
}

.orbit5 {
  --rx: 0deg;
  --ry: 45deg;
  animation: spine 26s linear infinite;
}

.orbit6 {
  --rx: 0deg;
  --ry: -45deg;
  animation: spine 20s linear infinite reverse;
}

.orbit7 {
  --rx: 30deg;
  --ry: 60deg;
  animation: spine 30s linear infinite;
}

.orbit8 {
  --rx: -30deg;
  --ry: -60deg;
  animation: spine 32s linear infinite reverse;
}

.orbit9 {
  --rx: 60deg;
  --ry: 30deg;
  animation: spine 21s linear infinite;
}

.orbit10 {
  --rx: -60deg;
  --ry: -30deg;
  animation: spine 27s linear infinite reverse;
}

.orbit11 {
  --rx: 75deg;
  --ry: 15deg;
  animation: spine 34s linear infinite;
}

.orbit12 {
  --rx: -75deg;
  --ry: -15deg;
  animation: spine 29s linear infinite reverse;
}

/* Animaciones */

@keyframes gradientMove {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

@keyframes rotateGlow {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

@keyframes spine {
  from {
    transform: rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) rotateZ(0deg);
  }
  to {
    transform: rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) rotateZ(360deg);
  }
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-15px);
  }
}

@keyframes gridMove {
  from {
    transform: translateY(0);
  }
  to {
    transform: translateY(-60px);
  }
}

.ring {
  width: 100%;
  height: 100%;
  position: relative;
  transform-style: preserve-3d;
  animation: rotateRing 22s linear infinite;
  -webkit-animation: rotateRing 22s linear infinite;
}

.ring img {
  position: absolute;
  width: 230px;
  height: 130px;
  object-fit: cover;
  border-radius: 12px;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.25);
  opacity: 0;
  animation: swap 5s linear infinite;
  -webkit-animation: swap 5s linear infinite;
}

.ring img:nth-child(1) {
  transform: translate(-50%, -50%) rotateY(0deg) rotateX(-30deg)
    translateZ(220px);
  animation-delay: 0s;
}

.ring img:nth-child(2) {
  transform: translate(-50%, -50%) rotateY(120deg) rotateX(-30deg)
    translateZ(220px);
  animation-delay: 1s;
  -webkit-transform: translate(-50%, -50%) rotateY(120deg) rotateX(-30deg)
    translateZ(220px);
  -moz-transform: translate(-50%, -50%) rotateY(120deg) rotateX(-30deg)
    translateZ(220px);
  -ms-transform: translate(-50%, -50%) rotateY(120deg) rotateX(-30deg)
    translateZ(220px);
  -o-transform: translate(-50%, -50%) rotateY(120deg) rotateX(-30deg)
    translateZ(220px);
}

.ring img:nth-child(3) {
  transform: translate(-50%, -50%) rotateY(240deg) rotateX(-30deg)
    translateZ(220px);
  animation-delay: 2s;
  -webkit-transform: translate(-50%, -50%) rotateY(240deg) rotateX(-30deg)
    translateZ(220px);
  -moz-transform: translate(-50%, -50%) rotateY(240deg) rotateX(-30deg)
    translateZ(220px);
  -ms-transform: translate(-50%, -50%) rotateY(240deg) rotateX(-30deg)
    translateZ(220px);
  -o-transform: translate(-50%, -50%) rotateY(240deg) rotateX(-30deg)
    translateZ(220px);
}

.ring img:nth-child(4) {
  transform: translate(-50%, -50%) rotateY(60deg) rotateX(5deg)
    translateZ(220px);
  animation-delay: 3s;
}

.ring img:nth-child(5) {
  transform: translate(-50%, -50%) rotateY(180deg) rotateX(5deg)
    translateZ(220px);
  animation-delay: 4s;
}

.ring img:nth-child(6) {
  transform: translate(-50%, -50%) rotateY(300deg) rotateX(5deg)
    translateZ(220px);
  animation-delay: 5s;
}

.ring img:nth-child(7) {
  transform: translate(-50%, -50%) rotateY(0deg) rotateX(40deg)
    translateZ(220px);
  animation-delay: 6s;
}

.ring img:nth-child(8) {
  transform: translate(-50%, -50%) rotateY(120deg) rotateX(40deg)
    translateZ(220px);
  animation-delay: 7s;
}

.ring img:nth-child(9) {
  transform: translate(-50%, -50%) rotateY(240deg) rotateX(40deg)
    translateZ(220px);
  animation-delay: 8s;
}

@keyframes rotateRing {
  from {
    transform: rotateX(-12deg) rotateY(0deg);
  }
  to {
    transform: rotateX(-12deg) rotateY(360deg);
  }
}

@keyframes swap {
  0% {
    opacity: 0;
  }
  10% {
    opacity: 1;
  }
  25% {
    opacity: 1;
  }
  35% {
    opacity: 0;
  }
  100% {
    opacity: 0;
  }
}

@keyframes orbitShift {
  from {
    transform: rotateY(0deg) translateZ(220px);
  }
  to {
    transform: rotateY(120deg) translateZ(220px);
  }
}

/****************/

.contentBx {
  position: absolute;
  top: 0;
  left: 0;
  width: calc(100% - 600px);
  height: 100%;
  display: flex;
  padding: 100px;
}

.hero {
  margin-top: 120px;
  z-index: 20;
}

.contentBx h1 {
  color: var(--text-color);
  font-size: 3rem;
  letter-spacing: 3px;
  opacity: 0;
}

.contentBx h2 {
  font-size: 3em;
  color: var(--bg-color-second);
  line-height: 1em;
  margin-bottom: 10px;
  opacity: 0;
}

.contentBx h3 {
  font-size: 2.5em;
  color: var(--bg-color-second);
  font-weight: 500;
  letter-spacing: 2px;
  margin-bottom: 30px;
  opacity: 0;
}

.contentBx span {
  font-size: 2em;
  font-weight: 700;
  color: var(--main-color);
  opacity: 0;
  animation: slideRight 0.3s ease forwards;
}

p {
  font-size: 1.1em;
  margin: 20px 0;
  font-weight: 300;
  opacity: 0;
}

.contentBx h1[data-scroll="in"] {
  animation: slideBotton 0.3s ease forwards;
  -webkit-animation: slideBotton 0.3s ease forwards;
  animation-delay: 0.7s;
}

.contentBx h2[data-scroll="in"] {
  animation: slideBotton 0.3s ease forwards;
  -webkit-animation: slideBotton 0.3s ease forwards;
  animation-delay: 0.7s;
}

.contentBx h3[data-scroll="in"],
.contentBx h3 span[data-scroll="in"] {
  animation: slideRight 0.3s ease forwards;
  -webkit-animation: slideRight 0.3s ease forwards;
  animation-delay: 0.5s;
}

p[data-scroll="in"] {
  animation: slideRight 0.3s ease forwards;
  -webkit-animation: slideRight 0.3s ease forwards;
  animation-delay: 0.9s;
}

.banner .contentBx .btn-box {
  position: relative;
  display: flex;
  justify-content: space-between;
  width: 16em;
  height: 3em;
  margin-top: 4em;
  opacity: 0;
  z-index: 30;
}

.banner .contentBx .btn-box[data-scroll="in"] {
  animation: slideLeft 0.5s ease forwards;
  -webkit-animation: slideLeft 0.5s ease forwards;
  animation-delay: 1s;
}

.btn-box .btn {
  position: relative;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 15em;
  height: 100%;
  background: var(--main-color);
  font-size: 1em;
  font-weight: 600;
  letter-spacing: 0.1rem;
  color: var(--bg-color);
  z-index: 1;
  overflow: hidden;
  transition: 0.5s;
  -webkit-transition: 0.5s;
  -moz-transition: 0.5s;
  -ms-transition: 0.5s;
  -o-transition: 0.5s;
  border: 0.2em solid var(--main-color);
  border-radius: 0.2em;
  -webkit-border-radius: 0.2em;
  -moz-border-radius: 0.2em;
  -ms-border-radius: 0.2em;
  -o-border-radius: 0.2em;
}

.btn-box .btn:nth-child(2) {
  background: transparent;
  color: var(--text-color-2);
  margin-left: 15px;
}

.btn-box .btn:nth-child(2):hover {
  color: var(--bg-color);
}

.btn-box .btn:nth-child(2)::before {
  background: var(--main-color);
}

.btn-box .btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 100%;
  background: var(--bg-color);
  z-index: -1;
  transition: 0.5s;
  -webkit-transition: 0.5s;
  -moz-transition: 0.5s;
  -ms-transition: 0.5s;
  -o-transition: 0.5s;
}

.btn-box .btn:hover {
  color: var(--main-color);
}

.btn-box .btn:hover::before {
  width: 100%;
}

/***                    ***/
/***      SERVICES      ***/
/***                    ***/

.services {
  background: var(--bg-color-second);
  display: flex;
  align-items: center;
  flex-direction: column;
}

.contentSv {
  display: flex;
  justify-content: center;
  flex-direction: row;
  flex-wrap: wrap;
  position: relative;
  margin-top: 50px;
  width: 70%;
}

.boxSv {
  position: relative;
  width: 300px;
  height: 200px;
  margin: 40px;
  text-align: center;
  transition: 0.5s;
  -webkit-transition: 0.5s;
  -moz-transition: 0.5s;
  -ms-transition: 0.5s;
  -o-transition: 0.5s;
}

.boxSv .imgSv,
.boxSv .textSv {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  opacity: 0;
  border-radius: 5px;
  border: 2px solid var(--bg-color);
  -webkit-border-radius: 5px;
  -moz-border-radius: 5px;
  -ms-border-radius: 5px;
  -o-border-radius: 5px;
}

.boxSv .imgSv[data-scroll="in"],
.boxSv .textSv[data-scroll="in"] {
  animation: slideTop 0.5s ease forwards;
  -webkit-animation: slideTop 0.5s ease forwards;
  animation-delay: calc(0.3s * var(--i));
}

.imgSv img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.boxSv .textSv h2 {
  padding-top: 30px;
  color: var(--bg-color-second);
  text-shadow: 2px 2px 5px black;
}

.boxSv .btn-modal {
  position: relative;
  display: flex;
  justify-content: center;
  width: 7em;
  height: 2.5em;
  margin-top: 3em;
  opacity: 0;
}

.boxSv .btn-modal .btn {
  position: relative;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 15em;
  height: 100%;
  background: transparent;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.1rem;
  color: var(--bg-color);
  z-index: 1;
  transition: 0.5s;
  -webkit-transition: 0.5s;
  -moz-transition: 0.5s;
  -ms-transition: 0.5s;
  -o-transition: 0.5s;
  border: 0.2em solid var(--main-color);
  border-radius: 0.2em;
  -webkit-border-radius: 0.2em;
  -moz-border-radius: 0.2em;
  -ms-border-radius: 0.2em;
  -o-border-radius: 0.2em;
}

.boxSv .btn-modal .btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 100%;
  background: var(--bg-color);
  z-index: -1;
  transition: 0.5s;
  -webkit-transition: 0.5s;
  -moz-transition: 0.5s;
  -ms-transition: 0.5s;
  -o-transition: 0.5s;
}

.boxSv .btn-modal .btn:hover {
  color: var(--main-color);
}

.boxSv .btn-modal .btn:hover::before {
  width: 100%;
}

.boxSv:hover .btn-modal {
  animation: slideTop 0.5s ease forwards;
  -webkit-animation: slideTop 0.5s ease forwards;
  animation-delay: 0.2s;
}

.boxSv:hover img {
  transform: scale(1.2);
  -webkit-transform: scale(1.2);
  -moz-transform: scale(1.2);
  -ms-transform: scale(1.2);
  -o-transform: scale(1.2);
  opacity: 0.7;
  transition: 0.3s ease-in-out;
  -webkit-transition: 0.3s ease-in-out;
  -moz-transition: 0.3s ease-in-out;
  -ms-transition: 0.3s ease-in-out;
  -o-transition: 0.3s ease-in-out;
}

/*** VENTANA MODAL ***/

.overlay {
  background: rgba(0, 0, 0, 0.6);
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  visibility: hidden;
  z-index: 10;
}

.overlay.active {
  visibility: visible;
  z-index: 3;
}

.modal_service.active {
  animation: slideBotton 0.5s ease forwards;
  -webkit-animation: slideBotton 0.5s ease forwards;
  animation-delay: 0.3s;
}

.modal_service {
  position: relative;
  width: 550px;
  height: auto;
  background: var(--modal-color);
  box-shadow: 0px 0px 5px 0px rgba(0, 0, 0, 0.3);
  display: flex;
  flex-direction: column;
  align-items: center;
  border-radius: 3px;
  -webkit-border-radius: 3px;
  -moz-border-radius: 3px;
  -ms-border-radius: 3px;
  -o-border-radius: 3px;
  opacity: 0;
}

.modal_service .modal_off {
  position: absolute;
  font-size: 30px;
  top: 10px;
  right: 10px;
  z-index: 20;
  cursor: pointer;
}

.modal_service .modal_off:hover {
  color: var(--main-color);
  transform: scale(1.2);
  -webkit-transform: scale(1.2);
  -moz-transform: scale(1.2);
  -ms-transform: scale(1.2);
  -o-transform: scale(1.2);
  transition: 0.3s ease-in;
  -webkit-transition: 0.3s ease-in;
  -moz-transition: 0.3s ease-in;
  -ms-transition: 0.3s ease-in;
  -o-transition: 0.3s ease-in;
}

.textSv_modal {
  width: 95%;
  height: auto;
  padding: 10px;
}

.textSv_modal h2 {
  font-size: 19px;
  font-weight: 600;
  text-align: center;
  letter-spacing: 1px;
}

.textSv_modal h4 {
  font-size: 15px;
  font-weight: 400;
  margin-top: 10px;
}

.detailSv {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  width: 95%;
  height: auto;
}

.detailSv h3 {
  text-align: center;
  letter-spacing: 2px;
  margin: 10px 0;
}

.detailSv span {
  display: inline-block;
  width: 5px;
  height: 5px;
  background: var(--bg-color);
  border-radius: 50%;
  margin-right: 8px;
}

.detailSv h4 {
  font-size: 15px;
  font-weight: 200;
  margin-bottom: 10px;
}

.detailSv .Sv1 {
  width: 50%;
  height: 100%;
}

.detailSv .Sv2 {
  width: 50%;
  height: 100%;
}

/*******  **********/

.slider {
  width: 100%;
  height: 280px;
  transform-style: preserve-3d;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.slider input {
  display: none;
}

.cards {
  position: relative;
  width: 100%;
  height: 100%;
  margin-top: 5px;
}

.card {
  position: absolute;
  width: 350px;
  height: 250px;
  left: 0;
  right: 0;
  margin: auto;
  cursor: pointer;
  transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  -webkit-transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  -moz-transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  -ms-transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  -o-transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  border-radius: 10px;
  -webkit-border-radius: 10px;
  -moz-border-radius: 10px;
  -ms-border-radius: 10px;
  -o-border-radius: 10px;
}
.card img {
  width: 100%;
  height: 100%;
}

.slider input:nth-child(1):checked ~ .cards .card:nth-child(2),
.slider input:nth-child(2):checked ~ .cards .card:nth-child(3),
.slider input:nth-child(3):checked ~ .cards .card:nth-child(1) {
  transform: translateX(-25%) scale(0.8);
  opacity: 0.8;
  z-index: 2;
}

.slider input:nth-child(1):checked ~ .cards .card:nth-child(3),
.slider input:nth-child(2):checked ~ .cards .card:nth-child(1),
.slider input:nth-child(3):checked ~ .cards .card:nth-child(2) {
  transform: translateX(25%) scale(0.8);
  opacity: 0.8;
  z-index: 2;
}

.slider input:nth-child(1):checked ~ .cards .card:nth-child(1),
.slider input:nth-child(2):checked ~ .cards .card:nth-child(2),
.slider input:nth-child(3):checked ~ .cards .card:nth-child(3) {
  transform: translateX(0) scale(1);
  z-index: 3;
}

/***                    ***/
/***      WORK          ***/
/***                    ***/

.work {
  background: var(--bg-color-three);
  width: 100%;
  height: auto;
  text-align: center;
}

.work h1 {
  margin-bottom: 30px;
  font-weight: 600;
  letter-spacing: 1px;
}

.work h2 {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 15px;
  opacity: 0;
}

.work ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  width: 100%;
  height: 40 0px;
}

.work li {
  list-style: none;
  width: 50%;
  padding-top: 50px;
}

.work h3 {
  font-size: 22px;
  opacity: 0;
  margin-bottom: 5px;
}

.work li h4 {
  font-size: 16px;
  font-weight: 500;
  opacity: 0;
}

.work h4 {
  font-size: 18px;
  font-weight: 600;
  opacity: 0;
  padding-top: 40px;
}

.work h2[data-scroll="in"] {
  animation: slideLeft 0.3s ease forwards;
  -webkit-animation: slideLeft 0.3s ease forwards;
  animation-delay: 0.4s;
}

.work h4[data-scroll="in"] {
  animation: slideBotton 0.3s ease forwards;
  -webkit-animation: slideBotton 0.3s ease forwards;
  animation-delay: 0.4s;
}

.work h3[data-scroll="in"] {
  animation: slideBotton 0.3s ease forwards;
  -webkit-animation: slideBotton 0.3s ease forwards;
  animation-delay: 0.4s;
}

.work li h4[data-scroll="in"] {
  animation: slideTop 0.3s ease forwards;
  -webkit-animation: slideTop 0.3s ease forwards;
  animation-delay: 0.4s;
}

/***                    ***/
/***      ABOUT ME      ***/
/***                    ***/

.about {
  background: var(--bg-color-second);
  display: flex;
  flex-wrap: wrap;
  height: 700px;
  padding: 0;
}

.title {
  font-size: 2.4em;
  font-weight: 600;
  opacity: 0;
}

.title[data-scroll="in"] {
  animation: slideRight 0.3s ease forwards;
  -webkit-animation: slideRight 0.3s ease forwards;
  animation-delay: 0.4s;
}

.title span {
  color: var(--main-color);
}

.aboutAx {
  width: 50%;
  background: var(--bg-color-three);
  color: var(--bg-color);
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 50px;
}

.aboutAx h2 {
  margin: 45px 0;
}

.aboutAx p {
  text-align: center;
  font-size: 24px;
  letter-spacing: 1px;
}

.aboutBx {
  position: relative;
  width: 50%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.about .about_img {
  position: relative;
  width: 200px;
  height: 200px;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 40px 0;
  opacity: 0;
}

.about .about_img[data-scroll="in"] {
  animation: slideTop 0.4s ease forwards;
  -webkit-animation: slideTop 0.4s ease forwards;
  animation-delay: 0.6s;
}

.about img {
  width: 95%;
  border-radius: 50%;
  -webkit-border-radius: 50%;
  -moz-border-radius: 50%;
  -ms-border-radius: 50%;
  -o-border-radius: 50%;
  border: 3px solid var(--main-color);
  overflow: hidden;
}

.about .effect-circle {
  z-index: 2;
  position: absolute;
  width: 110%;
  height: 110%;
  border-radius: 50%;
  -webkit-border-radius: 50%;
  -moz-border-radius: 50%;
  -ms-border-radius: 50%;
  -o-border-radius: 50%;
  border-top: 2.3px solid transparent;
  border-bottom: 2.3px solid transparent;
  border-left: 2.3px solid var(--main-color);
  border-right: 2.3px solid var(--main-color);
  animation: simbolo 5s linear infinite;
  -webkit-animation: simbolo 5s linear infinite;
}

.about p {
  margin: 10px;
  max-width: 600px;
  font-size: 18px;
}

.about .about-btn {
  margin-top: 40px;
  opacity: 0;
}

.about .about-btn[data-scroll="in"] {
  animation: slideLeft 0.5s ease forwards;
  -webkit-animation: slideLeft 0.5s ease forwards;
  animation-delay: 1.2s;
}

.about .about-btn i {
  font-size: 18px;
  font-weight: 600;
  margin-right: 10px;
}

.about .about-btn a {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  background: transparent;
  width: 200px;
  height: 50px;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.1rem;
  color: var(--bg-color);
  z-index: 1;
  transition: 0.5s;
  -webkit-transition: 0.5s;
  -moz-transition: 0.5s;
  -ms-transition: 0.5s;
  -o-transition: 0.5s;
  border: 2px solid var(--main-color);
  border-radius: 0.2em;
  -webkit-border-radius: 0.2em;
  -moz-border-radius: 0.2em;
  -ms-border-radius: 0.2em;
  -o-border-radius: 0.2em;
}

.about .about-btn a::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 100%;
  background: var(--bg-color);
  z-index: -1;
  transition: 0.5s;
  -webkit-transition: 0.5s;
  -moz-transition: 0.5s;
  -ms-transition: 0.5s;
  -o-transition: 0.5s;
}

.about .about-btn a:hover {
  color: var(--main-color);
}

.about .about-btn a:hover::before {
  width: 100%;
}
/***          ***/

.redes {
  position: absolute;
  width: 180px;
  left: 50%;
  transform: translateX(-50%);
  bottom: 1.5em;
  display: inline-flex;
  justify-content: space-between;
  -webkit-transform: translateX(-50%);
  -moz-transform: translateX(-50%);
  -ms-transform: translateX(-50%);
  -o-transform: translateX(-50%);
}

.redes a {
  text-decoration: none;
  position: relative;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 40px;
  height: 40px;
  background: transparent;
  border: 2px solid var(--main-color);
  border-radius: 50%;
  -webkit-border-radius: 50%;
  -moz-border-radius: 50%;
  -ms-border-radius: 50%;
  -o-border-radius: 50%;
  font-size: 20px;
  color: var(--main-color);
  z-index: 1;
  overflow: hidden;
  opacity: 0;
  transition: 0.5s;
  -webkit-transition: 0.5s;
  -moz-transition: 0.5s;
  -ms-transition: 0.5s;
  -o-transition: 0.5s;
}

.redes a[data-scroll="in"] {
  animation: slideRight.1s ease forwards;
  -webkit-animation: slideRight.1s ease forwards;
  animation-delay: calc(0.2s * var(--i));
}

.redes a:hover {
  color: #eee;
}

.redes a::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 100%;
  background: var(--main-color);
  z-index: -1;
  transition: 0.5s;
  -webkit-transition: 0.5s;
  -moz-transition: 0.5s;
  -ms-transition: 0.5s;
  -o-transition: 0.5s;
}

.redes a:hover::before {
  width: 100%;
}

/***                    ***/
/***        SKILL       ***/
/***                    ***/

.skill {
  background: var(--bg-color);
  width: 100%;
}

.skill-title {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 15px;
}

.skill-title .title {
  color: var(--text-color);
  opacity: 0;
}

.skill .skill-section {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  width: 100%;
}

.skills-content {
  height: 200px;
  width: 550px;
  background: var(--bg-color);
  margin: 10px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
}

.skills-content h3 {
  font-size: 25px;
  margin-bottom: 20px;
  color: var(--main-color);
  opacity: 0;
}

.skills-content h3[data-scroll="in"] {
  animation: slideLeft 0.3s ease forwards;
  -webkit-animation: slideLeft 0.3s ease forwards;
  animation-delay: calc(0.8s * var(--i));
}

.skills-content .content {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.skills-content .content span {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 6rem;
  height: 5rem;
  border: 1px solid var(--main-color);
  color: var(--main-color);
  border-radius: 0.3rem;
  -webkit-border-radius: 0.3rem;
  -moz-border-radius: 0.3rem;
  -ms-border-radius: 0.3rem;
  -o-border-radius: 0.3rem;
  font-weight: 600;
  opacity: 0;
}

.skills-content .content span[data-scroll="in"] {
  animation: slideTop 0.5s ease forwards;
  -webkit-animation: slideTop 0.5s ease forwards;
  animation-delay: calc(0.3s * var(--i));
}

.skills-content .content span i {
  font-size: 3rem;
  color: var(--main-color);
}

.skills-content .content span i:hover,
.skills-content .content .img-skill:hover {
  animation: slideRotate 0.3s ease forwards;
  -webkit-animation: slideRotate 0.3s ease forwards;
}

.skills-content .content .img-skill {
  width: 50px;
  height: 50px;
}

/***                    ***/
/***     WORKING        ***/
/***                    ***/

.work {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin: auto;
}

.work .content {
  display: flex;
  justify-content: center;
  flex-direction: row;
  flex-wrap: wrap;
  position: relative;
  margin-top: 50px;
}

.work .content .workBx {
  position: relative;
  width: 300px;
  height: 200px;
  margin: 20px;
  text-align: center;
  transition: 0.5s;
  -webkit-transition: 0.5s;
  -moz-transition: 0.5s;
  -ms-transition: 0.5s;
  -o-transition: 0.5s;
}

.work .content .workBx .imgBx,
.work .content .workBx .textBx {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  opacity: 0;
  border: 2px solid var(--bg-color);
}

.work .content .workBx .imgBx[data-scroll="in"],
.work .content .workBx .textBx[data-scroll="in"] {
  animation: slideTop 0.5s ease forwards;
  -webkit-animation: slideTop 0.5s ease forwards;
  animation-delay: calc(0.3s * var(--i));
}

.work .content .workBx .imgBx img {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.work .content .workBx .btn-modal {
  position: relative;
  display: flex;
  justify-content: center;
  width: 7em;
  height: 2.5em;
  margin-top: 9em;
  opacity: 0;
}

.work .content .workBx .btn-modal .btn {
  position: relative;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 15em;
  height: 100%;
  background: transparent;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.1rem;
  color: var(--bg-color);
  z-index: 1;
  transition: 0.5s;
  -webkit-transition: 0.5s;
  -moz-transition: 0.5s;
  -ms-transition: 0.5s;
  -o-transition: 0.5s;
  border: 0.2em solid var(--main-color);
  border-radius: 0.2em;
  -webkit-border-radius: 0.2em;
  -moz-border-radius: 0.2em;
  -ms-border-radius: 0.2em;
  -o-border-radius: 0.2em;
}

.work .content .workBx .btn-modal .btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 100%;
  background: var(--bg-color);
  z-index: -1;
  transition: 0.5s;
  -webkit-transition: 0.5s;
  -moz-transition: 0.5s;
  -ms-transition: 0.5s;
  -o-transition: 0.5s;
}

.work .content .workBx .btn-modal .btn:hover {
  color: var(--main-color);
}

.work .content .workBx .btn-modal .btn:hover::before {
  width: 100%;
}

.work .content .workBx:hover .btn-modal {
  animation: slideTop 0.5s ease forwards;
  -webkit-animation: slideTop 0.5s ease forwards;
  animation-delay: 0.2s;
}

.work .content .workBx:hover img {
  transform: scale(1.2);
  -webkit-transform: scale(1.2);
  -moz-transform: scale(1.2);
  -ms-transform: scale(1.2);
  -o-transform: scale(1.2);
  opacity: 0.7;
  transition: 0.3s ease-in-out;
  -webkit-transition: 0.3s ease-in-out;
  -moz-transition: 0.3s ease-in-out;
  -ms-transition: 0.3s ease-in-out;
  -o-transition: 0.3s ease-in-out;
}

/*** VENTANA MODAL ***/

.overlay {
  background: rgba(0, 0, 0, 0.6);
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  visibility: hidden;
  z-index: 10;
}

.overlay.active {
  visibility: visible;
  z-index: 3;
}

.overlay .modal.active {
  animation: slideBotton 0.5s ease forwards;
  -webkit-animation: slideBotton 0.5s ease forwards;
  animation-delay: 0.3s;
}

.overlay .modal {
  position: relative;
  width: 500px;
  height: 400px;
  background: var(--modal-color);
  box-shadow: 0px 0px 5px 0px rgba(0, 0, 0, 0.3);
  display: flex;
  flex-direction: column;
  align-items: center;
  border-radius: 3px;
  -webkit-border-radius: 3px;
  -moz-border-radius: 3px;
  -ms-border-radius: 3px;
  -o-border-radius: 3px;
  opacity: 0;
}

.overlay .modal .modal_off {
  position: absolute;
  font-size: 20px;
  top: 10px;
  right: 10px;
}

.overlay .modal .modal_off:hover {
  color: var(--main-color);
  transform: scale(1.2);
  -webkit-transform: scale(1.2);
  -moz-transform: scale(1.2);
  -ms-transform: scale(1.2);
  -o-transform: scale(1.2);
  transition: 0.3s ease-in;
  -webkit-transition: 0.3s ease-in;
  -moz-transition: 0.3s ease-in;
  -ms-transition: 0.3s ease-in;
  -o-transition: 0.3s ease-in;
}

.overlay .modal .imgBx_modal {
  box-shadow: 0px 0px 5px 0px rgba(0, 0, 0, 0.3);
  margin: 15px;
  width: 400px;
  height: 250px;
  border-radius: 3px;
  -webkit-border-radius: 3px;
  -moz-border-radius: 3px;
  -ms-border-radius: 3px;
  -o-border-radius: 3px;
}

.overlay .modal .imgBx_modal img {
  background-size: cover;
  width: 100%;
  height: 100%;
}

.overlay .modal .textBx_modal {
  width: 80%;
  height: auto;
}

.overlay .modal h2 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 10px;
  text-align: center;
}

.overlay .modal span {
  display: flex;
  justify-content: center;
  font-size: 30px;
}

.overlay .modal i {
  margin: 0 5px;
}

.overlay .modal .btn-modal {
  display: flex;
  margin-top: 15px;
  width: 20em;
  height: 2em;
}

.overlay .modal .btn-modal .btn {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0 20px;
  width: 15em;
  height: 100%;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1rem;
  background: transparent;
  color: var(--bg-color);
  z-index: 1;
  transition: 0.5s;
  -webkit-transition: 0.5s;
  -moz-transition: 0.5s;
  -ms-transition: 0.5s;
  -o-transition: 0.5s;
  border: 2px solid var(--main-color);
  border-radius: 0.2em;
  -webkit-border-radius: 0.2em;
  -moz-border-radius: 0.2em;
  -ms-border-radius: 0.2em;
  -o-border-radius: 0.2em;
}

.overlay .modal .btn-modal .btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 100%;
  background: var(--bg-color);
  z-index: -1;
  transition: 0.5s;
  -webkit-transition: 0.5s;
  -moz-transition: 0.5s;
  -ms-transition: 0.5s;
  -o-transition: 0.5s;
}

.overlay .modal .btn-modal .btn:hover {
  color: var(--main-color);
}

.overlay .modal .btn-modal .btn:hover::before {
  width: 100%;
}

/***                    ***/
/***    CONTACT         ***/
/***                    ***/

.contact {
  background: #000;
}

.form-title {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  height: 200px;
}
.title.blue {
  font-size: 3em;
  font-weight: 600;
  color: var(--main-color);
  margin-bottom: 10px;
}
.form-title p {
  color: var(--text-color);
}

.form-title p[data-scroll="in"] {
  animation: slideLeft 0.4s ease forwards;
  -webkit-animation: slideLeft 0.4s ease forwards;
  animation-delay: 0.6s;
}

.title.blue span {
  color: #fff;
}

.contact .form {
  background: rgba(0, 0, 0, 0.6);
  width: 90%;
  max-width: 650px;
  margin: auto;
  padding: 5px 35px;
  padding-bottom: 30px;
  border-radius: 3px;
  -webkit-border-radius: 3px;
  -moz-border-radius: 3px;
  -ms-border-radius: 3px;
  -o-border-radius: 3px;
}

.contact .form .form-label {
  display: block;
  color: var(--main-color);
  font-size: 16px;
  font-family: Roboto;
  position: relative;
  opacity: 0;
}

.contact .form .form-label[data-scroll="in"] {
  animation: slideBotton 0.5s ease forwards;
  -webkit-animation: slideBotton 0.5s ease forwards;
  animation-delay: calc(0.5s * var(--i));
}

.contact .form .form-input,
.contact .form .form-textarea {
  background: rgba(0, 0, 0, 0.7);
  border: none;
  outline: none;
  border-bottom: 2px solid var(--main-color);
  width: 100%;
  padding: 12px;
  margin-bottom: 20px;
  border-radius: 2px;
  font-size: 17px;
  font-family: Roboto;
  color: var(--text-color);
  -webkit-border-radius: 2px;
  -moz-border-radius: 2px;
  -ms-border-radius: 2px;
  -o-border-radius: 2px;
  opacity: 0;
}

.contact .form .form-input[data-scroll="in"],
.contact .form .form-textarea[data-scroll="in"] {
  animation: slideDesplass 0.7s ease forwards;
  -webkit-animation: slideDesplass 0.7s ease forwards;
  animation-delay: calc(0.5s * var(--i));
}

.contact .form .form-textarea {
  resize: vertical;
  max-height: 150px;
  min-height: 50px;
}

.contact .form .btn-submit {
  width: 100%;
  outline: none;
  background: var(--main-color);
  border: none;
  font-size: 16px;
  font-weight: 600;
  padding: 15px 0;
  cursor: pointer;
  transition: all 0.5s ease;
  -webkit-transition: all 0.5s ease;
  -moz-transition: all 0.5s ease;
  -ms-transition: all 0.5s ease;
  -o-transition: all 0.5s ease;
  opacity: 0;
}

.contact .form .btn-submit[data-scroll="in"] {
  animation: slideTop 0.5s ease forwards;
  -webkit-animation: slideTop 0.5s ease forwards;
  animation-delay: 2s;
}

.contact .form .btn-submit:hover {
  background: var(--main-color-second);
  color: var(--bg-color-second);
}

/***                    ***/
/***       FOOTER       ***/
/***                    ***/

.copyright {
  position: relative;
  background: #000;
  height: 100px;
  display: flex;
  justify-content: space-around;
  align-items: center;
  flex-wrap: wrap;
}

.copyright::before {
  content: "";
  position: absolute;
  top: 7px;
  width: 100%;
  height: 2px;
  background: var(--text-color);
}

.sci-footer {
  display: inline-flex;
  justify-content: space-between;
}

.sci-footer a {
  text-decoration: none;
  position: relative;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  margin: 10px;
  width: 40px;
  height: 40px;
  background: transparent;
  border: 2px solid var(--main-color);
  border-radius: 50%;
  -webkit-border-radius: 50%;
  -moz-border-radius: 50%;
  -ms-border-radius: 50%;
  -o-border-radius: 50%;
  font-size: 20px;
  color: var(--main-color);
  z-index: 1;
  overflow: hidden;
  opacity: 0;
  transition: 0.5s;
  -webkit-transition: 0.5s;
  -moz-transition: 0.5s;
  -ms-transition: 0.5s;
  -o-transition: 0.5s;
}

.sci-footer a[data-scroll="in"] {
  animation: slideRight.1s ease forwards;
  -webkit-animation: slideRight.1s ease forwards;
  animation-delay: calc(0.2s * var(--i));
}

.sci-footer a:hover {
  color: #eee;
}

.sci-footer a::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 100%;
  background: var(--main-color);
  z-index: -1;
  transition: 0.5s;
  -webkit-transition: 0.5s;
  -moz-transition: 0.5s;
  -ms-transition: 0.5s;
  -o-transition: 0.5s;
}

.sci-footer a:hover::before {
  width: 100%;
}

.copyright p {
  color: var(--text-color);
  opacity: 0;
}

.copyright p[data-scroll="in"] {
  animation: slideTop 0.5s ease forwards;
  -webkit-animation: slideTop 0.5s ease forwards;
  animation-delay: 0.7s;
}

/***                    ***/
/***    KEYFLAMES       ***/
/***                    ***/

@keyframes simbolo {
  to {
    transform: rotate(1turn);
    -webkit-transform: rotate(1turn);
    -moz-transform: rotate(1turn);
    -ms-transform: rotate(1turn);
    -o-transform: rotate(1turn);
  }
}

@keyframes slideRight {
  0% {
    transform: translateX(-100%);
    -webkit-transform: translateX(-100%);
    -moz-transform: translateX(-100%);
    -ms-transform: translateX(-100%);
    -o-transform: translateX(-100%);
    opacity: 0;
  }
  100% {
    transform: translateX(0);
    -webkit-transform: translateX(0);
    -moz-transform: translateX(0);
    -ms-transform: translateX(0);
    -o-transform: translateX(0);
    opacity: 1;
  }
}

@keyframes slideTop {
  0% {
    transform: translateY(70px);
    -webkit-transform: translateY(70px);
    -moz-transform: translateY(70px);
    -ms-transform: translateY(70px);
    -o-transform: translateY(70px);
    opacity: 0;
  }
  100% {
    transform: translateY(0);
    -webkit-transform: translateY(0);
    -moz-transform: translateY(0);
    -ms-transform: translateY(0);
    -o-transform: translateY(0);
    opacity: 1;
  }
}

@keyframes slideBotton {
  0% {
    transform: translateY(-70px);
    -webkit-transform: translateY(-70px);
    -moz-transform: translateY(-70px);
    -ms-transform: translateY(-70px);
    -o-transform: translateY(-70px);
    opacity: 0;
  }
  100% {
    transform: translateY(0);
    -webkit-transform: translateY(0);
    -moz-transform: translateY(0);
    -ms-transform: translateY(0);
    -o-transform: translateY(0);
    opacity: 1;
  }
}

@keyframes slideLeft {
  0% {
    transform: translateX(30%);
    -webkit-transform: translateX(30%);
    -moz-transform: translateX(30%);
    -ms-transform: translateX(30%);
    -o-transform: translateX(30%);
    opacity: 0;
  }
  100% {
    transform: translateX(0);
    -webkit-transform: translateX(0);
    -moz-transform: translateX(0);
    -ms-transform: translateX(0);
    -o-transform: translateX(0);
    opacity: 1;
  }
}

@keyframes slideImg {
  0% {
    opacity: 0.4;
  }
  100% {
    opacity: 1;
  }
}

@keyframes slideRotate {
  to {
    transform: rotate(0deg);
    -webkit-transform: rotate(0deg);
    -moz-transform: rotate(0deg);
    -ms-transform: rotate(0deg);
    -o-transform: rotate(0deg);
  }
  from {
    transform: rotate(-360deg);
    -webkit-transform: rotate(-360deg);
    -moz-transform: rotate(-360deg);
    -ms-transform: rotate(-360deg);
    -o-transform: rotate(-360deg);
  }
}

@keyframes slideDesplass {
  from {
    transform: rotate(-30deg);
    -webkit-transform: rotate(-30deg);
    -moz-transform: rotate(-30deg);
    -ms-transform: rotate(-30deg);
    -o-transform: rotate(-30deg);
  }
  to {
    transform: rotate(0deg);
    -webkit-transform: rotate(0deg);
    -moz-transform: rotate(0deg);
    -ms-transform: rotate(0deg);
    -o-transform: rotate(0deg);
    opacity: 1;
  }
}

/***                    ***/
/***    MEDIA QUERY     ***/
/***                    ***/

@media (max-width: 1200px) {
  .banner .contentBx {
    width: 100%;
    transition: 0.5s;
    -webkit-transition: 0.5s;
    -moz-transition: 0.5s;
    -ms-transition: 0.5s;
    -o-transition: 0.5s;
  }
}

@media (max-width: 1100px) {
  .logo h1 {
    letter-spacing: 1px;
    font-size: 1.8rem;
    margin-left: 5px;
  }

  .banner .contentBx {
    width: 100%;
    transition: 0.5s;
    -webkit-transition: 0.5s;
    -moz-transition: 0.5s;
    -ms-transition: 0.5s;
    -o-transition: 0.5s;
  }
}

@media (max-width: 930px) {
  /*** BANNER ***/

  .logo h1 {
    display: none;
  }

  .logo h2 {
    display: block;
    letter-spacing: 4px;
  }

  .about .effect-circle {
    width: 105%;
    height: 105%;
  }

  /****    WORK      ****/

  .work h1 {
    font-size: 26px;
    letter-spacing: 1px;
  }

  .work h2 {
    font-size: 18px;
    margin-bottom: 20px;
  }

  .work h3 {
    margin: 0;
  }

  .work ul {
    height: auto;
  }

  .work li {
    width: 100%;
  }

  /*******          *******/

  .about {
    display: flex;
    flex-direction: column;
    height: auto;
  }

  .aboutAx,
  .aboutBx {
    width: 100%;
  }

  .aboutBx {
    margin: 30px 0 70px;
  }

  .redes {
    position: absolute;
    width: 180px;
    left: 50%;
    transform: translateX(-50%);
    bottom: -50px;
  }
}

@media (max-width: 800px) {
  /*** MENU ***/
  /*
  .header {
    background: orange;
  }
    */

  #chk1:checked ~ .navbar {
    right: 0;
  }

  .nav-menu {
    display: block;
  }

  .navbar {
    background: rgba(14, 13, 13, 0.4);
    backdrop-filter: blur(10px);
    width: 50%;
    height: 350px;
    flex-direction: column;
    justify-content: right;
    align-items: end;
    position: absolute;
    top: 0;
    right: -100%;
    margin: 100px 0;
    border-radius: 10px;
    -webkit-border-radius: 10px;
    -moz-border-radius: 10px;
    -ms-border-radius: 10px;
    -o-border-radius: 10px;
    transition: right 0.5s linear;
    -webkit-transition: right 0.5s linear;
    -moz-transition: right 0.5s linear;
    -ms-transition: right 0.5s linear;
    -o-transition: right 0.5s linear;
  }

  .navbar li {
    display: flex;
    justify-content: center;
    align-items: center;
    padding-right: 50px;
    width: 100%;
    height: 100%;
    border-bottom: 2px solid #00abf0;
    margin-bottom: 5px;
  }

  .navbar a {
    color: var(--bg-color-second);
  }

  /*** BANNER ***/
  section {
    padding: 10px;
    text-align: center;
  }

  .hero h1 {
    margin-top: 50px;
  }

  .hero h3 {
    font-size: 22px;
    margin-top: 30px;
  }

  .multiple-text {
    margin-top: 15px;
  }

  .btn-box {
    margin: auto;
  }

  .sphere {
    top: 60px;
    left: 50%;
    translate: -50% 0;
  }

  /*****            ****/

  .work h1 {
    margin-top: 30px;
  }

  .work h4 {
    margin-bottom: 20px;
  }

  .skill-title {
    margin-top: 30px;
  }

  .skill-section {
    margin-bottom: 40px;
  }
}

@media (max-width: 750px) {
  /*
  .header {
    background: aqua;
  }
    */

  .contentBx {
    padding: 50px;
    text-align: center;
  }

  .hero h1 {
    margin-top: 50px;
  }

  .contentBx h1 {
    font-size: 2.5rem;
    margin: 10px 0;
  }

  .contentBx h3 {
    font-size: 1.7rem;
  }

  .contentBx span {
    font-size: 1.5rem;
  }

  .banner .contentBx .btn-box {
    display: flex;
    align-items: center;
    width: 100%;
    margin-top: 4em;
    justify-content: center;
  }

  .btn-box .btn {
    width: 150px;
  }

  .sci {
    bottom: 1em;
    left: 50%;
    transform: translate(-50%, -50%);
  }

  /*************/

  .sphere {
    width: 400px;
    height: 400px;
  }

  .ring img {
    width: 130px;
    height: 70px;
  }

  .ring img:nth-child(1) {
    transform: translate(-50%, -50%) rotateY(0deg) rotateX(-15deg)
      translateZ(220px);
    animation-delay: 1s;
  }

  .ring img:nth-child(2) {
    transform: translate(-50%, -50%) rotateY(120deg) rotateX(-15deg)
      translateZ(220px);
    animation-delay: 1s;
  }

  .ring img:nth-child(3) {
    transform: translate(-50%, -50%) rotateY(240deg) rotateX(-15deg)
      translateZ(220px);
    animation-delay: 1s;
  }

  .ring img:nth-child(7) {
    transform: translate(-50%, -50%) rotateY(0deg) rotateX(20deg)
      translateZ(220px);
    animation-delay: 6s;
  }

  .ring img:nth-child(8) {
    transform: translate(-50%, -50%) rotateY(120deg) rotateX(20deg)
      translateZ(220px);
    animation-delay: 7s;
  }

  .ring img:nth-child(9) {
    transform: translate(-50%, -50%) rotateY(240deg) rotateX(20deg)
      translateZ(220px);
    animation-delay: 8s;
  }

  .skills-content {
    height: auto;
  }
}

@media (max-width: 650px) {
  /*** BANNER ***/
  /*
  .header {
    background: red;
  }
  */

  .banner {
    height: 600px;
  }
}

@media (max-width: 530px) {
  /*
  .header {
    background: palegreen;
  }
    */

  .logo h2 {
    margin-left: 40px;
  }

  .contentBx {
    padding: 10px;
    text-align: center;
  }

  .contentBx h1 {
    font-size: 2.2rem;
    margin: 20px 0 15px;
  }

  .contentBx h3 {
    font-size: 1.5rem;
  }

  .contentBx span {
    font-size: 1.2rem;
  }

  /*************/

  .sphere {
    width: 350px;
    height: 350px;
  }

  .skills-content .content {
    justify-content: center;
  }

  /*** MENU ***/

  .logo {
    margin-left: 50px;
  }

  .navbar {
    width: 100%;
  }

  /*** WORK ***/

  .work {
    padding: 10px;
  }

  .work h1 {
    margin-top: 20px;
  }

  .work h2 {
    font-size: 16px;
  }

  .work h4 {
    letter-spacing: 1px;
    font-size: 16px;
  }

  /*** FOOTER ***/

  .copyright {
    height: 150px;
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }
}

@media (max-width: 420px) {
  /*** HEADER ***/
  /*.header {
    background: palevioletred;
  }*/
  .logo {
    margin-left: 30px;
  }

  .nav-menu {
    margin-right: 30px;
    font-size: 35px;
  }

  /*** SERVICES ***/
  .services {
    padding: 5px;
  }

  .services .title {
    margin-top: 20px;
  }
  .contentSv {
    width: 90%;
  }

  .boxSv {
    height: 300px;
  }

  .overlay {
    z-index: 100;
  }

  .card {
    width: 300px;
  }

  .Sv2,
  .Sv1 {
    padding: 1px;
  }

  /*** ABOUT ***/
  .title {
    font-size: 2em;
  }
  .about p {
    width: 300px;
  }

  /*** SKILL ***/

  .skills-content .content span {
    width: 4.5rem;
  }

  .skills-content h3 {
    font-size: 21px;
  }

  .title.blue {
    font-size: 2em;
  }
}
