* {
  margin: 0px;
  padding: 0px;
}

body {
  font-family: "Montserrat", sans-serif;
  background: #f7ffe8;
}

html {
  scroll-behavior: smooth;
}

/* NAVBAR */

.container {
  position: fixed;
  top: 20px;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  pointer-events: none;
  z-index: 1000;

  transition: transform 0.3s ease;
}

.tabs {
  display: flex;
  position: relative;
  background: #38B6FF;
  padding: 13px;
  border-radius: 80px;
  box-shadow: 0 6px 12px 0 rgba(24, 94, 224, 0.15);
  gap: 13px;
  pointer-events: auto;
}

.tabs * {
  z-index: 4;
}

.tab {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 49px;
  width: 100px;
  font-family: 'Raleway', sans-serif;
  font-weight: 400;
  font-size: 18px;
  border-radius: 80px;
  cursor: pointer;
  transition: all .20s ease;
  position: relative;
  overflow: hidden;
}

.tab a {
  text-decoration: none;
  color: #000;
}

.text-wrapper {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.tab span {
  position: absolute;
  left: 0;
  right: 0;
  text-align: center;
  line-height: 49px;
  transition: transform .20s ease;
}

.tab .text-default {
  transform: translateY(0);
}

.tab .text-hover {
  transform: translateY(100%);
}

.tab:hover .text-default {
  transform: translateY(-100%);
}

.tab:hover .text-hover {
  transform: translateY(0);
}

.tab::before{
    content: '';
    position: absolute;
    top: 60px;
    left: 0;
    width: 100%;
    height: 100%;
    background: #f7ffe8;
    border-radius: 80px 80px 0 0;
    transition: all .29s;
    z-index: -1;
}

.tab:hover::before{
    top: 0;
    border-radius: 0;
}

/* NAVBAR RESPONSIVE */

.menu-toggle {
  position: fixed;
  top: 20px;
  right: 20px;
  font-size: 28px;
  color: #38B6FF;
  width: 50px;
  height: 50px;
  border: 2px solid #38B6FF;
  border-radius: 12px;
  background: transparent;
  display: none;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 2000;
  transition: all 0.25s ease;
}

.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #222221;
  color: white;
  z-index: 1500;
  display: flex;
  align-items: center;
  justify-content: center;
  transform: translateY(-100%);
  transition: transform 0.9s cubic-bezier(0.22, 1, 0.36, 1);
  flex-direction: column;
  gap: 70px;
}

.mobile-menu.active {
  transform: translateY(0);
}

.mobile-menu .close {
  position: absolute;
  top: 20px;
  right: 20px;
  font-size: 40px;
  cursor: pointer;
}

.mobile-links {
  display: flex;
  flex-direction: column;
  gap: 30px;
  font-size: 30px;
}

.mobile-links a {
  color: #38B6FF;
  text-decoration: none;
}

.menu-toggle {
  transition: transform 0.3s ease;
}

.menu-toggle.open {
  transform: rotate(180deg);
}


