* {
  margin: 0;
  padding: 0;
  text-decoration: none;
  list-style: none;
  font-family: "Kanit", "Arial Narrow", Arial, sans-serif;
  scroll-behavior: smooth !important;
}
::selection {
  color: rgb(37, 37, 37);
  background: rgb(116, 116, 116);
}

img {
  user-select: none;
  border-radius: 2rem;
}

body {
  background-color: black;
  overflow-x: hidden;
  overflow-y: hidden;
}

/* ZMIENNE */

/* MAIN WRAPPER */
#wrapper-main {
  width: 100%;
  height: 100%;
  z-index: 100;
}

/* TOP WRAPPER */
#wrapper-top {
  background-image: linear-gradient(rgba(0, 0, 0, 0.39) 50%, rgba(0, 0, 0, 0));
  width: 100%;
  height: max-content;
  position: fixed;
  z-index: 100;
  padding: 1rem 0;
  top: 0;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
}

#wrapper-top ul {
  width: 25%;
  align-items: center;
  justify-content: center;
  display: flex;
  text-align: center;
}

#wrapper-top ul li {
  text-align: center;
  margin: 0 5rem;
}

#wrapper-top ul li a {
  height: 100%;
  width: 100%;
  display: flex;
  color: rgba(255, 255, 255, 0.432);
  justify-content: center;
  align-items: center;
  outline: 0px solid transparent;
  font-size: 1.5rem;
  border-radius: 0.5rem;
  transition: ease-in-out 0.2s;
  font-weight: 900;
  letter-spacing: 3px;
  -webkit-text-stroke: 0px;
  padding: 0.3rem 0rem;
}

#wrapper-top ul li a:hover:not(.active) {
  color: rgb(255, 255, 255);
  -webkit-text-fill-color: transparent;
  -webkit-text-stroke: 1px;
  transition: ease-in-out 0.2s;
}

#wrapper-top ul li a.active {
  color: rgb(255, 255, 255);
  transition: ease-in-out 0.2s;
}

/* NAV WRAPPER */
#wrapper-nav {
  top: 50%;
  left: 7.5%;
  transform: translate(50%, -50%);
  height: max-content;
  width: max-content;
  background-color: rgba(54, 54, 54, 0.589);
  position: fixed;
  z-index: 70;
  padding: 0.6rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  border-radius: 3rem;
  gap: 0.2rem;
}

#wrapper-nav a {
  width: 15px;
  height: 15px;
  padding: 10px;
  border-radius: 5rem;
  position: relative;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
}

#wrapper-nav a:active span,
#wrapper-nav a.active span {
  background-color: rgb(255, 255, 255);
  box-shadow: 0 0 0px 5px white;
}

#wrapper-nav a:hover:not(.active) span {
  box-shadow: 0 0 0px 3px white;
  background-color: transparent;
}

#wrapper-nav a span {
  width: 100%;
  aspect-ratio: 1;
  background-color: rgba(255, 255, 255, 0.301);
  outline: 0px solid transparent;
  transition: 0.2s ease-in-out;
  border-radius: 5rem;
  clip: auto;
  pointer-events: none;
}

/**************** SECTIONS ****************/
.section {
  height: 100vh;
  position: relative;
  z-index: 2;
  opacity: 0;
  user-select: none;
}

.section .about {
  position: fixed;
  right: 10%;
  top: 69%;
  display: flex;
  flex-direction: column;
  align-items: end;
  justify-content: left;
  text-align: right;
  z-index: 2;
}

.section .about h2 {
  z-index: 1;
  font-size: 5rem;
  font-size: clamp(3rem, 4vw + 1rem, 5rem);
  line-height: clamp(3rem, 4vw + 1rem, 5rem);
  text-shadow: 0rem 0rem 1rem rgb(255, 255, 255);
}

.section-more .more-center .other {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  padding: 1rem 0;
  border-radius: 2rem;
}

.section-more .more-center .other h1 {
  color: white;
  font-size: 5rem;
  line-height: 4rem;
}

.tags {
  display: inline-flex;
  color: rgb(0, 0, 0);
  width: auto;
  gap: 10px;
  margin: 0.3rem 0 0 0;
}

