/* Global Styles */

/* Backgrounds */
body {
  /* background-image: url("assets/static.jpg"); Background image for index */
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  font-family: "Wallpoet", sans-serif; /* The font used on index.html */
  color: white; /* Set text color to white */
  text-shadow: 2px 2px 0px black, 
               -2px -2px 0px black, 
               -2px 2px 0px black, 
               2px -2px 0px black; /* Creates a black outline */
  background-color: #6800d0 !important;
}

/* Remove text shadow for "Links and More" */
.no-outline {
  text-shadow: none !important;
}

/* If you have other background images on different pages, you can target them separately */
.projects-page body {
  background-image: url("assets/static3.jpg"); /* Background image for projects.html */
}

/* White Words */

/* General Page Headings */
h1,
h2,
.display-2 {
  font-family: "Wallpoet", sans-serif; /* Apply the same font family used in index.html */
  color: white; /* Set text color to white */
}

/* Paragraphs */
p,
.lead {
  font-family: "Wallpoet", sans-serif; /*remove this for reg font*/
  color: white; /* Ensures all paragraphs and leads have white text */
}

/* Featurette Section */
.featurette-heading {
  color: white; /* Featurette heading text color */
}

.overlay-text {
  color: white !important; /* Ensure text in overlay cards is white */
  /* text-shadow: none !important; */
}

/* NAV */

/* 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 */
}

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

/* Effective Effects */

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

/* glowing effect aka Juice */
.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: 70px;
  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(0.25, 0.46, 0.45, 0.94) both infinite;
}

.nav-link:hover:after {
  animation: glitch 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.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 */

/* 
  .popups7 {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: #989ea1;
    border: 2px outset #818181;
    box-shadow: 0 0 5px #000;
    color: #000;
    padding: 1px;
    z-index: 31;
    display: none; 
  }
  
  .popups-title7 {
    background: linear-gradient(90deg, navy, #0000a0);
    border: 3px outset #0000a0;
    color: white;
    text-align: center;
    font-weight: bold;
    padding: 10px;
  }
  
  .popups-text img {
    max-width: 100%;
    height: auto;
  } */

.hover-img {
  transition: opacity 0.3s ease-in-out;
}

.hover-img:hover {
  content: url("assets/brayden2.gif");
}

/*popups*/

.popup-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 9999; /* Ensures it appears above all content */
  pointer-events: none; /* Prevents interfering with underlying content functionality */
}

.popups7 {
  position: fixed;
  background: #989ea1;
  border: 2px outset #818181;
  box-shadow: 0 0 5px #000;
  color: #000;
  padding: 1px;
  width: fit-content;
  max-width: 90%; /* Prevents the box from becoming too large on small screens */
  z-index: 9999;
  display: none;
  animation: fadeIn 0.5s ease-out;
  max-height: 90vh; /* Prevents the popup from exceeding the screen height */
  overflow: auto; /* Enables scrolling if the content exceeds max height */
  pointer-events: auto;
  position: absolute;
}

.popups-title7 {
  background: linear-gradient(90deg, navy, #0000a0);
  border: 3px outset #0000a0;
  color: white;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-weight: bold;
  padding: 10px;
  box-sizing: border-box;
}

.popups-close-top {
  background-color: #c3c3c3;
  border: 1px outset #818181;
  cursor: pointer;
  padding: 5px 10px;
  font-size: 16px;
  margin-left: 10px;
}

.popups-text {
  text-align: center;
  padding-bottom: 15px;
}

.popups-close {
  display: inline-block;
  margin-top: 10px;
  padding: 8px 16px;
  font-size: 16px;
  background-color: #c3c3c3;
  border: 1px outset #818181;
  cursor: pointer;
}

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

@keyframes flash {
  0%,
  49% {
    color: white;
  }
  50%,
  100% {
    color: transparent;
  }
}

.popups-title7 {
  animation: flash 0.75s infinite;
}

.skull-image {
  width: 300px;
  height: auto;
}

/* Floating Virus Button */
#virusButton {
  position: fixed;
  bottom: 20px;
  left: 20px;
  background: transparent;
  border: none;
  cursor: pointer;
  z-index: 100; /* Make sure it's on top of other content */
}

#virusButton img {
  width: 100px; /* Adjust size of the image */
  height: auto;
}