.mobile-socials {
  margin-top: 60px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.mobile-socials a {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  font-size: 20px;
  color: #38B6FF;
  text-decoration: none;
}

.mobile-socials img {
  width: 15px;
  transition: transform 0.3s ease;
}

@media (max-width: 700px) {
  .tabs {
    display: none;
  }

  .menu-toggle {
    display: flex;
  }
}


/* HOME */

.main {
  min-height: 100vh;
  position: relative;
  display: flex;
  flex-direction: column;
}

.main::after {
  content: "";
  display: block;
  flex-shrink: 0;
}


.text {
  text-align: center;
  margin-top: 180px;
  font-family: "Montserrat", sans-serif;
  cursor: default;
}

.text h1 {
  font-size: clamp(40px, 7vw, 130px);
  font-weight: 600;
  color: #222221;
  display: inline-block;
  padding: 0 4px;
}

.text h2 {
  font-size: clamp(18px, 1.8vw, 33px);
  font-weight: 400;
  color: #222221;
  display: block;
  width: max-content;
  margin: 10px auto 0 auto;
  padding: 0 4px;
}


.btn-mac {
  position: relative;
  display: flex;
  justify-content: center;
  margin-top: 50px;
}


.button{
  display: flex;
  justify-content: center;
  align-items: center;
  width: 300px;
  height: 90px;
  font-family: 'Montserrat', sans-serif;
  font-size: 26px;
  font-weight: 500;
  letter-spacing: 0.5px;
  text-decoration: none;
  color: #fff;
  background: #38B6FF;
  border-radius: 60px;
  outline: none;
  box-shadow:
    0 10px 25px rgba(56,182,255,0.45),
    inset 0 2px 6px rgba(255,255,255,0.35);

  transition:
    transform 0.25s ease,
    background 0.25s ease,
    box-shadow 0.25s ease;
}

.button:hover{
  filter: hue-rotate(90deg);
  box-shadow:
    0 10px 25px rgba(56,182,255,0.35),
    inset 0 2px 6px rgba(255,255,255,0.35);
  transform: translateY(-3px);
}

.button:active{
  transform: translateY(-1px);
  box-shadow: 0 6px 15px rgba(216,0,160,0.35);
}


.top {
  padding-top: 1px;
  text-align: center;
}

#character {
  position: relative;
  width: 65vw;
  height: calc(40vw * 0.734);
  margin: 0px auto 0;
  margin-top: auto;
}



#character img:not(.etoile) {
  pointer-events: none;
  position: absolute;

}

#corps {
  width: 100%;
  position: absolute;
  top: -5%;
  left: 1%;
  animation: float 2s ease-in-out infinite;
  z-index: -1;

  height: auto;
  max-height: 80vh;
}

@keyframes float {
  0% {
    transform: translateY(0) scale(1);
  }
  50% {
    transform: translateY(7px) scale(1.01);
  }
  100% {
    transform: translateY(0) scale(1);
  }
}


#bouche {
  position: absolute;
  top: 65%;
  left: 46%;
  width: 9%;
}

#eye-left {
  position: absolute;
  top: 41%;
  left: 36%;
  width: 14%;
}

#eye-right {
  position: absolute;
  top: 41%;
  left: 50%;
  width: 14%;
}

.pupil {
  position: absolute;
  top: 43%;
  width: 11%;
}

#pupil-left { left: 38%; }
#pupil-right { left: 52%; }

.etoile {
  width: 15%;
  position: absolute;
  top: 5%;
  z-index: 20;
  animation: rotate 3s linear infinite;
  filter: hue-rotate(0deg);
  transition: filter 0.3s ease;
  pointer-events: visiblePainted;
}

#etoile-left { left: 6%; }
#etoile-right { left: 77%; }

.etoile.jaune {
  filter: hue-rotate(90deg);
}

@keyframes rotate {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

.burst {
  width: 100%;
  height: 250%;
  position: absolute;
  top: -55%;
  left: 0%;
  background: repeating-conic-gradient(#7ed0ff 0deg 10deg, transparent 10deg 20deg);
  border-radius: 50%;
  -webkit-mask-image: radial-gradient(circle, black 5%, transparent 60%);
  mask-image: radial-gradient(circle, black 5%, transparent 60%);
  z-index: -10;
  animation: spin 45s linear infinite;
}

@keyframes spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}


/* ========================= */
/* 320px → 499px */
/* ========================= */


@media (min-width: 320px) and (max-width: 499px) and (min-height: 700px) {
  #character {
    width: 55vw;
    height: calc(30vw * 0.734);
  }

  .text h1 {
    font-size: 7vw;
  }

  .text {
    margin-top: 220px;
  }

  .pupil {
  width: 10%;
  top: 45%;
  }

  .button {
  width: 210px;
  height: 70px;
  border-radius: 40px;
  }
}

@media (min-width: 320px) and (max-width: 499px) and (max-height: 699px) {
  #character {
    width: 55vw;
    height: calc(30vw * 0.734);
  }

  .text {
    margin-top: 120px;
  }

  .text h1 {
    font-size: 6vw;
  }

  .button {
  width: 210px;
  height: 70px;
  border-radius: 40px;
  }

  .pupil {
  width: 10%;
  }
}


/* ========================= */
/* 500px → 999px */
/* ========================= */

