
* {
    box-sizing: border-box;
    user-select:none;
}

@font-face {
    font-family: 'Pixel';
    src: url('../fonts/Pixel.ttf');
}

[wm-flappy]{
    position: relative;
    margin: 15px;
    height: 700px;
    width: 1200px;
    border: 3px solid rgb(29, 85, 159);
    background-color: rgb(90, 189, 255);
    overflow: hidden;
}

.bird {
    position: absolute;
    height: 50px;
    width: 70px;
    left: calc(50% - 30px);
    bottom: 50%;
}

.tube-area {
    position: absolute;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
    top: 0;
    left: 100%;
}
.column {
    display: flex;
    flex-direction: column;
    align-items: center;
    
}
.top-tube, .bottom-tube{
    background-color: rgb(5, 178, 5);
    border-left: solid 3px black;
    border-right: solid 3px black;
    width: 80px;
}
.base-tube {
    background-color: rgb(5, 178, 5);
    height: 20px;
    width: 100px;
    border: solid 3px black;
}
.game-over{
    position: absolute;
    background-color: rgba(239, 48, 14, 0.51);
    border: solid 4px rgb(22, 86, 156);
    top: calc(40% - 60px);
    left: calc(50% -30px);
    height: 310px;
    width: 250px;
}
.game-over p {
    position: relative;
    text-align: center;
    font-size: 30px;
}

.score {
    position: absolute;
    font-size: 70px;
    font-family: Pixel;
    color: white;
    top: 10px;
    right: 10px;
    z-index: 3;
}

.restart-button{
    position: relative;
    font-size: 20px;
    text-align: center;
    margin-left: 90px;
}

.background-img{
    position: relative;
    height: 100%;
    width: 100%;
}