/* this css has been edited by so many ai things and me i am too scared too even touch it now lmao */

/* Set the font family, margin, padding, and background gradient for the body */
body {
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 0;
  background: linear-gradient(135deg, #aecbcf, #f5f5f5, #f0f0f0);
  background-size: 200% 100%;
  animation: gradient-animation 8s ease-in-out infinite;
  min-height: 100vh; /* Ensure the body takes up at least the full viewport height */
  display: flex;
  flex-direction: column; /* Arrange elements vertically */
  overflow-x: hidden; /* Hide horizontal scrollbar */
}

/* Define the keyframes for the gradient animation */
@keyframes gradient-animation {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

/* Customize the styles for the header */
header {
  background-color: transparent;
  color: #fff;
  padding: 20px;
  text-align: center;
}

/* Customize the styles for the main content area */
main {
  flex: 1; /* Allow the main content to grow and take remaining vertical space */
  padding: 20px;
  text-align: center;
}

/* Customize the styles for the frame */
.frame {
  display: inline-block;
  padding: 10px;
  border: 2px solid #000;
  border-radius: 5px;
  background-image: linear-gradient(45deg, #e2e2ff, #fff1e2, #e2e2ff);
  background-size: 200% 200%;
  animation: gradient-animation 4s ease-in-out infinite;
}

/* Customize the styles for the heading */
h2 {
  margin-top: 30px; /* Adjust the spacing */
  font-family: 'Titillium Web', sans-serif; /* Use the same font as the animated text */
}

/* Customize the styles for the site footer */
.site-footer {
  background-color: transparent;
  padding: 10px;
  text-align: center;
  width: 100%;
  opacity: 0.9;
  color: #000; /* Set the text color to black */
}

/* Customize the styles for the footer links */
.footer-links {
  list-style-type: none;
  margin: 0;
  padding: 0;
}

.footer-links li {
  display: inline;
}

.footer-links a {
  color: #000000;
  text-decoration: none;
  padding: 5px;
}

.footer-links a:hover {
  color: #302e2e;
}

.icon {
  width: 20px;
  height: 20px;
  margin-right: 5px;
  vertical-align: middle;
}

.footer-links a:hover {
  color: #000;
  background-color: rgba(0, 0, 0, 0.5);
  border-radius: 5px;
}

/* Define the keyframes for the dots animation */
.dots-animation {
  display: inline-block;
  opacity: 0;
  animation: dots-animation 1s steps(3) infinite;
}

@keyframes dots-animation {
  0% {
    opacity: 0;
  }
  50% {
    opacity: 1;
  }
  100% {
    opacity: 0;
  }
}

/* Customize the styles for the animated text */
.animated-text {
  font-size: 48px;
  position: relative;
  overflow: hidden;
  white-space: nowrap;
  font-family: 'Titillium Web', sans-serif;
  color: #000;
  /* Add frame styles */
  display: inline-block;
  padding: 5px;
  border: 2px solid #fff;
  border-radius: 5px;
  /* Add gradient animation styles */
  background-image: linear-gradient(45deg, #e2e2ff, #fff1e2, #e2e2ff);
  background-size: 200% 200%;
  animation: gradient-animation 4s ease-in-out infinite;
}

/* Define the styles for dark mode */
.dark-mode {
  background: #000000;
  color: #fff;
}

.dark-mode header {
  background-color: #080808;
  color: #fff;
}

.dark-mode main {
  background-color: #080808;
  color: #fff;
}

.dark-mode .frame {
  background-image: none;
  border: 2px solid #ebd3d3;
}

.dark-mode h2 {
  color: #fff;
}

.dark-mode .site-footer {
  background-color: #080808;
  color: #fff;
}

.dark-mode .footer-links a {
  color: #fff;
}

.dark-mode .animated-text {
  background-image: none;
  background-color: #000000;
  border-color: #fff;
  color: #fff;
}

/* Position the header and add a dark mode toggle button */
header {
  position: relative;
}

#darkModeToggle {
  position: absolute;
  top: 10px;
  right: 10px;
  padding: 5px 10px;
  border: none;
  border-radius: 5px;
  background-color: #4c2e72;
  color: #000;
  font-size: 16px;
  font-weight: bold;
  cursor: pointer;
}

.project-button {
  display: inline-block;
  padding: 10px 20px;
  background-color: #007bff;
  color: #fff;
  font-family: 'Titillium Web', sans-serif;
  text-decoration: none;
  border-radius: 4px;
  transition: background-color 0.3s ease;
}

.project-button:hover {
  background-color: #0056b3;
}

.popup {
  display: none;
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  background-color: #333;
  color: #fff;
  padding: 10px 20px;
  border-radius: 8px;
  box-shadow: 0px 0px 8px rgba(0, 0, 0, 0.2);
  z-index: 999;
  font-family: 'Titillium', sans-serif;
}
.popup p {
  margin: 0;
  line-height: 1.5;
}
.popup a {
  color: #007bff;
  text-decoration: underline;
}
.popup button {
  background-color: #007bff;
  color: #fff;
  border: none;
  padding: 8px 16px;
  border-radius: 4px;
  cursor: pointer;

}

.project-list li h3 {
  text-align: center;
}

/* Remove list styles for the project list */
.project-list {
  list-style: none;
  padding-left: 0;
}

/* Add some spacing between projects */
.project-list li {
  margin-bottom: 20px;
}

/* Add this CSS to remove the dots animation */
.animated-text {
  display: inline-block;
  vertical-align: middle;
}

.dots-animation {
  display: none;
}

/* Set the color of hyperlinks to a specific color */
a {
  color: #0000EE; /* Replace with the color you want */
  text-decoration: none; /* Optional: Removes underline on links */
}

/* CSS File by Purplebored. https://purplebored.pl. */