@import url("https://fonts.googleapis.com/css2?family=Montserrat&display=swap");

:root {
	--br: 20px;
}

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

body {
	min-height: 100vh;
	background: #f3f3f3;
	justify-content: center;
	align-items: center;
	font-size: 14px;
	font-family: "Montserrat", sans-serif;
}

.container_history {
	text-align: center;
	align-items: center;
	background-color: #d5e7b8;
	padding: 15px;
}

.container_players {
	text-align: center;
	align-items: center;
	background-color: #def3fd;
	padding: 15px;
}

.image_bubble_champ {
	max-width: 50%;
}

.image_bubble {
	max-width: 100%;
}

.history_container {
	width: 33%;
	max-width: 33%;
}

.history {
	padding: 10px;
	width: 100%;
	max-width: 100%;
}

.row {
	display: flex;
	padding: 8px;
	gap: 20px;
	justify-content: center;
	/* Center the items horizontally */
}

.row_medals{
	gap: 5px;
    padding-bottom: 0px;
}

.card {
	width: 350px;
	background: #fff;
	padding: 15px;
	border-radius: var(--br);
	transition: 0.5s;
}

.card_fame {
	width: 320px;
}

.card:hover {
	box-shadow: 0px 3px 10px 5px #e9e9e9;
}

.container_history img {
	width: 200px;
	max-width: 100%;
	border-radius: 10%;
}

.card img {
	max-width: 100%;
	max-width: 200px;
	border-radius: 50%;
	aspect-ratio: 1 / 1;
	border: 4px solid var(--bc, #000);
}

.card_fame img {
	max-width: 100%;
	max-width: 200px;
}

.row_medals img{
	max-width: 100%;
	max-width: 20px;
	border-radius: 0%;
	aspect-ratio: 1 / 1.5;
	border: none;
}

.season_results img{
	max-width: 100%;
	max-width: 20px;
	border-radius: 0%;
	aspect-ratio: 1 / 1.5;
	border: none;
}
season_results

.champ_desc {
	padding: 20px;
}

.card_champion {
	max-width: 1095px;
	background: #fff;
	display: flex;
	padding: 15px;
	border-radius: var(--br);
	transition: 0.5s;
	background-color: #fcf7de;
}

.card_champion:hover {
	box-shadow: 0px 3px 10px 5px #e9e9e9;
}

.card_champion img {
	max-width: 100%;
	aspect-ratio: 1 / 1;
	max-width: 220px;
	border-radius: 50%;
	border: 4px solid var(--bc, #000);
}

h1 {
	margin: 0px 0 15px;
}

h2 {
	margin: 15px 0 5px;
}

.card .role {
	font-size: 80%;
	color: #444;
	margin-bottom: 20px;
}

.card a {
	background: var(--btn, #000);
	color: #fff;
	padding: 10px 15px;
	width: 100%;
	display: block;
	border-radius: var(--br);
	text-decoration: none;
	margin-top: 15px;
}

.card_champion .role {
	font-size: 80%;
	color: #444;
	margin-bottom: 20px;
}
}

.card_champion a {
	background: var(--btn, #000);
	color: #fff;
	padding: 10px 15px;
	width: 100%;
	display: block;
	border-radius: var(--br);
	text-decoration: none;
	margin-top: 15px;
}

@media (max-width: 750px) {
	.card_champion {
		flex-wrap: wrap;
		justify-content: center;
	}


	.row {
		flex-wrap: wrap;
		justify-content: center;
	}

	.container_history {
		padding: 0px;
	}

	.history_container {
		flex: 0 0 calc(50% - 20px);
		max-width: calc(50% - 20px);
	}

	.card {
		flex: 0 0 calc(50% - 20px);
		max-width: calc(50% - 20px);
	}
}

@media (max-width: 420px) {
	.card {
		flex: 0 0 calc(100% - 20px);
		max-width: calc(100% - 20px);
	}

	@media (max-width: 420px) {
		.champ_desc {
			padding: 0;
		}

		.history_container {
			flex: 0 0 calc(100% - 20px);
			max-width: calc(100% - 20px);
		}
	}
}
