
@font-face 
{
    font-family: 'edmond';
    src: url('../font/edmondsans-bold.woff') format('woff'),
         url('../font/edmondsans-bold.woff2') format('woff2'),
         url('../font/edmondsans-bold.svg') format('svg');
    font-weight: normal;
    font-style: normal;
}

@font-face 
{
    font-family: 'arcade';
    src: url('../font/arcade.woff') format('woff'),
         url('../font/arcade.woff2') format('woff2'),
         url('../font/arcade.svg') format('svg');
    font-weight: normal;
    font-style: normal;
}


body      
{ 
    background-color: #22313F;
    background-image: url('../img/baustella.svg');
    background-position: center center;
    background-size: 5%;
    background-repeat: repeat;
}

#backgroundOpacity
{
    height: 100%;
    width: 100%;
    position: absolute;
    top: 0px;
    left: 0px;
    background-color: #22313F;
    z-index: 0;
    opacity: 0.6;
}

#menu
{
    position: absolute;
}



p, span
{
    color: red;
    font-family: "arcade" , sans-serif;
    line-height: 40px;
    font-size: 40px;
    opacity: 0;
    transition: all 1s ease-out;
    color: red;
    z-index: 5;
    width: 100px;
}

#score_place
{
    position: absolute;
    top: 0px;
    left: 40px;
}

#row_place
{
    position: absolute;
    top: 100px;
    left: 40px;
}

    
#tetris   
{ 
    height: 100%;
    width: 100%; 
    left: 0px;
    top: 0px;
    position: absolute;
}

#canvas   
{  
    vertical-align: top;
    height: 100%;
    width: 100%; 
    z-index: 1;
}

#upcoming
{
    position: absolute;
    height: 20%;
    width: 20%;
    top: 0%;
    right: 0%;
    background-color: red;
    z-index: 3;
    opacity: 1;
    transition: opacity 1s ease-out;
    visibility: hidden;
}


.textblock
{
    position: absolute;
    top: 50%;
    left: 50%;
    width: 30%;
    height: 20%;
    transform: translate(-50%, -50%);
    z-index: 2;
    background-color: black;
    opacity: 0.8;
    box-shadow: 0px 0px 8px black;
    cursor: pointer; 
    transition: width 0.1s ease-in-out, height 0.1s ease-in-out;
}

.textblock:hover
{
    width: 33%;
    height: 23%;
}


#fullsize
{
    opacity: 0;
    height: 100%;
    width: 100%;
    cursor: auto;
}

.transition_fs
{
    position: absolute;
    top: 50%;
    left: 50%;
    width: 30%;
    height: 20%;
    transform: translate(-50%, -50%);
    z-index: 2;
    background-color: black;
    opacity: 0.8;
    box-shadow: 0px 0px 8px black;
    cursor: none;
    transition: width 1s ease-in-out, height 1s ease-in-out, opacity 1s ease-out;
}


h1
{
    vertical-align: middle;
    text-align: center;
    color: white;
    z-index: 3;
    text-shadow: 0px 0px 7px black;
    font-family: "edmond" , sans-serif;
    letter-spacing: 1px;
    opacity: 1;
    transition: all 0.25s ease-in;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -79%);
}

.transition
{
    opacity: 0;
    visibility: hidden;
}