@import url('https://fonts.googleapis.com/css2?family=Poppins&display=swap');
*{
    margin: 0;
    padding: 0;
    transition: all ease .2s;
    font-family: 'Poppins', sans-serif;
    list-style: none;
}

.container{
    width: 100vw;
    height: 100vh;
    overflow: hidden;
}

.container .main{
    display: flex;
    position: relative;
}

.container aside{
    position: absolute;
    width: 60%;
    display: flex;
    justify-content: center;
    flex-direction: column;
    height: 100vh;
    color: white;
    background-color: rgba(0, 0, 0, 0.8);
    transform: translateX(-200%);
    opacity: 0;
}

.container aside.active{
    opacity: 1;
    transform: translateX(0%);
}

.masbro{
    margin: 0 0 8em 5em;
}


.spacer{
    width: 300px;
    height: 4px;
    background-color: rgba(255, 255, 255, 0.6);
    align-self: center;
    border-radius: 3px;
    margin: 1em 0;
}

.container .title{
    font-size: 1.5em;
}

.container .score{
    font-size: 1.5em;
}

.gameplay{
    display: flex;
    align-items: center;
    justify-content: space-around;
    width: 100%;
    height: 100%;
}

#board{
    padding: 5px;
    border-radius: 8px;
    width: 600px;
    background-color: #cdc1b5;
    display: flex;
    flex-wrap: wrap;
}

.tile{
    border-radius: 8px;
    margin: 7.5px;
    width: 135px;
    height: 135px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    color: white;
    font-size: 2.5em;
    background-color: rgba(0, 0, 0, 0.16);
}

.gameplay{
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
}

.x2{
    background-color:#eee4da ;
    color: #727371;
}
.x4{
    background-color: #ece0ca; ;
    color: #727371;
}
.x8{
    background-color: #f4b17a;
    color: white;
}
.x16{
    background-color: #f59575;
    color: white;
}
.x32{
    background-color: #f57c5f;
    color: white;
}
.x64{
    background-color: #f65d3b;
    color: white;
}
.x128{
    background-color: #edce71;
    color: white;
}
.x256{
    background-color: #edcc63;
    color: white;
}
.x512{
    background-color: #edc651;
    color: white;
}
.x1024{
    background-color: #eec744;
    color: white;
}
.x2048{
    background-color: #ecc230;
    color: white;
}

.instruction{
    display: flex;
    margin: 0 0 0 5em;
    align-items: center;
}

.me-15{
    margin: 0 .7em 0 0;
}

.fa-3xl{
    font-size: 3em !important;
}

.key{
    position: absolute;
    right: 3em;
    bottom: 1em;
    left: 1em;
    color: white; 
}

.key #output{
    margin: 0 0 0 .7em;
}
