*{
	margin: 0px;
	padding: 0px; 
	box-sizing: border-box;
}
html{
	font-size: 14px;
}
body{
	background-color: white;
}
h1{
	font-family: 'Alfa Slab One', cursive;
	color: #f7da1b;
	-webkit-text-stroke: 1px #2665c9;
	font-size: 2.6rem;
}
h2{
	font-family: 'Gelasio', serif;
	font-weight: 400;
	font-size: 2rem;
	color: black;
}
h3{
	font-family: 'Gelasio', serif;
	font-weight: 400;
	font-size: 1.6rem;
	margin-bottom: 10px;
}
p{
	font-weight: normal;
	font-size: 1.2rem;
	margin-bottom: 20px;
	color: black;
}
button{
	background-color: transparent;
}
.spinning-pokeball{
	-webkit-animation: spin-ball 1s 0s 1;
	-moz-animation: spin-ball 1s 0s 1;
	animation: spin-ball 1s 0s 1;
	border: 1px solid #2665c9;
	border-radius: 50%;
	width: 28px;
}
@-webkit-keyframes spin-ball{
	100% {transform: rotate(360deg);}
}
@-moz-keyframes spin-ball{
	100% {transform: rotate(360deg);}
}
@keyframes spin-ball{
	100% {transform: rotate(360deg);}
}
.about-pokeapi p{
	display: block;
	border: 0px;
	font-size: 1.2rem;
	color: black;
	margin-bottom: 20px;
}
#main-navbar #active-link{
	text-decoration: line-through;
	color: white;
}
#hamburger-menu{
	top: 0px;
	width: 100%;
	position: fixed;
	background-color: #404040;
	z-index: 10;
}
.lines-container{
	padding: 10px 0px 10px 10px;
	width: 44px;
}
.lines-container:hover{
	cursor: pointer;
}
.lines-container:hover > div{
	background-color: white;
	transition: .4s ease-in-out all;
}
#main-navbar{
	display: none;
	padding: 10px 20px;
	border-top: 1px solid #707070;
	background-image: url(../images/pikachu.png);
	background-position: center;
	background-size: 80%;
	background-repeat: no-repeat;
}
#main-navbar li{
	margin: 10px 0px;
	padding: 10px 0px;
	border-bottom: 1px solid #707070;
	list-style: none;
}
#main-navbar li a{
	color: #a6a6a6;
	text-decoration: none;
	font-size: 1.4rem;
}
#main-navbar li a:hover{
	color: white;
	transition: .3s ease-in;
}
.line1, .line2, .line3{
	width: 24px;
	height: 3px;
	background-color: #707070;
	margin: 0px 0px 4px 10px;
}
.line1.active{
	transform: rotate(-45deg) translate(-5px, 5px);
}
.line2.active{
	opacity: 0;
}
.line3.active{
	transform: rotate(45deg) translate(-5px, -5px);
}
#main-navbar.menu-active{
	display: block;
	height: 100vh;
	animation-name: drop-menu-animation;
	animation-delay: 0s;
	animation-duration: 0.5s;
}
@keyframes drop-menu-animation{
	from{height: 0vh; opacity: 0}
	to {height: 100vh; opacity: 1}
}