@media (min-width: 500px) and (max-width: 999px) and (min-height: 740px) {
  #character {
    width: 60vw;
    height: calc(35vw * 0.734);
  }

  .text h1 {
    font-size: 7vw;
  }

  .text {
    margin-top: 220px;
  }

  .pupil {
  width: 10%;
  top: 45%;
  }
}

@media (min-width: 500px) and (max-width: 999px) and (max-height: 740px) {
  #character {
    width: 60vw;
    height: calc(35vw * 0.734);
  }

  .text {
    margin-top: 120px;
  }

  .text h1 {
    font-size: 6vw;
  }

  .button {
  width: 210px;
  height: 70px;
  border-radius: 40px;
  }

  .pupil {
  width: 10%;
  }
}

@media (min-width: 500px) and (max-width: 999px) and (max-height: 620px) {
  #character {
    width: 55vw;
    height: calc(30vw * 0.734);
  }

  .text h1 {
    font-size: 5.7vw;
  }

  .text {
    margin-top: 120px;
  }

  #corps {
    top: -10%;
  }

  .btn-mac {
  margin-top: 30px;
  }

    .pupil {
  width: 10%;
  }
}


/* ========================= */
/* 1000px → 1499px */
/* ========================= */


@media (min-width: 1000px) and (max-width: 1499px) and (min-height: 1081px) {
  #character {
    width: 760px;
    height: calc(400px * 0.734);
  }

  #corps {
    top: -20%;
  }

  #bouche {
  top: 59%;
  }

  #eye-left {
  top: 30%;
  }

  #eye-right {
  top: 30%;
  }

  .pupil {
  top: 33%;
  }
}

@media (min-width: 1000px) and (max-width: 1499px) and (min-height: 701px){
  #character {
    width: 600px;
    height: calc(240px * 0.734);
  }

  .text {
    margin-top: 200px;
  }

  .text h2 {
    font-size: 2vw;
  }

  #corps {
    top: -50%;
  }

  #eye-left {
  top: 20%;
  }

  #eye-right {
  top: 20%;
  }

  .pupil {
  top:23%;
  }

  .etoile {
  top: -45%;
  }

  #bouche {
  top: 59%;
  }
}

@media (min-width: 1000px) and (max-width: 1499px) and (max-height: 700px) {
  #character {
    width: 580px;
    height: calc(220px * 0.734);
  }

  .text h1 {
    font-size: 6vw;
  }

  .text {
    margin-top: 100px;
  }

  #corps {
    top: -60%;
  }

  #eye-left {
  top: 12%;
  }

  #eye-right {
  top: 12%;
  }

  .pupil {
  top:15%;
  }

  .etoile {
  top: -75%;
  width: 20%;
  }

  .button {
  width: 210px;
  height: 70px;
  border-radius: 40px;
  }

  #bouche {
  top: 59%;
  }
}


/* ========================= */
/* 1500px → 1869px */
/* ========================= */


@media (min-width: 1500px) and (max-height: 1080px) {
  #character {
    width: 1029px;
    height: calc(561px * 0.734);
  }

  #corps {
  top: -10%;
  }

  .text h1 {
    font-size: 112px;
  }

  .text {
  margin-top: 150px;
  }
}

@media (min-width: 1500px) and (max-height: 930px) {

  .button {
  width: 250px;
  height: 80px;
  border-radius: 60px;
  }

  .text {
  margin-top: 130px;
  }
}

@media (min-width: 1500px) and (max-height: 830px) {
  #character {
    width: 935px;
    height: calc(467.5px * 0.734);
  }

    .text {
  margin-top: 120px;
  }

  #corps {
  top: -20%;
  }

  .etoile {
  top: -15%;
  }

  #bouche {
  top: 70%;
  }
}

@media (min-width: 1500px) and (max-height: 776px) {
  #character {
    width: 748px;
    height: calc(280.5px * 0.734);
  }

  .text h1 {
    font-size: 4vw;
  }

  .text {
  margin-top: 110px;
  }

  .btn-mac {
  margin-top: 30px;
  }

  #corps {
  top: -60%;
  }

  .etoile {
  top: -45%;
  }

  #bouche {
  top: 60%;
  }

  #eye-left {
  top: 20%;
  }

  #eye-right {
  top: 20%;
  }

  .pupil {
  top: 23%;
  }
}

