﻿/* General Styles */
body {
	background: linear-gradient(135deg, #111111, #222222, #111111);
	color: #eeeeee;
}

*::-webkit-scrollbar {
	display: none;
}

/* Header Section */
.header {
	background-color: rgba(0, 0, 0, 0.85);
	padding: 20px;
	width: 100%;
	position: relative;
}

.container {
	display: flex;
	justify-content: space-between;
	align-items: center;
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 20px;
}

.logo {
	font-size: 2.5rem;
	font-weight: bold;
	text-transform: uppercase;
}

/* Navigation Styles */
.nav {
	flex: 1;
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.nav ul {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	align-items: center;
	gap: 30px;
	flex-wrap: wrap;
}

.nav ul li {
	position: relative;
}

.nav ul li a {
	color: white;
	text-decoration: none;
	padding: 15px 30px;
	display: block;
	white-space: nowrap;
	transition: background-color 0.3s ease, transform 0.3s ease;
}

.nav ul li a:hover {
	background-color: #28a745;
	transform: scale(1.1);
}

.nav ul li .btn,
.nav ul li .logout-btn,
.nav ul li .platform-id {
	padding: 10px 20px;
	display: block;
	white-space: nowrap;
}

.nav ul li .btn:hover,
.nav ul li .logout-btn:hover {
	background-color: #e0a800;
}

/* Dropdown Menu */
.dropdown {
	position: relative;
}

.dropdown-content {
	display: none;
	position: absolute;
	background-color: rgba(0, 0, 0, 0.9);
	min-width: 180px;
	box-shadow: 0 8px 16px rgba(0, 0, 0, 0.5);
	z-index: 1;
	border-radius: 5px;
	padding: 10px 0;
}

.dropdown-content a {
	color: white;
	padding: 12px 20px;
	text-decoration: none;
	display: block;
	transition: background-color 0.3s ease;
	white-space: nowrap;
}

.dropdown-content a:hover {
	background-color: #28a745;
}

.dropdown:hover .dropdown-content {
	display: block;
}

.dropbtn::after {
	content: " ▼";
	font-size: 0.8rem;
	margin-left: 5px;
}

/* Logout Button */
.logout-btn {
	background-color: #ff4757;
	color: white;
	border-radius: 30px;
	text-align: center;
	border: none;
	cursor: pointer;
}

.logout-btn:hover {
	background-color: #e84141;
}

/* Hero Section */
.hero {
	background: rgba(0, 0, 0, 0.5);
	text-align: center;
	padding: 100px 20px;
}

.hero-title {
	font-size: 3.5rem;
	text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.7);
}

.hero .btn {
	background-color: #ffc107;
	color: black;
	padding: 15px 30px;
	border-radius: 30px;
	font-size: 1.2rem;
	text-decoration: none;
	margin: 10px;
	transition: background-color 0.3s ease, transform 0.3s ease;
}

.hero .btn:hover {
	background-color: #e0a800;
	transform: scale(1.05);
}

/* Overview and Teams Section */
.container-content {
	background-color: rgba(0, 0, 0, 0.8);
	padding: 20px;
	max-width: 1000px;
	margin: 0 auto;
	border-radius: 10px;
	box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.5);
}

h2 {
	text-align: center;
	font-size: 2.5rem;
	margin-bottom: 20px;
	color: #fff;
}

/* Teams Section */
.teams .team-list {
	display: flex;
	justify-content: center;
	gap: 40px;
	flex-wrap: wrap;
}

.team {
	text-align: center;
	padding: 20px;
	background-color: rgba(255, 255, 255, 0.2);
	border-radius: 10px;
	transition: transform 0.3s ease, background-color 0.3s ease;
}

.team:hover {
	transform: translateY(-10px);
	background-color: rgba(255, 255, 255, 0.3);
}

/* Footer */
footer {
	background-color: rgba(0, 0, 0, 0.85);
	padding: 20px;
	text-align: center;
	color: white;
}

footer .social-links a {
	color: white;
	margin: 0 10px;
	text-decoration: none;
}

footer .social-links a:hover {
	color: #ffc107;
}

/* Center the grid on the page */
.gridview-container {
	width: 80%;
	background-color: black;
	padding: 20px;
	border-radius: 10px;
	box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.5);
}

/* Styling for the GridView itself */
.match-history-table {
	width: 100%;
	border-collapse: collapse;
	text-align: center;
}

.match-history-table th {
	background-color: #28a745;
	color: white;
	padding: 10px;
	font-size: 1.1rem;
	text-transform: uppercase;
}

.match-history-table td {
	background-color: #1c1c1c;
	color: #28a745;
	padding: 10px;
	font-size: 1rem;
}

.match-history-table tr:nth-child(even) {
	background-color: #333333;
}

.match-history-table tr:hover {
	background-color: #555555;
}

.match-history-table td,
.match-history-table th {
	border: 1px solid #28a745;
}

.container-content {
	max-width: 600px;
	margin: 0 auto;
	background-color: rgba(0, 0, 0, 0.8);
	padding: 20px;
	border-radius: 10px;
}

.form-group {
	margin-bottom: 20px;
}

label {
	font-size: 1.2rem;
	color: white;
	display: block;
	margin-bottom: 5px;
}

.input-text {
	width: 100%;
	padding: 10px;
	font-size: 1rem;
	border-radius: 5px;
	border: none;
}

.btn-submit {
	background-color: #28a745;
	color: white;
	padding: 10px 20px;
	border: none;
	border-radius: 5px;
	cursor: pointer;
}

.btn-submit:hover {
	background-color: #218838;
}

