:root {
    font-size: 62.5%;
}

* {
    box-sizing: border-box;
}

@font-face {
    font-family: 'Pixel';
    src: url('../fonts/Pixel.ttf');
}

[wm-flappy] {
    position: relative;
    border: .5rem solid dodgerblue;
    /* height: 70rem; */
    height: 100dvh;
    width: 120rem;
    margin: 1.5rem;
    background-color: deepskyblue;
    overflow: hidden;
}

.passaro {
    position: absolute;
    width: 6rem;
    left: calc(50% - 3rem);
    bottom: 50%;
    transition: transform 0.15s linear;
    border-radius: 100%;
}

.par-de-barreiras {
    position: absolute;
    top: 0;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.barreira {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.barreira .borda {
    height: 3rem;
    width: 13rem;
    background: linear-gradient(90deg, #639301, #A5E82E);
    border: 2px solid #000;
}

.barreira .corpo {
    height: 15rem;
    width: 11rem;
    background: linear-gradient(90deg, #639301, #A5E82E);
    border-left: 2px solid #000;
    border-right: 2px solid #000;
}

.progresso {
    position: absolute;
    top: 1rem;
    right: 1rem;
    font-family: 'Pixel';
    font-size: 7rem;
    z-index: 100;
}

.buttonGame {
    font-size: 3.2rem;
    font-family: 'Pixel';
    border: 4px white dotted;
    outline: none;
    border-radius: .5rem;
    padding: .8rem 1.5rem;
    color: white;
    background-color: rgb(255 255 255 / 30%);
    backdrop-filter: blur(5px);
    position: absolute;
    bottom: 50%;
    left: calc(50% - 6.3rem);
    cursor: pointer;
    z-index: 99;
    transition: all .3s ease;

    &:hover {
        background-color: rgba(255, 255, 255, .5);
    }
}

/* @media screen and (max-height: 700px) {
    [wm-flappy] {
        height: 30rem;
    }
} */