@import url('https://fonts.googleapis.com/css?family=Poppins:100,100i,200,200i,300,300i,400,400i,500,500i,600,600i,700,700i,800,800i,900,900i');
/*
  Basic CSS Reset to help with cross-browser consistency
*/
html, body, div, span,
h1, h2, h3, h4, h5, h6, p,ul, li,
footer, header
 {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
footer, header{
  display: block;
}

body {
  line-height: 1;
  font-family: Poppins, sans-serif; /* A good default sans-serif font */
  font-weight: 400;
  background-image: url('img/background.png');
  background-size: 100% 100%;   
  background-position: left top;
  background-attachment: fixed;
  background-repeat: no-repeat;
  position: relative;
  overflow-x: hidden;
}
#background-overlay {
  position: fixed;
  top: -100px;
  right: 0;
  bottom: 0;
  left: 0;
  pointer-events: none;
  z-index: -1; /* Place it behind the main content */
}

.particle {
  position: absolute;
  width: 8px; /* Adjust particle size */
  height: 8px; /* Adjust particle size */
  border-radius: 0; /* Make them squares */
}

.particleColor1 {background-color: rgba(156, 24, 179, 1);}
.particleColor2 {background-color: rgba(66, 27, 156, 1);}
.particleColor3 {background-color: rgba(37, 24, 160, 1);}
.particleColor4 {background-color: rgba(136, 15, 100, 1);}
.particleColor5 {background-color: rgba(170, 57, 193, 1);}

ol, ul {
  list-style: none;
}


header {
  background-color: #180350;
  color: #fff;
  padding: 1em 0;
  font-family: Poppins, sans-serif;
  font-weight: 900;
  opacity: 0.85;
  position: fixed; /* Stick to the bottom */
  top: 0;
    width: 100%;
    z-index: 10;

}

    
main {
  padding: 115px 20px 200px 20px;
  max-width: 350px;
  margin: 0 auto;
  color: #ffffff;
}

footer {
  background-color: #180350;
  color: #fff;
  text-align: center;
  padding: 1em 0;
  position: fixed; /* Stick to the bottom */
  bottom: 0;
  width: 100%;
  opacity: 0.85;
  z-index: 100;
}

/* More global styles here */

#Logo {height: 50px; width: 350px; margin: 0 auto 10px auto; text-align: center;}
#Logo img {height: 50px; width: 50px;}
#PageHeader {width: 350px; margin: 0 auto; font-size: 1.3em; text-align: center;}
#IntroText {font-size: 0.90em;
  line-height: 1.65em;
  text-align: left;
  width: 300px;
  margin: 0 auto 10px auto;
  padding: 15px;
  box-sizing: border-box;
  background-color: rgba(24, 3, 80, 0.5);
  border-radius: 30px;
  box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.3);
  opacity: 0.95;  
}

#Socials {padding: 10px 0 10px 0}
#Copyright {font-size: 0.65em}

#Socials a {color: #f67b18; text-decoration: none; margin: 0 10px 0 10px}
#Copyright a {color: #f67b18; text-decoration: none}

/* LINKS */

main ul li .main-link {
  display: block;
  padding: 15px 20px;
  margin-bottom: 10px;
  text-decoration: none;
  border-radius: 20px; /* Pill shape */
  transform: scale(1);
  transition: background-color 0.3s ease, transform 0.2s ease-in-out, box-shadow 0.3s ease;
  box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.2); /* Slightly stronger initial shadow */
  display: flex; /* Use flexbox for alignment */
  align-items: center; /* Vertically align items in the center */
  background: linear-gradient(to right, #000000, #181818);
  border: 2px solid #000000;
  color: #ffffff;
  font-weight: 600;
  opacity: 1; /* Slightly increased initial opacity */
  transform: scale(1) rotate(0deg); /* Initial scale and rotation */
  animation-play-state: paused; /* Initially paused */
  position: relative; /* For positioning the shine effect */
  overflow: hidden; /* Clip the shine within the border-radius */
  line-height: 1.45em;
  z-index: 2;
  cursor:pointer;
}

main ul li a.main-link:focus {outline: 2px solid rgba(246, 123, 24, 0.7);
box-shadow: 0 0 5px  rgba(246, 123, 24, 0.7);
}

main ul li a.main-link::before {
  content: '';
  position: absolute;
  top: 0;
  left: -50%; /* Start the shine off-screen to the left */
  width: 150%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(169,169,169,0.3), transparent);
  transform: skewX(-25deg);
  transition: left 0.5s ease-in-out; /* Animate the shine */
}

