@import url("https://fonts.googleapis.com/css?family=Bebas+Neue&display=swap");
:root {
  --animation-duration: 2400ms;
  --animation-timing-function: ease-in-out;
  --animation-iteration-count: infinite;
  --bg-color: #f378c7;
}
::-webkit-scrollbar {
  width: 0px;
}

::-webkit-scrollbar-track {
  background: rgba(212, 8, 8, 0);
}

::-webkit-scrollbar-thumb {
  background-color: rgba(232, 232, 250, 0);
}
.dc,
.ac {
  display: none !important;
}
*,
html,
body {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  cursor: none;
}
body {
  overflow: hidden;
  background-color: #fee440;
}
svg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
}

@keyframes gradient {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

* {
  cursor: inherit;
}
.z-10 {
  z-index: 10;
}
#cursor {
  position: absolute;
  left: -28px;
  z-index: 1000;
  top: -34px;
  will-change: transform;
  transform: translate(-999px, -999px);
  pointer-events: none;
}
#cursor img {
  will-change: transform;
  width: 36px;
  transition: transform 0.1s linear;
}
.scroll{
    width: min-content;
    transform: rotate(10deg);
    right: -32%;
    position: relative;
}

/* iphone */

.iphone-l {
  width: 20%;
  height: 100%;
  position: relative;
  background-size: contain;
  min-width: 315px;
  backdrop-filter: blur(40px);
  box-shadow: 0px 0px 19px -8px rgb(255, 255, 255);
  border-radius: 20px;
  min-height: 424px;
  display: flex;
  padding: 5% 0;
  justify-content: center;
  align-content: center;
  flex-wrap: wrap-reverse;
}

.iphone-l > .screen-ll {
  width: 257px;
  height: 440px;
  overflow: hidden;
}

.touch {
  overflow: hidden !important;
  border: 10px solid #f00;
}
#shot {
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  overflow-x: hidden;
}

#shot.is-with-scroll {
  width: 257px;
  border-radius: 20px;
}

#shot .menu-l {
  position: relative;
}

