html {
    scroll-behavior: smooth;
}

body {
    background-color: rgb(0, 0, 0);
    color: white; 
}
.section {
    padding: 50px;  
    margin-bottom: 40px; 
}

.navbar {
    transition: all 1s;
    display: flex;
    align-items: center;       
    justify-content: space-between; 
    padding: 0 10px;
}

.navbar-icons {
    display: flex;
    gap: 10px; 
}

.nav-link {
    color: #000000; 
    margin: 1px;  
    font-size: 1.4rem; 
    transition: color 0.3s ease; 
}


.navbar-nav .nav-item a {
    color: black; 
    transition: color 0.3s ease, transform 0.3s ease;
    position: relative;
    --distance: 1; 
}


.navbar-nav .nav-item a:hover {
    color: white;
}


.navbar-nav .nav-item a.cursor-follow {
    color: rgb(255, 255, 255); 
    opacity: var(--distance); 
    transition: opacity 0.3s ease, color 0.3s ease; 
}


.navbar-nav .nav-item a i {
    opacity: 1 !important;
    color: inherit; 
}


.navbar-nav .nav-item a:not(.cursor-follow):hover {
    color: white; 
}



.portfolio-name {
    font-family: 'Poppins', sans-serif; 
    font-weight: 600;
}
.navbar-brand {
    margin-left: 5%; 
}

.portfolio-name {
    padding-left: 1rem; 
    padding-right: 0.005rem; 
}
.navbar-brand {
    display: flex;
    align-items: center;
    gap: 5px; 
}
.portfolio-name, .brand-name {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
}
.brand-name {
    color: #ED2024; 
}

.navbar {
    background-color: #333;
    padding: 10px;
}


.nav-link i {
    font-size: 1.5rem; 
    color: rgb(0, 0, 0);
    transition: color 0.3s;
}


.nav-link:hover i {
    color: #ffffff; 
}

.glitchtwo {
    font-size: 100px; 
    font-weight: bold;
    color: #fff; 
    position: relative;
    display: inline-block;
    letter-spacing: 2px;
    text-transform: uppercase;
    overflow: hidden;
  }
  
  .glitchtwo::before,
  .glitchtwo::after {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    color: #ff0000; 
    background: #000;
    z-index: -1;
    clip-path: inset(0 0 0 0);
  }
  
  .glitchtwo::before {
    animation: horror-glitch-anim-1 0.3s infinite linear;
    left: -3px;
  }
  
  .glitchtwo::after {
    animation: horror-glitch-anim-2 0.3s infinite linear;
    left: 3px;
  }
  
  @keyframes horror-glitch-anim-1 {
    0% {
      transform: translateX(-5px) skewX(-15deg);
      clip-path: inset(0 0 0 0);
    }
    20% {
      transform: translateX(5px) skewX(25deg);
      clip-path: inset(10% 0 20% 0);
    }
    40% {
      transform: translateX(-10px) skewX(-30deg);
      clip-path: inset(0 0 10% 0);
    }
    60% {
      transform: translateX(15px) skewX(45deg);
      clip-path: inset(5% 0 25% 0);
    }
    80% {
      transform: translateX(-20px) skewX(-40deg);
      clip-path: inset(10% 0 10% 0);
    }
    100% {
      transform: translateX(5px) skewX(30deg);
      clip-path: inset(0 0 0 0);
    }
  }
  
  @keyframes horror-glitch-anim-2 {
    0% {
      transform: translateX(10px) skewX(20deg);
      clip-path: inset(0 0 0 0);
    }
    20% {
      transform: translateX(-5px) skewX(-25deg);
      clip-path: inset(15% 0 5% 0);
    }
    40% {
      transform: translateX(10px) skewX(15deg);
      clip-path: inset(5% 0 15% 0);
    }
    60% {
      transform: translateX(-15px) skewX(-35deg);
      clip-path: inset(10% 0 20% 0);
    }
    80% {
      transform: translateX(25px) skewX(50deg);
      clip-path: inset(20% 0 10% 0);
    }
    100% {
      transform: translateX(-10px) skewX(-30deg);
      clip-path: inset(0 0 0 0);
    }
  }
  
  

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3E%3Cpath stroke='rgba(255, 255, 255, 0.7)' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E"); /* White icon color */
}

