* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

@font-face {
  font-family: "Teko-Bold";
src: url('../fontfamily/teko/static/Teko-Bold.woff2') format('woff2'),
         url('../fontfamily/teko/static/Teko-Bold.woff') format('woff');
         font-display: swap;
}

@font-face {
  font-family: "Poppins-Regular";
src: url('../fontfamily/poppins/Poppins-Regular.woff2') format('woff2'),
       url('../fontfamily/poppins/Poppins-Regular.woff') format('woff');
       font-display: swap;
}

::-webkit-scrollbar {
  width: 12px;
}

::-webkit-scrollbar-track {
  background: #000000;
  border-radius: 10px;
}

::-webkit-scrollbar-thumb {
  background: #d13d6e;
  border-radius: 10px;
  border: 3px solid #e0e0e0;
}

::selection {
  background-color: #d13d6e;
}

body {
  background-color: #000;
}

body,
button {
  font-family: "Poppins-Regular";
}

html {
  scroll-behavior: smooth;
}

img {
  width: 100%;
}

a {
  text-decoration: none;
}

h1 {
  font-family: "Teko-Bold";
  text-transform: uppercase;
  font-size: clamp(45px, 14vw, 200px);
  /* background: linear-gradient(to bottom, #999999 0%, #ffffff 80%); */
  /* background: linear-gradient(to bottom, #cfcfcf 0%, #ffffff 60%); */
  /* background: linear-gradient(to bottom, #cfcfcf 0%, #ffffff 60%); */
  /* -webkit-background-clip: text; */
  /* background-clip: text; */
  /* -webkit-text-fill-color: transparent; */
  /* color: transparent; */
  color: #fff;
  white-space: nowrap;
  width: 100%;
  text-align: center;
}

.container {
  width: 80%;
  margin: auto;
}

.parallax-container {
  /* width: 100vw; */
  /* height: 100vh; */
  /* min-height: 100vh; */
  /* padding: 20px; */
  overflow: hidden;
}

.parallax-container .container {
  width: 95%;
  /* min-height: 100vh; */
  /* position: static; */

  position: relative;
}

.info-wrapper {
  position: relative;
}

/* .avater-wrapper {
  width: 80%;
  margin: auto;
} */

.headder-title {
  display: flex;
  justify-content: center;
}

.foreground-img {
  /* width: 40%; */
  width: 160px;
  aspect-ratio: 1/1;
  /* background-color: red; */
  /* position: absolute; */
  position: relative;
  /* transition: transform 0.2s ease; */
  /* top:  135%; */
  /* top:clamp(95%, 4vw + 1rem, 130%); */
  margin-top: -9vw;
  left: 50%;
  transform: translateX(-50%);
  filter: drop-shadow(0px 15px 30px rgba(0, 0, 0, 0.9));
  z-index: 500;
}

.info-subtitle {
  color: #fff;
  position: static;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
}

.info-subtitle p {
  /* max-width: 330px; */
  line-height: 1.6;
  /* margin-top: 20px; */
  letter-spacing: 0.5px;
  color: #dcdcdc;
  text-align: center;
  margin-top: -10px;
  font-size: clamp(14px, 1.3vw, 16px);
}

.info-subtitle b {
  font-weight: 700;
  color: #d13d6e;
}

.info-subtitle b::selection {
  color: #000000;
}

.sketch-path {
  fill: none;
  stroke: #fff;
  stroke-linecap: round;
  stroke-linejoin: round;
  opacity: 0.8;
  transition: all 0.3s;
}

.info-contact,
.view-projects--btn__wrapper {
  width: fit-content;
}

.sketch-container {
  width: clamp(220px, 30vw, 250px);
  position: relative;
  margin-top: -20px;
}

.view-projects--btn .sketch-container {
  width: clamp(160px, 125px + 10vw, 250px);
}

.info-contact a,
.view-projects--btn__wrapper a {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-transform: capitalize;
  font-weight: 500;
  color: #fff;
  font-size: clamp(16px, 1.5vw, 18px);
  white-space: nowrap;
  margin-top: -2px;
  padding: 10px 40px;
  border-radius: 60px;
}
.view-projects--btn__wrapper a {
  font-size: clamp(13px, 11px + 0.6vw, 18px);
}

.info-contact .sketch-container:has(a:hover) {
  animation: wiggleSvg 0.4s ease-in-out;
}

.sketch-container:has(a:hover) .sketch-path {
  stroke: #d13d6e;
}