#shot .menu-l.is-loaded {
  background: #69d2e7;
  /* Old browsers */
  /* IE9 SVG, needs conditional override of 'filter' to 'none' */
  background: -moz-linear-gradient(
    top,
    #69d2e7 0%,
    #69d2e7 50%,
    #fe4365 51%,
    #fe4365 100%
  );
  /* FF3.6+ */
  background: -webkit-gradient(
    linear,
    left top,
    left bottom,
    color-stop(0%, #69d2e7),
    color-stop(50%, #69d2e7),
    color-stop(51%, #fe4365),
    color-stop(100%, #fe4365)
  );
  /* Chrome,Safari4+ */
  background: -webkit-linear-gradient(
    top,
    #69d2e7 0%,
    #69d2e7 50%,
    #fe4365 51%,
    #fe4365 100%
  );
  /* Chrome10+,Safari5.1+ */
  background: -o-linear-gradient(
    top,
    #69d2e7 0%,
    #69d2e7 50%,
    #fe4365 51%,
    #fe4365 100%
  );
  /* Opera 11.10+ */
  background: -ms-linear-gradient(
    top,
    #69d2e7 0%,
    #69d2e7 50%,
    #fe4365 51%,
    #fe4365 100%
  );
  /* IE10+ */
  background: linear-gradient(
    to bottom,
    #69d2e7 0%,
    #69d2e7 50%,
    #fe4365 51%,
    #fe4365 100%
  );
  /* W3C */
}

#shot .content-ll {
  position: absolute;
  top: 0;
  left: 0;
  width: 257px;
  height: 100%;
  background-color: transparent !important;
  overflow: hidden;
  font-size: 25px;
  line-height: 30px;
  -webkit-transform: rotate3d(0, 0, 0);
  -moz-transform: rotate3d(0, 0, 0);
  -ms-transform: rotate3d(0, 0, 0);
  -o-transform: rotate3d(0, 0, 0);
  transform: rotate3d(0, 0, 0);
}

.section-b {
  height: 200px;
  position: relative;
  cursor: pointer;
}

.section-b:active:after {
  width: 76px;
  height: 76px;
  margin-top: -38px;
  margin-left: -38px;
  background-size: 100% 100%;
  -webkit-transition: all 0.15s ease-out;
  -moz-transition: all 0.15s ease-out;
  -o-transition: all 0.15s ease-out;
  transition: all 0.15s ease-out;
}

.section-b.is-check {
  z-index: 1;
  position: fixed;
  width: 100%;
  height: 100%;
  left: 0;
  top: 0;
  background-color: #f00;
}

.section-b:after {
  position: absolute;
  top: 50%;
  left: 50%;
  margin-top: -50px;
  margin-left: -50px;
  content: "";
  width: 100px;
  height: 100px;
  background: transparent
    url("https://cdn.iconscout.com/icon/premium/png-512-thumb/javascript-2752148-2284965.png?f=avif&w=256")
    no-repeat center center;
  background-size: 100% 100%;
}

.section-b.is-js:after {
  background: transparent
    url("https://cdn.iconscout.com/icon/free/png-512/free-typescript-1-1175078.png?f=avif&w=256")
    no-repeat center center;
  background-size: 100% 100%;
}

.section-b.is-ts:after {
  background: transparent
    url("https://cdn.iconscout.com/icon/free/png-512/free-sass-226054.png?f=avif&w=256")
    no-repeat center center;
  background-size: 100% 100%;
}

.section-b.is-sass:after {
  background: transparent
    url("https://cdn.iconscout.com/icon/free/png-512/free-angular-3-226070.png?f=avif&w=256")
    no-repeat center center;
  background-size: 100% 100%;
}

.section-b.is-angular:after {
  background: transparent
    url("https://cdn.iconscout.com/icon/free/png-512/free-react-3-1175109.png?f=avif&w=256")
    no-repeat center center;
  background-size: 100% 100%;
}

.section-b.is-react:after {
  background: transparent
    url("https://cdn.iconscout.com/icon/free/png-512/free-nodejs-2-226035.png?f=avif&w=256")
    no-repeat center center;
  background-size: 100% 100%;
}

.section-b.is-sql:after {
  background: transparent
    url("https://cdn.iconscout.com/icon/free/png-512/free-sql-4-190807.png?f=avif&w=256")
    no-repeat center center;
  background-size: 100% 100%;
}

.section-b.is-git:after {
  background: transparent
    url("https://cdn.iconscout.com/icon/premium/png-512-thumb/git-2752184-2285001.png?f=avif&w=256")
    no-repeat center center;
  background-size: 100% 100%;
}

.section-b.is-html:after {
  background: transparent
    url("https://cdn.iconscout.com/icon/free/png-512/free-html-59-225995.png?f=avif&w=256")
    no-repeat center center;
  background-size: 100% 100%;
}

.section-b.is-next:after {
  background: transparent
    url("https://cdn.worldvectorlogo.com/logos/nextjs-2.svg") no-repeat center
    center;
  background-size: 100% 100%;
}

/* SKILL TITLE */

.icons {
  display: none;
}

.skill {
  position: relative;
  width: 100%;
  height: 142px;
  left: 4%;
}
.container--1 {
  --delay-offset: -1000ms;
}
.container--1 .text .char-container:nth-child(1) .icon {
  top: 50%;
  left: 10%;
}
.container--1 .text .char-container:nth-child(5) .icon {
  top: 15%;
  left: 50%;
}
.container--2 {
  --delay-offset: -2000ms;
}
.container--2 .text .char-container:nth-child(2) .icon {
  top: 60%;
  left: 10%;
}
.container--2 .text .char-container:nth-child(4) .icon {
  top: 75%;
  left: 80%;
}
.skill .text-container,
.skill .shadow-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}
.skill .text {
  position: absolute;
  top: 50%;
  display: flex;
  font-size: 6rem;
  font-family: "Bebas Neue";
  font-weight: bold;
  letter-spacing: 5px;
  -webkit-text-stroke: 1px black;
  user-select: none;
  pointer-events: none;
}
.skill .text .char-container {
  position: relative;
}
.skill .text .icon {
  position: absolute;
  width: 1rem;
  height: 1rem;
  stroke-width: 25px;
  stroke: #91ff00;
  transform: translate(-50%, -50%);
  animation: scaleUpdown var(--animation-duration)
    var(--animation-timing-function) var(--animation-iteration-count);
  animation-delay: var(--icon-animation-delay);
}
.skill .text-container {
  z-index: 1;
}
.skill .text-container .text {
  transform: translate(-50%, -50%);
  animation: upDown var(--animation-duration) var(--animation-timing-function)
    var(--animation-iteration-count);
}
.skill .text-container .text .icon {
  fill: #e0c900;
}
.skill .text-container .text:nth-child(1) {
  left: 45.5%;
  animation-delay: calc(var(--delay-offset) + (0.1s * 1));
  z-index: -1;
}
.skill .text-container .text:nth-child(2) {
  left: 46%;
  animation-delay: calc(var(--delay-offset) + (0.1s * 2));
  z-index: -2;
}
.skill .text-container .text:nth-child(3) {
  left: 46.5%;
  animation-delay: calc(var(--delay-offset) + (0.1s * 3));
  z-index: -3;
}
.skill .text-container .text:nth-child(4) {
  left: 47%;
  animation-delay: calc(var(--delay-offset) + (0.1s * 4));
  z-index: -4;
}
.skill .shadow-container {
  z-index: 0;
}
.skill .shadow-container .text {
  -webkit-text-stroke: 0;
  color: #e900a3;
  top: 53%;
}
.skill .shadow-container .text:nth-child(1) {
  opacity: 0;
  left: 47.5%;
  transform: translate(-50%, -50%);
}
.skill .shadow-container .text:nth-child(2) {
  opacity: 0;
  left: 48%;
  transform: translate(-50%, -50%);
}
.skill .shadow-container .text:nth-child(3) {
  opacity: 0;
  left: 48.5%;
  transform: translate(-50%, -50%);
}
.skill .shadow-container .text:nth-child(4) {
  opacity: 0;
  left: 49%;
  transform: translate(-50%, -50%);
}
.skill .shadow-container .text .icon {
  fill: #e900a3;
  stroke-width: 0;
}

@keyframes upDown {
  0%,
  100% {
    opacity: 1;
    transform: translate(-50%, -70%);
  }
  50% {
    transform: translate(-50%, -30%);
  }
}
@keyframes scaleUpdown {
  0% {
    transform: translate(-50%, -50%) scale(1) rotate(0);
  }
  50% {
    transform: translate(-50%, -50%) scale(1.5) rotate(90deg);
  }
  100% {
    transform: translate(-50%, -50%) scale(1) rotate(180deg);
  }
}

/* CARROUSEL-EXPERIENCE */
#carousel-wrapper {
  width: 100%;
  height: auto;
  display: flex;
  margin-top: 20%;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  max-width: 790px;
}
#carousel-wrapper #menu {
  height: 380px;
  width: 100%;    backdrop-filter: blur(40px);
  overflow: hidden;
  font-weight: 700;
  line-height: 1;
  display: flex;
  padding: 0 5%;
  border-radius: 20px;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  vertical-align: middle;
  transition: all 0.6s ease-in-out;
}
#carousel-wrapper #menu #current-option {
  position: relative;
  width: 100%;
  height: 100%;
  transform: translate(-25%, 0%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
#carousel-wrapper #menu #current-option #current-option-text1 {
  font-size: 1.6rem;
  line-height: 2rem;
  width: 220px;
  height: 100px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
}
#carousel-wrapper #menu #current-option #current-option-text1::before {
  content: attr(data-next-text);
  position: absolute;
  transform: translate(0%, 380px);
  width: 100%;
  height: 200px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
}
#carousel-wrapper #menu #current-option #current-option-text1::after {
  content: attr(data-previous-text);
  position: absolute;
  transform: translate(0%, -380px);
  width: 100%;
  height: 200px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
}
#carousel-wrapper #menu #current-option #current-option-text2 {
  font-size: 1rem;
  width: 220px;
  height: 40px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-end;
}
#carousel-wrapper #menu #current-option #current-option-text2::before {
  content: attr(data-next-text);
  position: absolute;
  transform: translate(0%, 380px);
  width: 100%;
  height: 40px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-end;
}
#carousel-wrapper #menu #current-option #current-option-text2::after {
  content: attr(data-previous-text);
  position: absolute;
  transform: translate(0%, -380px);
  width: 100%;
  height: 40px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-end;
}
#carousel-wrapper #menu #previous-option {
    width: 2.5rem;
    height: 2.5rem;
  border: none;
  display: block;
  cursor: pointer;
  background: url("data:image/svg+xml,%3Csvg version='1.1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' x='0px' y='0px' viewBox='0 0 256 256'%3E%3Cpolygon points='225.813,48.907 128,146.72 30.187,48.907 0,79.093 128,207.093 256,79.093' fill='%23333'%3E%3C/polygon%3E%3C/svg%3E");
  background-size: contain;
  position: absolute;  background-repeat: no-repeat;
  transform: translate(290px, 50px);
}
#carousel-wrapper #menu #next-option {
  width: 2.5rem;
  height: 2.5rem;
  border: none;
  display: block;
  cursor: pointer;
  background: url("data:image/svg+xml,%3Csvg version='1.1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' x='0px' y='0px' viewBox='0 0 256 256'%3E%3Cpolygon points='225.813,48.907 128,146.72 30.187,48.907 0,79.093 128,207.093 256,79.093' fill='%23333'%3E%3C/polygon%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
  position: absolute;
  transform: translate(290px, -50px) rotate(180deg);
}
#carousel-wrapper #image {
  height: 170px;
  width: 170px;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  z-index: 101;
  position: absolute;
  transform: translate(140px, 0);
}
#carousel-wrapper.anim-next {
  pointer-events: none;
}
#carousel-wrapper.anim-next #current-option-text1 {
  animation: next-text 0.65s 0.085s;
}
#carousel-wrapper.anim-next #current-option-text2 {
  animation: next-text 0.65s 0.085s;
}
#carousel-wrapper.anim-next #previous-option {
  animation: next-top-arrow 0.65s 0.085s;
}
#carousel-wrapper.anim-next #next-option {
  animation: next-bottom-arrow 0.65s 0.085s;
}
#carousel-wrapper.anim-next #image {
  animation: next-image 0.65s 0.085s;
}
#carousel-wrapper.anim-previous {
  pointer-events: none;
}
#carousel-wrapper.anim-previous #current-option-text1 {
  animation: previous-text 0.65s 0.085s;
}
#carousel-wrapper.anim-previous #current-option-text2 {
  animation: previous-text 0.65s 0.085s;
}
#carousel-wrapper.anim-previous #previous-option {
  animation: previous-top-arrow 0.65s 0.085s;
}
#carousel-wrapper.anim-previous #next-option {
  animation: previous-bottom-arrow 0.65s 0.085s;
}
#carousel-wrapper.anim-previous #image {
  animation: previous-image 0.65s 0.085s;
}

