/* DESCRIPCIÓN ------------------------------------------------------------------
Este fichero controla el estilo y efectos del tablero, el HOLD y el NEXT
------------------------------------------------------------------------------ */


/* -- EFECTOS -----------------------------------------------------------------*/
@keyframes fadein{
    from {
        opacity: 0;
    } to {
        opacity: 1;    
    }
}

@keyframes moving_from_sides {
    from {
        margin-left: 500px;
        margin-right: 500px;
        filter: blur(30px);
    } to {
        margin-left: 0px;
        margin-right: 0px;
        filter: blur(0px);
    }
}
/*----------------------------------------------------------------------------*/



#Tetris1 {
    justify-content: center;
    width: auto;
    animation: fadein 2s forwards;
}

.canvas, progress, .canvas_title, .controls_box {
    /* Apariencia común de todos los bloques del juego */
    border: 2px solid rgba(255, 255, 255, 0.9);
    border-radius: 6px;
}

.canvas, .canvas_title, .controls_box {
    /* Apariencia común de todos los bloques salvo la score_bar */
    background: rgba(15, 15, 20, 0.85);
    animation: moving_from_sides 1s forwards;

    margin-top: 6px;
    margin-bottom: 6px;
}

.canvas_title {
    background-color: black;

    height: 18px;
    width: 150px;
    margin-bottom: -4px;

    font-family: 'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif;
    font-size: 12px;
    font-weight: bold;
    color: whitesmoke;
}

.canvas, .canvas_title {
    display: block;
}

#canvas_1 {
    grid-column: 1/4;
    grid-row: 1/10;
}

.canvas_2_title {
    grid-column: 4;
    grid-row: 1;
}

#canvas_2 {
    grid-column: 4;
    grid-row: 2;
}

.canvas_3_title {
    grid-column: 4;
    grid-row: 3;
}

#canvas_3 {
    grid-column: 4;
    grid-row: 4;
}

#canvas_4 {
    grid-column: 1/5;
}

#score_progress {
    grid-column: 1/5;
}

#myVideo {
  position: fixed;
  right: 0;
  bottom: 0;
  min-width: 100%; 
  min-height: 100%;
}

button {
    margin: 0 auto;
    display: block;
    font-size: 1.1rem;
    width: 170px;
    line-height: 2;
    margin-top: 30px;
  }
  
  
  