@media (min-width: 1500px) and (max-height: 620px) {
  #character {
    width: 655px;
    height: calc(187px * 0.734);
  }

  .text h1 {
    font-size: 3vw;
  }

  .text {
  margin-top: 100px;
  }

  .btn-mac {
  margin-top: 20px;
  }

  #corps {
  top: -110%;
  }

  .etoile {
  top: -85%;
  }

  #bouche {
  top: 45%;
  }

  #eye-left {
  top: -5%;
  }

  #eye-right {
  top: -5%;
  }

  .pupil {
  top: -2%;
  }

  .burst {
  width: 100%;
  height: 300%;
  position: absolute;
  top: -75%;
}
}


/* ========================= */
/* 1870px → ∞ */
/* ========================= */


@media (min-width: 1870px) and (min-height: 1081px) {
  #character {
    width: 1216px;
    height: calc(748px * 0.734);
  }

  .text h1 {
    font-size: 130px;
  }

  .text h2 {
    font-size: 33px;
  }
}

/* ABOUT */

.grise {
  min-height: 100vh;
  background: #222221;
  position: relative;
  z-index: 2;
  transition: transform 1s ease;
}

.container-grise {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 20px;
}

.texte-grise {
  padding: 170px 0 30px 0;
  text-align: left;
}

.grise h1 {
  font-size: 22px;
  font-weight: 400;
  color: #38B6FF;
  margin-bottom: 40px;
}

.grise h2 {
  font-size: 40px;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.4;
  margin-bottom: 20px;
}

.grise p {
  font-size: 24px;
  color: #979595;
}

.fleche {
  width: 35px;
  padding-bottom: 20px;
}

.flex-grise {
  display: flex;
  align-items: center;
  gap: 40px;
  justify-content: space-between;
}

.methode {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
  margin-top: 50px;
}

.methode-carte {
  position: relative;
  width: 100%;
  height: 345px;
  border-radius: 20px;

  background:
    radial-gradient(600px 200px at top left, rgba(56,182,255,0.35), transparent 100%),
    radial-gradient(600px 200px at bottom right, rgba(56,182,255,0.25), transparent 100%),
    linear-gradient(#0e0e0e, #0e0e0e);

  display: flex;
  padding: 40px 60px;
  box-sizing: border-box;

  justify-content: center;
  align-items: flex-start; 

  gap: 60px;

  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(56, 182, 255, 0.15);
  flex-direction: column;
}


.methode-carte span {
  font-size: 24px;
  font-weight: 700;
  color: #ffffff;
}

.methode-carte span:not(:last-child) {
  margin-bottom: 18px;
}

.methode-ligne {
  position: absolute;
  right: 40px;
  top: 30px;
  bottom: 30px;
  width: 2px;
  background: rgba(56, 182, 255, 0.35);
  overflow: visible;
}

.methode-texte {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 18px;
}

.methode-texte span {
  font-size: 50px;
  font-weight: 800;
  color: #38B6FF;
}


.flow-img {
  position: absolute;
  right: 60px;
  width: 150px;
  opacity: 0;
  animation: flow 9s linear infinite;
  animation-fill-mode: both;
}

.img1 { animation-delay: 0s; }
.img2 { animation-delay: 3s; }
.img3 { animation-delay: 6s; }


@keyframes flow {
  0% {
    top: 10px;
    opacity: 0;
  }

  3% {
    opacity: 1;
  }

  15% {
    top: 100px;
    opacity: 1;
  }

  20% {
    top: 120px;
    opacity: 1;
  }

  30% {
    top: 150px;
    opacity: 0;
  }

  100% {
    top: 150px;
    opacity: 0;
  }
}

.methode-bottom {
  display: flex;
  gap: 10px;
  justify-content: center;
  margin-top: 10px;
}

.methode-carte.petite {
  width: 100%;
  height: 345px;
  justify-content: center;
  align-items: center;
  background:
radial-gradient(circle at center,
  rgba(56,182,255,0.18) 0%,
  rgba(56,182,255,0.10) 30%,
  rgba(56,182,255,0.05) 55%,
  transparent 75%
)  #0e0e0e;
}

.mini-wrapper {
  display: flex;
  align-items: center;
  gap: 30px;
}

#mini-character {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  border: 6px solid #38B6FF;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

#mini-character img {
  width: 90%;
}