/* ALL POKEMON CSS*/
.logo-container{
	width: 100%;
	margin: auto;
	padding: 0px 20px;
}
.popup-info h2{
	font-size: 1.8rem;
	text-transform: capitalize;
	text-shadow: 2px 2px 4px white;
}
#about-website{
	font-size: 1.2rem;
}
.loading-pokemon-text{
	font-size: 1.2rem;
	text-align: center;
	padding: 0px 0px 10px 0px;
	margin-bottom: 10px;
	color: black;
}
#sticky-container{
	position: sticky;
	top: 40px;
	z-index: 1;
	padding: 10px 0px;
	background-color: #707070;
	margin-bottom: 40px;
	animation-name: show-submenu;
	animation-delay: 0s;
	animation-duration: 0.6s;
	animation-iteration-count: 1;
}
@keyframes show-submenu{
	from {top: 0px; opacity: 0;}
	to {top: 40px; opacity: 1;}
}
#pokemon-pokedex-region-container{
	width: 100%;
	padding: 0px 20px;
	margin: auto;
}
#pokemon-pokedex-region-container button{
	width: 60px;
	margin: 0px 3px;
	border: 0px;
	color: white;
	padding: 10px;
	outline: none;
	font-size: 1rem;
}
#pokemon-pokedex-region-container button:hover{
	cursor: pointer;
	animation: bounce 0.5s linear;
}
.tab-content{
	padding: 0px 20px;
}
.pokedex-content {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-around;
	margin: 0px auto 0px;
	padding: 0px;
	width: 100%;
	border-bottom: 1px solid #aaa;
}
.pokemon {
	background-color: #eee;
	box-shadow: 0 1px 10px rgba(100, 100, 100, 0.5);
	margin: 0px 0px 10px 0px;
	border-radius: 10px;
	width: 118px;
	padding: 4px 0px 0px 0px;
}
.pokemon:hover{
	cursor: pointer;
	animation: bounce 0.5s linear;
}
@keyframes bounce{
	20% {
		transform: translateY(-6px);
	}
	40% {
		transform: translateY(0px);
	}
	80% {
		transform: translateY(-2px);
	}
	100% {
		transform: translateY(0);
	}
}
.pokemon .img-container {
	width: 118px;
	height: 120px;
	text-align: center;
	background-color: rgb(0, 0, 0, 0.2);
}
.pokemon .img-container img {
	width: 100%;
	padding: 10px;
}
.pokemon .info {
	border-radius: 0px 0px 10px 10px;
	background-color: rgb(0, 0, 0, 0.1);
	height: 120px;
	padding: 0px 6px;
}
body .pokemon .number{
	font-family: 'Odibee Sans', cursive;
	font-size: 1.6rem;
	margin-left: 10px;
	color: white;
	-webkit-text-stroke: 1px black;
}
.pokemon .name {
	font-family: 'Gelasio', serif;
	font-size: 1.4rem;
	color: white;
	margin-bottom: 0px;
	padding-top: 4px;
}
.pokemon .pokemon-type{
	font-family: 'Cairo', sans-serif;
	font-size: 1rem;
	color: #fafafa;
}
.pokemon .pokemon-type span{
	text-transform: capitalize;
}

/*-- POPUP STYLING --*/

/* Popup Button */
#closeBtn{
	position: absolute;
	top: 20px;
	right: 20px;
	padding: 10px 20px;
	border: none;
	border-radius: 3px;
	transition: transform 100ms;
	display: block;
	color: white;
	background-color: rgb(0, 0, 0, 0.4);
	outline: none;
	z-index: 1;
}
#closeBtn:hover{
	cursor: pointer;
	transform: translateY(-1px);
	box-shadow: 2px 1px 2px rgb(0, 0, 0, 0.7);
}
/* Popup */
#popup-display-all{
	position: fixed;
	top: 0;
	left: 0;
	z-index: 10;
}
.popup{
	height: 100vh;
	width: 100vw;
	display: flex;
	justify-content: center;
	align-items: center;
	overflow-y: scroll;
	padding: 10px 0px;
}
.popup-info{
	position: relative;
	padding: 10px 20px;
	width: 80%;
	margin: auto;
	box-shadow: 1px 1px 20px 1px rgb(0, 0, 0, 0.1);
	border: 1px solid black;
	border-radius: 10px;
	animation-name: card-show;
	animation-delay: 0s;
	animation-duration: 0.6s;
	animation-iteration-count: 1;
	overflow: hidden;
}
@keyframes card-show{
	0% {
		transform: scale(3);
	}
	20% { transform: scale(2);}
	30% {
		transform: scale(1.2);
	}
	100% {
		transform: scale(1);
	}
}

/* GLOW EFFECT */ 

/* CREDIT */
/*
Forked by:
Nicolas Gallagher - http://jsfiddle.net/KbNq7/
Chris Coyier - http://jsfiddle.net/chriscoyier/hk6z9/1/
*/

.popup-info:after {
  animation: shine 5s ease-in-out 2s infinite;
  animation-fill-mode: forwards;  
  content: "";
  position: absolute;
  top: -110%;
  left: -210%;
  width: 200%;
  height: 200%;
  opacity: 0;
  transform: rotate(30deg);
  background: rgba(255, 255, 255, 0.13);
  background: linear-gradient(
    to right, 
    rgba(255, 255, 255, 0.13) 0%,
    rgba(255, 255, 255, 0.13) 77%,
    rgba(255, 255, 255, 0.5) 92%,
    rgba(255, 255, 255, 0.0) 100%
  );
}

/* Hover state - trigger effect */

