body {
	background: #333333
}

/* loader styles */
.loader-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #121212;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: opacity 0.5s ease;
  z-index: 10000;
}

.loader-container.hidden {
  opacity: 0;
  pointer-events: none;
  z-index: -1;
  animation: loaderAnimation 2s forwards;
}

.loader-bar {
  width: 50%;
  height: 2px;
  border-radius: 10px;
  background-color: rgba(255, 255, 255);
  margin: 0 auto;
  position: relative;
  align-items: center;
}

.loaded .loader-bar {
  background: #00FF05;
}

.loader-percent {
    position: absolute;
    top: calc(50% - 170px);
    left: 50%;
    transform: translateX(-50%);
    font-size: 5em;
    font-weight: bold;
    color: #fff;
    text-align: center;
	transition: opacity 0.5s ease;
	z-index: 100001;
}

.loading-text {
	position: absolute;
	top: 78%;
	left: 50%;
	transform: translate(-50%, -50%);
	font-size: 5em;
	font-weight: bold;
	color: #fff;
	text-align: center;
	transition: opacity 0.5s ease;
	z-index: 100001;
}

.loading-text.hidden {
  opacity: 0;
  pointer-events: none;
  z-index: -1;
}

.transparent {
  opacity: 0;
}

/* Glitch effect */
.loader-percent::before,
.loader-percent::after,
.loading-text::before,
.loading-text::after {
  content: attr(data-text);
  position: absolute;
  top: 0;
  left: 0;
}
 
.loader-percent::before,
.loading-text::before {
  text-shadow: -4px 0 blue;
  animation: glitch-anim-1 2s infinite linear alternate-reverse;
}
 
.loader-percent::after,
.loading-text::after {
  text-shadow: 4px 0 red;
  animation: glitch-anim-2 3s infinite linear alternate-reverse;
}
 
@keyframes glitch-anim-1 {
  0% {
    transform: translate(0, 0);
  }
  20% {
    transform: translate(-5px, -5px);
  }
  40% {
    transform: translate(5px, 5px);
  }
  60% {
    transform: translate(0, 0);
  }
  100% {
    transform: translate(0, 0);
  }
}
 
@keyframes glitch-anim-2 {
  0% {
    transform: translate(0, 0);
  }
  20% {
    transform: translate(5px, -5px);
  }
  40% {
    transform: translate(-5px, 5px);
  }
  60% {
    transform: translate(0, 0);
  }
  100% {
    transform: translate(0, 0);
  }
}

/* TopBar */
.navbar {
  background-color: #232323;
  color: #fff;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 100px;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 9999;
}

.navbar-nav a {
  color: #fff;
  font-size: 18px;
  margin-left: 20px;
  position: relative;
  text-decoration: none;
  text-transform: uppercase;
}

.navbar-nav a:hover {
  border-bottom: 2px solid #fff;
}

.logo img {
  height: 40px;
}

.social-media img {
  height: 25px;
  margin-left: 10px;
}

.navbar-nav .social-media {
  margin-left: auto;
  display: flex;
  align-items: center;
}

.dropdown-button img {
  height: 25px;
}

/* Title Body */

.header {
  position: relative;
  height: 35vw; /* or whatever height you want */
  background-image: url("../images/party.png");
  background-size: cover;
  background-position: center center; /* Center the image both horizontally and vertically */
}

.header-image {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  height: 100%;
  backdrop-filter: blur(10px);
  opacity: 0.5;
  transition: opacity 0.3s ease-in-out;
}

.header-image:hover {
  opacity: 1;
}

.header-title {
  position: absolute;
  align-content: center;
  font-size: 8vw;
  color: white;
  text-transform: uppercase;
  animation: glitch 2s infinite;
  z-index: 1; /* Ensure the title appears on top of the image */
  transform: translate(-50%, -50%);
  top: 40%;
  left: 37%;
}

@keyframes glitch {
  0% {
    transform: translate(-2px, -2px);
    text-shadow: -4px -4px blue, 4px 4px red;
  }
  25% {
    transform: translate(2px, 2px);
    text-shadow: 4px 4px blue, -4px -4px red;
  }
  50% {
    transform: translate(-2px, 2px);
    text-shadow: -4px 4px blue, 4px -4px red;
  }
  75% {
    transform: translate(2px, -2px);
    text-shadow: 4px -4px blue, -4px 4px red;
  }
  100% {
    transform: translate(-2px, -2px);
    text-shadow: -4px -4px blue, 4px 4px red;
  }
}



footer {
  background-color: #232323;
  color: #fff;
  padding: 20px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  font-size: 16px;
  bottom: 0;
}

.footer-logo {
  flex: 1;
  text-align: center;
}

.footer-logo img {
  max-width: 100px;
}

.footer-nav {
  flex: 3;
  text-align: center;
}

.footer-nav ul {
  margin: 0;
  padding: 0;
  display: flex;
  justify-content: center;
  list-style: none;
}

.footer-nav li {
  margin: 0 10px;
}

.footer-nav a {
  color: #fff;
  text-decoration: none;
  display: block;
  padding: 5px;
  transition: all 0.3s ease-in-out;
}

.footer-nav a:hover {
  transform: scale(1.1);
}

.footer-text {
  flex: 1;
  text-align: center;
  font-size: 12px;
}

.footer-text p {
  margin: 0;
}

.slideshow-container {
  position: relative;
  color: white;
  height: 35vw;
  background-size: cover;
  background-position: center center;
}

.mySlides {
  display: none;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.mySlides img {
  vertical-align: middle;
}

.text-slider {
  color: #f2f2f2;
  font-size: 25px;
  padding: 8px 12px;
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  background-color: rgba(0,0,0,0.5);
  font-weight: bold;
}

/* Fading animation */
.fade {
  -webkit-animation-name: fade;
  -webkit-animation-duration: 1.5s;
  animation-name: fade;
  animation-duration: 1.5s;
  transition-duration: 0s;
}

@-webkit-keyframes fade {
  from {
    opacity: .4
  }

  to {
    opacity: 1
  }
}

@keyframes fade {
  from {
    opacity: .4
  }

  to {
    opacity: 1
  }
}