/* .about-me {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
overflow: hidden;
  height: 100vh;
}

.about-me .container {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  text-align: center;
}

h2 {
  font-family: "Teko-Bold", sans-serif; 
  font-size: 150px;
  margin: 0;
  line-height: 0.8;
  z-index: 2;
  text-shadow: 2px 0 0 #fff, -2px 0 0 #fff,  0 2px 0 #fff,0 -2px 0 #fff; 
  text-transform: uppercase;
  transition: color 1.5s ease-in-out;
  filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.1));
}

.about-me.active h2 {
  color: #fff; 
} */

/* .about-me__description {
  color: #fff;
  letter-spacing: 0.5;
  max-width: 600px;
  font-size: 18px;
  line-height: 1.8;
  margin-top: 50px;
  position: relative;
  z-index: 15; 
  clip-path: polygon(0 0, 0 0, 0 0);
  transition: clip-path 9s cubic-bezier(0.19, 1, 0.22, 1);
}


.about-me.active .about-me__description {
  clip-path: polygon(0 0, 250% 0, 0 250%);
}


.about-me__icon {
  width: 200px;
  position: absolute;
  z-index: 20; 
  transition: transform 1.2s cubic-bezier(0.25, 1, 0.5, 1);

}


.img-laptop {
  top: 30px;
  left: 130px;
  transform: translateX(-100vw) rotate(-13deg);
}
.img-html {
  bottom: 70px;
  left: 160px;
  transform: translateX(-100vw) rotate(15deg);
}
.img-cursor {
  top: 30px;
  right: 130px;
  transform: translateX(100vw) rotate(-10deg);
}
.img-css {
  bottom: 0px;
  right: 130px;
  transform: translateX(100vw) rotate(10deg);
}

.img-laptop.active {
  transform: translateX(0) rotate(-13deg);
}
.img-html.active {
  transform: translateX(0) rotate(15deg);
}
.img-cursor.active {
  transform: translateX(0) rotate(-10deg);
}
.img-css.active {
  transform: translateX(0) rotate(10deg);
}

.about-me.active .img-laptop {
  transform: translateX(0) rotate(-13deg);
}
.about-me.active .img-html {
  transform: translateX(0) rotate(15deg);
}
.about-me.active .img-cursor {
  transform: translateX(0) rotate(-10deg);
}
.about-me.active .img-css {
  transform: translateX(0) rotate(10deg);
} */

@keyframes wiggle {
  0% {
    transform: translate(-50%, -50%) rotate(0deg);
  }
  25% {
    transform: translate(-50%, -50%) rotate(-3deg);
  }
  50% {
    transform: translate(-50%, -50%) rotate(3deg);
  }
  75% {
    transform: translate(-50%, -50%) rotate(-1deg);
  }
  100% {
    transform: translate(-50%, -50%) rotate(0deg);
  }
}

@keyframes wiggleSvg {
  0% {
    transform: rotate(0deg);
  }
  25% {
    transform: rotate(-3deg);
  }
  50% {
    transform: rotate(3deg);
  }
  75% {
    transform: rotate(-1deg);
  }
  100% {
    transform: rotate(0deg);
  }
}

/* 
.about-me__icon {
  width: 200px;
  position: absolute;
  z-index: 20; 
  transition: transform 1s cubic-bezier(0.25, 1, 0.5, 1);

} */

.about-me {
  position: relative;
  /* height: 100vh; */
  /* max-height: 100vh; */
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  background-color: #000;
  text-align: center;
  /* margin-bottom: 60px; */
  z-index: 500;
  padding-block: 60px;
}

.about-me .container {
  position: relative;
}

.border {
  border-bottom: 2px solid #d13d6e;
  transform: rotate(-3deg);
  /* padding-bottom: 65px; */
  /* background-color: red; */
  height: 2px;
  width: 100%;
}

.about-me .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  z-index: 10;
  /* width: 95%; */
}

h2 {
  font-family: "Teko-Bold";
  font-size: clamp(45px, 12.5vw, 150px);
  margin: 0;
  line-height: 0.8;
  text-transform: uppercase;
  color: #fff;
  position: relative;
  z-index: 10;
  letter-spacing: 1px;
}

.about-me__description {
  color: #dcdcdc;
  padding: 40px 0;
  border-radius: 20px;
  max-width: 600px;
  font-size: clamp(14px, 2vw, 18px);
  /* font-size: clamp(16px, 1.5vw, 18px); */
  line-height: 1.8;
  letter-spacing: 0.5px;
  margin-top: -10px;
  position: relative;
  z-index: 15;
}