.arrow {
  width: 50px;
  height: 50px;
  background: rgba(56, 182, 255, 0.1);
  border: 2px solid #38B6FF;
  border-radius: 50%;
  
  display: flex;
  align-items: center;
  justify-content: center;

  font-size: 24px;
  color: #38B6FF;
  cursor: pointer;
  transition: 0.3s ease;
}

.arrow:hover {
  background: #38B6FF;
  color: white;
  transform: scale(1.1);
}

.clicker-game {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
  color: white;
}

.click-btn {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  border: 2px solid #38B6FF;
  background: rgba(56,182,255,0.1);
  color: #38B6FF;
  font-weight: bold;
  cursor: pointer;
  transition: 0.2s;
}

.click-btn:hover {
  transform: scale(1.1);
  background: #38B6FF;
  color: black;
}

.click-btn:active {
  transform: scale(0.9);
}

.shop {
  display: flex;
  gap: 8px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 10px;
}

#dvd {
  position: fixed;
  width: 170px;
  pointer-events: none;
  z-index: 9999;
}

.item {
  display: flex;
  align-items: center;
  justify-content: center;

  padding: 8px 12px;
  min-width: 60px;
  height: 40px;

  border: 1px solid #38B6FF;
  border-radius: 8px;

  color: #38B6FF;
  cursor: pointer;

  transition: 0.2s;
}

.item.active {
  background: #38B6FF;
  color: black;
}

.hidden {
  display: none;
}

.crack-mode * {
  background: black !important;
  color: #00ff88 !important;
  font-family: monospace !important;
}

#crackOverlay {
  position: fixed;
  inset: 0;
  background: black;
  color: #00ff88;
  overflow: auto;
  padding: 20px;
  z-index: 99999;
}

#crackOverlay pre {
  white-space: pre-wrap;
  font-size: 12px;
}

#backBtn {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  padding: 10px 20px;
  background: #00ff88;
  border: none;
  cursor: pointer;
  color: black;
  font-weight: bold;
}

/* RESPONSIVE CARTES */

@media (max-width: 1400px) {

.methode-texte span {
    font-size: 40px;
}

.container-grise {
  max-width: 900px;
}

.mini-wrapper {
  gap: 20px;
}

#mini-character {
  width: 180px;
  height: 180px;
}

#mini-character img {
  width: 85%;
}

.grise h1 {
  font-size: 20px;
}

.grise h2 {
  font-size: 30px;
}

.grise p {
  font-size: 21px;
}

.fleche {
  width: 32px;
}
}

@media (max-width: 1200px) {

.container-grise {
  max-width: 370px;
}

.methode-bottom {
  display: flex;
  flex-direction: column;
}

.item {
  padding: 6px 7px;
}

.grise h1 {
  font-size: 16px;
}

.texte-grise {
  text-align: center;
}

.fleche {
  display: none;
}

.methode-texte span {
    font-size: 25px;
}

.methode-texte {
  display: block;
}

.methode-carte {
  justify-content: flex-start;
  align-items: center;
  text-align: center;
}

.methode-carte {
  padding: 20px 30px;
}

.methode-ligne {
  background: none;
}

@keyframes flow {
  0% {
    top: 10px;
    opacity: 0;
  }

  3% {
    opacity: 0;
  }

  14% {
    opacity: 1;
  }

  15% {
    top: 100px;
    opacity: 1;
  }

  20% {
    top: 120px;
    opacity: 1;
  }

  30% {
    top: 150px;
    opacity: 0;
  }

  100% {
    top: 150px;
    opacity: 0;
  }
}
}

@media (max-width: 390px) {

  #mini-character {
  width: 150px;
  height: 150px;
}

#mini-character img {
  width: 80%;
}

