body {
  margin: 0;
  padding: 0;
  background: linear-gradient(180deg, #000033 95%, #00ffff 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  color: white;
  font-family: Arial, sans-serif;
  position: relative;
  height: auto; /* Allow body to grow based on content */
}

body {
  display: flex;
  flex-direction: column;
}


.spacer {
  height: 100px; /* Adjust height to your needs */
}


.content {
  flex: 1;
  padding: 20px; /* Adds space inside the content area */
  margin: 20px; /* Adds space outside the content area */
}


.logo {
  position: fixed;
  top: 0.1px;
  left: 50px;
  z-index: 1000;
}

.logo img {
  width: 300px;
  height: auto;
  display: block;
}

h1 {
  position: absolute;
  top: 120px;
  left: 50px;
  z-index: 1;
  font-size: 3em;
  white-space: nowrap;
  overflow: hidden;
  border-right: 0.15em solid white;
  animation: typing1 4s steps(30, end), blink-caret 0.75s step-end infinite;
}

p {
  position: absolute;
  top: 190px;
  left: 50px;
  z-index: 1;
  font-size: 1.5em;
  max-width: 600px;
  line-height: 1.4;
}

@keyframes typing1 {
  from { width: 0; }
  to { width: 11ch; }
}

@keyframes blink-caret {
  from, to { border-color: transparent; }
  50% { border-color: white; }
}

@keyframes glitch {
  0% { transform: translate(0, 0); opacity: 1; }
  20% { transform: translate(-5px, 0); opacity: 0.7; }
  40% { transform: translate(5px, 0); opacity: 0.8; }
  60% { transform: translate(-5px, 0); opacity: 0.6; }
  80% { transform: translate(5px, 0); opacity: 0.9; }
  100% { transform: translate(0, 0); opacity: 1; }
}



.spark {
  position: absolute;
  bottom: 0;
  width: 4px;
  height: 4px;
  background-color: cyan;
  opacity: 0;
  border-radius: 50%;
  animation: spark-animation 5s infinite;
}

@keyframes spark-animation {
  0% {
    transform: translateY(0) scaleX(1);
    opacity: 1;
  }
  100% {
    transform: translateY(-100vh) scaleX(0.5);
    opacity: 0;
  }
}

.sparks {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100px;
  overflow: hidden;
}


.sparks::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 200%;
  height: 100%;
  background: radial-gradient(circle, cyan, transparent);
  animation: background-spark-animation 4s infinite;
}


@keyframes background-spark-animation {
  0% { transform: translateY(100%) scaleX(0.5); opacity: 1; }
  100% { transform: translateY(-100%) scaleX(1); opacity: 0; }
}

nav {
  position: fixed;
  top: 0;
  right: 0;
  background: rgba(0, 0, 0, 0);
  padding: 40px;
  border-radius: 0 0 0 00px;
  z-index: 1000;
}

nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
}

nav ul li {
  margin-left: 20px;
  position: relative;
}

nav ul li a {
  color: white;
  text-decoration: none;
  font-size: 2.5em;
  transition: color 0.3s, background-color 0.3s;
  position: relative;
  display: inline-block;
  border-radius: 10px;
}

nav ul li a:hover {
  background-color: #00ffff;
  color: black;
  box-shadow: 0 0 10px rgba(0, 255, 255, 0.7);
}

nav ul li a::before,
nav ul li a::after {
  content: attr(data-text);
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  color: white;
  overflow: hidden;
  z-index: -1;
  pointer-events: none;
}

nav ul li a::before {
  opacity: 0;
}

nav ul li a.glitch-brief::before {
  animation: glitch 0.5s forwards;
  opacity: 0.8;
}

nav ul li a::after {
  opacity: 0;
}

nav ul li a.glitch-brief::after {
  animation: glitch 0.5s forwards;
  opacity: 0.7;
  transform: translateX(3px);
}


footer {
  position: relative;
  width: 100%;
  text-align: center;
  background: linear-gradient(180deg, #00ffff 100%);
  color: white;
  padding: 35px;
  font-size: 0.8em;
  margin-top: 100px; /* Adds space above the footer */
  z-index: 1000;
}


.socials {
  position: fixed;
  bottom: 100px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 1000;
}

.socials a {
  color: white;
  font-size: 1.5em;
  text-decoration: none;
  transition: color 0.3s;
}

.socials a:hover {
  color: #00ffff;
}

.socials i {
  font-size: 1.5em;
}

.events-panel {
  margin-top: 1500px;
  width: 80%;
  height: 500px; 
  overflow: hidden;
  background: rgba(0, 0, 0, 0.2);
  color: white;
  padding: 10px;
  border-radius: 10px;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 30px;
  position: relative; 
}

.events-slider {
  display: flex;
  width: 300%; /* Adjust based on the number of event items */
  transition: transform 0.5s ease;
}

.event-item {
  min-width: 100%;
  box-sizing: border-box;
  text-align: center;
}

.event-item img {
  max-width: 100%;
  height: 100%; /* Ensure the images fill the container */
  object-fit: contain; /* Maintain aspect ratio and fit within the container */
  border-radius: 10px;
}

.slider-button {
  position: absolute;
  top: 50%;
  background: rgba(0, 0, 0, 0.7);
  color: white;
  border: none;
  padding: 15px;
  cursor: pointer;
  z-index: 1001;
  font-size: 2.5em; /* Increased size for better visibility */
  border-radius: 50%;
  transform: translateY(-50%);
  display: flex;
  align-items: center;
  justify-content: center;
}

.prev-button {
  left: 10px;
}

.next-button {
  right: 10px;
}

.content-section {
  width: 100%;
  padding: 20px;
  box-sizing: border-box;
}