.about-me__icon {
  width: 200px;
  /* width: clamp(100px, 15vw, 250px);  */
  width: clamp(75px, 15vw, 200px);
  position: absolute;
  z-index: 20;
}

.img-laptop {
  /* top: 30px; */
  top: -13px;
  /* left: 130px; */
  /* left: 8.5%; */
  left: -17px;
  width: clamp(70px, 15vw, 250px);
  transform: rotate(-13deg);
}
.img-html {
  /* bottom: 70px; */
  bottom: -80px;
  bottom: -41px;
  /* left: 160px; */
  /* left: 10.5%; */
  left: 0;
  transform: rotate(15deg);
}
.img-cursor {
  top: -20px;
  right: -19px;
  transform: rotate(-10deg);
}
.img-css {
  bottom: -71px;
  right: 0;
  transform: rotate(10deg);
}

.skills {
  margin-top: -20px;
}

.skills section {
  /* overflow: hidden; */
  margin-block: 45px;
}

.marquee-container {
  width: 100%;
  padding: clamp(15px, 3vw, 20px) 0;
  white-space: nowrap;
  transform: rotate(-3deg);
  /* border-top: 2px solid #ff0055; */
  border-top: 2px solid #d13d6e;
  border-bottom: 2px solid #d13d6e;
  /* border-bottom: 2px solid #ff0055; */
  color: #fff;
  position: relative;
  z-index: 600;
}

.marquee-content {
  display: inline-block;
  /* font-size: 4rem; */
  font-size: clamp(14px, 5vw, 64px);
  font-weight: 900;
  text-transform: uppercase;
  animation: scroll-text 13s linear infinite;
}

.fixed-button {
  /* width: 140px; */
width: clamp(70px, 40px + 10vw, 140px);
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 1000;
}

.fixed-button:hover {
  animation: jump 0.3s ease-in-out;
}

.projects {
  color: #fff;
}

.projects__header {
  position: relative;
  display: flex;
}

.projects-title {
  padding-top: 50px;
  text-align: center;
  margin-bottom: clamp(45px, 40px + 1.5vw, 60px);
  padding-left: clamp(0px, 85px - 10vw, 60px);
  flex: 1;
}

.arrow-container {
  position: absolute;
  left: 0;
  top: 50%;
  left: 5%;
  /* transform: translateY(-50%); */
  transform: translateY(-50%) rotate(50deg);
  width: clamp(60px, 16vw, 250px);
  display: flex;
  /* margin-top: clamp(-40px, -10px - 2.5vw, -20px); */
  margin-top: clamp(-40px, 20px - 5vw, 0px);
  justify-content: center;
}

.arrow-container svg {
  /* width: 250px; */
  width: 100%;
  /* height: 150px; */
}

.projects-container {
  position: relative;
}

.card {
  position: sticky;
  top: 20px;
  background-color: #000;
  border: 2px solid #fff;
  border-radius: 50px;
  padding: 24px;
  overflow: hidden;
  width: 90%;
  margin: 0 auto 80px;
}

.card-2 {
  top: 125px;
}

.card-3 {
  top: 230px;
}

.contact-me {
  position: sticky;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: rgb(0, 0, 0);
  flex-direction: column;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  /* box-shadow: 0px -10px 25px rgba(209, 61, 110, 0.25); */
  box-shadow: 0px -15px 40px -5px rgba(255, 255, 255, 0.08);
  gap: 50px;
  padding-block: 40px;
  margin-top: 50px;
  /* height: 100vh; */
}

.contact-me::before {
  content: "";
  position: absolute;
  top: -1px; /* عشان يطلع فوق الخط بالظبط */
  left: 50%;
  transform: translateX(-50%); /* عشان يتسنتر */
  width: 70%; /* مش بياخد العرض كله عشان يبقى شكله أشيك */
  height: 2px;
  background: linear-gradient(90deg, transparent, #d13d6e, transparent);
  box-shadow: 0 0 15px #d13d6e, 0 0 30px #d13d6e;
  z-index: 100;
}

.project-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: -40px;
}

.project-content {
  display: flex;
  align-items: center;

  gap: 30px;
}

.project-number {
  font-size: clamp(40px, 25px + 4vw, 70px);
  font-family: "Teko-Bold";
}
.project-title {
  font-size: clamp(20px, 26px - 0.5vw, 24px);
}