.tag {
  padding: 0 10px;
  width: fit-content;
  height: fit-content;
  border-radius: 0.5rem;
}

.eevee {
  color: rgb(127, 201, 125);
  background-color: rgb(85, 92, 58);
}

.cycles {
  color: rgb(224, 171, 121);
  background-color: rgb(87, 65, 56);
}

.date {
  color: rgb(131, 218, 218);
  background-color: rgb(71, 85, 84);
}

.fan {
  color: rgb(200, 116, 211);
  background-color: rgb(78, 51, 76);
}

.lopoly {
  color: rgb(116, 157, 211);
  background-color: rgb(51, 67, 78);
}

.hipoly {
  color: rgb(211, 116, 116);
  background-color: rgb(78, 51, 51);
}

.seemore {
  font-size: 1.5rem;
  line-height: 3rem;
  color: rgb(160, 160, 160);
}

.seemore:hover {
  color: white;
}

.watchfull {
  font-size: 1.5rem;
  line-height: 3rem;
  color: rgb(160, 160, 160);
}

.watchfull:hover {
  color: rgb(255, 117, 117);
}

a.art {
  text-shadow: 0rem 0rem 0.5rem rgb(255, 255, 255);
  color: rgba(255, 255, 255, 0.432);
}

a.art:hover:not(.active) {
  text-shadow: 0rem 0rem 0.5rem rgb(255, 255, 255);
}

a.art:not(.active) {
  text-shadow: 0rem 0rem 0.75rem rgba(255, 255, 255, 0.445);
  animation: art-pulse 3s infinite ease-in-out;
}

@keyframes art-pulse {
  0% {
    text-shadow: 0rem 0rem 0.75rem rgba(255, 255, 255, 0.445);
  }

  50% {
    text-shadow: 0rem 0rem 1rem rgba(255 255, 255, 0.89);
    color: rgb(255, 255, 255);
  }

  100% {
    text-shadow: 0rem 0rem 0.75rem rgba(255, 255, 255, 0.445);
  }
}

.section {
  color: white;
}

.display {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  background-size: cover;
  background-position: center;
  transition: background-image 0.75s ease-in-out;
  pointer-events: none;
}

.display video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  object-fit: cover;
  transition: opacity 2s ease-in-out;
  opacity: 0;
  pointer-events: none;
  scale: 1;
}

.display .modue {
  scale: 1;
  object-fit: cover;
  height: auto;
  min-height: 100%;
  top: 0%;
}
.display .wheel {
  object-fit: contain;
  height: 100%;
  transform: translate(0%, 0%) scale(1.7);
  /* min-height: 100%; */
  top: 0%;
}

.gradient {
  position: absolute;
  top: 0;
  width: 100%;
  height: 100vh;
  z-index: 1;
  background-image: linear-gradient(
    90deg,
    rgb(0, 0, 0) 0%,
    transparent 20%,
    transparent 55%,
    rgb(0, 0, 0) 95%
  );
}

/*  SCROLL BAR  */
::-webkit-scrollbar-button {
  background-color: black;
  transition: ease-in-out 0.3s;
}
::-webkit-scrollbar-thumb {
  background-color: transparent;
  border-radius: 50px;
  transition: ease-in-out 0.3s;
}
::-webkit-scrollbar-thumb:hover {
  background-color: rgba(255, 255, 255, 0.529);
  border-radius: 50px;
  transition: ease-in-out 0.3s;
}
::-webkit-scrollbar-track-piece {
  background-color: black;
  transition: ease-in-out 0.3s;
}
::-webkit-scrollbar {
  background-color: transparent;
  width: 10px;
  transition: ease-in-out 0.3s;
}

/******************* CONTACT ME PAGE *******************/

.wrapper-contact {
  color: white;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100vh;
  height: 100lvh;
  font-weight: 100;
  gap: 1rem;
}

.wrapper-contact h1 {
  font-size: 5rem;
  line-height: 5rem;
  display: flex;
  flex-direction: column;
  text-align: center;
  margin: 4rem 0;
  font-weight: 400;
}

.wrapper-contact h3 {
  font-size: 2rem;
  font-weight: 200;
}