.navbar-nav {
    padding-left: 4rem; 
    padding-right: 1rem; 
}

.navbar {
    background-color: transparent;
    transition: background-color 0.3s ease; 
}

.navbar.scrolled {
    background-color: #ed2024; 
}
.navbar.scrolled .brand-name {
    color: #ffffff; 
}
#about {
    margin-top: 350px; 
}

.wilbert {
    color: white; 
    transition: color 0.3s ease; 
}
.glitch-text {
    font-family: 'Major-Mono-Display-Regular', sans-serif; 
    font-weight: 700; 
}

.navbar.scrolled .wilbert {
    color: black; 
}
.image-responsive {
    width: 5% !important; 
    height: auto; 
}
.image-container {
    position: relative; 
    width: 100px; 
    height: auto;
}
.dancingme {
    position: relative; 
    left: 10; 
    width: 600px; 
    height: auto; 
}
.image {
    width: 100%;
    height: auto;
}

.fade-in-click {
    opacity: 0;
    transform: translateX(-100%); 
    animation: slideIn 2s ease-out forwards; 
}


@keyframes slideIn {
    0% {
        opacity: 0;
        transform: translateX(-100%); 
    }
    100% {
        opacity: 1;
        transform: translateX(0); 
    }
}

.fade-in-click.show {
    opacity: 1;  
    transform: translateX(0);  
}

.accordion-item {
    background-color: black; 
    border: none;  
    width: 100vw;
    margin-left: 0; 
    margin-right: 0; 
}

.accordion-button {
    background-color: rgb(0, 0, 0); 
    color: white; 
    border: none; 
    padding: 1rem; 
    width: 100%; 
    text-align: center; 
}
.accordion-body {
    text-align: center;
    background-color: rgb(29, 29, 29); 
}

.accordion-button:not(.collapsed) {
    background-color: #000000; 
    color: #ffffff; 
}
.accordion-item {
    display: flex;
    flex-direction: column;
    align-items: center;
}
.accordion-collapse {
    background-color: black; 
}
.small-image {
    width: 100px; 
    height: auto; 
}
.rounded-border {
    border-radius: 10px; 
}

.shadow-effect {
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.3); 
}


.card-container {
    display: flex;
    gap: 50px;
    perspective: 1000px;
}

.card {
    width: 150px;
    padding: 20px;
    border: 1px solid #ddd;
    border-radius: 8px;
    text-align: center;
    cursor: pointer;
    transition: transform 0.2s, background-color 0.3s ease; 
    background-color: #fff; 
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1); 
    position: relative; 
}

.glitch-text-container {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh; 
    background-color: #000; 
}

.glitch {
    font-size: 10rem; 
    font-family: 'Poppins', sans-serif; 
    color: white; 
    position: relative;
    letter-spacing: 2px;
    animation: glitch-animation 2s infinite;
}

.glitch:before,
.glitch:after {
    content: "END OF THE LINE";
    position: absolute;
    top: 0;
    left: 0;
    color: #ff2020; 
    z-index: -1;
    animation: glitch-animation 1ms infinite;
}


@keyframes glitch-animation {
    0%, 100% {
        opacity: 1;
        transform: translate(0, 0);
    }
    10% {
        opacity: 0.5;
        transform: translate(-3px, -3px);
    }
    20% {
        opacity: 0.8;
        transform: translate(3px, 3px);
    }
    30% {
        opacity: 0.4;
        transform: translate(-2px, -2px);
    }
    40% {
        opacity: 1;
        transform: translate(2px, 2px);
    }
    50% {
        opacity: 0.6;
        transform: translate(4px, -4px);
    }
    60% {
        opacity: 0.7;
        transform: translate(-5px, 5px);
    }
    70% {
        opacity: 1;
        transform: translate(1px, -1px);
    }
    80% {
        opacity: 0.3;
        transform: translate(-2px, 2px);
    }
    90% {
        opacity: 0.5;
        transform: translate(3px, -3px);
    }
}


