
@font-face {
    font-family: "美咲ゴシック";
    src: url("../font/misaki_gothic.ttf") format("truetype");
  }
  
.attack-boss {
    animation-name:attack-boss;
    animation-duration:0.5s;
    animation-fill-mode: backwards;
}

@keyframes attack-boss {
    0% ,100%{
        transform: translateX(0);
    }
    50%{
        transform: translateX(1rem);
    }
}

.attack-knight {
    animation-name:attack-knight;
    animation-duration:0.5s;
    animation-fill-mode: backwards;
}

@keyframes attack-knight {
    0% ,100%{
        transform: translateX(0);
    }
    50%{
        transform: translateX(-1rem);
    }
}

body {
    font-family: "美咲ゴシック","Ryumin Bold KL", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
    height: 100%;
    margin: 0;
    width: 100%;
  }

button {
    height: 30%;
    width: 20%;
}

.contents {
    align-items: center;
    display: flex;
    height: 100%;
    justify-content: center;
    width: 33%;
}

.content {
    height: 100%;
    text-align: center;
    margin: auto;
    width: 100%;
}

.content p {
    font-size: 24px;
    height: 15%;
    margin: 5% auto;
    vertical-align: middle;
}

.damege-flash {
    animation-name:flash;
    animation-duration:0.5s;
    animation-fill-mode: backwards;
}

@keyframes flash{
    0%,100% {
        opacity: 1;
    }
    50% {
        opacity: 0;
    }
}

.devil {
    display: none;
    min-height: 100%;
}

.game {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    height: 100%;
    width: 100%;
}

.game-command {
    align-items: center;
    display: flex;
    height: 15%;
    justify-content: space-around;
    width: 50%;
}

.game-title {
    height: 10%;
    width: 100%;
}

.game-window {
    display: flex;
    height: 40%;
    justify-content: space-around;
    padding: 2.5%;
    width: 80%;
}

.god {
    display: none;
    height: 100%;
}

h1{
    text-align: center;
}

h3{
    font-size: 21px;
    height: 10%;
    margin: 10% auto;
    vertical-align: middle;
}

html {
    height: 100%;
}

img {
    width: 65%;
}

.message-window {
    border: 1px dashed black;
    height: 25%;
    margin: 0;
    padding: 2%;
    width: 80%;
}

.message-box {
    font-weight: bold;
    text-align: left;
    width: 100%;
}

p { 
    font-size: 24px;
    width: 100%;
}

.status {
    display: none;
}

.sword {
    display: none;
    height: 100%;
}

.wrapper {
    height: 100%;
    max-width: 767px;
    margin: auto;
}

@media screen and (max-width: 767px) {
    .content p {
        font-size: 21px;
    }
    
    .game-command {
        width: 80%;
    }
}

