:root {
  --font-base: "Plus Jakarta Sans", sans-serif;
  --color-primary-dark: #1e1b4b;
  --color-primary-lightdark: #4338ca;
  --color-primary-medium: #818cf8;
  --color-primary-light: #CBFBF1;
  --color-primary-extralight: #F0FDFA;
  --color-primary-medium: #0000ff;
  --color-grey-dark: #1d293d;
  --color-grey-medium: #45556c;
  --color-grey-light: #90a1b9;
  --color-grey-extralight: #f7f7f7;
  --color-accent-sky: #075985;
  --color-accent-fuchsia: #86198f;
  --color-accent-yellow: #fde047;
  --shadow-big: 0 25px 50px -12px rgba(144, 161, 185, 0.25);
  --shadow-big-test: 0 0 20px #2f415f;
  --shadow-medium: 0 4px 6px -1px rgba(144, 161, 185, 0.1), 0 2px 4px -2px rgba(144, 161, 185, 0.1);
  --shadow-small: 0 1px 2px 0 rgba(144, 161, 185, 0.5);
  --nav-height: 1.8rem;
}

/* BASE STYLES */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

*:focus {
  outline: none;
}

::selection {
  background-color: var(--color-primary-medium);
  color: var(--color-grey-extralight);
}

html {
  scroll-behavior: smooth;
  scrollbar-width: thin;
  font-size: 62.5%;
  overflow-x: hidden;
}

body {
  position: relative;
  overflow-x: hidden;
  font-family: var(--font-base);
  font-size: 1.6rem;
  color: var(--color-grey-extralight);
  background-color: #1a0e29;
  background-image: radial-gradient(circle at 75% 45%, rgba(252, 165, 248, 0.3) 0%, transparent 30%), radial-gradient(circle at 25% 75%, rgba(100, 204, 255, 0.3) 0%, transparent 30%);
  overflow-x: hidden;
}

ul {
  list-style: none;
}

a {
  display: inline-block;
  text-decoration: none;
  color: inherit;
}

a,
button {
  cursor: pointer;
}

p {
  line-height: 1.8;
}

button,
input {
  border: none;
  font-family: inherit;
}

img {
  display: block;
}

::selection {
  background-color: var(--color-primary-lightdark);
}

.main {
  padding: 6.4rem 8rem;
  mask-image: linear-gradient(to bottom, transparent 0%, black 2rem);
  display: flex;
  flex-direction: column;
  gap: 8rem;
  border-bottom: 1px solid var(--color-grey-dark);
}

@media (max-width: 70em) {
  html {
    font-size: 56.25%;
  }
}
@media (max-width: 41em) {
  .main {
    padding: 2.4rem 4.8rem 6.4rem;
  }
}
@media (pointer: coarse) {
  html,
  body {
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    -webkit-tap-highlight-color: transparent;
  }
}
.nav__icon-box {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 2.4rem;
  right: 4.8rem;
  transform: translateX(calc(100% + 6.4rem));
}

.nav__icon-box--show {
  animation: appearFromRight 0.8s ease-out 2s forwards;
}

@keyframes appearFromRight {
  to {
    opacity: 1;
    transform: translateX(0);
  }
}
.nav__icon {
  width: 4.4rem;
  height: 4.4rem;
  transition: transform 0.2s;
  border: 1px solid var(--color-primary-light);
  border-radius: 50%;
}
.nav__icon:hover {
  transform: scale(1.1);
}

.nav__icon--menu {
  background-color: var(--color-grey-dark);
  position: relative;
}
.nav__icon--menu::before, .nav__icon--menu::after {
  content: "";
  display: block;
  width: 3.2rem;
  height: 1px;
  background-color: var(--color-primary-light);
  position: absolute;
  border-radius: 100rem;
  left: 50%;
  transform: translate(-50%, -50%) scaleY(2);
  transition: transform 0.3s;
}
.nav__icon--menu::before {
  top: calc(50% + 3px);
}
.nav__icon--menu::after {
  top: calc(50% - 3px);
}

.nav__icon--menu-closed::before {
  top: 50%;
  transform: translate(-50%, -50%) rotateZ(45deg) scaleY(2);
}
.nav__icon--menu-closed::after {
  top: 50%;
  transform: translate(-50%, -50%) rotateZ(-45deg) scaleY(2);
}

