/* Common CSS */

body {
	margin: 0;
	padding: 0;
	overflow: hidden;
	-ms-overflow-style: none;
	/* IE and Edge */
	scrollbar-width: none;
	/* Firefox */
	font-family: "Petrona", serif;
}

h1,
h3 {
	font-weight: 800;
	font-style: italic;
	color: #3D7DCA;
}


/* CSS for index.html */

.index-container {
	/*background-color: #FFCB05; */
	width: 100%;
	height: 100vh;
	background: #ffcb05 url("../images/pokemon-background1.jpeg") center/cover;
}
#animation-container {
	width: 100%;
	height: 100vh;
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	background-size: contain;
}
.random-coin {
	border-radius: 50%;
	margin: 5% auto;
	position: relative;
	background-color: white;
	position: relative;
}
#random-coin-1 {
	background: white url("../images/red-pokeball.png") center/cover;
	-webkit-animation: move-in-steps 7s infinite;
	        animation: move-in-steps 7s infinite;
}
#random-coin-2 {
	background: white url("../images/yellow-pokeball.png") center/cover;
	-webkit-animation: move-in-steps 5s infinite;
	        animation: move-in-steps 5s infinite;
}
#random-coin-3 {
	background: white url("../images/red-pokeball.png") center/cover;
	-webkit-animation: move-in-steps 6s infinite;
	        animation: move-in-steps 6s infinite;
}
#random-coin-4 {
	background: white url("../images/yellow-pokeball.png") center/cover;
	-webkit-animation: move-in-steps 7s infinite;
	        animation: move-in-steps 7s infinite;
}
#random-coin-5 {
	background: white url("../images/red-pokeball.png") center/cover;
	-webkit-animation: move-in-steps 5s infinite;
	        animation: move-in-steps 5s infinite;
}
#game-input-container {
	width: -webkit-fit-content;
	width: -moz-fit-content;
	width: fit-content;
	height: -webkit-fit-content;
	height: -moz-fit-content;
	height: fit-content;
	background-color: rgba(251, 215, 67, 0.9);
	-webkit-box-shadow: 0 0 10px 10px rgba(0, 0, 0, 0.6);
	        box-shadow: 0 0 10px 10px rgba(0, 0, 0, 0.6);
	border-radius: 10%;
}
.winning-img {
	max-width: 200px;
	max-height: 200px;
}
/* reference - https://css-tricks.com/using-multi-step-animations-transitions/  and https://css-tricks.com/almanac/properties/t/transform-origin/*/
@-webkit-keyframes move-in-steps {
	0% {
		top: -5%;
	}
	50% {
		-webkit-transform: rotate(180deg);
		        transform: rotate(180deg);
	}
	100% {
		top: 100%;
		-webkit-transform: rotate(360deg);
		        transform: rotate(360deg);
	}
}
@keyframes move-in-steps {
	0% {
		top: -5%;
	}
	50% {
		-webkit-transform: rotate(180deg);
		        transform: rotate(180deg);
	}
	100% {
		top: 100%;
		-webkit-transform: rotate(360deg);
		        transform: rotate(360deg);
	}
}
.main-button {
	background-color: #3D7DCA!important;
}

.main-button:hover {
    background-color: #003A70!important;
    color: rgba(255, 255, 255, 0.9)
}

.player-lable{
    color: #003A70;
}
/* CSS for game.html */

.connect-four-page {
	background-color: #ffcb05;
}