.mini-wrapper {
  gap: 10px;
}

}

/* PROJECTS */

.texte-grise.projet {
  text-align: center;
  padding: 150px 0 100px 0;
}

.projet .flex-grise {
  justify-content: center;
}

.container-projects {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.projects {
  position: relative;
}

.card {
  position: sticky;
  top: calc(100vh - 850px);
  width: 100%;
  height: 750px;
  

  transition: transform 0.1s linear;
  transform-origin: center top;

  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;

  padding: 60px;
  box-sizing: border-box;
  border-radius: 20px;
  gap: 30px;

  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(56, 182, 255, 0.15);
  cursor: none;
}

.card1 {
  background-image: url("/images/back1.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: 1;
}

.card2 {
  background-image: url("/images/back2.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: 2;
}

.card3 {
  background-image: url("/images/back3.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: 3;
}

/* RESPONSIVE PROJECTS */

@media (max-width: 1400px) {
  .container-projects {
    max-width: 1100px;
  }
}

@media (max-width: 1200px) {
  .container-projects {
    max-width: 370px;
  }

  .card {
  height: 350px;
  top: calc(100vh - 600px);
  }

  .card1 {
  background-image: url("/images/back4.png");
  }
}

/* OUTILS */

.container-outils {
  max-width: 1000px;
  margin: 0 auto;
  padding: 100px 0 0 0;
}

.container-outils-one {
  display: flex;
}

.container-outils-two {
  display: flex;
}

.cube {
  width: 100%;
  height: 320px;
  justify-content: center;
  align-items: center;
  background: rgb(64, 64, 64);
  border-radius: 10px;
  margin: 7px;
  perspective: 1000px;
  cursor: none;
  background: transparent;
}

.cube-inner {
  width: 100%;
  height: 100%;
  transition: transform 0.6s;
  transform-style: preserve-3d;
  position: relative;
}

.cube.flipped .cube-inner {
  transform: rotateY(180deg);
}

.cube-front,
.cube-back {
  position: absolute;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
  border-radius: 10px;
}

.cube-front {
  background: rgb(64, 64, 64);
  display: flex;
  align-items: center;
  justify-content: center;
}

.cube-front img {
  width: 170px;
  height: auto;
  object-fit: contain;
}

.cube-back {
  background: #38B6FF;
  transform: rotateY(180deg);

  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;

  text-align: center;
  color: white;
  gap: 8px;
}

.cube-back h3 {
  margin: 0;
  font-size: 20px;
}

.cube-back p {
  margin: 0;
  font-size: 25px;
  opacity: 0.9;
  color: #fff;
}

/* OUTILS RESPONSIVE */

@media (max-width: 1400px) {
  .cube {
  height: 300px;
}

.cube-back p {
  font-size: 20px;
}
}

@media (max-width: 1200px) {
  .cube {
  height: 200px;
}

.cube-front img {
  width: 100px;
}

.cube-back p {
  font-size: 15px;
}
}

.signature {
  height: 40vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: white;
  padding-bottom: 80px;

}

.signature h1 {
  font-size: 3rem;
  letter-spacing: 4px;
  font-weight: 600;
  margin: 0;
  padding-top: 80px;
}

.signature p {
  font-size: 1rem;
  letter-spacing: 6px;
  opacity: 0.7;
  margin-top: 10px;
}

/* CURSOR */

.cursor {
  position: fixed;
  top: 0;
  left: 0;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  background: rgb(56, 182, 255);
  mix-blend-mode: difference;

  transition:
    width 0.25s ease,
    height 0.25s ease,
    background 0.25s ease;

  display: flex;
  align-items: center;
  justify-content: center;
}


.cursor.active {
  width: 70px;
  height: 70px;
}

.cursor.card-hover {
  width: 90px;
  height: 90px;
  background: #38B6FF;
  mix-blend-mode: normal;
}

.cursor-text {
  position: absolute;
  opacity: 0;
  font-size: 15px;
  color: black;
  pointer-events: none;
}

.cursor.card-hover .cursor-text {
  opacity: 1;
  animation: rotateText 18s linear infinite;
}

@keyframes rotateText {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}