body {
  margin: 0;
  padding: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: lightgray;
}
html {
  scroll-behavior: smooth;
  scrollbar-width: thin;
  scrollbar-color: rgba(114, 161, 222, 0.7) rgba(4, 6, 25, 0.65);
}
/* Custom scrollbar styling for light-on-dark layout */
body::-webkit-scrollbar {
  width: 12px;
}
body::-webkit-scrollbar-track {
  background: rgba(4, 6, 25, 0.65);
  border-radius: 20px;
}
body::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, rgba(114, 161, 222, 0.6), rgba(69, 110, 176, 0.9));
  border-radius: 20px;
  border: 2px solid rgba(4, 6, 25, 0.65);
  box-shadow: 0 0 6px rgba(114, 161, 222, 0.35);
}
body::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, rgba(130, 180, 245, 0.85), rgba(96, 128, 214, 1));
}
.container {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 100px;
  background-color: #001f7c38;
  padding-top: 90px;
}
.back-vid {
  position: fixed;
  right: 0;
  bottom: 0;
  z-index: -1;
  mix-blend-mode: overlay;
}
header {
  display: flex;
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  align-items: center;
  justify-content: space-between;
  padding: 0 30px;
  height: 70px;
  background-color: rgba(255, 255, 255, 0.121);
  backdrop-filter: blur(5px);
  box-shadow: 0 0 15px #72a1dea2;
  z-index: 999;
}
.left {
  display: flex;
  align-items: center;
}
.left img {
  width: 40px;
  margin: 0 15px;
}
header ul {
  display: flex;
  justify-content: space-between;
  width: 30%;
  padding: 15px 15px;
  border-radius: 50px;
  background-color: rgba(0, 0, 69, 0.326);
  backdrop-filter: blur(10px);
  box-shadow: 0 0 10px #72a1de63;
}
header ul li {
  list-style: none;
}
header ul a {
  text-decoration: none;
  color: white;
  font-weight: 700;
  transition: 0.3s;
  margin: 0 10px;
}
header ul a:hover {
  text-shadow: 0 0 15px black;
}
.box-icons {
  display: flex;
  gap: 12px;
  align-items: center;
}
.box-icons p {
  margin: 0;
}
.box-icons a {
  --icon-color: #72a1de;
  --icon-hover: #5d8fd0;
  color: var(--icon-color);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 8px;
  transition: transform 0.2s ease, color 0.2s ease, background-color 0.2s ease;
  text-decoration: none;
}
.box-icons a:hover {
  color: #fff;
  background-color: var(--icon-hover);
  transform: translateY(-2px);
}
.box-icons i {
  font-size: 22px;
  line-height: 1;
}
.blackhole-box {
  position: absolute;
  top: 0;
  width: 100%;
  display: flex;
  justify-content: center;
  z-index: -1;
  mix-blend-mode: lighten;
}
.blackhole-box video {
  width: 100%;
  margin-top: -23.5%;
}
.hero {
  position: relative;
  display: flex;
  width: 100%;
  height: 100vh;
  align-items: center;
  justify-content: space-between;
}
.hero-info {
  position: absolute;
  left: 5%;
}
.hero-info .hero-info-title {
  color: #72a1de;
  padding: 8px 5px;
  border-radius: 50px;
  border: 1px solid #72a1de94;
  width: 240px;
  background-color: #2200493d;
  box-shadow: 0 0 5px #72a1de84;
}
.hero-info h1 {
  font-size: 60px;
  max-width: 600px;
  font-weight: 700;
  line-height: 70px;
  margin-top: 40px;
  margin-bottom: 30px;
}
.hero-info p {
  max-width: 550px;
  line-height: 25px;
  margin-bottom: 40px;
  font-size: 20px;
}
.hero-info button {
  color: white;
  padding: 15px 35px;
  border-radius: 10px;
  border: 1px solid #72a1de81;
  background-color: #2200493d;
  box-shadow: 0 0 5px #72a1de81;
  cursor: pointer;
  transition: 0.3s;
}
.hero-info button:hover {
  box-shadow: 0 0 15px #72a1de81;
}
.gradient {
  background: linear-gradient(
    to right,
    #00aaa7,
    #7e42a7,
    #6600c5,
    #6070fd,
    #2a46ff,
    #0099ff,
    #008ead
  );
  background-size: 200%;
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: animate-gradient 2.5s linear infinite;
}
@keyframes animate-gradient {
  to {
    background-position: 200%;
  }
}
.skills-video-box {
  position: absolute;
  right: 3%;
}
.skills-video {
  height: 900px;
  mix-blend-mode: lighten;
}
.scroll-down {
  height: 50px;
  width: 30px;
  border: 2px solid lightgray;
  position: absolute;
  left: 49%;
  bottom: 8%;
  border-radius: 50px;
  cursor: pointer;
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.626);
}
.scroll-down::before,
.scroll-down::after {
  content: "";
  position: absolute;
  top: 20%;
  left: 50%;
  height: 10px;
  width: 10px;
  transform: translate(-50%, -100%) rotate(45deg);
  border: 2px solid lightgray;
  border-top: transparent;
  border-left: transparent;
  animation: scroll-down 2s ease-in-out infinite;
}
.scroll-down::before {
  top: 30%;
  animation-delay: 0.5s;
}
@keyframes scroll-down {
  0% {
    opacity: 0;
  }
  30% {
    opacity: 1;
  }
  60% {
    opacity: 1;
  }
  100% {
    top: 90%;
    opacity: 0;
  }
}
.info-section {
  display: flex;
  align-items: center;
  flex-direction: column;
  width: 80%;
  margin-top: 100px;
}
.section-title {
  font-size: 40px;
  font-weight: 700;
}
.info-cards {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 20px;
  width: 100%;
  margin-top: 30px;
}
.card {
  position: relative;
  width: 100%;
  height: 40vh;
  overflow: hidden;
  border: 1px solid gray;
  background-color: #080020b7;
  border-radius: 20px;
  transition: 0.3s;
}
.media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.card-content {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 22px;
  z-index: 1;
  background: linear-gradient(
    0deg,
    rgba(3, 4, 25, 0.9) 0%,
    rgba(3, 4, 25, 0.7) 40%,
    rgba(3, 4, 25, 0) 100%
  );
}
.card h1 {
  margin: 0 0 8px 0;
  font-size: 24px;
  color: #e6e8ff;
}
.card p {
  margin: 0;
  color: #b7bfdc;
  font-size: 14px;
  line-height: 1.6;
  max-width: 600px;
}
.card button {
  margin-top: 14px;
  padding: 10px 22px;
  border: 1px solid #8ea7ff66;
  background-color: #0f1217b3;
  color: #cfd8ff;
  border-radius: 16px;
  box-shadow: 0 0 6px #8ea7ff33;
  cursor: pointer;
}
.card:hover {
  box-shadow: 0 0 15px rgba(211, 211, 211, 0.6);
}
.card:nth-child(3) {
  grid-row: span 2;
  min-height: 83vh;
  height: auto;
}
.card:nth-child(4) {
  grid-column: span 2;
}
.my-project {
  display: flex;
  flex-direction: column;
  gap: 10%;
  align-items: center;
  position: relative;
  width: 80%;
  height: 100vh;
  margin-top: 200px;
  margin-bottom: 700px;
}
.project-card {
  display: flex;
  width: 100%;
  height: 40%;
  align-items: center;
  gap: 10%;
  justify-content: center;
}
.project-vidbox {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50%;
  mix-blend-mode: exclusion;
  position: relative;
  cursor: pointer;
  transition: 0.5s;
  min-width: 400px;
}
.project-vidbox video {
  object-fit: cover;
  width: 100%;
  box-shadow: 0 0 10px lightgray;
  border-radius: 20px;
  transition: 0.5s;
}
.project-card video:hover {
  box-shadow: 0 0 25px rgb(255, 255, 255);
}
.project-info {
  display: flex;
  flex-direction: column;
  align-items: start;
  justify-content: center;
  width: 50%;
  padding-left: 10%;
}
.project-info h1 {
  width: 90%;
  font-size: 25px;
  font-weight: bold;
  text-wrap: nowrap;
  margin-top: 0;
  margin-bottom: 10px;
  max-width: 450px;
}
.project-info p {
  width: 90%;
  max-width: 400px;
  min-width: 300px;
  margin-bottom: 50px;
  margin-top: 0;
}
.project-info button {
  color: white;
  padding: 15px 35px;
  border-radius: 10px;
  border: 1px solid #72a1de81;
  background-color: #2200493d;
  box-shadow: 0 0 5px #72a1de81;
  cursor: pointer;
  transition: 0.3s;
}
.project-info button:hover {
  opacity: 0.8;
  box-shadow: 0 0 15px #72a1de81;
}
.project-vidbox .hover-sign {
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 30%;
  height: 100px;
}
.hover-sign::before,
.hover-sign::after {
  content: "👆";
  text-align: center;
  position: absolute;
  font-size: 50px;
  top: 20%;
  left: 40%;
  border-radius: 40px;
  animation: hover-animation 4s ease-in-out infinite;
}
.hover-sign.active {
  display: none;
}
@keyframes hover-animation {
  0% {
    box-shadow: 0 0 5px rgb(255, 255, 255);
    transform: translate(100%, 50%) rotate(30deg);
  }
  100% {
    box-shadow: 0 0 5px rgb(255, 255, 255);
    transform: translateX(80%) rotate(20deg);
  }
}
.skills-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
}
.skills-box {
  width: 100%;
  height: 90vh;
  position: relative;
  display: flex;
  align-items: start;
  justify-content: center;
  mix-blend-mode: lighten;
  opacity: 0.7;
}
.skills-image {
  width: 70%;
  mix-blend-mode: difference;
}
.Designer {
  position: absolute;
  display: flex;
  flex-direction: column;
  align-items: start;
  top: 25%;
  left: 5%;
  max-width: 300px;
}
.Designer h1 {
  font-size: 50px;
  display: flex;
  align-items: center;
}
.Designer p {
  line-height: 23px;
}
.coder {
  position: absolute;
  display: flex;
  flex-direction: column;
  align-items: start;
  top: 25%;
  right: 5%;
  max-width: 300px;
}
.coder h1 {
  font-size: 50px;
  display: flex;
  align-items: center;
}
.coder p {
  line-height: 23px;
}
.coder-text {
  font-size: 50px;
}
.slider {
  position: absolute;
  bottom: 5%;
  right: 20%;
  width: 60%;
  height: var(--height);
  overflow: hidden;
  mask-image: linear-gradient(to right, transparent, #000 10% 90%, transparent);
  mix-blend-mode: difference;
  opacity: 0.7;
}
.slider .list {
  display: flex;
  width: 100%;
  min-width: calc(var(--width) * var(--quantity));
  position: relative;
}
.slider .list .item {
  width: var(--width);
  height: var(--height);
  position: absolute;
  left: 100%;
  animation: autoRun 10s linear infinite;
  transition: filter 0.5s;
  animation-delay: calc(
    (10s / var(--quantity)) * (var(--position) - 1) - 10s
  ) !important;
}
.slider .list .item img {
  width: 100%;
}
@keyframes autoRun {
  from {
    left: 100%;
  }
  to {
    left: calc(var(--width) * -1);
  }
}

@media (max-width: 1024px) {
  .skills-box {
    height: auto;
    align-items: center;
    padding: 0 2rem 4rem;
  }

  .Designer,
  .coder {
    top: auto;
    max-width: 260px;
  }

  .Designer {
    left: 3%;
    bottom: 45%;
  }

  .coder {
    right: 3%;
    bottom: 15%;
  }

  .slider {
    width: 70%;
    right: 15%;
  }
}

@media (max-width: 768px) {
  .skills-box {
    flex-direction: column;
    gap: 2rem;
    mix-blend-mode: normal;
    opacity: 1;
  }

  .skills-image {
    width: 60%;
    max-width: 260px;
  }

  .Designer,
  .coder {
    position: static;
    align-items: center;
    text-align: center;
    max-width: 100%;
    padding: 0 1rem;
  }

  .Designer h1,
  .coder h1 {
    font-size: 2rem;
  }

  .slider {
    position: static;
    width: 100%;
    max-width: 320px;
    mask-image: none;
    opacity: 1;
  }
}

@media (max-width: 480px) {
  .skills-image {
    width: 70%;
  }

  .slider {
    --width: 80px;
    --height: 80px;
  }
}
.slider:hover .item {
  animation-play-state: paused !important;
  filter: grayscale(1);
}
.slider .item:hover {
  filter: grayscale(0);
}
.contact-section {
  width: 80%;
  min-height: 100vh;
  display: flex;
  justify-content: center;
  gap: 10%;
  align-items: center;
  position: relative;
}
.contact-section h1 {
  position: absolute;
  top: 10%;
  left: 40%;
}
.social-box {
  display: flex;
  flex-direction: column;
  gap: 25px;
}
.social-box a {
  color: lightgray;
  text-decoration: none;
  font-size: 20px;
  text-wrap: nowrap;
}
.social-box i {
  color: #7668ff;
  font-size: 30px;
  margin-right: 10px;
}
.social-icons a i {
  color: white;
  margin-top: 40px;
}
.contact-box p {
  max-width: 400px;
  margin-top: 30px;
  margin-bottom: 10px;
}
.contact-form {
  width: 100%;
  max-width: 520px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 16px 20px;
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 16px;
  backdrop-filter: blur(8px);
}
.form-row {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.contact-form label {
  font-size: 14px;
  color: #cfd8ff;
}
.contact-form input,
.contact-form textarea {
  width: 100%;
  box-sizing: border-box;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  outline: none;
}
.contact-form textarea {
  min-height: 140px;
  resize: vertical;
  line-height: 1.5;
}
.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: #c7c7c7;
}
.contact-form input:focus,
.contact-form textarea:focus {
  border-color: #72a1de;
  box-shadow: 0 0 0 3px rgba(114, 161, 222, 0.25);
}
.contact-form button {
  margin-top: 8px;
  color: #fff;
  padding: 14px 18px;
  border-radius: 12px;
  border: 1px solid #72a1de81;
  background-color: #2200493d;
  box-shadow: 0 0 5px #72a1de81;
  cursor: pointer;
  transition: 0.25s ease;
}
.contact-form button:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 18px rgba(114, 161, 222, 0.35);
}
.contact-feedback {
  margin-top: 8px;
  font-size: 12px;
  color: #cfd8ff;
  min-height: 16px;
}
.footer {
  display: flex;
  justify-content: space-between;
  position: absolute;
  bottom: 0;
  right: 0;
  left: 0;
  height: 70px;
  background-color: rgba(255, 255, 255, 0.121);
  z-index: 999;
  padding: 0 3rem;
}
.autoBlur {
  animation: autoBlurAnimation linear both;
  animation-timeline: view();
}
@keyframes autoBlurAnimation {
  0% {
    filter: blur(40px);
  }
  35%,
  65% {
    filter: blur(0);
    opacity: 1;
  }
  100% {
    filter: blur(40px);
    opacity: 0;
  }
}
.autoDisplay {
  animation: autoDisplayAnimation both;
  animation-timeline: view();
}
@keyframes autoDisplayAnimation {
  from {
    filter: blur(10px);
    transform: translateY(-200px) scale(0);
  }
  50% {
    opacity: 1;
    filter: blur(0px);
    transform: translateX(0) scale(1);
  }
}
.fadein-left {
  animation: fadeInLeftAnimation both;
  animation-timeline: view();
}
@keyframes fadeInLeftAnimation {
  0% {
    opacity: 0;
  }
  35%,
  65% {
    opacity: 1;
  }
  100% {
    opacity: 0.9;
  }
}
.menu-icon {
  font-size: 35px;
  cursor: pointer;
  display: none;
}
.sidebar {
  position: fixed;
  right: 0;
  top: 0;
  bottom: 70%;
  width: 0%;
  background-color: #000000b8;
  z-index: 999;
  box-shadow: 0 0 25px rgba(255, 255, 255, 0.479);
  backdrop-filter: blur(10px);
  opacity: 0;
  border-bottom-left-radius: 100%;
}
.close-icon {
  font-size: 50px;
  color: lightgray;
  padding-left: 10px;
  cursor: pointer;
}
.sidebar ul {
  padding-left: 20px;
}
.sidebar ul li {
  list-style: none;
  margin-bottom: 30px;
}
.sidebar ul li a {
  text-decoration: none;
  color: lightgray;
  font-size: 30px;
  font-weight: 900;
  text-shadow: 0 0 15px #4c4c4c;
}
.social-sidebar {
  padding-left: 20px;
  margin-top: 60px;
  text-wrap: nowrap;
}
.social-sidebar a {
  font-size: 35px;
  padding: 5px 5px;
  cursor: pointer;
  transition: 0.5s;
}
.sidebar.open-sidebar {
  animation: openSideBarAnimation 1.5s forwards;
}
@keyframes openSideBarAnimation {
  to {
    width: 80%;
    opacity: 1;
    bottom: 0;
    border-radius: 0;
  }
}
.sidebar.close-sidebar {
  animation: closeSideBarAnimation 1.5s forwards;
}
@keyframes closeSideBarAnimation {
  from {
    width: 80%;
    opacity: 1;
    bottom: 0;
    border-radius: 0;
  }
  to {
    width: 0;
    opacity: 0;
    bottom: 70%;
    border-bottom-left-radius: 50%;
  }
}
@media (max-aspect-ratio: 16/9) {
  .back-vid {
    width: auto;
    height: 100%;
  }
}
@media (min-aspect-ratio: 16/9) {
  .back-vid {
    width: 100%;
    height: auto;
  }
}
@media screen and (max-width: 1200px) {
  .blackhole-box video {
    margin-top: -20%;
  }
  .hero-info h1 {
    font-size: 40px;
    max-width: 400px;
    line-height: 40px;
  }
  .hero-info P {
    max-width: 300px;
  }
  .skills-video-box {
    right: 0%;
  }
  .skills-video-box video {
    height: 500px;
  }
  .info-cards {
    grid-template-columns: 1fr;
  }
  .card:nth-child(3) {
    grid-row: auto;
    min-height: 60vh;
  }
  .my-project {
    margin-bottom: 200px;
    scale: 0.8;
  }
  .contact-section .section-title {
    left: 30%;
  }
}
@media screen and (max-width: 700px) {
  header {
    position: fixed;
    height: 50px;
  }
  header ul {
    display: none;
  }
  header .box-icons {
    display: none;
  }
  .menu-icon {
    display: inline;
  }
  .blackhole-box video {
    width: 100%;
    margin-top: -15%;
  }
  .autoBlur {
    animation: none;
  }
  .hero {
    flex-direction: column;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
  }
  .hero-info {
    bottom: 5%;
  }
  .scroll-down {
    bottom: 5%;
  }
  .hero .skills-video-box {
    height: 200px;
    top: 5%;
  }
  .container {
    height: 100%;
    padding-top: 70px;
  }
  .contact-section {
    flex-direction: column;
    margin-top: 100px;
    margin-bottom: 50px;
  }
  .social-box {
    margin-left: -90px;
  }
}
@media screen and (max-width: 480px) {
  .hero .skills-video-box {
    display: none;
  }
  .blackhole-box {
    overflow: hidden;
  }
  .blackhole-box video {
    width: 140%;
    margin-top: -27%;
  }
  .left {
    scale: 0.9;
    margin-left: -30px;
  }
  .left h2 {
    font-size: 20px;
  }
  .hero {
    scale: 0.9;
  }
  .hero-info {
    bottom: 15%;
  }
  .hero-info h1 {
    font-size: 35px;
  }
  .scroll-down {
    bottom: 15%;
    left: 60%;
  }
  .section-title {
    font-size: 25px;
  }
  .info-cards {
    display: flex;
    flex-direction: column;
  }
  .card {
    min-height: 20rem;
  }
  .my-project {
    margin-bottom: 600px;
  }
}
