*
{
	padding: 0;
	margin: 0;
	box-sizing: border-box;
}

body
{
	font-family: 'Segoe UI', sans-serif;
	background: linear-gradient(135deg, #202b45, #1a1f33);
	background-image: url("bg.jpg");
	background-repeat: no-repeat;
	background-size: cover;
	background-position: top center;
	color: white;
	text-align: center;
	margin: 0;
	padding: 0;
}

.wrapper
{
	max-width: 900px;
	padding: 25px;
	margin: 0 auto;
	display: flex;
	flex-direction: column;
	gap: 25px;
}

hr
{
	border: 1px solid white;
	margin: 50px 0;
}

ul
{
	list-style: none;
}

dialog
{
	text-align: center;
	margin: auto;
}

dialog::backdrop
{
	background-color: rgba(0, 0, 0, 0.6);
	backdrop-filter: blur(2px);
}

dialog div
{
	display: flex;
	flex-direction: column;
	gap: 25px;
	padding: 25px;
}

dialog textarea
{
	display: block;
	width: 500px;
	height: 50px;
	resize: none;
}

dialog button
{
	align-self: center;
}

header
{
	margin: 20px;
	padding: 10px;
}

.container
{
	max-width: 700px;
	margin: 30px auto;
	background: rgba(255, 255, 255, 0.05);
	padding: 25px;
	border-radius: 15px;
	box-shadow: 0 0 10px rgba(255, 255, 255, 0.1);
}

input,
button,
select
{
	padding: 10px;
	border-radius: 8px;
	border: none;
	margin: 5px;
	font-size: 1rem;
}

button
{
	background: #f18c07;
	color: white;
	cursor: pointer;
	transition: background 0.3s;
}

button:hover
{
	background: #a86103;
}

.player-list
{
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	margin: 10px 0;
}

.player
{
	background: rgba(0, 0, 0, 0.7);
	padding: 8px 12px;
	border-radius: 10px;
	margin: 5px;
	cursor: pointer;
	transition: transform 0.2s;
}

.player:hover
{
	transform: scale(1.1);
	background: rgba(248, 31, 219, 0.5);
}

.teams
{
	display: flex;
	justify-content: space-between;
	margin-top: 30px;
}

.team
{
	flex: 1;
	margin: 10px;
	padding: 15px;
	background: rgba(0, 0, 0, 0.5);
	border-radius: 10px;
	min-height: 275px;
}

.team h3
{
	border-bottom: 2px solid rgba(255, 255, 255, 0.2);
	padding-bottom: 5px;
}

.assigned
{
	animation: fadeIn 0.6s ease forwards;
}

@keyframes fadeIn
{
	from
	{
		opacity: 0;
		transform: scale(0.5) rotate(-15deg);
	}

	to
	{
		opacity: 1;
		transform: scale(1) rotate(0);
	}
}

.goalkeeper
{
	background: rgb(68, 211, 55) !important;
	color: black;
}
