body {
    background: url("https://media4.giphy.com/media/3ov9k1173PdfJWRsoE/giphy.gif") center fixed;
    background-size: cover;
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-weight: 500;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100vh;
}

.title {
    color: white;
    text-transform: uppercase;
    margin-top: 2em;
    margin-bottom: 1em;
    font-size: 1.2em;
    letter-spacing: 0.3em;
}

.container {
    background-color: transparent;
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-weight: 500;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
}

.keyboard {
    background-color: #46637f;
    border-radius: 20px;
    box-shadow: 0px 0px 30px 10px rgba(0, 0, 0, 0.5);
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: flex-start;
}

.row {
    list-style: none;
    display: flex;
    justify-content: space-around;
    gap: 5px;
}

li {
    height: 3em;
    width: 3em;
    color: #fff;
    border-radius: 0.4em;
    line-height: 3em;
    letter-spacing: 0.5px;
    margin: 0.2em;
    transition: 0.3s;
    text-align: center;
    font-size: 0.8em;
    background-color: transparent;
    border: none;
}


#tab {
    width: 5em;
}

#caps {
    width: 6em;
}

#left-shift {
    width: 8em;
}

#enter {
    width: 6em;
}

#right-shift {
    width: 8em;
}

#back {
    width: 5em;
}

.pinky {
    background-color: #15202b;
    border: 2px solid #15202b;
}

.pinky.selected {
    color: #15202b;
}

.ring {
    background-color: #22435a;
    border: 2px solid #22435a;
}

.ring.selected {
    color: #22435a;
}

.middle {
    background-color: #335b7a;
    border: 2px solid #335b7a;
}

.middle.selected {
    color: #335b7a;
}

.pointer1st {
    background-color: #4677a1;
    border: 2px solid #4677a1;
}

.pointer1st.selected {
    color: #4677a1;
}

.pointer2nd {
    background-color: #5e91be;
    border: 2px solid #5e91be;
}

.pointer2nd.selected {
    color: #5e91be;
}

.fill-out-key {
    background-color: #b3c8d7;
    border: 2px solid #b3c8d7;
}

.selected {
    background-color: #fff;
    color: #46637f;
}

.hit {
    animation: none;
}

#gameArea {
    position: relative;
    height: 200px;
    width: 500px;
    border: 1px solid #000;
    margin-top: 2em;
    overflow: hidden;
}

#dino {
    position: absolute;
    bottom: 0;
    left: 50px;
    height: 50px;
    width: 50px;
    background-image: url("dino.png");
    background-repeat: no-repeat;
    background-size: cover;
}

.obstacle {
    position: absolute;
    bottom: 0;
    right: -50px;
    height: 50px;
    width: 50px;
    background-image: url("cactus.png");
    background-repeat: no-repeat;
    background-size: cover;
    animation: moveCactus 2s linear infinite;
}


#score {
    color: white;
    font-size: 1.2em;
    margin-top: 1em;
    margin-left: 1em;
}

@keyframes moveObstacle {
    from {
        right: -50px;
    }

    to {
        right: 100%;
    }
}

@keyframes jump {
    0% {
        bottom: 0;
    }

    50% {
        bottom: 100px;
    }

    100% {
        bottom: 0;
    }
}