
@import url('https://code.ionicframework.com/ionicons/2.0.1/css/ionicons.min.css');
@import url('https://fonts.googleapis.com/css2?family=Shippori+Mincho:wght@400;700&display=swap');
@import url("https://fonts.googleapis.com/css2?family=Open+Sans:wght@400;600;700;800&display=swap");


body {
    font-family: 'Shippori Mincho', serif, system-ui;
    scroll-behavior: smooth;
    background: linear-gradient(135deg, #f5f5f5 0%, #e0e0e0 100%);
    color: #000;
    overflow-x: hidden;
}
 overflow-y-hiddehtml {
  overflow-y: scroll;
  scrollbar-width: none;
}

html::-webkit-scrollbar {
  display: none;
}

#preloader {
  position: fixed;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  background: #000;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  transition: opacity 0.5s ease;
}


.hero,
.section {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 2rem;
    box-sizing: border-box;
}

.header-text {
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

@keyframes bw-gradient-flow {
  0% {
    background-position: 0% 50%;
  }
  100% {
    background-position: 100% 50%;
  }
}

.gradient-text-animate {
  background: linear-gradient(270deg, #000, #888, #fff, #888, #000);
  background-size: 200% 200%;
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  animation: bw-gradient-flow 3s linear infinite;
  text-shadow:
    
     1px  1px 0 #000;
}
.project-item,
.skill-item {
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.project-item:hover,
.skill-item:hover {
    transform: scale(1.05);
    background: rgba(255, 255, 255, 0.1);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.glow-link {
  text-shadow: 0 0 10px white, 0 0 20px white, 0 0 30px white;
  transition: text-shadow 0.3s ease;
}

.glow-link:hover {
  text-shadow: 0 0 20px white, 0 0 40px white, 0 0 60px white;
}

/* 
.hero {
    background-image: url("/src/assets/main.jpg");
    background-size: contain;
    background-position: center;
} */

.theme-toggle {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 100;
}

.light-theme {
    background: linear-gradient(135deg, #f5f5f5 0%, #e0e0e0 100%);
    color: #000;
}

.light-theme .parallax-bg {
    opacity: 0.2;
}

.dark-theme {
    background: linear-gradient(135deg, #000 0%, #1a1a1a 100%);
    color: #fff;
}



.marquee {
    position: relative;
    width: 100%;
    overflow: hidden;
    background: transparent;
    height: 4rem;
    /* Adjust as needed */
    display: flex;
    align-items: center;
}


footer {
    background: rgba(0, 0, 0, 0.8);
    color: #ffffff;
    padding: 1rem;
    width: 100%;
}


/* Navbar Styles */
#mainNav {
    transition: transform 0.3s ease, background-color 0.3s ease;
}

#mainNav {
    transform: translateY(0);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.nav-links a {
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -4px;
    left: 0;
    background-color: currentColor;
    transition: width 0.3s ease;
}

.nav-links a:hover::after {
    width: 100%;
}

.game-icon:hover {
    animation: wiggle 0.5s ease infinite;
}


#typing::after {
    content: "_";
    animation: blink 1s infinite;
    opacity: 1;
}

@keyframes blink {
    0% {
        opacity: 1;
    }

    50% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}



@keyframes wiggle {

    0%,
    100% {
        transform: rotate(0deg);
    }

    25% {
        transform: rotate(-180deg);
    }

    75% {
        transform: rotate(180deg);
    }
}

.about-reveal {
    transition: filter 0.3s;
}

#draggableContainer figure {
  animation: float 4s ease-in-out infinite;
}

.snip1578 {
    font-family: 'Open Sans', Arial, sans-serif;
    position: relative;
    display: inline-block;
    margin: 10px;
    min-width: 250px;
    max-width: 315px;
    height: 85px;
    width: 100%;
    color: #000;
    text-align: left;
    font-size: 16px;
    background: #fff;
    border-radius: 5px;
    cursor: grab;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.snip1578 *,
.snip1578:before,
.snip1578:after {
    box-sizing: border-box;
    transition: all 0.4s ease;
}

.snip1578 img {
    max-width: 64px;
    max-height: 64px;
    margin-top: -15px;
    margin-left: 60%;
    margin-bottom: 15px;
    backface-visibility: hidden;
    vertical-align: top;
    border-radius: 50%;
    object-fit: cover;
}

.snip1578 figcaption {
    position: absolute;
    top: 0;
    right: 40%;
    left: 0;
    bottom: 0;
    padding: 15px;
}

.snip1578 h3 {
    margin: 0;
    font-size: 1.1em;
    font-weight: normal;
}

.snip1578 .icons {
    font-size: 1.6rem;
}

.snip1578 .icons a {
    color: #ccc;
    margin-right: 0.5em;
}

.snip1578 img:hover {
    transform: scale(1.5);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 2;
}

.snip1578 .icons i:hover {
    transform: scale(1.5);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 2;
}

/* Optional: For demo background */
body {
    background-color: #212121;
    text-align: center;
}