.project-description {
  display: flex;
  flex-direction: column;
  gap: 3px;
  margin-top: -10px;
}

.project-skills {
  font-size: 14px;
  color: #9e9e9e;
}

.cards-3d-container {
  position: relative;
  width: 100%;
  height: 400px;
  perspective: 1000px;
  display: flex;
  justify-content: center;
  align-items: center;
  padding-bottom: 60px;
  margin-top: -10px;
}

.card-img {
  position: absolute;
  width: 50%;
  height: auto;
  border-radius: 15px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.5);
  transition: transform 0.7s ease;
  will-change: transform;
}

.img-1 {
  transform: rotateX(10deg) rotateZ(-5deg) translateZ(-50px) translateX(-40px);
  opacity: 0.8;
  z-index: 1;
}

.img-2 {
  z-index: 2;
  transform: rotateX(10deg) rotateZ(-2deg) translateZ(-25px);
}

.img-3 {
  z-index: 3;
  transform: rotateX(10deg) rotateZ(2deg) translateZ(0px) translateX(40px);
}

.cards-3d-container:hover .img-1 {
  transform: translateX(-75%) rotate(0) scale(1);
  opacity: 1;
  z-index: 5;
}

.cards-3d-container:hover .img-2 {
  transform: rotate(0) scale(1.1);
  z-index: 10;
}

.cards-3d-container:hover .img-3 {
  transform: translateX(75%) rotate(0) scale(1);
  z-index: 5;
}

.contact-me__wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-direction: column;
  /* padding-bottom: 50px; */
}

.links-part {
  display: flex;
  justify-content: center;
  align-items: center;
  /* background-color: red; */
}

.deck {
  position: relative;
  /* width: 45px;
  height: 45px; */
  cursor: pointer;
  width: 35px;
  height: 35px;
}
.deck-card {
  position: absolute;
  width: 100%;
  height: 100%;
  background: #1a1a1a;
  border: 2px solid #fff;
  border-radius: 15px;
  border-radius: 13px;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: 0.5s ease-out;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
  transform-origin: bottom center;
}

.deck svg {
  /* width: 18px; */
  width: 15px;
}

.deck.active .c1 {
  transform: rotate(-20deg) translateX(-18px);
  background: #0077b5;
  border: none;
}

.deck.active .c2 {
  transform: rotate(0deg) translateY(-20px);
  background: #333;
  border: none;
}

.deck.active .c3 {
  transform: rotate(20deg) translateX(18px);
  background: #d13d6e;
  border: none;
}

.deck:hover .c1:hover {
  transform: rotate(-20deg) translate(-30px, -5px) scale(1.1);
}

.deck:hover .c2:hover {
  transform: rotate(0deg) translate(0, -29px) scale(1.1);
}

.deck:hover .c3:hover {
  transform: rotate(20deg) translate(28px, -5px) scale(1.1);
}

.deck.active .c1 {
  transition-delay: 0.13s;
}

.deck.active .c2 {
  transition-delay: 0.2s;
}

.deck.active .c3 {
  transition-delay: 0.3s;
}

.deck:hover .deck-card {
  transition-delay: 0s !important;
}

.links-part,
.camera-part {
  flex: 1;
}

.camera-part {
  position: relative;
  width: 100%;
  transform: scale(0.6);
  /* margin-left: 19px; */
}

.links-part__wrapper {
  position: relative;
  width: fit-content;
  margin: auto;
  /* background-color: blue; */
}

.links-part__wrapper img {
  margin-left: -18px;
  width: 320px;
  height: auto;
}

.press-arrow {
  position: absolute;
  width: 100px;
  top: -50px;
  left: -65px;
  z-index: 20;
}

.press-arrow img {
  transform: rotate(10deg);
}

.links-cards {
  position: absolute;
  /* left: 33%;
    top: 25px; */
  left: 27%;
  top: 7px;
}

.scene-container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  padding-bottom: 30px;
  position: relative;
  width: fit-content;
  /* background-color: red; */
  margin: auto;
}

.controls-group {
  display: flex;
  gap: 20px;
  align-items: center;
}

.camera {
  width: 200px;
  height: 160px;
  /* background: #111; */
  background: #401404;
  border-radius: 20px;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
  z-index: 5;
}

.lens {
  width: 100px;
  height: 100px;
  background: #222;
  border-radius: 50%;
  border: 5px solid #333;
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: inset 0 0 20px #000;
  position: relative;
  z-index: 6;
}
.lens-inner {
  width: 40px;
  height: 40px;
  background: #1a1a1a;
  border-radius: 50%;
  border: 2px solid #555;
}