@keyframes previous-text {
  50%,
  55% {
    transform: translate(0%, 390px);
  }
  to {
    transform: translate(0%, 380px);
  }
}
@keyframes previous-top-arrow {
  50% {
    transform: translate(310px, 53px);
  }
}
@keyframes previous-bottom-arrow {
  50% {
    transform: translate(310px, -47px) rotate(180deg);
  }
}
@keyframes previous-image {
  0% {
    transform: translate(140px, 0) scale(1);
    opacity: 1;
  }
  70% {
    transform: translate(140px, 0) scale(1.1);
    opacity: 0;
  }
  100% {
    transform: translate(140px, 0) scale(1);
    opacity: 1;
  }
}
@keyframes next-text {
  50%,
  55% {
    transform: translate(0%, -390px);
  }
  to {
    transform: translate(0%, -380px);
  }
}
@keyframes next-top-arrow {
  50% {
    transform: translate(310px, 47px);
  }
}
@keyframes next-bottom-arrow {
  50% {
    transform: translate(310px, -53px) rotate(180deg);
  }
}
@keyframes next-image {
  0% {
    transform: translate(140px, 0) scale(1);
    opacity: 1;
  }
  70% {
    transform: translate(140px, 0) scale(1.1);
    opacity: 0;
  }
  100% {
    transform: translate(140px, 0) scale(1);
    opacity: 1;
  }
}

