/* Navbar Styles */

.navbar ul {
  margin: 0px;
  padding: 0;
  list-style-type: none;
  background-image: linear-gradient(to right top, #322f34, #2c292e, #262428, #211e22, #1b191c);
  display: flex;
  flex-wrap: wrap; /* Allow wrapping on smaller screens */
  align-items: center;
  justify-content: space-between; /* Space between left, center, and right sections */
  border-bottom: 3px solid #FBFFF1;
  text-transform: uppercase;
  text-shadow: -1px -1px 0 #000, 1px -1px 0 #000, -1px 1px 0 #000, 1px 1px 0 #000;
}


.navLeft {
  order: 1; /* Place it on the right */
  display: flex;
  flex-wrap: wrap;
  gap: 10px; /* Adjust spacing between buttons */
}
.navTextCenter {
  order: 2; /* By default, place it in the middle */
  text-align: center;
  flex: 1; /* Allow it to take space dynamically */
}

.navRight {
  order: 3; /* Place it on the right */
  display: flex;
  flex-wrap: wrap;
  gap: 10px; /* Adjust spacing between buttons */
}

.navbar li {
  margin: 0 5px;
  list-style: none;
}
/* Navbar Links */
.navbar a {
	color: #FBFFF1;
	text-decoration: none;
	padding: 15px;
	margin: 0px;
	overflow: hidden;
	display: block;
	position: relative;
	/* Added for flash effect */
	transition: 0.3s ease;
	/* Smooth transition for background */

}

.navbar p {
	color: #FBFFF1;
	text-decoration: none;
	padding: 15px;
	margin: 0px;
	overflow: hidden;
	display: block;
}

.flash-slide::before {
	content: "";
	position: absolute;
	top: -30px;
	left: -80px;
	height: 100px;
	width: 70px;
	background: rgba(255, 255, 255, 0.3);
	transform: rotate(20deg);
	transition: 0.5s ease;
}

.flash-slide:hover::before {
	left: 190px;
}


.navbar a:hover .flash-slide {
	background-color: #555;
	text-decoration: none;
}

.navbar a:hover {
	background-color: #444444;
}

ul li a .logo {
  display: none;
  width: 24px; /* Adjust size as needed */
  height: 24px;
  color:red;
}
ul li a span {
  display: inline;
}

/* For Smaller Screens */
@media (max-width: 768px) {
  .navbar ul {
    flex-direction: column; /* Stack items vertically */
    align-items: center; /* Center everything */
  }

  .navTextCenter {
    order: 2; /* Move center text below the left and right buttons */
    margin-top: 10px;
  }

  .navRight {
    order: 3; /* Place the right section above the center text */
  }
}

/* For smaller screens: hide text and show logos */
@media (max-width: 1070px) {
  ul li a .logo {
    display: inline-block;
    filter: drop-shadow(-1.5px 0px 0px #000000) 
  }
  
  ul li a span {
    display: none;
  }
}