body {
    height: 100vh;
    width: 100vw;
    display: flex;
    margin: 0;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-image: url('./img/Background/PNG/game_background_4/game_background_4.png');
    font-family: 'Press Start 2P';
}

h1 {
    color: wheat;
    text-align: center;
}

h2 {
    position: absolute;
    font-size: 18px;
    text-align: center;
    top: 100px;
}

.canvas {
    box-shadow: 4px 4px 8px rgba(0, 0, 0, 0.644);
}

.fullscreen {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 720px;
    /* height: calc(width * 0.66666666);; */
}

canvas {
    background-color: black;
}

.startScreen {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    position: absolute;
}

.startScreen img {
    width: 100%;
    height: 100%;
}

.enterBtn {
    background-image: url('./img/game-ui/PNG/05ogin&pass/beige_border2.png');
    background-repeat: no-repeat;
    background-size: cover;
    border: none;
    border-radius: 0;
    font-family: 'Press Start 2P';
    font-size: 11px;
    display: none;
    z-index: 2;
    position: absolute;
    align-items: center;
    justify-content: center;
    top: 43%;
    background-color: rgba(0, 0, 0, 0);
    height: 30px;
    width: 80px;
}

.enterBtn :hover {
    cursor: pointer;
}

.soundSelection {
    flex-direction: column;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    z-index: 2;
    font-size: 18px;
    color: #505739;
    background-image: url(./img/game-ui/PNG/05ogin&pass/beige_border2.png);
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
}

.soundSelection img {
    width: 720px;
    height: 480px;
}

.soundSelection button {
    font-family: 'Press Start 2P';
    box-shadow: 0px 1px 0px 0px #1c1b1898;
    background: linear-gradient(to bottom, #eae0c2 5%, #ccc2a6 100%);
    background-color: #eae0c2;
    border-radius: 15px;
    border: 2px solid #3330295b;
    display: inline-block;
    cursor: pointer;
    color: #505739;
    font-size: 14px;
    font-weight: bold;
    padding: 22px 40px;
    margin: 0 20px;
    text-decoration: none;
    text-shadow: 0px 1px 0px #ffffff;
}

.soundSelection button:hover {
    background: linear-gradient(to bottom, #ccc2a6 5%, #eae0c2 100%);
    background-color: #ccc2a6;
}

.soundSelection button:active {
    position: relative;
    top: 1px;
}

.btnContainer {
    display: flex;
}

.buttons {
    position: absolute;
    top: 0;
    justify-content: center;
    display: flex;
    width: 100%;
    height: 100%;
}

.movingBtn {
    height: 50px;
    width: 50px;
    position: absolute;
    align-items: center;
    justify-content: center;
    display: none;
    z-index: 2;
    background-color: rgba(0, 0, 0, 0);
    border-radius: 100%;
}

.attackBtn {
    height: 70px;
    width: 70px;
    position: absolute;
    align-items: center;
    justify-content: center;
    display: none;
    z-index: 2;
    background-color: rgba(0, 0, 0, 0);
    border-radius: 100%;
}

.soundBtn {
    z-index: 1;
    position: absolute;
    align-items: center;
    justify-content: center;
    display: flex;
    width: 30px;
    height: 30px;
    border-radius: 100%;
    top: 9px;
    background-color: rgba(0, 0, 0, 0);
}

.soundBtn:hover {
    cursor: pointer;
}

.soundBtn img {
    display: flex;
    position: relative;
    object-fit: cover;
    width: 20px;
    height: 20px;
}

@media (max-width: 920px) {
    .attackBtn {
        display: flex;
    }

    .movingBtn {
        display: flex;
    }

    .startScreen button {
        display: flex;
        text-align: center;
        align-items: center;
        justify-content: center;
    }

    .fullscreen {
        width: 100%;
    }

    canvas {
        width: 100%;
    }
}

@media (max-width: 580px) {
    h2 {
        top: 66px;
    }
}

@media (max-width: 480px) {
    h2 {
        top: 15px;
    }
}

@media (max-height: 480px) {
    .fullscreen {
        width: 100%;
    }

    canvas {
        height: 100vh;
    }
}