*{
  font-family: "Cormorant Garamond", serif;
  margin-top: 0;
  padding-top: 0;
}

body{
  background-color: black;
  padding-top: 100px;
}

html {
  scroll-behavior: smooth;    
  scroll-padding-top: 100px;   
}

#preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7); 
  backdrop-filter: blur(10px);    
  -webkit-backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  transition: opacity 0.5s ease;
}

.loader-text {
  color: #FBFBFB;
  font-size: 1.5rem;
  font-family: 'Bodoni Moda', serif;
  letter-spacing: 2px;
  animation: blink 1s infinite;
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

/* header */
.header-wrapper {
  position: fixed;       
  top: 0;                 
  left: 0;
  width: 100%;            
  z-index: 1000;          
  background: rgba(0, 0, 0, 0.7); 
  backdrop-filter: blur(10px);    
  -webkit-backdrop-filter: blur(10px);
  transition: background 0.3s ease;
}

.nav-link{
  color: black !important;
}

.logo-img{
  width: 100px;
  height: auto;
}

.project-button{
  display: inline-block;
  font-size: 1rem;
  background: rgba(255, 255, 255, 0.1); 
  border: 1px solid rgba(255, 255, 255, 0.2); 
  backdrop-filter: blur(10px); 
  -webkit-backdrop-filter: blur(10px); 
  color: #fff;
  text-decoration: none;
}

.fa-comment {
  font-size: 40px;
  color: white;
}

.say-hi-text {
  font-family: "Bodoni Moda", serif;
  font-size: 1.2em;
  background: linear-gradient(180deg, #27225c, #89c5e6, #a26db4);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 0 10px rgba(162, 109, 180, 0.5);
  transition: all 0.3s ease;
}

.icon:hover .say-hi-text {
  text-shadow: 0 0 15px rgba(255, 0, 168, 0.7);
  transform: scale(1.1);
}

.say-hi-link {
  text-decoration: none;
  color: inherit;
  transition: all 0.3s ease;
}

/* main page */
.wrapper {
  background-color: black;
}

/* content 1 */
.content-1 {
  height: 550px;
  background-color: black;
  position: relative;
}

.background-container {
  position: absolute;
  top: -120px;
  left: 0;
  width: 100vw;   
  height: 100vh;  
  display: flex;
  justify-content: center;  
  align-items: center;   
}

.background-img {
  width: 1200px;
  filter: brightness(80%) blur(0.8px);
  box-shadow: 0 0 20px #AAAAAA, 0 0 5px #AAAAAA;
}

@keyframes floatElement {
  from { transform: translateY(-5px); }
  to { transform: translateY(-12px); }
}

.element-1-container {
  position: absolute;
  top: -50px;
  left: 10px;
}

.element-1-img {
  width: 450px; 
  animation: floatElement 3s ease-in-out infinite alternate;
}

.element-2-container {
  position: absolute;
  left: 70%;
}

.element-2-img {
  width: 450px; 
}

.vertical-text {
  text-align: center;
  line-height: 1;
  padding-top: 4em;
}

.word-1 {
  font-family: "Cormorant Garamond";
  font-size: 1.5em;
  color: white;
  text-shadow: 0 0 10px #AAAAAA, 0 0 20px #AAAAAA;
  animation-delay: 0.3s;
}

.word-2 {
  font-family: "Cormorant Garamond";
  font-size: 1.5em;
  color: white;
  text-shadow: 0 0 10px #AAAAAA, 0 0 20px #AAAAAA;
  animation-delay: 0.9s;
}

.word-3 {
  font-family: "Cormorant Garamond";
  font-size: 1.5em;
  text-shadow: 0 0 10px #AAAAAA, 0 0 20px #AAAAAA;
  color: white;
  animation-delay: 1.5s;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(50px);
    line-height: 1.5;
  }
  to {
    opacity: 1;
    transform: translateY(0);
    line-height: 1.1;
  }
}

.animated-header span {
  opacity: 0;
  transform: translateY(50px);
  line-height: 1.5;
}

/* Triggered after preloader */
.animated-header.start .word-1 {
  animation: fadeInUp 1s forwards;
  animation-delay: 0.3s;
}
.animated-header.start .word-2 {
  animation: fadeInUp 1s forwards;
  animation-delay: 0.9s;
}
.animated-header.start .word-3 {
  animation: fadeInUp 1s forwards;
  animation-delay: 1.5s;
}

/* social media */
.social-media {
  width: 30%;
  display: block;
  margin: 0 auto;
  background: rgba(255, 255, 255, 0.1); 
  border: 1px solid rgba(255, 255, 255, 0.2); 
  border-radius: 15px;
  backdrop-filter: blur(10px); 
  -webkit-backdrop-filter: blur(10px); 
  color: #fff;
}

.social-link {
  display: inline-block;
  margin: 0 15px;
  font-size: 2rem;
  color: #fff;
  transition: all 0.3s ease;
  text-decoration: none;
}

.social-link:hover {
  color: #ff00a8;
  text-shadow: 0 0 20px rgba(255, 0, 168, 0.8);
  transform: scale(1.2);
}

.fa-github {
  color: white !important;
  font-size: 30px;
}

.fa-linkedin-in {
  color: white !important;
  font-size: 30px;
}

.fa-envelope {
  color: white !important;
  font-size: 30px;
}

.fa-file {
  color: white !important;
  font-size: 28px;
}

.resume-link {
  position: relative;
  display: inline-block;
}

.tooltip-text {
  visibility: hidden;
  opacity: 0;
  width: 120px;
  background-color: #333;
  color: #fff;
  text-align: center;
  border-radius: 6px;
  padding: 6px 8px;
  position: absolute;
  z-index: 1;
  bottom: 125%; 
  left: 50%;
  transform: translateX(-50%);
  transition: opacity 0.3s;
  font-size: 0.85rem;
}

.resume-link:hover .tooltip-text {
  visibility: visible;
  opacity: 1;
}

/* content 2 */
.content-2 {
  height: 600px;
}

.content-2 .container {
  background: rgba(255, 255, 255, 0.1); 
  border: 1px solid rgba(255, 255, 255, 0.2); 
  border-radius: 15px;
  padding: 2rem;
}

.sentence-1 {
  font-size: 3em;
  line-height: 1;
}

.word1a,
.word1 {
  font-family: "Bodoni Moda";
  font-size: 2em;
  background: linear-gradient(90deg,  #27225c, #89c5e6 , #a26db4, #ff00a8);
  background-size: 300%;
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: galaxyFlow 8s ease infinite alternate;
  text-shadow: 0 0 12px rgba(177, 0, 232, 0.3);
}

.word2 {
  font-family: "Bodoni Moda";
  font-size: 2em;
  background: linear-gradient(90deg, #ff00a8, #a26db4,#89c5e6,#27225c );
  background-size: 300%;
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: galaxyFlow 8s ease infinite alternate;
  text-shadow: 0 0 12px rgba(177, 0, 232, 0.3);
}

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


.sentence-2 {
  width: 75%;
  font-size: 1.5em;
  color: white; 
}

.typing-paragraph {
  opacity: 0;
  transition: opacity 0.2s ease;
}

.typing-paragraph span {
  opacity: 0;
  display: inline;
  transition: opacity 0.05s ease;
}

.typing-paragraph.typing-start {
  opacity: 1;
}

.typing-paragraph.typing-start span {
  animation: fadeIn 0.5s forwards;
}

@keyframes fadeIn {
  to {
    opacity: 1;
  }
}

.element-3-container {
  position: absolute;
  top: -25%;
  left: -10%;
  z-index: 0; 
}

.element-3-img {
  width: 450px;
}

/* content 3 */
.content-3 {
  height: 400px;
  border-radius: 30px;
}

.content-3 h2 {
  color: white;
}

/* Scroll animation */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(50px);
  transition: all 0.8s ease;
}

.animate-on-scroll.show {
  opacity: 1;
  transform: translateY(0);
}

.skills {
  color: #3f3f3f;
  font-size: 1.5em;
}

.infinite-scroll {
  margin-top: 0.2rem;
  width: 90%;
  max-width: 1536px;
  margin-inline: auto;
  height: 100px;
  position: relative;
  overflow: hidden;
  mask-image: linear-gradient(
    to right,
    rgba(0, 0, 0, 0),
    rgba(0, 0, 0, 1) 20%,
    rgba(0, 0, 0, 1) 80%,
    rgba(0, 0, 0, 0)
  );
}

@keyframes scrollLeft {
  to {
    left: -200px;
  }
}

@keyframes scrollRight {
  to {
    right: -200px;
  }
}

.itemLeft,
.itemRight {
  margin-top: 15px;
  width: 200px;
  height: 60px;
  box-shadow: 0 0 10px #AAAAAA, 0 0 10px #AAAAAA;
  border-radius: 35px;
  position: absolute;
  animation-timing-function: linear;
  animation-duration: 30s;
  animation-iteration-count: infinite;
}

.itemLeft p {
  background: linear-gradient(90deg, #ff00a8, #a26db4,#89c5e6,#27225c );
  background-size: 300%;
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: galaxyFlow 8s ease infinite alternate;
  text-shadow: 0 0 12px rgba(177, 0, 232, 0.3);
}

.itemRight p {
  color: white;
  text-shadow: 0 0 10px #AAAAAA, 0 0 20px #AAAAAA;
}

.itemLeft {
  left: max(calc(200px * 8), 100%);
  animation-name: scrollLeft;
  background-color: white;
}

.itemRight {
  right: max(calc(200px * 8), calc(100% + 200px));
  animation-name: scrollRight;
  background: linear-gradient(90deg, #a26db4, #89c5e6); 
}

.item1 {
  animation-delay: calc(30s / 8 * (8 - 1) * -1);
}

.item2 {
  animation-delay: calc(30s / 8 * (8 - 2) * -1);
}

.item3 {
  animation-delay: calc(30s / 8 * (8 - 3) * -1);
}

.item4 {
  animation-delay: calc(30s / 8 * (8 - 4) * -1);
}

.item5 {
  animation-delay: calc(30s / 8 * (8 - 5) * -1);
}

.item6 {
  animation-delay: calc(30s / 8 * (8 - 6) * -1);
}

.item7 {
  animation-delay: calc(30s / 8 * (8 - 7) * -1);
}

.item8 {
  animation-delay: calc(30s / 8 * (8 - 8) * -1);
}

/* content 4 */
.content-4{
  color: #fff;
}

.card-link {
  text-decoration: none; 
  color: inherit; 
  display: block; 
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card-link:hover .card-project {
  transform: scale(1.05);
  box-shadow: 0 0 25px rgba(162, 109, 180, 0.6);
}

.card-project {
  background: rgba(255, 255, 255, 0.1); 
  border: 1px solid rgba(255, 255, 255, 0.2); 
  border-radius: 1rem;
  transition: transform 0.35s ease, box-shadow 0.35s ease, background-position 2s ease;
  overflow: hidden;
}

.card-project:hover {
  transform: translateY(-3px);
  background-position: 100% 50%;
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.6);
}

.project-img {
  object-fit: cover;
  border-top-left-radius: 1rem;
  border-top-right-radius: 1rem;
  opacity: 0.95;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.card-galaxy:hover .project-img {
  opacity: 1;
  transform: scale(1.05);
}

.project-title{
  text-shadow: 0 0 10px #AAAAAA, 0 0 20px #AAAAAA;
}

/* content 5 */
.content-5 {
  background:
    radial-gradient(circle at 20% 60%, #27225c 0%, transparent 60%),
    radial-gradient(circle at 80% 60%, #89c5e6 0%, transparent 60%),
    radial-gradient(circle at 50% 55%, #a26db4 0%, transparent 65%),
    linear-gradient(to bottom, #000000 0%, #000000 15%, #090113 50%, #000000 85%, #000000 100%);
  background-blend-mode: screen;
  color: white;
}

form {
  background: rgba(255, 255, 255, 0.1); 
  border: 1px solid rgba(255, 255, 255, 0.2); 
  border-radius: 15px;
  padding: 2rem;
  backdrop-filter: blur(10px); 
  -webkit-backdrop-filter: blur(10px); 
  color: #fff; 
}

form label {
  color: #fff;
}

form .form-control {
  background: rgba(255, 255, 255, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #fff;
}

form .form-control::placeholder {
  color: rgba(255, 255, 255, 0.7);
}

form .btn {
  background: rgba(255, 255, 255, 0.1); 
  border: 1px solid rgba(255, 255, 255, 0.2); 
  backdrop-filter: blur(10px); 
  -webkit-backdrop-filter: blur(10px); 
  color: #fff;
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.4);
  transition: 0.3s;
}

form .btn:hover {
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.1); 
  transform: scale(1.05);
  border: 1px solid rgba(147, 146, 146, 0.2); 
}


/* Soso Studio Page */
.carousel-img{
  width:80%; 
  height:auto; 
  border-radius:20px;
}

.sosostudio-wrapper {
  height: 100vh;
  overflow-y: auto;
  scroll-snap-type: y mandatory;
  scroll-behavior: smooth;
}

.snap-wrap {
  height: auto !important;
  overflow: visible !important;
}

.snap-slide {
  min-height: 100vh;
  scroll-snap-align: start;

  display: flex;
  flex-direction: column;       
  justify-content: center;      
  align-items: center;         
  text-align: center;

  opacity: 0;
  transform: translateY(20px);
  transition: opacity .6s ease, transform .6s ease;
}

.snap-slide.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.snap-slide .container {
  margin-top: 0 !important;
  padding-top: 0 !important;
}

.snap-slide h2 {
  margin-bottom: 1.5rem;
}

.snap-slide p {
  max-width: 1000px;
  margin: 0 auto;
}

.sentence-1 {
  font-size: 3em;
  line-height: 1;
}

.word1a,
.word1 {
  font-family: "Bodoni Moda";
  font-size: 2em;
  background: linear-gradient(90deg,  #27225c, #89c5e6 , #a26db4, #ff00a8);
  background-size: 300%;
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: galaxyFlow 8s ease infinite alternate;
  text-shadow: 0 0 12px rgba(177, 0, 232, 0.3);
}

.word2 {
  font-family: "Bodoni Moda";
  font-size: 2em;
  background: linear-gradient(90deg, #ff00a8, #a26db4,#89c5e6,#27225c );
  background-size: 300%;
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: galaxyFlow 8s ease infinite alternate;
  text-shadow: 0 0 12px rgba(177, 0, 232, 0.3);
}

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

.paragraph {
  width: 100%;
  font-size: 1.5em;
  /* color: white;  */
  color: #BFBFBF;
}