.wrapper-contact a {
  text-decoration: none;
  color: white;
  font-weight: 700;
}

.wrapper-contact h1 > p {
  font-size: 2rem;
  line-height: 0;
}

.ig {
  background: linear-gradient(90deg,rgba(168, 28, 237, 1) 0%, rgba(199, 87, 87, 1) 50%, rgba(237, 170, 83, 1) 100%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.out {
  background: linear-gradient(270deg,rgba(28, 52, 237, 1) 0%, rgba(83, 206, 237, 1) 100%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}



/********************** ANIMATIONS **********************/

.fadein {
  animation: 2s fade-in forwards ease-in-out;
}

.fadeout {
  animation: 1s fade-out forwards ease-in-out;
}

@keyframes fade-in {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes fade-out {
  from {
    opacity: 1;
  }

  to {
    opacity: 0;
  }
}

.slidein {
  animation: 1s slide-in forwards ease-in-out;
}

.slideout {
  animation: 1s slide-out forwards ease-in-out;
}

@keyframes slide-in {
  from {
    transform: translateX(200%);
  }

  to {
    transform: translateX(0%);
  }
}

@keyframes slide-out {
  from {
    transform: translateX(0%);
  }

  to {
    transform: translateX(200%);
  }
}


/*********************** ABOUT ME SECTION **********************/

.wrapper-aboutme {
  display: flex;
  flex-direction: row;
  /* align-items: center; */
  /* justify-content: center; */
  justify-self: center;
  color: white;
  height: 100vh;
  height: 100lvh;
  width: 80vw;
  padding: 5rem 0 0 0;
  text-align: left;
  gap: 3rem;
  font-weight: 100;
}

.wrapper-aboutme h3,
.wrapper-aboutme h2 {
  width: 100%;
  opacity: 0;
  font-weight: 200;
  /* line-height: 1.6rem; */
}

h2.bold {
  font-weight: 800;
}

.affinity {
  color: transparent;
  background-clip: text;
  background-image: linear-gradient(90deg, rgb(161, 82, 197) 50%, white 50%);
}

.vegas {
  color: transparent;
  background-clip: text;
  background-image: linear-gradient(90deg, rgb(46, 154, 255) 50%, white 50%);
}

.davinci {
  color: rgba(255, 255, 255, 0);
  background-clip: text;
  background-image: linear-gradient(
    90deg,
    rgb(255, 53, 114) 0%,
    rgb(43, 160, 255) 25%,
    rgb(226, 205, 86) 50%,
    white 50%
  );

  /* color: rgb(56, 99, 138); */
}

.blender {
  /* color: rgb(255, 120, 30); */
  color: transparent;
  background-clip: text;
  background-image: linear-gradient(90deg, rgb(255, 120, 30) 50%, white 50%);
}

.colorslide {
  background-size: 200%;
  background-position: 100% 50%;
  animation: colorslide 1s linear forwards;
  animation-delay: 2s;
  font-weight: 600;
}

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

  100% {
    background-position: 0% 50%;
  }
}

.hidden {
  display: none;
}

:root {
  --fade-in-delay: 0.5s;
}

.wrapper-aboutme .fadein:nth-child(2) {
  animation-delay: calc(var(--fade-in-delay) * 2);
}
.wrapper-aboutme .fadein:nth-child(3) {
  animation-delay: calc(var(--fade-in-delay) * 3);
}
.wrapper-aboutme .fadein:nth-child(4) {
  animation-delay: calc(var(--fade-in-delay) * 4);
}
.wrapper-aboutme .fadein:nth-child(5) {
  animation-delay: calc(var(--fade-in-delay) * 5);
}

/* .wrapper-aboutme img {
  height: 70vh;
} */

.imgme {
  width: 100%;
  min-width: 25vw;
  height: 60%;
  background-image: url(./img/other/me/JaJaponia1.png);
  background-position: 50% 30%;
  background-size: cover;
  background-repeat: no-repeat;
  border-radius: 2rem;
}

.sec {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

/************************** MORE SECTION **************************/

.section-more {
  top: 0;
  width: 100%;
  height: calc(100vh - 5rem);
  background-color: rgb(0, 0, 0);
  /* backdrop-filter: blur(0.5rem); */
  z-index: 80;
  position: absolute;
  /* overflow-y: auto; */
  padding: 5rem 0 0 0;
  /* display: flex; */
}

.more-left {
  display: flex;
  justify-content: center;
  align-items: center;
  position: absolute;
  left: 0%;
  width: 10%;
  height: calc(100% - 5rem);
  background-color: rgb(0, 0, 0);
  transition: 1s ease-in-out;
  box-shadow: inset 0 0 3rem 5rem rgb(0, 0, 0);
}
.more-left:hover {
  cursor: pointer;
  background-color: rgb(32, 32, 32);
}

.more-center {
  display: flex;
  gap: 5rem;
  /* justify-content: center; */
  position: absolute;
  left: 10%;
  width: 80%;
  height: calc(100% - 5rem - 6rem);
  /* height: max-content; */
  flex-direction: column;
  overflow-y: auto;
  padding: 3rem 0;
  /* background-color: rgb(0, 255, 242); */
}
.more-center img {
  width: 80%;
  align-self: center;
}

.more-center video {
  width: 100%;
  height: 100%;
  align-self: center;
}

/* .more-center img:nth-of-type(2n+1) {
  align-self: flex-end;
} */

/* .section .about {
  position: fixed;
  right: 10%;
  top: 69%;
  display: flex;
  flex-direction: column;
  align-items: end;
  justify-content: left;
  text-align: right;
}

.section .about h1 {
  font-size: 5rem;
  font-size: clamp(3rem, 4vw + 1rem, 5rem);
  line-height: clamp(3rem, 4vw + 1rem, 5rem);
  text-shadow: 0rem 0rem 1rem rgb(255, 255, 255);
} */

.more-right {
  /* text-align: right; */
  display: flex;
  position: absolute;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  position: absolute;
  padding: 0 1rem;
  left: 90%;
  width: calc(10% - 2rem);
  height: calc(100% - 5rem);
}
.more-right a {
  color: rgba(255, 255, 255, 0.363);
  transition: ease-in-out 0.2s;
  /* font-size: 5rem;
  font-size: clamp(3rem, 4vw + 1rem, 5rem);
  line-height: clamp(3rem, 4vw + 1rem, 5rem); */
}
.more-right a:hover {
  color: white;
}

.more-right p:not([class]) {
  color: white;
  font-size: 2rem;
}

.section-more .more-left p {
  color: rgb(110, 110, 110);
  width: 100vh;
  font-size: 3rem;
  text-align: center;
  writing-mode: horizontal-tb;
  white-space: nowrap;
  rotate: 270deg;
}

.section-more video {
  height: 100%;
  position: relative;
}

/* @media (max-width: 600px) {
  #wrapper-top ul {
    align-items: center;
    justify-content: center;
    display: flex;
    width: 33%;
    padding: 0;
  }
  #wrapper-top ul li {
    height: 1.5rem;
    padding: 0;
  }

  #wrapper-top ul li a {
    font-size: 1.5rem;
    padding: 0;
  }

  #wrapper-nav {
    left: 2%;
    padding: 0.2rem;
    gap: 0.1rem;
  }
  .wrapper-aboutme {
    width: 90vw;
    justify-content: center;
    flex-direction: column;
    gap: 1rem;
  }
  .sec {
    gap: 0.5rem;
  }
  .wrapper-aboutme .imgme {
    height: 25%;
    background-position: 50% 20%;

  }
  #wrapper-nav a {
    width: 15px;
    height: 15px;
    padding: 6px;
  }

  .wrapper-aboutme h3,
  .wrapper-aboutme h2 {
    font-size: 1rem;
  }
}




@media (min-width: 601px) and (max-width: 1200px) {
  body {
    font-size: 20px;
  }

  #wrapper-top ul {
    align-items: center;
    justify-content: center;
    display: flex;
    width: 33%;
  }
  #wrapper-top ul li a {
    padding: 0;
  }
  .wrapper-aboutme {
    width: 90vw;
    gap: 2rem;
  }
  .sec {
    gap: 1rem;
  }
  .wrapper-aboutme .sec .imgme {
    width: 50%;
  }

  .wrapper-aboutme h3,
  .wrapper-aboutme h2 {
    font-size: 1.2rem;
  }
}

@media (min-width: 1201px) {
  body {
    font-size: 20px;
  }
} */


@media (max-width: 600px) {
  body {
    overflow-x: hidden;
    overflow-y: auto;
  }

  /* ---------- NAVBAR ---------- */
  #wrapper-top {
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: center;
    align-items: center;
    padding: 0.5rem 0rem;
    /* background: rgba(0, 0, 0, 0.8); */
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    right: 0;
    z-index: 999;
  }

  #wrapper-top ul {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0;
    margin: 0;
    width: auto;
  }

  #wrapper-top ul li {
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  #wrapper-top ul li a {
    font-size: 1rem;
    padding: 0.2rem 0.5rem;
    letter-spacing: 1px;
    text-align: center;
  }

  /* ---------- KROPKI PIONOWO ---------- */
  #wrapper-nav {
    position: fixed;
    top: 50%;
    left: 2%;
    transform: translate(0, -50%);
    flex-direction: column;
    padding: 0.3rem;
    gap: 0.3rem;
    background-color: rgba(54, 54, 54, 0.5);
    border-radius: 2rem;
    z-index: 99;
  }

  #wrapper-nav a {
    width: 12px;
    height: 12px;
    padding: 6px;
  }

  /* ---------- ABOUT ME WRAPPER ---------- */
  .wrapper-aboutme {

    width: calc(100% - 2rem);
    flex-direction: column;
    align-items: center;
    /* justify-content: center; */
    gap: 1.2rem;
    padding: 3.5rem 1rem;
    text-align: center;
    margin: 0 auto;
  }

  .imgme {
    width: 100%;
    height: 20vh;
    min-height: 20vh; /* Trochę niższe */
    background-position: 50% 25%;
    background-size: cover;
    border-radius: 1.5rem;
  }

  .sec {
    gap: 1rem;
    width: 100%;
    padding: 0 0rem;
  }

  .wrapper-aboutme h2,
  .wrapper-aboutme h3 {
    font-size: 1.2rem;
    line-height: 1.3rem;
    text-align: center;
    padding: 0 0rem;
  }

  /* ---------- SEKCJA ARTFOLIO - OPIS ---------- */
  .section .about {
    right: 5%;
    bottom: 10%;
    top: auto;
    text-align: right;
    align-items: flex-end;
  }

  .section .about h2 {
    font-size: 2.1rem;
    line-height: 1.8rem;
  }

  .tags {
    flex-wrap: wrap;
    gap: 0.4rem;
  }

  .tag {
    font-size: 0.7rem;
    padding: 0.1rem 0.5rem;
  }

  .seemore,
  .watchfull {
    font-size: 1.3rem;
    line-height: 2rem;
  }

  /* ---------- MORE SEKCJA (obrazy/wideo) ---------- */
  .section-more {
    padding-top: 4rem;
    height: auto;
    flex-direction: column;
  }

  .more-left,
  .more-right {
    display: none;
  }

  .more-center {
    width: 100%;
    left: 0;
    padding: 1rem 0.5rem;
    gap: 2rem;
  }


  .section-more .more-center .other h1 {
    font-size: 2rem;
    line-height: 2.2rem;
  }


  /* ---------- CONTACT SECTION ---------- */
.wrapper-contact {
  padding: 5rem 1rem 2rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  height: 100vh;
  box-sizing: border-box;
  overflow-y: auto;
  gap: 1rem;
}

.wrapper-contact h1 {
  font-size: 2rem;
  line-height: 1.4rem;
  margin: 3rem 0 1rem;
}

.wrapper-contact h1 p {
  font-size: 1.2rem;
  margin-top: 0.5rem;
}

.wrapper-contact h3 {
  font-size: 1rem;
  font-weight: 300;
  line-height: 1.4rem;
  overflow-wrap: break-word;
  word-break: normal;
}

.wrapper-contact a {
  display: inline-block;
  margin-top: 0.2rem;
  font-weight: 600;
  text-decoration: none;
  font-size: 1rem;
  overflow-wrap: break-word;
  word-break: normal;
}

.seemore {
  display: none;
}
}







