body {
    background-color: rgb(0, 0, 0);
    overflow: hidden;

}
a {
    text-decoration: none;
    color: rgb(238, 255, 0);
    text-shadow: 0px 1px 15px rgb(238, 255, 0);
    font-size: 40px;
    padding: 10px;
    /* border: 2px solid rgb(238, 255, 0); */
    border-radius: 40px;
}
.wrapper {
    display: flex;
    justify-content: center;
    color: rgb(238, 255, 0);
    width: 90vw;
    text-shadow: 0px 1px 15px rgb(238, 255, 0);
    font-family: monospace;
}
.monitor {
    /* position: relative; */
    z-index: 6;
}
.monitor-im {
    position: absolute;
    width: 800px;
    z-index: 5;
}
.display {
    position: relative;
    top: 115px;
    left: 35%;
    width: 480px;
    height: 370px;
    background-color: rgb(18, 18, 18);
    border: 2px solid rgb(9, 9, 9);
    border-radius: 3px;
}
.display-container {
    position: relative;
    height: 95%;
    width: 95%;
    overflow: hidden;
    z-index: 3;
    /* overflow-y: scroll; */
    z-index: 1;
    animation: display 10s;
}
@keyframes display {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.display-container::-webkit-scrollbar-thumb {
    background-color: rgba(125, 134, 0, 0.458);
}
.display-container::-webkit-scrollbar {
    width: 6px;
    background-color: rgba(46, 46, 46, 0.71);
}


.initial-display {
    position: relative;
    display: flex;
    justify-content: center;
    bottom: 247px;
    left: 180px;
    height: 87%;
    width: 95%;
    overflow: hidden;
    z-index: 10;
    background-color: rgb(18, 18, 18);
}
.start-text {
    position: absolute;
    font-size: 50px;
    margin: 30%;
}



.text {
    display: flex;
    flex-direction: column;
    margin: 15px;
    align-items: center;
    color: rgb(238, 255, 0);
    text-shadow: 0px 1px 15px rgb(238, 255, 0);
    font-family: monospace;
    animation: on-cover 10s;
}
@keyframes on-cover {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.cover {
    width: 100%;
    height: 7px;
    background-color: rgb(18, 18, 18);
    box-shadow: 0px 1px 15px rgba(238, 255, 0, 0.123);
    opacity: .5;
    z-index: 9;
    animation: cover 7s linear infinite;
}
@keyframes cover {
    from {
        transform: translateY(2px);
    }
    to {
        transform: translateY(350px);
    }
}
.soundbutton {
    position: relative;
    width: 28px;
    top: 145px;
    left: 520px;
    opacity: .8;
    cursor: pointer;
    transition: .3s ease;
    z-index: 9;
}
.soundbutton.paused {
    opacity: .3;
}

.text-input {
    background-color: rgb(18, 18, 18);
    text-shadow: 0px 1px 15px rgb(238, 255, 0);
    font-family: monospace;
    font-size: 17px;
    color: rgb(238, 255, 0);
    outline: none;
    border: none;
    cursor: none;
    overflow: hidden;
}



.button {
    margin-top: 80px;
    z-index: 50;
}
.button-none {
    display: none;
}
.lexx {
    position: absolute;
    width: 120px;
    height: 40px;
    background-image: url("../img/lexx.png");
    background-size: 120px 40px;
    top: 145px;
    left: 10px;
    z-index: 50;
    transition: all 1s;
}

.planet {
    position: absolute;
    background-image: url("../img/planet.png");
    height: 100px;
    width: 100px;
    background-size: 100px 100px;
    top: 120px;
    left: 450px;
    z-index: 50;
    transition: all .4s;
}
.planet2 {
    position: absolute;
    background-image: url("../img/planet2.png");
    height: 50px;
    width: 50px;
    background-size: 50px 50px;
    top: 120px;
    left: 450px;
    z-index: 50;
    transition: all .4s;
}
.fireshot {
    position: absolute;
    width: 8px;
    height: 8px;
    background-color: rgb(255, 234, 0);
    box-shadow: 0px 1px 10px rgb(238, 255, 0);
    border-radius: 50%;
    z-index: 50;
    /* transition: all 1s; */
}

.boom {
    position: absolute;
    background-image: url("../media/boom.gif");
    height: 100px;
    width: 100px;
    background-size: 100px 100px;
    z-index: 50;
    transition: all 1s;
}

#lives {
    position: absolute;
    top: 20px;
    right: 20px;
    z-index: 60;
}
#lives span {
    display: block;
    margin: 10px;
    float: right;
    width: 18px;
    height: 18px;
    background-size: 18px 18px;
    background-image: url(../img/lives.png);
    z-index: 60;
}
.game-score {
    font-size: 18px;
}

.keys {
    display: flex;
    position: fixed;
    flex-direction: column;
    bottom: 4vh;
    left: 4vh;
    height: 130px;
    width: 90%;
    z-index: 15;
}

.key-fire {
    position: fixed;
    bottom: 4vh;
    right: 4vw;
    width: 48px;
    z-index: 15;
    transition: all .2s;
}
.key-fire:active {
    opacity: .2;
}
.key-up:active {
    opacity: .2;
}
.key-down:active {
    opacity: .2;
}

@media (max-width: 767.98px) {
    body {
        display: flex;
        overflow: hidden;
    }
    .keys {
        bottom: 20%;
    }
    .key-fire {
        right: 20%;
    }
    .key-fire img {
        width: 200px;
    }
    .key-up img {
        width: 150px;
    }
    .key-down img {
        width: 150px;
    }
}
