body {
    margin: auto;
    background-image: url(./img/fondoAzul.jpg);
    background-attachment: fixed;    
    background-repeat: no-repeat;
    background-size: 100vw 100vh;

    overflow: hidden;
}

.estrellas {
    width: 100vw;
    height: 100vh;

    background-image: url(./img/estrellas.png);
    background-position: center;

    position: absolute;
    top: 0px;
    left: 0px;
    
    transition: all 0.1s
    
}

.nave {
    width: 80px;
    height: 80px;

    position: absolute;

    background-image: url(./img/naveComunista.png);
    background-size: 100% 100%;
    background-position: center center;
    background-repeat: no-repeat;

    z-index: 1;
}

.vida {
    width: 100%;
    height: 15px;
    background-color: rgb(116, 0, 0);
    border: 1px solid black;

    border-radius: 10px;
    margin-left: 2%;
}

.vida div:first-of-type {
    background-color: red;
    height: 100%;
    width: 100%;

    border-radius: 10px;
}

.top-menu {
    width: 100%;
    position: absolute;
    display: flex;
    margin-top: 1%;
}

.top-menu > div:first-of-type {
    width: 30%;
    display: flex;
    align-items: center;
}

.top-menu > div:last-of-type {
    width: 70%;
    font-size: 20px;
    color: white;
    letter-spacing: 2px;

    justify-content: right;
    text-align: right;
    margin-right: 2%;
}

.esconder {
    display: none;
}

.proyectil {
    transition: all 0.1s;
    background-size: 100% 100%;
    background-repeat: no-repeat;
}

.enemigo {
    width: 100px;
    height: 100px;

    position: absolute;
    transition: all 0.2s;
}

.aliado {
    width: 100px;
    height: 100px;

    position: absolute;
    transition: all 0.2s;
}

.estrellas {
    transition: all 0.2s;
    position: absolute;
    top: 0px;
    left: 0px;
}

.countDownMenu {
    width: 100vw;
    height: 100vh;

    position: absolute;

    background-color: rgba(0, 0, 0, 0.637);

    display: flex;
    justify-content: center;
    align-items: center;

    z-index: 5;
}

.countDownMenu > div {
    width: 300px;
    height: 400px;

    margin-left: auto;
    margin-right: auto;

    background-image: url(./img/pantalla-menu.png);
    background-size: 100% 100%;

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: white;
}

.countDownMenu div img {
    width: 80%;
    height: 50%;

    margin-top: 45%;
}

.loseMenu {
    width: 100vw;
    height: 100vh;

    background-color: rgba(0, 0, 0, 0.637);

    position: absolute;

    /* display: flex; */
    justify-content: center;
    align-items: center;

    z-index: 1;
}

.loseMenu > div {
    width: 300px;
    height: 400px;

    background-image: url(./img/pantallaFinal.png);
    background-size: 100% 100%;

    margin-left: auto;
    margin-right: auto;
}

.loseMenu > div > div {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 40%;
}

.loseMenu > div > div:first-of-type > div {
    width: 70px;
    height: 70px;
    background-image: url(./img/Shield.png);
    background-size: 100% 100%;

    margin-right: 20px;
}

.loseMenu > div > div:first-of-type p {
    color: white;
    font-weight: bold;
    font-size: 1.5em;
}

.loseMenu > div > div:last-of-type {
    width: 100%;
    height: 60%;

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.loseMenu > div > div:last-of-type div:first-of-type {
    width: 100%;
    height: 30%;

    display: flex;
    justify-content: center;
    align-items: center;
}

.loseMenu > div > div:last-of-type div:first-of-type p {
    color: white;
    font-weight: bold;
    font-size: 1.5em;
}

.loseMenu > div > div:last-of-type div:last-of-type {
    width: 100%;
    height: 70%;

    display: flex;
    justify-content: center;
    align-items: center;
}