.nav__icon--github {
  border-radius: 100rem;
}

.nav__icon--lang {
  background-image: linear-gradient(120deg, var(--color-grey-light), var(--color-accent-sky));
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
}
.nav__icon--lang img {
  width: 3.6rem;
}

@media (max-width: 70em) {
  .nav__icon-box {
    position: static;
  }
}
@media (max-width: 50em) {
  .nav__icon-box {
    transform: translateY(-1.2rem);
    opacity: 0;
  }
  .nav__icon-box--show {
    animation: appear 0.6s ease-out 0.9s forwards;
  }
}
.heading-1 {
  font-size: 7rem;
  font-weight: 300;
  letter-spacing: 4px;
  word-spacing: 1.2rem;
  line-height: 1.1;
  background-image: linear-gradient(120deg, var(--color-primary-light) 30%, var(--color-accent-sky), var(--color-primary-light) 70%);
  background-image: linear-gradient(120deg, var(--color-primary-light) 40%, var(--color-accent-fuchsia) 47%, var(--color-accent-sky) 52%, var(--color-primary-light) 60%);
  background-size: 300%;
  background-clip: text;
  color: transparent;
  opacity: 0;
  transform: translateX(-8rem) translateZ(0);
}

.heading-1--show {
  animation: enterToRight 1s ease-out forwards, moveSideToSide 8s linear infinite;
}

.heading-2 {
  font-size: 3.2rem;
  color: var(--color-grey-extralight);
  font-weight: 300;
  text-transform: uppercase;
  text-align: center;
  width: fit-content;
  background-image: linear-gradient(135deg, var(--color-grey-extralight) 40%, var(--color-accent-sky));
  background-clip: text;
  color: transparent;
  margin: 8rem auto 4.8rem;
}

.heading-2-sub {
  font-size: 2rem;
  text-transform: uppercase;
  letter-spacing: 6px;
  font-size: 1.6rem;
  font-weight: 400;
  line-height: 1.6;
  text-align: center;
  opacity: 0;
  transform: translateX(8rem) translateZ(0);
}

.heading-2-sub--show {
  animation: enterToLeft 1s ease-out forwards;
}

.heading-3 {
  font-size: 2.2rem;
  font-weight: 300;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--color-grey-extralight);
  text-align: center;
  padding-bottom: 2.4rem;
}

.heading-4 {
  font-size: 1.8rem;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--color-grey-dark);
}

