.dog {
    position: absolute;
    bottom:5%;
    width: 175px;
    height: 157px;
    background: url(./image/01t.png);
    background-repeat: no-repeat;
    animation: walk 6.5s ;
    animation-timing-function: ease;
    animation-delay: 0.5s;
    animation-fill-mode: forwards;
    background-repeat: no-repeat;
    background-size: 100%;
    z-index: 0;
    user-select: none;
}
@keyframes walk {
    10% {
        background: url(./image/02t.png);
        background-repeat: no-repeat;
        background-size: 100%;
        transform: translateX(40px);
    }
    20% {
        background: url(./image/03t.png);
        background-repeat: no-repeat;
        background-size: 100%;
        transform: translateX(80px);
        
    }
    30% {
        background: url(./image/04t.png);
        background-repeat: no-repeat;
        background-size: 100%;
        transform: translateX(120px);
        
    }
    40% {
        background: url(./image/03t.png);
        background-repeat: no-repeat;
        background-size: 100%;
        transform: translateX(160px);
        
    }
    50% {
        background: url(./image/04t.png);
        background-repeat: no-repeat;
        background-size: 100%;
        transform: translateX(200px);
        
    }
    60% {
        background: url(./image/03t.png);
        background-repeat: no-repeat;
        background-size: 100%;
        transform: translateX(240px);
        
    }
    70% {
        background: url(./image/04t.png);
        background-repeat: no-repeat;
        background-size: 100%;
        transform: translateX(280px);
        
    }
    80% {
        background: url(./image/05t.png);
        background-repeat: no-repeat;
        background-size: 100%;
        transform: translateX(320px);
        
    }
    90% {
        background: url(./image/06t.png);
        background-repeat: no-repeat;
        background-size: 100%;
        transform: translateX(460px)translateY(-170px);
        
    }
    100% {
        background: transparent;
        background-repeat: no-repeat;
        background-size: 100%;
        transform: translateX(480px)translateY(-130px);
        
    }
}
:root{
    max-width: 100%;
    max-height: 100%;
}
body{
    background-color: black;
}
.board {
    position: relative;
    margin: auto;
    max-width: 85%;
    height:750px;
    background: url(./image/stage.png);
    background-repeat: no-repeat;
    background-size: cover;
    z-index: 1;
    user-select: none;
}
.green {
    color: rgb(30, 236, 30) !important;
}
.duck {
    cursor: crosshair;
    position: absolute;
    visibility: hidden;
    width: 112px;
    height: 112px;
    background: url(./image/duckt.png);
    transition-timing-function: unset;
    background-repeat: no-repeat;
    background-size: 100%;
    z-index: 2;
}
.fas {
    font-size: 2rem;
    margin: 0 0.5rem;
    transition: 1s;
    animation: live 2s ;
    animation-timing-function: ease;
    animation-fill-mode: forwards;
    background-repeat: no-repeat;
}
@keyframes live {
    
    10% { transform: scale(0.8);
        color: rgb(240, 77, 77);
    }
    50% { transform: scale(1.4);
        color: rgb(136, 20, 20);
    }
    100% { transform: scale(1)
    }

}
.score {
    transition: 0.5s;
    font-weight: bold;
    padding: 0.5rem;
    color: white;
    font-size: 50px;
    user-select: none;
}
.scoreBounce {
    animation: score 1s ;
    animation-timing-function: ease;
    animation-fill-mode: forwards;
    background-repeat: no-repeat;
}
@keyframes score {
    0%{
        border: 25px dashed rgb(250, 44, 44);
        border-radius: 100%;
        padding: 0.5rem;
    }
    100%{
        border: 0;
    }
    
}
.upScore {
    transition: 0.5s;
    transform: scale(2);
}
.highScore {
    color: rgb(255, 255, 255);
    font-size: 20px;
    padding-left: 1rem;
    font-weight: bold;
    opacity: 80%;
    user-select: none;
}
.lose {
    position: absolute; 
    top: 0px;
    width: 100%;
    height: 80%;
    background-color: transparent;
    z-index: 1;
    user-select: none;
}
.loseHeat {
    background-color: red;
    opacity: 45%;
}
.live {
    margin-left: 30px;
    color: red;
    font-size: 30px;
    user-select: none;
}
.tit {
    margin: auto;
    width: 600px;
    height: 600px;
    background-color: transparent;
    color: red;
    font-size: 120px;
    font-weight: bolder;
    user-select: none;
}
.go {
    position: absolute; 
    top: 20%;
    left: 40%;
    background-color: transparent;
    color: red;
    font-weight: bolder;
    user-select: none;
    z-index: 0;
    border: 15px solid red;
    border-radius: 100%;
    padding: 1rem;
   visibility: hidden;
   animation: intro 0.7s ;
   animation-delay: 6.5s;
    animation-timing-function: linear;
}
@keyframes intro {
    0%{
        font-size: 10px;
    }
    100%{
        font-size: 150px;
    }
    
}
.title {
    font-size: 70px;
    position: absolute;
    top: 20%;
    left: 12%;
    color: white;
    font-weight: bold;
    z-index: 0;
    text-shadow: 0 5px black;
}
@media screen and (max-width:1200px) {
    @keyframes intro {
        0%{
            font-size: 10px;
        }
        100%{
            font-size: 100px;
        }
    }
    .title {
        text-shadow: 0 2px black;
        font-size: 30px;
        top: 30%;
        left: 20%;}
    .go {
        font-size: 90px;
    }
    .fas {
        font-size: 1rem;
    margin: 0 0.3rem;
    }
    .tit {
        width: 400px;
        height: 200px;
        font-size: 80px;
    }
    .duck {
        width: 60px;
        height: 60px;
    }
    .score {
        font-size: 25px;
    }
    .highScore {
        font-size: 15px;
    }
    .live {
        font-size: 20px;
    }
    .dog {
        width: 70px;
        top: 70%;
    }
    html {
        margin-top: 5px;
        margin-bottom: 0;
        width: 100vh;
        max-height: 55vh;
       transform: rotate(90deg);
    }
     body {

        width: 100vh;
        max-height: 55vh;
     }
    .board{
        margin: 0;
        width: 100vh;
        max-height: 50vh;

    }
    @keyframes score {
        0%{
            border: 15px dashed rgb(250, 44, 44);
            border-radius: 100%;
            padding: 0.2rem;
        }
        100%{
            border: 0;
        }
        
    }
    @keyframes walk {
        10% {
            background: url(./image/02t.png);
            background-repeat: no-repeat;
            background-size: 100%;
            transform: translateX(10px);
        }
        20% {
            background: url(./image/03t.png);
            background-repeat: no-repeat;
            background-size: 100%;
            transform: translateX(30px);
            
        }
        30% {
            background: url(./image/04t.png);
            background-repeat: no-repeat;
            background-size: 100%;
            transform: translateX(50px);
            
        }
        40% {
            background: url(./image/03t.png);
            background-repeat: no-repeat;
            background-size: 100%;
            transform: translateX(60px);
            
        }
        50% {
            background: url(./image/04t.png);
            background-repeat: no-repeat;
            background-size: 100%;
            transform: translateX(80px);
            
        }
        60% {
            background: url(./image/03t.png);
            background-repeat: no-repeat;
            background-size: 100%;
            transform: translateX(100px);
            
        }
        70% {
            background: url(./image/04t.png);
            background-repeat: no-repeat;
            background-size: 100%;
            transform: translateX(120px);
            
        }
        80% {
            background: url(./image/05t.png);
            background-repeat: no-repeat;
            background-size: 100%;
            transform: translateX(140px);
            
        }
        90% {
            background: url(./image/06t.png);
            background-repeat: no-repeat;
            background-size: 100%;
            transform: translateX(140px)translateY(-50px);
            
        }
        100% {
            background: transparent;
            background-repeat: no-repeat;
            background-size: 100%;
            transform: translateX(140px)translateY(-30px);
            
        }
    }
}