/* ------------------------------------------------------------ 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('./img/background.jpg');
}

/* contains all game elements */
#game-container {
	width: 1200px;
    height: 1200px;
    padding: 40px;

	position: absolute;

    text-align: center;
}

#tap-to-start-button {
    font-size: 33px;
	font-family: 'Raleway', sans-serif;
	text-transform: uppercase;
	margin: 0 auto;
    width: 355px;
    border: none;
    padding: 10px 20px 20px 20px;
    line-height: 1.5;
    cursor: pointer;


}

.language-code-EN #tap-to-start-button::after {
    content: 'For the best experience, use your headphones.' ;
	text-transform: 	uppercase;
	font-size: 21px;
	    line-height: 1.5;
}

.language-code-FR #tap-to-start-button::after {
    content: 'Pour une expérience optimale, utilisez vos écouteurs.' ;
	text-transform: 	uppercase;
	font-size: 21px;
	    line-height: 1.5;
}

#tap-to-start-button::before {
  content: " ";
  display: block;
  width: 100%;
  height: 6vw;
  background-image: url("/scratch/assets/scratch-travel-generic/img/headphones.png");
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  min-height: 90px;
  animation: pulse 1s infinite 1s;
  margin-bottom: 20px;
}

canvas {
    /* margin: 0 auto;
    padding: 0; */
    /* background-color: slategray; */
}

#modal-content {
    background-color: #01ade7;
    color: white;
    margin: auto;
        margin-top: auto;
    padding: 20px;
    border-radius: 5px;
    width: 80%;
    border: 7px solid white;
    margin-top: 150px;
    box-shadow: 0px 0px 16px black;
    font-weight: bold;
    font-size: 35px;
    top: 262px;
    position: relative;
    left: -116px;
}

#modal-close-btn {
    color: black !important;
    float: right;
    font-size: 28px;
    font-weight: bold;
    z-index: 99999;
    background-color: white;
    width: 45px;
    border-radius: 27px;
    border: 2px solid white;
    box-shadow: 0px 0px 20px black;
    height: 45px;
    margin-right: 16px;
    margin-top: -41px;
}

#board-container {
    margin: 0 auto;
    /* position: absolute; */
    z-index: 100;
}

#title {
    background-image: url('./img/gameTitle.png');
    background-size: contain;
    background-repeat: no-repeat;
    height: 230px;
    background-position: center;
}

/* sound and restart */
#toggle-sound svg,
#restart-button svg {
	fill: #fff;
}

#intro-container,
#board-container {
    font-size: 60px;
    margin-top: 20px;
}

#intro-container {
    background: rgba(0, 0, 0, 0.5);
    padding: 20px 20px 10px;
    color:white;
}

#rules-header,
#rules-description {
    font-size: 32px;
}

#play-button {
    cursor: pointer;
    padding: 10px 20px;
    border: 2px solid white;
    border-radius: 9px;
    background-color: #009cf3;
    color: white;
    width: max-content;
    margin: 20px auto;
    font-size: .65em;
    font-weight: bold;
    
}

#intro-graphic, .prize-header {
    background-image: url("/hangman/assets/business-challenge/img/Intro-Bird.png");
    height: 206px;
    width: 515px;
    margin: 0 auto;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    display:none;
}


#prize-container {
    font-size: 90px;
    margin-top: 20px;

}

.game-finished #prize-container {
	 background: rgba(0, 0, 0, 0.5);
    padding: 20px 20px 10px;
    color:white;
	border-radius: 20px;
	padding: 20px;
	  -webkit-animation-name: bounceIn;
  animation-name: bounceIn;
	animation-duration: 2s;
	animation-fill-mode: both;

}

.prize-points-description {
    font-weight: bold;
}

.prize-name-head {
    display: none;
}

.screen-board-container #title {
    display: none;
}

.game-finished #title {
    display: block;
}

.game-finished #board-container {
    display: none !important;
}