/* Active state */
.popup-info:active:after {
  opacity: 0;
}
@keyframes shine{
  10% {
    opacity: 1;
    top: -30%;
    left: -30%;
    transition-property: left, top, opacity;
    transition-duration: 0.7s, 0.7s, 0.15s;
    transition-timing-function: ease;
  }
  100% {
    opacity: 0;
    top: -30%;
    left: -30%;
    transition-property: left, top, opacity;
  }
}
.popup-info #artwork-container{
	width: 100%;
	padding: 10px;
	margin-bottom: 10px;
	border: 1px solid black;
	border-bottom: 0px;
	border-radius: 10px 10px 0px 0px;
}
.popup-info .artwork-popup{
	width: 100%;
	padding: 0px 20px;
	animation-name: animate-pokemon;
	animation-delay: 0.8s;
	animation-duration: 1.2s;
	animation-iteration-count: 1;
}
 @keyframes animate-pokemon {
        0%   { transform: scale(1,1)      translateY(0); }
        10%  { transform: scale(1.1,.9)   translateY(0); }
        30%  { transform: scale(.9,1.1)   translateY(-100px); }
        50%  { transform: scale(1.05,.95) translateY(0); }
        57%  { transform: scale(1,1)      translateY(-7px); }
        64%  { transform: scale(1,1)      translateY(0); }
        100% { transform: scale(1,1)      translateY(0); }
 }
.popup-info h3{
	font-size: 1.2rem;
	margin-bottom: 4px;
	color: black;
}
.popup-info p{
	font-size: 1rem;
	margin-bottom: 10px;
	color: black;
}
.popup-info p span{
	color: #707070;
	font-size: 1rem;
}
.pokemon-data-section-popup{
	padding: 10px 0px 0px 10px;
	margin-bottom: 10px;
	z-index: 1;
	position: relative;
	margin-top: -50px;
	background-color: rgb(255, 255, 255, 0.9);
	border: 1px solid black;
}
.pokemon-base-stat-section-popup{
	padding: 5px 0px 0px 10px;
	margin-bottom: 10px;
	border-radius: 0px 0px 10px 10px;
	background-color: rgb(255, 255, 255, 0.9);
	border: 1px solid black;
}
.pokemon-data-section-popup .pokemon-type{
	text-transform: capitalize;
}
.tab-content [data-tab-content]{
	display: none!important;
}
.tab-content .active[data-tab-content]{
	display: block!important;
}
.tab.active{
	background-color: rgb(0, 255, 0, 0.3);
}

/* All POKEMON CSS END*/
.stat-bg-container{
	width: 120px;
}
.stat-bg-container div p{
	width: 200px;
}
p span{
	font-size: 1.2rem;
	font-weight: normal;
	text-transform: capitalize;
	color: #666666;
}
.pokemon-base-label, .pokemon-mega-label, .pokemon-primal-label{
	font-size: 1.2rem;
	display: block;
	margin: 0px 0px 10px 0px;
	padding: 0px;
}
#pokemon-artwork{
	width: 100%;
	padding: 10px 20px;
	border: 1px solid #dbdbdb;
}
.pokemon-art-design h2{
	padding: 10px 10px;
}
#other-forms{
	width: 100%;
	margin-top: 10px;
}
#other-forms::after{
	content: "";
	display: table;
	clear: both;
}
#other-forms img{
	background-color: rgb(0, 0, 0, 0.1);
	padding: 10px;
	border-radius: 10px 10px 0px 0px;
}
#other-forms p{
	font-size: 1rem;
	padding: 0px 10px;
}
.form-1, .form-2, .form-3{
	float: left;
	width: 48%;
	margin: 1%;
	padding: 0px;
	border: 1px solid #dbdbdb;
	border-radius: 10px;	
}
#sprite-images{
	padding-bottom: 20px;
}
#sprite-images img{
	display: inline;
	width: 20%;
	background-color: #f0f0f0;
	padding: 0px;
	border: 1px solid #d9d9d9;
}
#sprite-images p{
	font-size: 1.2rem;
	text-align: center;
}
input{
	font-size: 1.2rem;
	padding: 10px;
	width: 50%;
	outline: none;
	margin-bottom: 20px;
	background-color: #f0f0f0;
	border: 1px solid #d9d9d9;
}
#btn{
	font-size: 1.2rem;
	padding: 10px;
	color: white;
	background-color: #07aaf0;
	outline: none;
	border-radius: 1px 100px 100px 1px;
	border: 1px solid transparent;
}
#btn:hover{
	cursor: pointer;
	background-color: #049ee0;
	transition: .1s ease-in-out all;
}
#pokemon-name{
	text-transform: capitalize;
}
#main_content{
	padding: 0px 20px;
	width: 100%;
	margin: 40px auto 0px;
	background-color: white;
}
#container{
	margin: 0px 0px 20px 0px;
}
#desktop-left-layout{
	padding-bottom: 10px;
}
#mobile-overflow{
	width: 100%;
	overflow-x: scroll;
}
table{
	width: 100%;
	border-collapse: collapse;
}
table, tr, th{
	border-width: 1px 1px 0px 1px;
	border-style: solid;
	border-color: #d9d9d9;
}
table tr th{
	text-align: left;
	padding: 10px 10px;
	background-color: rgb(58, 58, 58, 0.1);
	font-weight: normal;
	font-size: 1rem;
	color: black;
}
table tr td li{
	height: 100px;
	padding: 0px 10px;
	list-style: none;
	font-weight: normal;
	font-size: 1rem;
	overflow-y: scroll;
	border-bottom: 1px solid #d9d9d9;
}
table #pokemon-moves li{
	text-transform: capitalize;
}
table #pokemon-learning-method li{
	color: #666666;
	text-transform: capitalize;
	border-left: 1px solid #d9d9d9;
}
table #pokemon-leveling-moves li{
	color: #666666;
	border-left: 1px solid #d9d9d9;
}
table #pokemon-game-version li{
	color: #666666;
	text-transform: capitalize;
	border-left: 1px solid #d9d9d9;
}