.glitch:after {
    animation-delay: -1s;
}

.card:hover {
    transform: scale(1.05); 
}

.card {
    width: 150px;
    padding: 20px;
    border: 1px solid #ddd;
    border-radius: 8px;
    text-align: center;
    cursor: pointer;
    transition: transform 0.2s, background-color 0.3s ease; 
}


.card:hover {
    transform: scale(1.05); 
    background-color: #ed2024; 
    color: white; 
    border-color: #000000; 
}

.modal {
    display: none; 
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    justify-content: center;
    align-items: center;
}

.modal-content {
    background-color: #fff;
    padding: 20px;
    border-radius: 8px;
    position: relative;
    animation: floatIn 0.5s ease; 
}


@keyframes floatIn {
    0% {
        transform: translateY(100px);
        opacity: 0;
    }
    100% {
        transform: translateY(0);
        opacity: 1;
    }
}


.close {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 20px;
    cursor: pointer;
}



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

.glitch-image {
    
    width: 100%; 
    animation: glitch-animation 3s infinite; 
}


@keyframes glitch-animation {
    0%, 100% {
        opacity: 1;
        transform: translate(0, 0);
    }
    20% {
        opacity: 0.8;
        transform: translate(-2px, 2px);
    }
    40% {
        opacity: 0.5;
        transform: translate(2px, -2px);
    }
    60% {
        opacity: 0.9;
        transform: translate(-1px, 1px);
    }
    80% {
        opacity: 0.7;
        transform: translate(1px, -1px);
    }
    90% {
        opacity: 0.3;
        transform: translate(-3px, 3px);
    }
}
.glitch-text {
    animation: glitch-text-animation 2s;
}


@keyframes glitch-text-animation {
    0%, 100% {
        opacity: 1;
        transform: translate(0, 0);
    }
    15% {
        opacity: 0.7;
        transform: translate(-2px, 1px);
    }
    30% {
        opacity: 0.5;
        transform: translate(2px, -2px);
    }
    45% {
        opacity: 0.8;
        transform: translate(-1px, 1px);
    }
    60% {
        opacity: 0.4;
        transform: translate(3px, -1px);
    }
    75% {
        opacity: 0.6;
        transform: translate(-2px, 3px);
    }
    90% {
        opacity: 0.3;
        transform: translate(1px, -1px);
    }
}
body{
    background-color: #000000;
    cursor: none;
  }
  
  .rounded{
    width: 30px;
    height: 30px;
    border: 2px solid #fff;
    border-radius: 50%;
  }
  
  .pointed{
    width: 7px;
    height: 7px;
    background-color: white;
    border-radius: 50%;
  }
  

@keyframes cursor-animation {
    0% { transform: scale(1); }
    50% { transform: scale(1.2); } 
    100% { transform: scale(1); }
}

body {
    cursor: none !important;
}


.custom-cursor {
    width: 1px;
    height: 25px;
    border-radius: 80%;
    background-color: rgb(138, 0, 0); 
    position: absolute; 
    pointer-events: none; 
    z-index: 9999; 
    transition: transform 0.1s ease; 
    cursor: none !important;
}
.clickable:hover .custom-cursor {
    width: 10px;  
    height: 10px; 
    background-color: #ff2600; 
    cursor: none
}
body:active .custom-cursor {
    width: 10px;
    height: 25px;
    opacity: 10%;
}

