@font-face {
    font-family: "Trebuchet MS";
    src: url('../fonts/trebuchet_ms.ttf') format('truetype');
    font-weight : normal;
    font-style : normal;
}
body {
	margin: 0;
	padding: 0;
    display : flex;
    justify-content: center;
    background-color : #2c3e50;
    font-family: "Trebuchet MS", serif;
    align-items: center;
    height: 100vh;
    overflow: hidden;
}
#game{
    background-color:#2c3e50;
	margin:0;
	width: 600px;
	height: 600px;
	position: relative;
}
.case {
	background-color:rgba(255,255,255,0.15);
	padding: 0;
    border-radius: 10px;
	width: 20%;
	height:80%;
    z-index:1;
	display : flex;
	justify-content: center;
	align-items : center;
	color : white;
    font-size : 30px;
}
h1{
	text-align: center;
    font-size: 4rem;
}
.rouge{
    background-color:rgba(255,255,255,0.3);
}
.line{
    width: 100%;
    height: 25%;
    display: flex;
    justify-content: space-around;
    align-items: center;
}
.case4{
    background-color: #a25ad6;
}
.case8{
    background-color: #2669dd;
}
.case16{
    background-color: #21b9d5;
}
.case32{
    background-color: #00ca9b;
}
.case64{
    background-color: #43cf17;
}
.case128{
    background-color: #f7c001;
}
.case256{
    background-color: #f58114;
}
.case512{
     background-color: #ff543d;
 }
.case1024{
    background-color: #ff1491;
}
.case2048{
    background-color: #ff143b;
}
#score{
    color : white;
    font-size: 25px;
    position: absolute;
    top: 2%;
    left: 2%;
}
#black-container{
    color: white;
    z-index : 11;
    background-color: rgba(0,0,0,0.8);
    position: fixed;
    top : 0;
    bottom : 0;
    left : 0;
    right : 0;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
}
#black-container button{
    font-size: 25pt;
    padding: 15px 25px;
    color : white;
    border: none;
    border-radius: 40px;
    cursor: pointer;
    margin: 10px 15px;
    transition: 0.1s;
    outline: none;
}
#black-container button:hover{
    transform: scale(1.1);
}
#black-container-sub{
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}
.button-blue{
    background-color: #2980b9;
}
#end-game-text{
    text-align: center;
    font-size: 80pt;
}
#end-game-container{
    text-align: center;
}
@keyframes opacityHide{
    0% {
        opacity : 1;
    }
    100% {
        opacity : 0;
    }
}
@keyframes opacityShow{
    0% {
        opacity : 0;
    }
    100% {
        opacity : 1;
    }
}
.display-flex{
    display: flex;
}
.display-none{
    display: none;
}
.z-index10{
    z-index : 10;
}
.z-index12{
    z-index: 12;
}