/* ABOUT STYLING */
#about h2{
	margin-bottom: 10px;
	font-size: 2rem;
}
#about h3{
	font-size: 1.6rem;
	padding: 0px;
	border: 0px;
	margin: 0px 0px 10px 0px;
}
#about p{
	font-size: 1.2rem;
	margin-bottom: 0px;
}
#about div{
	padding: 0px 0px 10px 0px;
	margin-bottom: 10px;
	border-bottom: 1px solid #d9d9d9;
}
#about ol{
	padding: 10px 30px 0px;
}
#about ol li{
	font-size: 1.2rem;
	margin-bottom: 10px;
}
#about .about-description p{
	margin-bottom: 10px;
}
#about .about-description p .github{
	text-decoration: none;
	color: green;
}
#about .how-to-use p{
	margin-bottom: 10px;
}
#about .finding-alternate-forms p{
	margin-bottom: 10px;
}
#about .wrong-info{
	margin-bottom: 0px;
}
#footer-container{
	font-family: helvetica;
	font-weight: 400;
	font-size: 1rem;
	margin: 0px;
	padding: 10px 0px 20px 20px;
}
footer{
	margin: 0px;
	padding: 0px;
}

/* DESKTOP */
@media screen and (min-width: 1025px) {
	#hamburger-menu{
		width: 100%;
	}
	.menu-container{
		display: none;
	}
	#main-navbar{
		display: block;
		padding: 0px 20px;
		margin: 0px auto;
		width: 800px;
		background-size: 10%;
	}
	#main-navbar li{
		display: inline-block;
		border-bottom: 0px;
		padding: 0px;
	}
	#main-navbar li a{
		padding: 0px 20px;
		border: 1px solid #a6a6a6;
	}
	#main-navbar li a:hover{
		background-color: #26ad3a;
	}
	#main-navbar #active-link{
		background-color: #26ad3a;
	}
	.lines-container{
		display: none;
	}
	#main_content{
		width: 800px;
		margin: 44px auto 0px;
	}
	/* ALL POKEMON DESKTOP CSS */
	.popup-info h2{
		font-size: 2rem;
		text-transform: capitalize;
		text-shadow: 2px 2px 4px white;
	}
	#pokemon-pokedex-region-container{
		width: 800px;
		margin: auto;
	}
	.logo-container{
		width: 800px;
		margin: auto;
	}
	.tab-content{
		width: 800px;
		margin: auto;
		padding: 0px 20px;
	}
	.pokedex-content{
		max-width: 800px;
		justify-content: space-between;
	}
	.pokemon{
		width: 180px;
	}
	.pokemon .img-container {
		width: 180px;
		height: 180px;
	}
	.pokemon .info {
		height: 140px;
		padding: 0px 20px;
	}
	body .pokemon .number{
		font-size: 2rem;
		margin-left: 20px;
	}
	.pokemon .name{
		font-size: 1.4rem;
		margin-bottom: 0px;
		padding-top: 4px;
	}
	.pokemon .pokemon-type{
		font-size: 1.1rem;
	}
	.popup-info{
		padding: 10px 40px;
		width: 30%;
		margin: auto;
	}
	.popup-info h3{
		font-size: 1.4rem;
		margin-bottom: 4px;
	}
	.popup-info p{
		font-size: 1rem;
		margin-bottom: 10px;
	}
	.popup-info p span{
		font-size: 1rem;
	}
	.popup-info #artwork-container{
		width: 100%;
	}
	.pokemon-data-section-popup{
		margin-bottom: 20px;
	}
	
	/* ALL POKEMON DESKTOP CSS END */
	
	#pokemon-artwork{
		width: 100%;
	}
	#container-sprites-move{
		padding: 0px;
	}
	#container-sprites-move::after{
		content: "";
		display: table;
		clear: both;
	}
	#sprite-images img{
		display: inline;
		padding: 0px;
		width: 15%;
		margin: 0px;
	}
	#desktop-left-layout, #desktop-right-layout{
		margin-bottom: 0px;
	}
	#desktop-left-layout{
		float: left;
		width: 45%;
		padding: 0px;
	}
	#desktop-right-layout{
		float: left;
		width: 32%;
		padding: 0px 10px;
	}
	#third-column{
		float: left;
		width: 23%;
		overflow: hidden;
	}
	#container::after{
		content: "";
		display: table;
		clear: both;
	}
	input{
		width: 80%;
	}
	#main-navbar.menu-active{
		height: 44px;
		display: flex;
	}
	#mobile-overflow{
		min-width: 100%;
	}
	table tr th{
		font-size: 1.2rem;
	}
	table tr td li{
		height: 100px;
		font-size: 1.2rem;
	}
	#footer-container{
		font-size: 1.2rem;
		width: 800px;
		margin: 0px auto;
	}
	footer{
		padding: 0px;
	}
}