.custom-cursor::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    border-radius: 40%;
    background-color: red;
    opacity: 50%;
    filter: blur(5px);
    transform: translate(-50%, -50%);
    animation: pulse 2s infinite ease-in-out;
  
}
#moveMouseText {
    position: fixed;
    top: 50px; 
    right: 65px; 
    font-size: 0.5rem;
    color: white;
    font-family: 'Poppins', sans-serif;
    z-index: 1000; 
    pointer-events: none; 
    transition: transform 0.1s ease; 
    opacity: 70%
}
.carousel {
    width: 100%; 
    margin: auto;
  }
  .carousel img {
    object-fit: scale-down;
    height: 800px; 
  }

  @keyframes dragging {
    0% {
        transform: translateY(0);
        text-shadow: 0 0 0 #0c2ffb, 0 0 0 #2cfcfd, 0 0 0 #fb203b, 0 0 0 #fefc4b;
      }
      20% {
        transform: translateY(-1em);
        text-shadow: 0 0.125em 0 #0c2ffb, 0 0.25em 0 #2cfcfd, 0 -0.125em 0 #fb203b, 0 -0.25em 0 #fefc4b;
      }
      40% {
        transform: translateY(0.5em);
        text-shadow: 0 -0.0625em 0 #0c2ffb, 0 -0.125em 0 #2cfcfd, 0 0.0625em 0 #fb203b, 0 0.125em 0 #fefc4b;
      }
      60% {
        transform: translateY(-0.25em);
        text-shadow: 0 0.03125em 0 #0c2ffb, 0 0.0625em 0 #2cfcfd, 0 -0.03125em 0 #fb203b, 0 -0.0625em 0 #fefc4b;
      }
      80% {
        transform: translateY(0);
        text-shadow: 0 0 0 #0c2ffb, 0 0 0 #2cfcfd, 0 0 0 #fb203b, 0 0 0 #fefc4b;
      }
}
  

.webtoon-container {
    max-width: 300%;
    width: 49%;
    height: 110vh; 
    margin: 0 auto;
    overflow: hidden; 
    position: relative;
    border: 2px solid #000;
    padding: 20px;
    background-color: white;
    cursor: grab; 
}

.webtoon-image {
    margin-bottom: 20px;
    border: none;
    border-radius: 10px;
    overflow: hidden;
    width: 100%;
}

.webtoon-image img {
    width: 100%;
    height: auto;
    display: block;
}


.webtoon-image:first-child {
    margin-top: 0;
}

.webtoon-image:last-child {
    margin-bottom: 0;
}


@keyframes pulse {
    0%, 100% {
        opacity: 0.6;
        transform: translate(-50%, -50%) scale(1);
    }
    50% {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1.5);
    }
}

.cursor-inner {
    width: 5px;
    height: 5px;
    opacity: 0%;
    background-color: #ffffff;
    border-radius: 10%;
    position: absolute;
    transform: translate(-50%, -50%);
}

.cursor-outer {
    width: 30px;
    height: 30px;
    border: 2px solid #fff;
    border-radius: 50%;
    position: absolute;
    transform: translate(-50%, -50%);
    pointer-events: none;
}

.center-container {
    display: flex;
    flex-direction: column; 
    justify-content: center; 
    align-items: center; 
    height: 100vh; 
}

.center-container h2, .center-container p {
    text-align: center; 
    margin: 10px 0; 
}

.wrapper {
  height: 100vh;
  display: grid;
  place-items: center;
}

.typing-demo {
  width: 38ch;
  animation: typing 3s steps(22), blink .5s step-end infinite alternate;
  white-space: nowrap;
  overflow: hidden;
  border-right: 50px solid;
  font-family: monospace;
  font-size: 2em;
}

@keyframes typing {
  from {
    width: 0
  }
}
    
@keyframes blink {
  50% {
    border-color: transparent
  }
}
.wrapper {
  position: absolute;
  top: 60px; 
  right: 60px; 
  display: inline-block;
}

.typing-demo {
  width: 24ch;
  animation: typing 4s steps(23), blink .5s step-end infinite alternate;
  white-space: nowrap;
  overflow: hidden;
  border-right: 2px solid;
  font-family: 'Poppins', sans-serif;
  font-size: 0.9em; 
  color: #ffffff; 
}

@keyframes typing {
  from {
    width: 0;
  }
}

