/* ------------------------------------------------------------ container setup ------------------------------------------------------------ */

@import url('https://fonts.googleapis.com/css?family=Poppins:300,400,700&display=swap');

/* the body affects all elements inside of it */
body {
	display: flex;
	justify-content: center;
	align-items: center;
	background-size:cover;
	background-repeat:no-repeat;
	font-family: "Poppins", "Open Sans", Arial, Helvetica, sans-serif;
	text-align: center;
	overflow: hidden;
	background-image: url("/find-match/assets/Sparkling-Collection-Match/img/Background.jpg");
	background-position: center;
}

body.game-finished.game-over-win {
   background-image: url("/find-match/assets/Sparkling-Collection-Match/img/Background-win.png");
}

/* contains all game elements */
#game-container {
	width: 1200px;
    height: 1200px;
    padding: 40px;
	position: relative;
    text-align: center;
    color: black;
}

#board-container {
    margin: 0 auto;
    position: absolute;
    z-index: 100;
}

#rules-description, #intro-description {
    color: white;
    font-weight: bold;
    padding-bottom: 24px;
}

canvas {
    /*
    margin: 0 auto;
    padding: 0;
    */
}

#title {
    background-image: url("/find-match/assets/Sparkling-Collection-Match/img/Title.png");
    width: 915px;
    height: 377px;
    margin: 0 auto;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    z-index: 100;
    position: relative;
}

.game-started.loaded.screen-board-container #title {
   display:none;
	background-image: url("/find-match/assets/Sparkling-Collection-Match/img/Title.png");
    width: 915px;
    height: 377px;
    margin: 0 auto;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    z-index: 100;
    position: relative;
}

.game-started.loaded.screen-board-container.game-finished #title {
   display:block;
	background-image: url("/find-match/assets/Sparkling-Collection-Match/img/Title.png");
    width: 915px;
    height: 377px;
    margin: 0 auto;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    z-index: 100;
    position: relative;
}

/* sound and restart */
#toggle-sound svg,
#restart-button svg {
	fill: #fff;
}

#board-container {
}

#intro-container, 
#rules-container {
	font-size: 50px;
    border-radius: 25px;
    padding: 38px;
	padding-top: 70px;
    margin-top: -130px;
    color: white;
}

#intro-container {

}

#intro-button, #play-button {
    cursor: pointer;
    padding: 10px 40px;
    border-radius: 0px;
    background: linear-gradient(to right, #eac362, #c2871b);
    color: white;
    margin: 0 auto;
    width: max-content;
	border: 2px solid #fffb82;
	box-shadow: 0px 0px 10px gray;
	font-size: 40px;
}

#intro-button {
	margin-bottom: -96px;
	margin-top: 21px;
	
}

#intro-graphic {
    width: 351px;
    height: 133px;
    text-align: center;
    margin: 0 auto;
        margin-bottom: 0px;
    margin-bottom: -11px;
    background-image: url("/find-match/assets/Sparkling-Collection-Match/img/Intro-Graphic.png");
	display: none;
}



.game-finished #prize-container {
	font-size: 50px;
    padding: 38px;
		padding-top: 52px;
    margin-top: -69px;
	color: white;
	font-weight: bold;
	background-image: url("/find-match/assets/Sparkling-Collection-Match/img/Intro-Graphic.png");
}


.prize-header {
    font-weight: bold;
    font-size: 1.5em;
}

.prize-name {
    font-size: 1.2em;
}

