/* ------------------------------------------------------------ container setup ------------------------------------------------------------ */

@import url('https://fonts.googleapis.com/css?family=Poppins:300,400,700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Silkscreen:wght@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: "Silkscreen", sans-serif;
  font-weight: 400;
  font-style: normal;
	text-align: center;
	overflow: hidden;
	background: black;
	background-image: url("/candy-shop/assets/galaxy-crush/img/Background.jpg");
}

/* contains all game elements */
#game-container {
	width: 1200px;
    height: 1200px;
    padding: 40px;

	position: relative;

    text-align: center;
    color: #fff;
}

canvas {
    /* margin: 0 auto;
    padding: 0; */
    /* background-color: slategray; */
}

#board-container {
    margin: 0 auto;
    position: absolute;
    z-index: 100;
}

#title {
    background-image: url("/candy-shop/assets/galaxy-crush/img/title.png");
    width: 915px;
    height: 226px;
    margin: 0 auto;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

#intro-description {
    color: white;
	padding-bottom: 50px;
}


#match-candies {
    width: 471px;
    height: 123px;
    margin: 0 auto;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    background-image: url("/candy-shop/assets/galaxy-crush/img/3-matching-Icons.png");
}

/* sound and restart */
#toggle-sound svg,
#restart-button svg {
	fill: #fff;
}

#intro-container {
    font-size: 4.5em;
    margin-top: 20px;
	color: white;
}


#rules-container {
    font-size: 4.5em;
    
	color: white;
}

#rules-description {
    font-size: 60px;
    margin-top: 20px;
    padding-bottom: 50px;
}

#board-container {
    font-size: 4.5em;
    margin-top: 20px;
	color: black;
}

#intro-graphic {
    width: 485px;
    height: 220px;
    margin: 0 auto;
    margin-bottom: -85px;
	margin-top: 60px;
    background-image: url("/candy-shop/assets/galaxy-crush/img/Intro-Graphic.png");
	background-size: contain;
    background-position: center;
	background-repeat: no-repeat;
	display: none;
}



#intro-button, #play-button {
    cursor: pointer;
    padding: 20px;
    background-color: #eac410;
    color: black;
    width: 550px;
    margin: 0 auto;
    font-size: 40px;
    text-transform: uppercase;
}

#final-graphic {
	 background-image: url("/candy-shop/assets/galaxy-crush/img/Prize-Background-Image.png");
	background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
	display:none;
	height: 140px;
	
}

.game-over-win #final-graphic {
 background-image: url("/candy-shop/assets/galaxy-crush/img/Prize-Background-Image.png");
  height: 24vh;
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  display: block;
}

.game-over-lose #final-graphic {
 background-image: url("/candy-shop/assets/galaxy-crush/img/Prize-Background-Image.png");
  height: 24vh;
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  display: block;
}

.game-finished #prize-container {
    font-size: 3em;
    padding: 40px;	
}

.prize-header {
	font-size: 1.5em;
    font-weight: bold;
}

.prize-name {
	font-size: 1.5em;
    margin: 0 auto;
    color: white;
	text-align: center;
	display: block;
}