@keyframes blink {
  50% {
    border-color: transparent;
  }
}
.glitch2 {
    color: rgb(255, 255, 255);
    position: relative;
    font-size: 5vw;
    animation: glitch 4s 1s infinite;
    font-family: "Bodoni Moda", serif;
    font-optical-sizing: auto;
}

.glitch2::before {
    content: attr(data-text);
    position: absolute;
    left: -2px;
    text-shadow: -5px 0 rgb(255, 0, 191);
    background: black;
    overflow: hidden;
    top: 0;
    animation: noise-1 3s linear infinite alternate-reverse, glitch 5s 5.05s infinite;
  }

.glitch2::after {
    content: attr(data-text);
    position: absolute;
    left: 2px;
    text-shadow: -5px 0 lightgreen;
    background: black;
    overflow: hidden;
    top: 0;
    animation: noise-2 3s linear infinite alternate-reverse, glitch 5s 5s infinite;
  }

  @keyframes glitch {
    1%{
      transform: rotateX(10deg) skewX(90deg);
    }
    2%{
      transform: rotateX(0deg) skewX(0deg);
    }
  }

@keyframes noise-1 {
    0% { clip-path: inset(10% 0 90% 0); }
    10% { clip-path: inset(20% 0 80% 0); }
    20% { clip-path: inset(30% 0 70% 0); }
    30% { clip-path: inset(40% 0 60% 0); }
    40% { clip-path: inset(50% 0 50% 0); }
    50% { clip-path: inset(60% 0 40% 0); }
    60% { clip-path: inset(50% 0 50% 0); }
    70% { clip-path: inset(40% 0 60% 0); }
    80% { clip-path: inset(30% 0 70% 0); }
    90% { clip-path: inset(20% 0 80% 0); }
    100% { clip-path: inset(10% 0 90% 0); }
}

@keyframes noise-2 {
    0% { clip-path: inset(30% 0 70% 0); }
    10% { clip-path: inset(25% 0 75% 0); }
    20% { clip-path: inset(20% 0 80% 0); }
    30% { clip-path: inset(15% 0 85% 0); }
    40% { clip-path: inset(10% 0 90% 0); }
    50% { clip-path: inset(5% 0 95% 0); }
    60% { clip-path: inset(10% 0 90% 0); }
    70% { clip-path: inset(15% 0 85% 0); }
    80% { clip-path: inset(20% 0 80% 0); }
    90% { clip-path: inset(25% 0 75% 0); }
    100% { clip-path: inset(30% 0 70% 0); }
}

.scanlines {
    overflow: hidden;
    mix-blend-mode: difference;
    position: relative;
}

.scanlines::before {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: repeating-linear-gradient(
        to bottom,
        transparent 0%,
        rgba(255, 255, 255, 0.05) 0.5%,
        transparent 1%
    );
    animation: fudge 7s ease-in-out alternate infinite;
}

@keyframes fudge {
    from {
        transform: translate(0px, 0px);
    }
    to {
        transform: translate(0px, 2%);
    }
}

.glow2 {
    text-shadow: 0 0 1000px rgb(255, 0, 0);
    color: transparent;
    position: absolute;
    top: 0;
}
* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
  }
  .waviy {
    position: relative;
  }
  .waviy span {
    position: relative;
    display: inline-block;
    font-size: 40px;
    color: #fff;
    text-transform: uppercase;
    animation: flip 2s infinite;
    animation-delay: calc(.2s * var(--i))
  }
  @keyframes flip {
    0%,80% {
      transform: rotateY(360deg) 
    }
  }
  .glossy-image {
    width: 300px; 
    height: auto;
    transition: all 0.3s ease; 
    position: relative;
}


.glossy-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(230, 230, 230, 0.3); 
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none; 
}

.glossy-image:hover::after {
    opacity: 1; 
}

.glossy-image:hover {
    filter: brightness(1.2); 
    transform: scale(1.05);
}
.gallery {
    display: flex;
    gap: 10px;
}

.gallery-photo {
    width: 150px; 
    height: auto;
    transition: transform 0.1s ease-out;
    will-change: transform; 
}
.dancingme {
    margin-left: 70%
}