.logo {
    max-width: 300px;
    min-width: 200px;
}
#game-controller {
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-pack: center;
	    -ms-flex-pack: center;
	        justify-content: center;
	-webkit-box-align: center;
	    -ms-flex-align: center;
	        align-items: center;
	margin-top: 5px;
	margin-bottom: 5px;
}
#game-area {
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-pack: center;
	    -ms-flex-pack: center;
	        justify-content: center;
	background-color: white;
	margin-left: auto;
	margin-right: auto;
	margin-top: 15px;
	margin-bottom: 15px;
}
.column {
	-webkit-box-flex: 1;
	    -ms-flex: 1 1;
	        flex: 1 1;
	height: 100%;
	background-color: white;
	padding: 0;
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-orient: vertical;
	-webkit-box-direction: reverse;
	    -ms-flex-direction: column-reverse;
	        flex-direction: column-reverse;
}
.square-cell-game-board {
	-webkit-box-flex: 1;
	    -ms-flex: 1 1;
	        flex: 1 1;
	background-color: #3d7dca;
	border: 0.1em gray solid;
	border-radius: 5px;
}
.square-cell-entry {
	-webkit-box-flex: 1;
	    -ms-flex: 1 1;
	        flex: 1 1;
	background-color: whitesmoke;
    border-top: 1px solid gray;
    -webkit-box-sizing: border-box;
            box-sizing: border-box;
}
.square-cell-entry-disable {
	-webkit-box-flex: 1;
	    -ms-flex: 1 1;
	        flex: 1 1;
    background-color: rgba(197, 192, 192, 0.9);
    border-top: 1px solid gray;
    -webkit-box-sizing: border-box;
            box-sizing: border-box;
}
.empty-coin-out {
	width: 90%;
	height: 90%;
	border-radius: 50%;
	background-color: whitesmoke;
	margin: 5% auto;
}

.empty-coin-out-disable {
	width: 100%;
	height: 100%;
	background-color: rgba(197, 192, 192, 0.9);;
	
}
.empty-coin {
	width: 100%;
	height: 100%;
	border-radius: 50%;
	background-color: whitesmoke;
	margin: 0;
}
.disable-coin {
	width: 100%;
	height: 100%;
	border-radius: 50%;
	background-color: rgba(197, 192, 192, 0.9);
	margin: 0;
}
.red-pokeball {
	width: 100%;
	height: 100%;
	border-radius: 50%;
	margin: 5% auto;
	border: 1px black solid;
	-webkit-box-sizing: border-box;
	        box-sizing: border-box;
	background: red url("../images/red-pokeball.png") center/cover;
	position: relative;
}
.yellow-pokeball {
	width: 100%;
	height: 100%;
	border-radius: 50%;
	background: yellow url("../images/yellow-pokeball.png") center/cover;
	margin: 5% auto;
	border: 1px black solid;
	-webkit-box-sizing: border-box;
	        box-sizing: border-box;
	position: relative;
}
.controller-icon {
	height: auto;
	width: auto;
	font-size: 2.5rem;
	display: inline-block;
	color: #3d7dca;
	margin-left: 3rem;
	margin-right: 3rem;
}
.controller-icon-music {
	height: auto;
	width: auto;
	font-size: 3rem;
	display: inline-block;
	color: #3d7dca;
	margin-left: 3rem;
	margin-right: 3rem;
}
.controller-icon:hover,
.controller-icon-music:hover {
	cursor: pointer;
}
.redirect-controller {
	display: inline-block;
}
.game-result-div {
	width: auto;
	height: auto;
	background-color: white;
	border-radius: 2rem;
	border: 1px solid gray;
}
@media (max-width: 320px) {
	.controller-icon {
		height: auto;
		width: auto;
		font-size: 2rem;
		display: inline-block;
		color: #3d7dca;
		margin-left: 2rem;
		margin-right: 2rem;
	}
	.controller-icon-music {
		height: auto;
		width: auto;
		font-size: 2.5rem;
		display: inline-block;
		color: #3d7dca;
		margin-left: 2rem;
		margin-right: 2rem;
	}
}
/* Error Page CSS */

.error-container {
	/*background-color: #FFCB05; */
	width: 100%;
	height: 100vh;
	background: #ffcb05 url("../images/oops.jpg") center/cover;
}
.error-btn-container {
	background-color: rgba(197, 192, 192, 0.7);
	border-radius: 3rem;
}