/* TABLET */
@media only screen and (min-width: 768px) and (max-width: 1024px) {
	#main_content{
		margin: 40px auto 0px;
	}
	#main-navbar{
		margin: auto;
		background-size: 50%;
	}
	
	/* ALL POKEMON CSS TABLET */
	.popup-info h2{
		font-size: 2rem;
		text-transform: capitalize;
		text-shadow: 2px 2px 4px white;
	}
	.tab-content{
		padding: 0px 10px;
	}
	.pokedex-content{
		padding: 0px;
	}
	.pokemon{
		width: 160px;
		margin-right: 10px;
	}
	.pokemon .img-container {
		width: 160px;
		height: 160px;
	}
	.pokemon .info {
		height: 140px;
		padding: 0px 20px;
	}
	body .pokemon .number{
		font-size: 2rem;
		margin-left: 20px;
	}
	.pokemon .name{
		font-size: 1.4rem;
		margin-bottom: 0px;
		padding-top: 4px;
	}
	.pokemon .pokemon-type{
		font-size: 1.1rem;
	}
	.popup-info{
		width: 50%;
		margin: auto;
	}
	.popup-info h3{
		font-size: 1.4rem;
		margin-bottom: 4px;
	}
	.popup-info p{
		font-size: 1rem;
		margin-bottom: 10px;
	}
	.popup-info p span{
		font-size: 1rem;
	}
	#pokemon-pokedex-region-container button{
		width: 90px;
		padding: 10px 20px;
	}
	/* ALL POKEMON CSS TABLET END */
	#pokemon-artwork{
		width: 100%;
	}
	#sprite-images{
		padding: 0px 0px 10px 0px;
	}
	#sprite-images img{
		display: inline;
		padding: 0px;
		margin: 10px 0px;
		width: 15%;
	}
	#desktop-left-layout, #desktop-right-layout{
		margin-bottom: 0px;
	}
	#desktop-left-layout{
		float: left;
		width: 45%;
		padding: 0px;
	}
	#desktop-right-layout{
		float: left;
		width: 32%;
		padding: 0px 10px;
	}
	#third-column{
		float: left;
		width: 23%;
		overflow: hidden;
	}
	#container::after{
		content: "";
		display: table;
		clear: both;
	}
	input{
		width: 80%;
	}
	table tr th{
		font-size: 1.2rem;
	}
	table tr td li{
		height: 100px;
		font-size: 1.2rem;
	}
	#footer-container{
		font-size: 1.2rem;
		margin: 0px auto;
	}
	footer{
		padding: 0px;
	}
}