main ul li a.main-link:hover::before {
  left: 150%; /* Move the shine across the link to the right */
}

main ul li a.main-link span.emoji {
  margin-right: 15px; /* Add some space between the emoji and text */
  font-size: 1.2em; /* Adjust emoji size if needed */
  background-color: rgba(26, 17, 16, 1);
  border-radius: 50%;
  height: 40px;
  width: 40px;
  opacity: 1;
  border: 2px solid rgb(60, 29, 92);
  z-index: 3;
  vertical-align: middle; /* This is often redundant with flexbox alignment */
  display: flex;
  justify-content: center; /* Center horizontally */
  align-items: center; /* Center vertically */
}

main ul li a.main-link:hover span.emoji{
  background-color: rgb(50,23,77);
  border:2px solid rgba(246, 123, 24, 0.7);
  z-index: 3;
}

main ul li a.main-link span.link-text {
  flex-grow: 1; /* Allow the text to take up remaining space */
  text-align: center; /* Center the text horizontally */
}

main ul li a.main-link:hover {
  box-shadow: 3px 3px 7px rgba(0, 0, 0, 0.3); /* Slightly stronger hover shadow */
  opacity: 1; /* Fully opaque on hover */
  transform: scale(1.05) rotate(0deg); /* Scale up, no rotation here */
  animation-name: wobble; /* Set the animation name */
  animation-duration: 0.3s; /* Duration of one wobble cycle */
  animation-timing-function: ease-in-out;
  animation-iteration-count: 2;
  animation-play-state: running;
  border-color: rgba(246, 123, 24, 0.7); /* More prominent hover border */
}

@keyframes wobble {
  0% {
    transform: translateX(0) scale(1.05) rotate(0deg); /* Start with scale, no rotation */
  }
  25% {
    transform: translateX(-5px) scale(1.05) rotate(-2deg); /* Move left, slight rotation */
  }
  75% {
    transform: translateX(5px) scale(1.05) rotate(2deg); /* Move right, slight rotation */
  }
  100% {
    transform: translateX(0) scale(1.05) rotate(0deg); /* Return to center, no rotation */
  }
}

.link-container {
  position: relative; /* For positioning the description */
  z-index: 1;
}

.link-description {
  font-size: 0.85em;
  color: #f67b18;
  margin: 20px 0 10px 0;
  top: 100%;
  left: 0;
  width: 100%;
  margin-top: 10px;
  padding: 15px;
  box-sizing: border-box;
  background-color: rgba(24, 3, 80, 0.7);
  border-radius: 15px;
  box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.3);
  line-height: 1.5em;
  z-index: 5;
  display: none;
  border:1px solid #000000;
}

.ExternalLink {align-content: center; margin: 0 auto; width: 100%; display: flex;}

main ul li .link-container .link-description .visit-link { /* Added more specificity */
  display: inline-block;
  background: linear-gradient(to right, #33b2d9, #1785b1);
  color: #ffffff;
  padding: 8px 15px;
  text-decoration: none;
  border-radius: 5px;
  border:2px solid #ad89c6;
  font-weight: 600;
  opacity: 0.85;
  transform: scale(1) rotate(0deg); /* Initial scale and rotation */
  animation-play-state: paused; /* Initially paused */
  position: relative; /* For positioning the shine effect */
  overflow: hidden; /* Clip the shine within the border-radius */
  z-index: 3;
  margin:10px auto 0 auto;
}

main ul li .link-container .link-description a.visit-link:hover
 {
  box-shadow: 3px 3px 7px rgba(0, 0, 0, 0.3); /* Slightly stronger hover shadow */
  opacity: 1; /* Fully opaque on hover */
  transform: scale(1.05) rotate(0deg); /* Scale up, no rotation here */
  animation-name: wobble; /* Set the animation name */
  animation-duration: 0.3s; /* Duration of one wobble cycle */
  animation-timing-function: ease-in-out;
  animation-iteration-count: 2;
  animation-play-state: running;
  border-color: rgba(246, 123, 24, 0.7);
  color: #3c2795;
}

main ul li .link-container .link-description a.visit-link::before {
  content: '';
  position: absolute;
  top: 0;
  left: -50%; /* Start the shine off-screen to the left */
  width: 150%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  transform: skewX(-25deg);
  transition: left 0.5s ease-in-out; /* Animate the shine */
}

main ul li .link-container .link-description a.visit-link:hover::before {
  left: 150%; /* Move the shine across the link to the right on hover */
}

@media (max-width: 767px) {
  main ul li a.main-link:focus {
    outline: none !important; /* Remove focus outline */
    /* You might also want to reset other focus-related styles here */
  }
}