@keyframes moveSideToSide {
  from {
    background-position: 100%;
  }
  to {
    background-position: 0%;
  }
}
@keyframes enterToRight {
  75% {
    opacity: 0.75;
    transform: translateX(1rem);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}
@keyframes enterToLeft {
  75% {
    opacity: 0.75;
    transform: translateX(-1rem);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}
@media (max-width: 41em) {
  .heading-1 {
    font-size: 6rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 1.2rem;
  }
  .heading-1 span:first-child {
    margin-left: -3.6rem;
  }
}
.header__nav {
  font-size: 1.8rem;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 5.2rem;
  list-style-type: none;
  padding: var(--nav-height) 0;
  letter-spacing: 1px;
  border-bottom: 1px solid var(--color-grey-dark);
  backdrop-filter: blur(10px);
  z-index: 1;
  width: 100%;
  top: 50px;
}

@keyframes appear {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.header__nav li {
  opacity: 0;
  transform: translateY(-1.2rem) translateZ(0);
}

.link--show {
  animation: appear 0.6s ease-out forwards;
}
.link--show:first-child {
  animation-delay: 0.6s;
}
.link--show:nth-child(2) {
  animation-delay: 0.9s;
}
.link--show:nth-child(3) {
  animation-delay: 1.2s;
}
.link--show:nth-child(4) {
  animation-delay: 1.5s;
}
.link--show:nth-child(5) {
  animation-delay: 1.8s;
}

.nav__link {
  position: relative;
  overflow: hidden;
  line-height: 1.6;
  font-weight: 300;
}
.nav__link::before {
  transition: width 0.4s;
  content: "";
  display: inline-block;
  width: 2px;
  height: 1px;
  background-color: #fff;
  position: absolute;
  left: -2px;
  bottom: 0;
}
.nav__link:hover::before {
  width: 100%;
}

.header__mobile {
  position: fixed;
  width: 100%;
  height: 100vh;
  list-style-type: none;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 3.2rem;
  font-size: 3.2rem;
  letter-spacing: 1px;
  background-image: linear-gradient(120deg, var(--color-grey-light), var(--color-primary-dark));
  transform: translateX(100%);
  transition: transform 0.4s;
}

.header__mobile--open {
  transform: translateX(0);
}

.header__title-box,
.main,
.footer {
  transition: opacity 0.2s 0.1s;
}

html:has(.header__mobile--open) {
  overflow: hidden;
  pointer-events: none;
}
html:has(.header__mobile--open) .header__mobile,
html:has(.header__mobile--open) .nav__mobile {
  pointer-events: visible;
}
html:has(.header__mobile--open) .header__title-box,
html:has(.header__mobile--open) .main,
html:has(.header__mobile--open) .footer {
  opacity: 0;
  transition: opacity 0.2s;
}

.header__nav--fixed {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.nav__icon--menu {
  display: none;
}

@media (max-width: 70em) {
  .header__nav {
    gap: 3.6rem;
    justify-content: space-around;
    padding-right: 2.4rem;
    padding-left: 6.4rem;
  }
}
@media (max-width: 50em) {
  .header__nav {
    justify-content: space-between;
  }
  .header__nav li {
    display: none;
  }
  .nav__mobile {
    display: flex !important;
  }
}
.header {
  height: calc(100vh + 12.8rem);
  position: relative;
}

.header::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(134, 25, 143, 0.1254901961), rgba(134, 25, 143, 0.1254901961)), url("../../img/hero/planet.webp");
  background-size: cover;
  background-position: bottom;
  mask-image: linear-gradient(#000 100vh, transparent 100%);
  z-index: -1;
}

.header__canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  clip-path: polygon(0% 0%, 100% 0%, 100% 100%, 85% 80%, 70% 65%, 50% 60%, 30% 70%, 15% 80%, 0% 100%);
}

.header__title-box {
  display: flex;
  flex-direction: column;
  gap: 3.2rem;
  width: 100%;
  position: absolute;
  top: 35%;
  left: 50%;
  padding: 0 2.4rem;
  transform: translate(-50%, -50%);
}
.header__title-box > * {
  text-align: center;
}

@media (max-width: 70em) {
  .header::before {
    background-image: linear-gradient(rgba(134, 25, 143, 0.1254901961), rgba(134, 25, 143, 0.1254901961)), url("../../img/hero/planet-1920.webp");
  }
}
@media (max-width: 41em) {
  .header::before {
    background-image: linear-gradient(rgba(134, 25, 143, 0.1254901961), rgba(134, 25, 143, 0.1254901961)), url("../../img/hero/planet-1280.webp");
  }
}
.about p {
  letter-spacing: 1px;
  font-weight: 100;
  text-align: center;
  padding: 0 10%;
  margin-top: -0.8rem;
}

.projects__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(40rem, 1fr));
  gap: 4.8rem;
  align-items: stretch;
  padding-top: 0.8rem;
}

.project-card {
  border-radius: 1rem;
  overflow: hidden;
  font-size: 1.6rem;
  background-color: var(--color-grey-light);
  border: 1px solid var(--color-grey-light);
  transition: transform 0.2s;
}
.project-card:hover {
  transform: translateY(-1.2rem) scale(1.05);
}

.project-card__img {
  width: 100%;
  object-fit: contain;
  mask-image: linear-gradient(#000 90%, transparent 100%);
}

.project-card__info {
  padding: 2.4rem;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  background-image: linear-gradient(var(--color-grey-light), var(--color-grey-extralight));
  color: var(--color-grey-dark);
}

@media (max-width: 41em) {
  .projects__grid {
    grid-template-columns: repeat(auto-fit, minmax(25rem, 1fr));
  }
}
.skills__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(30rem, 1fr));
  justify-items: center;
  align-content: center;
  gap: 6.4rem;
}

.skills__box {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.2rem;
  max-width: 40rem;
}

.skill__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.8rem;
}
.skill__item > img {
  width: 8rem;
  height: 8rem;
}
.skill__item > p {
  font-weight: 300;
}

.item_scaling_adjust {
  transform: scale(0.77);
}

.footer {
  font-weight: 300;
  letter-spacing: 0.2rem;
  padding: 3.2rem;
  width: fit-content;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.2rem;
}

/*# sourceMappingURL=style.css.map */
