/* Code by Christian Greenfield */

/* TABLE OF CONTENT 
    1. General
        1.1 Default Settings
        1.2 Helper Classes
    2. Navbar 
    3. Main: Cards Display Section
        3.1 Cards Container
        3.2 Single Card in Overview
		3.3 Single Card  on Display
        
*/

/* =======
1. GENERAL
=========*/
/* 1.1 Default Settings*/

* {
	margin: 0;
	box-sizing: border-box;
	text-decoration: none !important;
	/* color: whitesmoke !important; */
	scroll-behavior: smooth;
	/* outline: none !important; */
}

body {
	position: relative;
	overflow-x: hidden !important;
	scrollbar-width: auto;
	scrollbar-color: #e95754 #ffffff;
	background-color: rgb(110, 108, 108) !important;
	font-family: 'Roboto' !important;
}

/* Chrome, Edge, and Safari */
body::-webkit-scrollbar {
	width: 16px;
}

body::-webkit-scrollbar-track {
	background: #ffffff;
}

body::-webkit-scrollbar-thumb {
	background-color: #e95754;
	border-radius: 10px;
	border: 3px solid #ffffff;
}

/* 1.2  Helper Classes*/
.center {
	display: flex !important;
	justify-content: center !important;
	align-items: center !important;
}

.d-none {
	display: none;
}

.d-flex {
	display: flex;
	justify-content: center;
	align-items: center;
}

.margin-none {
	margin: 0px !important;
}

.o-y-hidden {
	overflow-y: hidden !important;
}

.blur {
	filter: blur(9px);
}

.text-shadow {
	text-shadow: 0px 0px 3px black;
}

.c-pointer {
	cursor: pointer;
}

/* =========
2. NAVBAR
==========*/

.impressum-icon {
	position: fixed;
	bottom: 50px;
	right: 32px;
	height: 48px;
	width: auto;
	border-radius: 50%;
	cursor: pointer;
	z-index: 3;
	transition: all 225ms ease-in-out;
}

.impressum-icon:hover {
	transform: scale(1.1);
	transition: all 225ms ease-in-out;
}

.navbar {
	position: sticky !important;
	justify-content: center !important;
	align-items: center !important;
	top: 0;
	left: 0;
	right: 0;
	padding-left: 16px !important;
	padding-right: 16px !important;
	z-index: 1;
}
.pokeball {
	height: 32px;
	transition: all 225ms ease-in-out;
}

@keyframes pokeball {
	from {
		transform: scale(1);
	}
	to {
		transform: scale(1.2);
	}
}

.pulsate {
	animation-name: pokeball;
	animation-duration: 0.5s;
	animation-iteration-count: infinite;
	animation-direction: alternate;
}

@keyframes loader {
	from {
		transform: rotate(0deg);
	}
	to {
		transform: rotate(360deg);
	}
}

.spin {
	animation-name: loader;
	animation-duration: 0.9s;
	animation-iteration-count: infinite;
	animation-direction: normal;
	animation-timing-function: linear;
}

.pokeball:hover {
	transform: scale(1.1);
	transition: all 225ms ease-in-out;
}

/* =========
3. MAIN
==========*/
/*  3.1 Cards Container */

.cards-container {
	width: 100vw;
	min-height: 100vh;
	display: flex;
	justify-content: center;
	align-items: center !important;
	align-content: center;
	flex-flow: row wrap;
	padding: 15px 25px 150px 25px;
}

/* 3.2 Single Card in Overview */

.card {
	position: relative;
	height: calc(300px * 0.666) !important;
	min-width: 300px !important;
	flex-direction: row-reverse !important;
	padding: 6px;
	margin: 5px;
	border-radius: 1rem !important;
	border: 3px solid !important;
	box-shadow: 1px 1px 1px 1px rgba(0, 0, 0, 0.2);
	overflow: hidden;
}

.scale {
	transition: all 225ms ease-in-out;
}

.scale:hover {
	transform: scale(1.175);
	transition: all 225ms ease-in-out;
	z-index: 1;
}

.bg-images {
	position: absolute;
	right: -12px;
	height: 187px;
	width: auto;
	opacity: 0.3;
}

.pokemon-profile-image {
	position: absolute;
	right: 7px;
	bottom: 0px;
	height: 150px !important;
	width: 150px !important;
	margin-top: auto;
	margin-bottom: auto;
}

.id {
	padding-right: 6px;
	color: whitesmoke;
}

.card-title {
	text-transform: capitalize;
	color: whitesmoke;
}

.type-name {
	color: white;
	font-weight: bold;
	width: fit-content;
	border-radius: 50px;
	padding: 3px 12px;
	margin-bottom: 12px;
	box-shadow: 2px 2px rgba(0, 0, 0, 0.793);
}