.matches-table {
	width: 100%;
	border-collapse: collapse;
	margin-bottom: 20px;
}

.matches-table th,
.matches-table td {
	border: 1px solid #ddd;
	padding: 8px;
}

.matches-table th {
	background-color: #4CAF50;
	color: white;
	text-align: center;
}

.matches-table td {
	text-align: center;
}

.btn-logout {
	background-color: #f44336;
	color: white;
	padding: 10px 20px;
	border: none;
	cursor: pointer;
	margin-top: 20px;
}

.btn-logout:hover {
	background-color: #d32f2f;
}

/* General Styles for Matches Section */
.matches-section {
	margin: 20px 0;
}

/* Container for Matches */
.matches-container {
	display: flex;
	flex-wrap: wrap;
	gap: 15px;
	justify-content: space-around;
}

/* Card Styles for Each Match */
.match-card {
	background-color: #1c1c1c;
	color: white;
	border-radius: 10px;
	padding: 15px;
	width: 300px;
	box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
	transition: transform 0.3s ease, background-color 0.3s ease;
}

.match-card:hover {
	transform: translateY(-10px);
	background-color: #28a745;
	/* Greenish background on hover */
}

.match-card h3 {
	font-size: 1.5rem;
	margin-bottom: 10px;
}

.match-card p {
	margin: 5px 0;
	font-size: 0.9rem;
}

.match-card strong {
	color: #ffc107;
	/* Yellowish text for labels */
}

/* Section Title Styling */
.section-title {
	font-size: 2rem;
	text-align: center;
	color: #28a745;
	font-weight: bold;
	text-transform: uppercase;
	margin-bottom: 20px;
	border-bottom: 2px solid #28a745;
	padding-bottom: 10px;
}

/* Media Query for Mobile View */
@media (max-width: 768px) {
	.matches-container {
		flex-direction: column;
		align-items: center;
	}

	.match-card {
		width: 90%;
	}

	.section-title {
		font-size: 1.8rem;
	}

	.dropdown-menu {
		background-color: #343a40;
		/* dark gray background */
		border: 1px solid #555;
	}

	.dropdown-menu .dropdown-item {
		color: #fff;
		/* white text */
	}

	.dropdown-menu .dropdown-item:hover {
		background-color: #495057;
		/* slightly lighter on hover */
		color: #fff;
	}

	.logo-title {
		font-family: 'Orbitron', sans-serif;
		font-size: 1.5rem;
		color: #00ff88;
		/* Neon Green */
		letter-spacing: 1px;
		text-transform: uppercase;
	}

	.logo-title-gradient {
		font-family: 'Orbitron', sans-serif;
		font-size: 1.5rem;
		background: linear-gradient(to right, black, #00ff88);
		-webkit-background-clip: text;
		-webkit-text-fill-color: transparent;
	}

	.announcement-box {
		background-color: #1a1a1a;
		border-left: 5px solid #00ff99;
		border-right: 5px solid #00ff99;
		overflow: hidden;
		height: 40px;
		position: relative;
	}

	.scroll-wrapper {
		white-space: nowrap;
		overflow: hidden;
		width: 100%;
	}

	.scroll-text {
		display: inline-block;
		white-space: nowrap;
		font-weight: bold;
		font-size: 1.2rem;
		color: #00ff99;
		padding-left: 100%;
		animation: marquee 15s linear infinite;
	}

	@keyframes marquee {
		0% {
			transform: translateX(100%);
		}

		100% {
			transform: translateX(-100%);
		}
	}

	@keyframes ring {
		0% {
			transform: rotate(0);
		}

		10% {
			transform: rotate(15deg);
		}

		20% {
			transform: rotate(-10deg);
		}

		30% {
			transform: rotate(7deg);
		}

		40% {
			transform: rotate(-5deg);
		}

		50% {
			transform: rotate(3deg);
		}

		60% {
			transform: rotate(-1deg);
		}

		100% {
			transform: rotate(0);
		}
	}

	.bell-animated {
		animation: ring 1s 1;
	}

	/* Animation for dropdown */
	.dropdown-menu {
		opacity: 0;
		transform: translateY(-10px);
		transition: all 0.3s ease;
		display: none;
		visibility: hidden;
		position: absolute;
		height: 0;
		padding: 0;
	}

	.dropdown.show .dropdown-menu {
		opacity: 1;
		transform: translateY(0);
		visibility: visible;
	}

}

@media (max-width: 991.98px) {
	nav.navbar {
		max-height: 100vh;
		overflow: scroll;
	}
}

.dropdown-item.dropdown-toggle.show-menu-d:hover~ul {
	display: block;
}

.dropdown-submenu>.dropdown-menu.show {
	height: auto;
	visibility: visible;
	opacity: 1;
	display: block;
}

.show-menu~ul {
	height: auto;
	visibility: visible;
	opacity: 1;
	display: block;
}

.dropdown-menu.show {
	height: auto;
	visibility: visible;
	opacity: 1;
}

.navs {
	display: flex;
	align-items: center;
	gap: 50px;
	flex-direction: row-reverse;
}

.nav-item {
	list-style: none;
}

.carousel-control-prev {
	position: relative;
}

#announcementCarousel {
	display: flex;
	align-items: center;
}

.btn-2 {
	transform: rotate(180deg);
}

.text-item {
	transition: .3s;
	transform: scale(1.1);
	display: inline-block;
}

.dropdown-item {
	background-color: transparent  !important;
	color: #FFD700  !important;
}

.navbar-nav .nav-link:hover,
.navbar-nav .dropdown-item:hover {
	color: #00ffc8 !important;
	background-color: transparent ;
}
.show-menu {
	color: #00ffc8  !important;
}