header {
    margin-top: 16px;
    height: 10%;
}
nav {
    display: none;
}
main {
    display: flex;
    height: 90%;
    width: 90%;
    flex-direction: column;
    text-align: center;
    justify-content: space-between;
    margin-bottom: 16px;
}
main h2 {
    font-size: clamp(1rem, 1rem + 2vw, 3rem);
}
.battle-scene * {
    font-size: clamp(.5rem, .5rem + 2vw, 3rem);
}
.battle-scene {
    display: contents;
    text-align: center;
}
.fighters {
    display: flex;
    flex-direction: row;
    justify-content: space-around;
}
.menu ul {
    list-style-type: none;
}
.enemy, .player {
    display: flex;
    height: auto;
    flex-direction: column;
    justify-content: space-evenly;
}
img {
    max-inline-size: 100%;
    block-size: auto;
}
.enemy img {
    background-color: white;
}
.scene .status {
    margin-bottom: 16px;
    width: 90vw;
}
#battle-menu ul li {
    text-align: left;
    width: 100%;
    border: 3px solid var(--text-color);
    margin: 1px;
}


@media (min-width: 768px) {
    body {
        justify-content: center;
        align-items: center;
    }
    header {
        height: auto;
    }
    h2 {
        margin: 16px;
    }
    nav {
        display: flex;
    }
    main {
        height: 70%;
        width: 90%;
        align-items: center;
    }
    .battle-scene * {
        font-size: clamp(.25rem, .25rem + 1.5vw, 2rem);
    }
    .fighters {
        justify-content: space-between;
        width: 50%;
    }
    .player {
        margin-right: 16px;
    }
    .name {
        text-align: left;
    }
    .enemy {
        margin-left: 16px;
    }
    .scene {
        display: flex;
        flex-direction: row;
        justify-content: center;
        align-items: center;
        margin-right: 16px;
        width: 80%;
    }
    .scene .status {
        margin-bottom: 0px;
        width: 60%;
    }
    #battle-menu {
        margin: 16px;
        display: flex;
        flex-direction: column;
        justify-content: center;
        width: 40%;
    }
    #battle-menu ul li {
        width: auto;
        border: 3px solid var(--text-color);
        text-align: center;
    }
    #restart:hover {
        color: red;
        font-weight: bold;
    }
}