/* 3.3 Single Card on Display */

.overlay {
	position: fixed;
	left: 0;
	right: 0;
	top: 0;
	bottom: 0;
	z-index: 2;
}

.container-cards-on-display {
	flex-direction: column !important;
	height: 750px !important;
	width: 500px;
	border-radius: 1.5rem !important;
	padding: 0px;
	margin: 0 !important;
}

.close-button {
	position: absolute;
	right: 6px;
	top: 6px;
	height: 32px;
	width: auto;
	padding: 5px;
	border-radius: 50%;
	background-color: rgba(255, 255, 255, 0.374);
	transition: all 155ms ease-in-out;
	cursor: pointer;
	z-index: 5;
}

.close-button:hover {
	background-color: rgba(255, 255, 255, 0.504);
	transition: all 155ms ease-in-out;
}

.display-header {
	position: relative !important;
	width: 100%;
	height: 390px;
	border-radius: 1.5rem 1.5rem 0 0;
	margin: 0px !important;
	padding: 32px;
}

.display-header-identity {
	display: flex;
	justify-content: space-between;
}

.display-id {
	font-size: 32px;
	color: whitesmoke;
}

.image-arrow-container {
	position: absolute;
	margin-left: auto;
	margin-right: auto;
	left: 0;
	right: 0;
	top: -190px;
	max-width: 350px;
	display: flex;
}

.display-image {
	right: 0 !important;
	left: 0 !important;
	height: 250px !important;
	width: auto !important;
	margin: auto !important;
	text-align: center;
}

.arrows-container {
	display: flex;
	justify-content: space-between;
	position: absolute;
	top: 32%;
	margin-left: auto;
	margin-right: auto;
	left: 0;
	right: 0;
	width: 100%;
}

.arrow {
	background-color: rgba(255, 255, 255, 0.374);
	border-radius: 100%;
	padding: 10px;
	height: 50px;
	transition: all 155ms ease-in-out;
}

.arrow:hover {
	background-color: rgba(255, 255, 255, 0.504);
}

.arrow:active {
	transition: all 155ms ease-in-out;
	transform: scale(1.05);
}

/* Info Container */
.display-info-container {
	position: relative;
	background-color: rgb(191, 184, 184);
	height: 439px;
	width: 100%;
	border-radius: 1.5rem;
	margin-top: -80px;
}

.nav {
	position: absolute;
	margin-top: 18px;
	right: 16px;
	left: 16px;
	color: rgba(0 0 0);
	font-weight: bold;
}

.nav-link {
	color: rgba(0 0 0) !important;
}
.tab-content {
	margin-top: 80px;
	height: calc(100% - 80px);
}

.table {
	margin-top: 1px;
}

td {
	vertical-align: middle;
}

.progress-bar-container {
	width: 60%;
}

.single-move {
	max-width: fit-content;
	height: fit-content;
	border: 1px solid black;
	border-radius: 10px;
	padding: 0.2rem;
	margin: 3px 0;
	margin-right: 5px;
	background-color: rgba(245, 245, 245, 0.473);
}

.overflowy-auto {
	overflow: auto;
	height: 100%;
}

/* ===== Scrollbar CSS ===== */
/* Firefox */
.scrollbar-moves {
	scrollbar-width: auto;
	scrollbar-color: #7b737d #ffffff;
}

/* Chrome, Edge, and Safari */
.scrollbar-moves::-webkit-scrollbar {
	width: 6px;
}

.scrollbar-moves::-webkit-scrollbar-thumb {
	background-color: #7b737d;
	border-radius: 10px;
}

.load-more-pokemon {
	position: fixed;
	bottom: 25px;
	left: 0;
	right: 0;
	margin-left: auto;
	margin-right: auto;
	width: 100px;
}

.photo-credit {
	position: absolute;
	bottom: 500px;
	left: -216px;
	rotate: -90deg;
	text-decoration: none;
}

.links {
	color: black !important;
}

/* Impressum */

.impressum-container {
	position: fixed;
	top: 25px;
	bottom: 25px;
	right: 0;
	left: 0;
	margin-left: auto;
	margin-right: auto;
	width: 70vw;
	padding: 25px;
	z-index: 5;
	background-color: white;
	border-radius: 1rem;
	border: 2px solid #e95754;
	overflow-y: auto;
	overflow-x: hidden;
	-ms-overflow-style: none;
	scrollbar-width: none;
}

/* Hide scrollbar for Chrome, Safari and Opera */
.impressum-container::-webkit-scrollbar {
	display: none;
}

.impressum {
	position: relative;
}

.close-impressum-button {
	position: fixed;
	top: unset;
	bottom: 110px;
	right: 32px;
	height: 48px;
	background-color: whitesmoke;
	border-radius: 50%;
}