.flash {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 30px;
  height: 20px;
  background: #fff;
  border-radius: 5px;
  opacity: 0.5;
}
.stripe {
  position: absolute;
  bottom: 20px;
  width: 100%;
  height: 10px;
  background: linear-gradient(
    90deg,
    #ff5f56,
    #ffbd2e,
    #27c93f,
    #0077b5,
    #d13d6e
  );
  pointer-events: none;
}

.shutter-trigger {
  position: absolute;
  top: -20px;
  left: 30px;
  width: 50px;
  height: 40px;
  z-index: 100;
  cursor: pointer;
}
.shutter-visual {
  width: 100%;
  height: 100%;
  /* background: #ff5f56; */
  background: #5a4436;
  border-radius: 8px 8px 0 0;
  transition: 0.1s;
  box-shadow: 0 -2px 5px rgba(0, 0, 0, 0.2);
}
.shutter-trigger:active .shutter-visual {
  transform: translateY(10px);
}

.photo {
  position: absolute;
  top: 40px;
  width: 140px;
  height: 160px;
  background: #fff;
  padding: 10px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.4);
  transition: top 0.8s cubic-bezier(0.5, 0, 0.5, 1), transform 0.5s;
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  border-radius: 4px;
  transform: scale(0);
  opacity: 0;
}

.photo-inner {
  width: 100%;
  height: 110px;
  background: #333;
  margin-bottom: 10px;
  transition: background-color 0.1s;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  overflow: hidden;
}
.photo-inner img {
  width: 100%;
  height: 107px;

  object-fit: contain;
  opacity: 0;
  transition: opacity 1.5s 0.5s;
}

.photo-text {
  font-family: "Comic Sans MS", cursive;
  font-size: 12px;
  color: #333;
  opacity: 0;
  transition: opacity 1.5s 0.5s;
}

.camera.snap .photo {
  top: 150px;
  transform: scale(1);
  opacity: 1;
}
.camera.snap .photo-inner img {
  opacity: 1;
}
.camera.snap .photo-text {
  opacity: 1;
}

.slider-container {
  position: relative;
  width: 30px;
  height: 180px;
  display: flex;
  justify-content: center;
  align-items: center;
}

input[type="range"] {
  -webkit-appearance: none;
  width: 160px;
  height: 20px;
  background: linear-gradient(
    to right,
    #ff0000,
    #ff8000,
    #ffff00,
    #00ff00,
    #00ffff,
    #0000ff,
    #8000ff,
    #ff00ff,
    #ff0000
  );
  border-radius: 50px;
  outline: none;
  cursor: pointer;
  box-shadow: inset 0 2px 5px rgba(0, 0, 0, 0.2), 0 5px 15px rgba(0, 0, 0, 0.2);
  transform: rotate(-90deg);
  border: 2px solid #fff;
}

input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(2px);
  border: 3px solid #fff;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
  cursor: grab;
  transition: transform 0.1s;
}
input[type="range"]:active::-webkit-slider-thumb {
  transform: scale(1.2);
  background: rgba(255, 255, 255, 0.8);
  cursor: grabbing;
}

.poses-container {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.pose-btn {
  width: 50px;
  height: 50px;
  border-radius: 12px;
  background: #fff;
  border: 2px solid transparent;
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
  transition: 0.2s;
  opacity: 0.7;
  overflow: hidden;
}
.pose-btn:hover {
  opacity: 1;
  transform: scale(1.1);
}

.pose-btn.active {
  border-color: #d13d6e;
  opacity: 1;
  transform: scale(1.1);
  box-shadow: 0 0 10px rgba(209, 61, 110, 0.3);
}

.pose-btn img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  pointer-events: none;
}

.flash-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #fff;
  opacity: 0;
  pointer-events: none;
  z-index: 200;
}
.flash-anim {
  animation: flash 0.2s;
}

.card-tech {
height: 350px; 
  background: #1a1a1a; 
  border-radius: 10px;
  position: relative;
  transition: 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  display: flex;
  flex-direction: column;
  border: 1px solid #ffffff;
}

