/* General Styles */
body {
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 0;
  color: white;
  text-align: center;
  background-image: url('assets/Background.jpg');
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  animation: moveBackground 80s linear infinite alternate; /* Apply the animation */
}

@keyframes moveBackground {
  0% {
      background-position: center left; /* Start slightly to the left of center */
  }
  100% {
      background-position: center right; /* End slightly to the right of center */
  }
}

/* Header with GIF */
.App-header {
  
  padding: 30px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-size: 12px;
}

.header-gif {
  width: 100%;
  max-width: 600px; /* Adjust size as needed */
  max-height: 250px;
  object-fit: cover;
  border-radius: 10px;
  
}
.google-login-btn::before {
  content: '';
  position: absolute;
  top: 0; left: -75%;
  width: 50%;
  height: 100%;
  background: linear-gradient(120deg, rgba(255,255,255,0.3), rgba(255,255,255,0));
  transform: skewX(-25deg);
  animation: shine 1.5s ease-out 1; /* One-time shimmer */
  pointer-events: none;
  border-radius: inherit;
}
@keyframes shine {
  0% { left: -75%; }
  100% { left: 125%; }
}

/* Google Login Button */
.google-login-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #4285F4, #34A853, #FBBC05, #EA4335);

  color: white;
  border: none;
  padding: 12px 20px;
  border-radius: 5px;
  font-size: 16px;
  font-weight: bold;
  cursor: pointer;
  transition: background 0.3s ease, transform 0.2s ease, box-shadow 0.3s ease; /* Added box-shadow transition */
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  position: relative; /* Needed for absolute positioning of pseudo-elements */
  animation: float 10s ease-in-out infinite; /* Apply floating animation */
}

.google-login-btn:hover {
  background: linear-gradient(45deg, #4285F4, #34A853, #FBBC05, #EA4335);
  transform: scale(1.05);
  box-shadow: 0 6px 8px rgba(0, 0, 0, 0.2); /* Increased shadow on hover */
}

.google-icon {
  width: 20px;
  height: 20px;
  margin-right: 10px;
  /* Removed background and border-radius */
}

@keyframes float {
  0% {
      transform: translateY(0);
  }
  50% {
      transform: translateY(-5px); /* Adjust floating height */
  }
  100% {
      transform: translateY(0);
  }
}

/* Logout Button */
.logout-btn {
  background-color: #f30800;
  color: white;
  border: none;
  padding: 4px 8px;
  border-radius: 2px;
  font-size: 10px;
  cursor: pointer;
  margin-top: 2px;
  width: 60px;
  transition: background 0.3s ease;
}

.logout-btn:hover {
  background-color: #c9302c;
}

/* User Info Section */

label {
  font-size: 18px;
  padding: 1%;
}
button {
  margin: 10px 0; /* Adds vertical space between the buttons */
  padding: 10px 20px;
  font-size: 16px;
  cursor: pointer;
  width: 100%; /* Makes buttons fill the available width */
}

.create-btn {
  background: linear-gradient(135deg, #08f14e, #0f0e00);
  color: white;
  border: none;
  padding: 8px 20px;
  border-radius: 8px;
  font-size: 16px;
  font-weight: bold;
  cursor: pointer;
  width: 200px;
  margin-top: 10px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
}

/* Hover Effect */
.create-btn:hover {
  background-color: #4fc13d;
  transform: translateY(-2px);
  box-shadow: 0 6px 10px rgba(0, 0, 0, 0.3);
}



/* Active/Click Effect */
.create-btn:active {
  transform: scale(0.98);
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.25);
}
.Manage-btn {
  background: linear-gradient(135deg, #000000, #01fddc);
  color: white;
  border: none;
  padding: 8px 20px;
  border-radius: 8px;
  font-size: 16px;
  font-weight: bold;
  cursor: pointer;
  width: 200px;
  margin-top: 10px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
}

/* Hover Effect */
.Manage-btn:hover {
  background-color: #4fc13d;
  transform: translateY(-2px);
  box-shadow: 0 6px 10px rgb(131, 122, 0);
}



/* Active/Click Effect */
.Manage-btn:active {
  transform: scale(0.98);
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.25);
}






/* Responsive Design */
@media (max-width: 768px) {
  .features {
    flex-direction: column;
    align-items: center;
  }
}
.manager-btn {
  background-color: #522fff; /* Green */
  border: none;
  color: white;
  padding: 10px 20px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  font-size: 16px;
  margin: 5px;
  cursor: pointer;
  border-radius: 5px;
  transition: background 0.3s ease;
}


/* Box styling */

#tournament-name {
  padding: 15px;
  width: 250px;
  height: auto; /* Adjust height to fit content */
  margin: 0 auto;
  background-color: #ffffff;
  font-weight: bold; /* Make the text bold */
  font-size: 15px; /* Set the font size to 16 pixels */
  color: black; /* Ensure the text color is black (or your desired color) */
  text-align: center; /* Center the text within the input */
  border: 1px solid #ccc; /* Optional: Add a subtle border for better visual appearance */
  border-radius: 5px; /* Optional: Add rounded corners */
}

#participants {
  width: 20%;
  height: 30px;          /* set height */
  font-size: 16px;       /* adjust text size to fill height */
  padding: 5px;          /* optional spacing inside */
  box-sizing: border-box;
  align-self: center;
  font-weight: bold;
  text-align: center;
}



