/* Nav bar tweaks */
.navbar-custom {
  background-color: #000000; /* Dark shade */
  /* font-family: 'Kode Mono', monospace; */
}

.navbar-custom .navbar-brand,
.navbar-custom .nav-link {
  color: #0abdc6; /* Bright color for contrast */
  font-size: 24px;
}

.navbar-custom .nav-link:hover {
  color: #ffffff; /* Change for hover state */
}

body {
  /* background-color: #091833 !important; */
  /* background-color: #a8cd83; light green */
  background-color: #6800d0 !important;;
  /* background-image: url("assets/cybercity.png");
  background-repeat: repeat;
  background-size: auto; */
  /* background-size: 64px; */
  /*background-color: #010101;*/
  font-family: Arial, sans-serif;
}

.medievalsharp-regular {
  font-family: "MedievalSharp", cursive;
  font-weight: 400;
  font-style: normal;
  font-size: 24px;
}

.wallpoet-regular {
  font-family: "Wallpoet", sans-serif;
  font-weight: 400;
  font-style: normal;
}



/* Remove underline */
a.card-link {
  text-decoration: none;
}

/* glowing effect */
.card {
  box-shadow: 0 0 10px #d1fdff !important; /* Set a glowing shadow effect */
  transition: box-shadow 0.3s ease; /* Add transition for smooth animation */
}

.card:hover {
  box-shadow: 0 0 20px #ffc3f3, 0 0 30px #fff0fb, 0 0 40px #ffffff !important; /* Adjust the size and spread of the shadow */
}

/* glowing icons */
  .contact-icons {
    display: flex;
    justify-content: center;
    margin: 10px 0;
  }
  
  .contact-icons a {
    margin: 0 20px;
    font-size: 100px;
    color: #ffffff;
    transition: color 0.2s ease-in-out;
  }
  
  .contact-icons a:hover {
    color: #0abdc6;
    text-shadow: 0 0 10px #d1fdff;
  }
  
  /* portfolio pieces */
  .portfolio-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
  }
  
  .card {
    position: relative;
    overflow: hidden;
  }

  .overlay-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    opacity: 0;
    transition: opacity 0.3s ease;
    color: rgb(0, 0, 0);
    font-size: 1.5rem;
    text-align: center;
    z-index: 2; /* Ensure text appears above tint overlay */
  }

  .tint-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgb(255, 0, 221);
    /* rgba(255, 255, 0, 0.808);  Semi-transparent yellow */
    opacity: 0; /* Initially hidden */
    transition: opacity 0.3s ease;
    z-index: 1; /* Ensure tint overlay appears below text */
  }

  /* text boxes */
  .card:hover .overlay-text {
    opacity: 1;
    font-size: 18px;
  }

  .card:hover .tint-overlay {
    opacity: 1;
  }

  .custom-bg-color {
    background-color: #711c91 !important;
    color: white !important;
    font-size: 24px;
  }

  .bg-customBlog {
    background-color: #ea00d9 !important;
    color: white !important;
    font-size: 15px;
  }


  /* glitch */
  .nav-link {
      /* font-family: 'Raleway', sans-serif; */
      font-weight: 700;
      text-decoration: none;
      text-transform: uppercase;
      color: #0abdc6; /* Bright color for contrast */
      position: relative; /* Ensure proper positioning for pseudo-elements */
      z-index: 1; /* Ensure the text appears above the pseudo-elements */
      transition: color 0.3s ease; /* Add smooth color transition on hover */
  }
  
  .nav-link:before,
  .nav-link:after {
      content: attr(data-glitch);
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      opacity: 0.8;
      overflow: hidden; /* Ensure content doesn't overflow */
      transition: opacity 0.3s ease; /* Add smooth opacity transition */
      text-align: center; /* Center text within the navbar link */
      transform: translateY(-100%); /* Align the glitched text exactly on top */
  }
  
  .nav-link:after {
      color: #f0f;
      z-index: -1;
  }
  
  .nav-link:before {
      color: #0ff;
      z-index: -2;
  }
  
  .nav-link:hover:before {
      animation: glitch 0.3s cubic-bezier(.25, .46, .45, .94) both infinite;
  }
  
  .nav-link:hover:after {
      animation: glitch 0.3s cubic-bezier(.25, .46, .45, .94) reverse both infinite;
  }
  
  @keyframes glitch {
      0% {
          transform: translate(0);
      }
      20% {
          transform: translate(-2px, 2px);
      }
      40% {
          transform: translate(-2px, -2px);
      }
      60% {
          transform: translate(2px, 2px);
      }
      80% {
          transform: translate(2px, -2px);
      }
      to {
          transform: translate(0);
      }
  }

  @media (max-width: 768px) {
    .nav-link:before,
    .nav-link:after {
      display: none; /* Hides the pseudo-elements causing the glitch effect */
    }
  }

  /* https://codepen.io/kkhenriquez/pen/PGvmjm */