/* Hide the button when popup1 is visible */
#popup1[style*="display: block"] ~ #virusButton {
  display: none;
}

/* Optional styling for the "END_THE_MADNESS.exe" button */
#endTheMadness {
  background-color: red;
  color: white;
  font-size: 18px;
  border: none;
  padding: 10px 20px;
  cursor: pointer;
  font-weight: bold;
}

#endTheMadness:hover {
  background-color: darkred;
}

/* Positioning classes with margin to prevent cutoffs */
.popup-top-left {
  top: 20px;
  left: 20px;
}

.popup-top-right {
  top: 20px;
  right: 20px;
}

.popup-bottom-left {
  bottom: 20px;
  left: 20px;
}

.popup-bottom-right {
  bottom: 20px;
  right: 20px;
}

.popup-center {
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.popup-slightly-left {
  bottom: 20px; /* Maintain bottom positioning */
  right: 20px; /* Position near the right edge */
  transform: translateX(-50px); /* Shift the popup 50px to the left */
}

.popup-slightly-right {
  bottom: 20px; /* Maintain bottom positioning */
  left: 20px; /* Position near the right edge */
  transform: translateX(50px); /* Shift the popup 50px to the left */
}

.button-54 {
  font-family: "Open Sans", sans-serif;
  font-size: 16px;
  letter-spacing: 1.5px;
  text-decoration: none;
  text-transform: uppercase;
  color: #fff;
  background-color: #ff69b4;
  cursor: pointer;
  border: 3px solid #ff69b4;
  padding: 0.1em 0.5em;
  box-shadow:
    1px 1px 0px 0px #e75480,
    2px 2px 0px 0px #e75480,
    3px 3px 0px 0px #e75480,
    4px 4px 0px 0px #e75480,
    5px 5px 0px 0px #e75480;
  position: relative;
  user-select: none;
  -webkit-user-select: none;
  touch-action: manipulation;
  white-space: nowrap;
  margin: 0 0.5rem;
  margin-bottom: 10px;
  transition: transform 0.2s ease-out, box-shadow 0.2s ease-out;
}

.button-54:hover {
  transform: scale(1.1);
  box-shadow: 0 0 15px #ff69b4;
}

@keyframes pulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.05); }
  100% { transform: scale(1); }
}

.button-54 {
  transition: transform 0.2s ease-out;
  animation: pulse 2s infinite ease-in-out;
}

.button-54:hover {
  transform: scale(1.1);
}

/* .button-54 {
  font-family: "Open Sans", sans-serif;
  font-size: 16px;
  letter-spacing: 1.5px;
  text-decoration: none;
  text-transform: uppercase;
  color: #fff;
  background-color: #ff69b4;
  cursor: pointer;
  border: 3px solid #ff69b4;
  padding: 0.1em 0.5em;
  box-shadow:
    1px 1px 0px 0px #e75480,
    2px 2px 0px 0px #e75480,
    3px 3px 0px 0px #e75480,
    4px 4px 0px 0px #e75480,
    5px 5px 0px 0px #e75480;
  position: relative;
  user-select: none;
  -webkit-user-select: none;
  touch-action: manipulation;
  white-space: nowrap;
  margin: 0 0.5rem;
  margin-bottom: 10px;
}

.button-54:active {
  box-shadow: 0px 0px 0px 0px;
  top: 5px;
  left: 5px;
}

@media (min-width: 768px) {
  .button-54 {
    padding: 0.1em 0.75em;
  }
} */

#particles-js {
  position: fixed;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  z-index: -1; /* Send particles behind other content */
}



/* Carousel Custom Styles */
.carousel {
  max-width: 600px;
  margin: 0 auto; /* Center the carousel */
}

.carousel-inner {
  position: relative;
}

.carousel-item {
  display: flex;
  justify-content: center;
  align-items: center;
}

.carousel img {
  width: 100%; /* Fill width of the container */
  height: 400px; /* Fixed height for uniformity */
  object-fit: cover; /* Ensures the image covers the entire space without distortion */
  border: 5px solid pink; /* Add pink border */
  border-radius: 10px; /* Rounded corners for a softer look */
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); /* Optional shadow for depth */
}

.carousel-caption {
  background: rgba(0, 0, 0, 0.5); /* Semi-transparent background */
  padding: 10px;
  border-radius: 5px;
}
