/* ! tournament section start */

#tournament_page {
	min-height: 80vh;
	align-items: center;
	justify-content: center;
}

.tournament_head {
	font-size: 52px;
	font-weight: 700;
	background: linear-gradient(0deg, red, blue);
	background-clip: text;
	color: transparent;
	font-family: var(--font-roboto);
}

.tournament_area {
	display: flex;
	flex-direction: column;
	justify-content: space-evenly;
}

.score_card_link {
	text-decoration: none;
	background-image: linear-gradient(
		to right,
		rgb(220, 36, 36) 0%,
		rgb(74, 86, 157) 51%,
		rgb(220, 36, 36) 100%
	);
	margin: 5px;
	padding: 10px 30px;
	text-align: center;
	text-transform: uppercase;
	transition: 0.5s;
	background-size: 200%;
	color: white;
	box-shadow: rgb(238, 238, 238) 0px 0px 20px;
	border-radius: 10px;
	display: block;
}

.score_card_link:hover {
	background-image: linear-gradient(
		to right,
		rgb(220, 36, 36) 0%,
		rgb(74, 86, 157) 51%,
		rgb(182, 16, 16) 100%
	);
}

.score_card_link:hover {
	background-image: linear-gradient(
		to right,
		rgb(220, 36, 36) 0%,
		rgb(179, 43, 43) 51%,
		rgb(74, 86, 157) 100%
	);
	color: #fff;
}

.score_cards_links {
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.abbr {
	position: relative;
}

.abbr p {
	text-align: center;
}

.abbr ol {
	position: absolute;
	background-color: #292828d2;
	backdrop-filter: blur(5px);
	list-style-position: inside;
	border-radius: 8px;
	width: 300px;
	right: 0;
	display: none;
	color: #fff;
	margin-top: 5px;
}

.abbr p button:hover .abbr ol {
	display: block;
}

.abbr ol li {
	margin: 5px;
	font-size: 14px;
	font-weight: 300;
}

.score_cards_links .abbr:hover ol {
	display: block;
}

/* add tournament button */

.tournament_overlay_btn {
	width: max-content;
	margin: 20px auto;
	border: none;
	background: transparent;
	background: linear-gradient(9deg, var(--clear-chill), var(--keppel));
	padding: 0.5rem 1.5rem;
	border-radius: 10px;
	box-shadow: 0 0 20px rgba(0, 0, 0, 0.212);
	color: #f6f6f6;
	font-weight: 600;
	transition: 0.3s ease-in-out;
}

.tournament_overlay_btn:hover {
	background: linear-gradient(9deg, var(--keppel), var(--clear-chill));
}

/* tournament card info and links*/

.match_card {
	width: 800px;
	height: 100px;
	margin: 10px 5px;
	border: 1px none black;
	border-radius: 10px;
	display: flex;
	justify-content: space-between;
	align-items: center;
	box-shadow: rgb(221, 221, 221) 3px 3px 1px 1px;
	background-image: linear-gradient(
		to right,
		rgb(250, 112, 154) 0%,
		rgb(254, 225, 64) 100%
	);
	padding: 0px 1rem;
	text-wrap: nowrap;
}

.match_card .tour_name {
	width: 60%;
	overflow: hidden;
	font-weight: 600;
	font-size: 25px;
	margin: 0;
}

.match_card .del_btn {
	background-image: linear-gradient(
		to right,
		rgb(203, 45, 62) 0%,
		rgb(239, 71, 58) 51%,
		rgb(203, 45, 62) 100%
	);
	margin: 5px;
	box-shadow: rgb(238, 238, 238) 0px 0px 20px;
	border-radius: 10px;
	padding: 8px;
}

.match_card i {
	font-size: 28px;
	color: #fff;
}

@media screen and (max-width: 576px) {
	.score_card_link {
		font-size: 15px;
		padding: 10px 15px;
	}
	.match_card i {
		font-size: 22px;
	}
}

/* ? Add tournament form section start */

.tour_form {
	width: 90%;
	max-width: 800px;
	margin: 0 auto;
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	min-height: 400px;
	display: flex;
	align-items: center;
	justify-content: space-evenly;
	flex-direction: column;
	display: none;
	z-index: 99;
	border-radius: 15px;
	box-shadow: 0 0 50px rgba(0, 0, 0, 0.397);
	background: radial-gradient(
		circle at 10% 20%,
		rgba(37, 145, 251, 0.98) 0.1%,
		rgb(0, 7, 128) 99.8%
	);
}

.form-heading {
	font-size: 28px;
	font-weight: 700;
	color: lawngreen;
	margin-top: 20px;
}

.tour_form.show {
	display: flex;
}

.tour_form form {
	width: 100%;
	max-width: 90%;
}

.tour_form .form-group {
	margin-top: 20px;
}

.tour_form label {
	width: 100%;
	color: #fff;
	text-align: center;
	font-size: 24px;
	font-weight: 500;
}

.tour_form input {
	margin: 15px auto;
	width: 75%;
	max-width: 90%;
	display: block;
	height: 40px;
	border-radius: 8px;
	padding: 5px 15px;
	border: none;
	outline: none;
}

.tour_form input:focus {
	outline: 2px solid var(--glorgia-peach);
}

.tournament_btns {
	width: 75%;
	max-width: 90%;
	margin: 30px auto;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 40px;
}

@media screen and (max-width: 576px) {
	.tour_form label {
		font-size: 20px;
	}
	.form-heading {
		font-size: 25px;
	}
}

/* ! Edit tournament form start */

/* ? Add tournament form section start */

.edit_form {
	width: 90%;
	max-width: 800px;
	margin: 0 auto;
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	min-height: 400px;
	display: flex;
	align-items: center;
	justify-content: space-evenly;
	flex-direction: column;
	display: none;
	border-radius: 15px;
	box-shadow: 0 0 50px rgba(0, 0, 0, 0.397);
	background: radial-gradient(
		circle at 10% 20%,
		rgba(37, 145, 251, 0.98) 0.1%,
		rgb(0, 7, 128) 99.8%
	);
}

.edit_form.show {
	display: flex;
}

.edit_form form {
	width: 100%;
	max-width: 90%;
}

.edit_form .form-group {
	margin-top: 20px;
}

.edit_form label {
	width: 100%;
	color: #fff;
	text-align: center;
	font-size: 24px;
	font-weight: 700;
}

.edit_form input {
	margin: 15px auto;
	width: 75%;
	max-width: 90%;
	display: block;
	height: 40px;
	border-radius: 8px;
	padding: 5px 15px;
	border: none;
	outline: none;
}

.tournament_btns {
	width: 75%;
	max-width: 90%;
	margin: 30px auto;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 40px;
}

@media screen and (max-width: 576px) {
	.edit_form label {
		font-size: 20px;
	}
}