.center {
    position: relative;
    top: 100px;
    left: 50%;
  transform: prespective(1000px) translate(-50%, -50%);
  transform: skewY(15deg);
  transition: 0.5s;
}

.center:hover {
  transform: prespective(1000px) translate(-50%, -50%);
  transform: skewY(0deg);
}

.center h1 span {
  position: absolute;
  top: 0;
  left: 0;
  transform: translate(-50%, -50%);
  margin: 0;
  padding: 0;
  text-transform: uppercase;
  font-size: 2em;
  color: #fff;
  transform-style: preserve-3d;
  transition: 0.8s;
}
.center h1 span:nth-child(1) {
  clip-path: polygon(0 0, 100% 0, 100% 45%, 0 45%);
}

.center h1 span:nth-child(2) {
  color: #5e17eb;
  transform: translate(-50%, -50%) skewX(-60deg);
  left: -38px;
  clip-path: polygon(0 45%, 100% 45%, 100% 55%, 0 55%);
}

.center h1 span:nth-child(3) {
  transform: translate(-50%, -50%) skewY(0deg);
  left: -76px;
  clip-path: polygon(0 55%, 100% 55%, 100% 100%, 0 100%);
}

.center:hover h1 span:nth-child(2),
.center:hover h1 span:nth-child(3) {
  transform: translate(-50%, -50%) skewX(0deg);
  left: 0;
  color: #fff;
}