/* Row styling */
.row {
  display: flex;
  flex-direction: column;
  margin-bottom: 10px;
  
}

/* Button styling */
.button-group {
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: center;
}
#user-info.user-info {
  position: absolute; /* Or fixed, depending on whether you want it to scroll with the page */
  top: 5px; /* Adjust as needed for vertical positioning */
  right:2px; /* Adjust as needed for horizontal positioning */
  align-items: center; /* Vertically align image and text */
  box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.1); /* Optional: Add a subtle shadow */
  z-index: 1000; /* Ensure it stays on top of other elements */
}



#user-name {
  align-self: center;
  margin: 0;
  font-size: 12px;
  color: #ffffff;
  text-shadow:
      -1px -1px 0 rgb(0, 0, 0),
      1px -1px 0 rgb(0, 0, 0),
      -1px 1px 0 rgb(0, 0, 0),
      1px 1px 0 rgb(0, 0, 0);
}



.tournament-wrapper {
  display: flex;
  justify-content: center;
  
  height: 30%; /* full screen height */
  padding: 20px;
  box-sizing: border-box;
  
}

.tournament-box {
  display: none;
  margin-top: 2px;
  background: linear-gradient(135deg, #08c7e9, #0010f0,#0967ff);
  padding: 20px;
  border-radius: 10px;
  max-width: 400px;
  width: 100%;
  box-shadow: 0 0 10px rgba(0,0,0,0.1);
}

.row {
  margin-bottom: 15px;
  display: flex;
  flex-direction: column;
}

input, select {
  padding: 8px;
  font-size: 16px;
  margin-top: 5px;
}

.button-group {
  display: flex;
  justify-content: space-between;
}

button {
  padding: 10px 15px;
  font-size: 16px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
}

.create-btn {
  background-color: #28a745;
  color: white;
}

.Manage-btn {
  background-color: #007bff;
  color: white;
}



/* Features Section */
.features {
  display: flex;
  justify-content: center;
  margin: 40px 0;
}

.additional-section {
  padding: 20px;
  background: linear-gradient(135deg, #4285F4, #34A853, #FBBC05, #EA4335);
  border-radius: 8px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  text-align: center;
}

.features-list {
  display: flex; /* Use flexbox to arrange the items in a row */
  justify-content: center; /* Center the items horizontally */
  gap: 20px; /* Add space between items */
}

.feature-item {
  background: #0a4a98;
  padding: 20px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0px 4px 8px rgba(255, 255, 255, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease; /* Smooth transform and hover effects */
}

.feature-item:hover {
  transform: scale(1.05);
  box-shadow: 0px 4px 12px rgba(255, 255, 255, 0.3);
}

.feature-icon {
  font-size: 40px;
}

.feature-text {
  font-size: 16px;
  margin-top: 10px;
}

/* Responsive Design */
@media (max-width: 768px) {
  .features-list {
    flex-direction: column; /* Stack the items vertically on smaller screens */
    align-items: center; /* Center items horizontally */
  }
}
/* Why Choose Us Section */
.why-choose {
  background: linear-gradient(135deg, #005ff8, #000000, #05ffea);
  padding: 40px;
  border-radius: 10px;
  margin: 20px;
  box-shadow: 0px 4px 8px rgba(255, 255, 255, 0.1);
}
.main-header {
  background: linear-gradient(to right, #0f2027, #00747c, #2c5364); /* Deep gradient */
  color: #ffffff;
  padding: 30px 10px;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 250px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
  border-radius: 0 0 30px 30px;
}

.header-content h1 {
  font-size: 1.8rem;
  max-width: 800px;
  margin: 0 auto;
  line-height: 1.6;
  font-weight: 600;
  text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.4);
}

/* Responsive */
@media (max-width: 768px) {
  .header-content h1 {
      font-size: 1.3rem;
      padding: 0 10px;
  }

  .main-header {
      padding: 40px 10px;
      min-height: 200px;
  }
}

.Privacy-btn {
  max-width: 25%;
  border: 1px solid #ffffff; /* Dark border */
  border-radius: 2px;
  padding: 2px;
  background-color: rgb(248, 64, 64);
  font-size: 14px;
  color: white;
}
/* Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Body Styling */
body {
  background-color: #121212;
  font-family: 'Segoe UI', sans-serif;
  color: #ffffff;
  padding-top: 60px; /* Adding padding to prevent content from being hidden under the fixed nav */
}

/* Navigation Container */
.top-nav {
  width: 100%;
  background-color: #1e1e1e;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.5);
  padding: 12px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1000;
}

/* Navigation Links (Buttons in boxes) */
.nav-links {
  display: flex;
  gap: 2px;
}

.nav-button {
  background-color: #03dac6;
  padding: 5px 10px;
  color: #121212;
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
  border-radius: 8px;
  transition: background-color 0.3s ease;
  text-align: center;
  margin-left: 5px
  
}

.nav-button:hover {
  background-color: #ffffff;
}

/* User Group */
.user-group {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 2px;
  margin-right: 2px;
}

.user-name {
  font-size: 14px;
  font-weight: 600;
  color: #ffffff;
}

/* Logout Button */
.logout-btn {
  font-size: 12px;
  padding: 4px 10px;
  border: none;
  border-radius: 4px;
  background-color: #fc0303;
  color: #ffffff;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.logout-btn:hover {
  background-color: #00c4b4;
}