.tech-img-box {
  /* position: absolute;
  top: -40px;
  left: 50%;
  transform: translateX(-50%);
  width:90%;
  height: 160px;
background-position:center;
background-size: cover;
background-repeat: no-repeat;

  border-radius: 10px;
    box-shadow: 0 10px 20px #d13d6e1d;

  transition: 0.5s;
  z-index: 2; */
  position: absolute;
  top: -50px; 
  left: 50%;
  transform: translateX(-50%) scale(1.05); 
  width: 90%;
  height: 160px;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  border-radius: 10px;
  box-shadow: 0 0px 20px #d13d6e55; 
  transition: 0.5s;
  z-index: 2;
}

.card-tech-wrapper {
   width: 90%;
  height: 320px;
position: relative;  
  display: flex;       
  align-items: flex-start; 
  justify-content: center;
  flex-direction: column;

}



.tech-content {
  margin-top: 130px;
  padding: 0 20px 20px;
  text-align: center;
  opacity: 1; 
  transition: 0.5s;
}

.tech-content h3 {
  margin: 0;
  color: #fff;
}
.tech-content p {
font-size: clamp(12px, 10px + 0.5vw, 14px);
  color: #A1A1AA;
  margin: 10px 0;


}

.tech-content p::selection {
  color: #fff;
}

.tech-link {
color: #fff;
width: fit-content;
    display: flex;
    flex-direction: column;
    align-items: center;
transition: all 0.3s;
margin: auto;
}


.tech-link:hover{
  /* text-decoration: underline;
  text-decoration-style: wavy;
 text-decoration-color: #ffffff;
  text-underline-offset: 8px; */

    color:  #d13d6e;
}

.tech-link:hover::selection {
  color: #fff;
}

.tech-link:hover svg {
stroke: #b9b9b9;

}

.tech-link svg {
width: 100px;
  transition: all 0.3s;
  stroke: #d13d6e;
}

/* .card-tech:hover .tech-link svg {
  width: 100px;

} */



.card-container {
  display: flex;
  justify-content: center;
  align-items: center;
    height: 320px;
}


        .projects-cards-tech {
          padding-block: 80px;
  display: grid;
  /* grid-template-columns: repeat(3 , 1fr); */
  gap: 100px;
  grid-template-columns:  1fr;
  width: 80%;
  margin: auto;
  justify-items: center;
}

body.no-scroll {
    overflow: hidden ;
    height: 100vh;
}


#target-section {
    transition: transform 0.8s cubic-bezier(0.6, -0.28, 0.735, 0.045), opacity 0.8s;
    transform-origin: center center;

}


.as-polaroid {
    transform: scale(0.8) ;
    border: 20px solid #fff; 
    border-bottom: 80px solid #fff; 
    border-radius: 5px;
    box-shadow: 0 0 0 1000px #000; 
}


.drop-photo {
      transform: scale(0.7) rotate(10deg) translateY(150vh); 
    opacity: 0;
}


.hide-siblings {
    opacity: 0;
    transition: opacity 0.2s;
}


@keyframes flash {
  0% {
    opacity: 0;
  }
  50% {
    opacity: 1;
  }
  100% {
    opacity: 0;
  }
}

@keyframes jump {
  0% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
  100% {
    transform: translateY(0px);
  }
}

@keyframes scroll-text {
  0% {
    transform: translateX(-50%);
  }
  100% {
    transform: translateX(0);
  }
}

@media (max-width: 768px) {
  .card {
    top: 25px;
    width: 90vw;
    margin: 0 auto 25px;
    background: #000;
    padding: 0;
    border-radius: 30px;
  }

  .cards-3d-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    transform: scale(1.1);
    margin: 0;
    padding-bottom: 0;
    filter: brightness(0.8);
  }

  .card-img {
    width: 70%;
  }

  .project-header {
    position: relative;
    z-index: 10;
    width: 100%;
    margin: 0;
    padding: 25px 20px 0px;
    aspect-ratio: 1/0.6;

    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: flex-start;
  }

  .project-header::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
      to bottom,
      rgba(0, 0, 0, 0.9) 0%,
      rgba(0, 0, 0, 0) 100%
    );
    z-index: -1;
  }

  .project-content {
    flex-direction: column;
    align-items: flex-start;
    gap: 5px;
  }

  .project-number p {
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
  }

  .project-title {
    margin: 0;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
  }

  .project-skills {
    color: #ddd;
    font-size: 12px;
  }

  .view-projects--btn {
    position: relative;
    z-index: 10;
    width: 100%;
    display: flex;
    justify-content: center;
    padding-top: 50px;
  }

  .view-projects--btn .sketch-path {
    stroke: #d13d6e;
  }

  .project-number p {
    color: #d13d6e;
  }
}
