.container {
    display: flex;
    align-items: center;
    flex-direction: column;
    height: 100vh;
    background-image: url("https://static.vecteezy.com/ti/vetor-gratis/t2/111426-de-parede-de-tijolo-vermelho-livre-gratis-vetor.jpg");
    background-repeat: no-repeat;
    background-size: cover;
    gap: 5em;
}

.menu {
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    height: 90px;
    width: 100%;
    background-color: #000000;
    color: rgb(255, 255, 255);
    border-bottom: 5px solid #ffd900;
}

.menu-lifes {
    align-items: center;
    display: flex;
}

.panel {
    margin-top: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.square {
    height: 150px;
    width: 150px;
    border: 1px solid black;
    background-color: aqua;
}

.enemy {
    background-image: url(https://i.pinimg.com/originals/43/3e/9f/433e9f7787d8b9a303ea37680d7e453d.png);
    background-size: cover;
}

.menu-time h2:nth-child(2),
.menu-score h2:nth-child(2) {
    margin-top: 1rem;
}

/* ============================================
                RESPONSIVIDADE
============================================ */

/* Tablets (largura até 1024px) */
@media (max-width: 1024px) {
    .square {
        width: 120px;
        height: 120px;
    }

    .menu {
        height: 80px;
    }

    .container {
        gap: 3em;
    }
}

/* Celulares médios (até 768px) */
@media (max-width: 768px) {
    .square {
        width: 100px;
        height: 100px;
    }

    .menu {
        flex-direction: column;
        height: auto;
        padding: 10px 0;
        gap: 10px;
    }

    .panel {
        flex-wrap: wrap;
    }

    .container {
        gap: 2.5em;
    }
}

/* Celulares pequenos (até 480px) */
@media (max-width: 480px) {
    .square {
        width: 80px;
        height: 80px;
    }

    .menu {
        flex-direction: column;
        height: auto;
        padding: 15px 0;
        gap: 12px;
    }

    .container {
        gap: 2em;
        padding: 10px;
    }
}
