:root{
    --button--size : 60px;


    /* annimation */
    --animation-duration: 300ms;
    --enemy--animation-duration: 80ms;
}
body {
    display: flex;
    align-items: center;
    height: 100vh;
    width: 100vw;
    margin: 0 0;
    background-color: #EAEAEA;
}
ul{
    list-style: none;
    padding: 10px;
}

li{
    list-style: none;
    margin-top: 10px;
    background-color: white;
    border-radius: 5px;
}

section {
    display: flex;
    align-items: center;

}
h2{
    padding: 20px;
    align-items: center;
    margin: 0 auto;
}
h3{
    padding: 0 20px;
    /*border: 1px dashed red;*/
}


@-webkit-keyframes testAnimation {
    from {
        transform : translateY(0);
    }
    to {
        transform: translateY(-10%);
    }
}

@keyframes enemy {
    from {
        transform: rotate(2deg);
    }
    to {
        transform: rotate(-2deg);
    }
}

@keyframes die {
    from {
        transform: scale(0.9);
    }
    to {
        transform: rotate(180deg);
    }
}

@keyframes hit {
    from {
        transform: rotate(15deg);
    }
    to {
        transform: rotate(-15deg);
    }
}
#App{
    height: 100%;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: darkslategrey;
    border-radius: 10px;
}

.container{
    width: 700px;
    height: 650px;
    margin: 0 auto;
}

.main_frame{
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100%;
    /*border: 2px solid black;*/
    border-radius: 20px;
    background: linear-gradient(145deg, #ECECEC, #F2F2F2);
    margin: 10px auto;

}

#lv-txt {
    display: inline-block;
}

#hamburger{
    text-align: center;
    width: 160px;
    margin: 20px auto;
}

#btn_hamburger{
    cursor: pointer;
    height: 120px;
    border: none;
}

.img_hamburger:active {
    content:url("img/vanilla/btn_push.png");
}

#lv-btn {
    width: 90px;
    height: 40px;
    border-radius: 10px;
    background: linear-gradient(145deg, #E5E5E5, #FFFFFF);
    box-shadow: 8px 8px 16px #CCCCCC,
                -8px -8px 16px #FFFFFF;
    border : none;
}

#lv-btn:hover {
    cursor: pointer;
}

#lv-btn:active {
    background: #E5E5E5;
    box-shadow: inset 8px 8px 16px #CCCCCC,
                inset -8px -8px 16px #FFFFFF;
}

#coin {
    width: 160px;
    margin: 0 auto;
}


.btn_img{
    width: var(--button--size);
    height: var(--button--size);
    background-color: transparent;
    cursor: pointer;
}

.btn {
    background-color: transparent;
    border: none;
    animation-duration: 0.5s;
    animation-name: testAnimation;
    animation-timing-function: linear;
    animation-iteration-count: infinite;
    animation-direction: alternate;
}


.hamburger_exit{
    border-radius: 10px;
    font-size: 20px;
    padding: 0;
    width: 50px;
    height: 50px;
}
.exit{
    display: flex;
    align-items: end;
    height: 100%;
    margin: 5px auto;
}


.logo{
    width: 60px;
    height: 60px;
    margin: 10px;
    cursor: pointer;
    transition: transform var(--animation-duration) ease;
}



/*  shopping */

.sectionBtn:hover,
.btn:hover,
.logo:hover {
    transform: scale(1.1);
}

.container_buttons {
    margin: 0 auto;
    display: flex;
    align-items: center;
}
.blue{
    background-color: deepskyblue !important;
    border-radius: 50px;
}
.pink{
    background-color: hotpink !important;
    border-radius: 50px;
}
.yellow{
    background-color: greenyellow !important;
    border-radius: 50px;
}

.items{
    width: 100%;
    height: 300px;
    margin: 0 auto;
    overflow-y: auto;

    /*list-style none해주니까 스타일무시하고 list가 쭉 나오던 현상이 고쳐짐*/
    list-style: none;
}
.item__thumbnail{
    width: 40px;
    height: 40px;
}
.imgBtn{
    width: 60px;
    height: 60px;
}

.sectionBtn{
    /*뒷배경을 부모와 같은색으로 변경*/
    border: none;
    outline: none;
    cursor: pointer;
    width: 100px;
    height: 100px;
    background-color: transparent;
    /*애니메이션 효과*/
    transition: transform var(--animation-duration) ease;
}

.margin{
    margin: 0 auto;
}
.margin-1{
    margin: 10px;
}
.shopping_items{
    width: 80%;
}

.exitBtn{
    border-radius: 10px;
    font-size: 20px;
    padding: 0;
    width: 100px;
    height: 50px;
    margin: 10px;
}

/**/
/**/
/* 슈팅 게임*/
.shootingImage{
    width: 700px;
    height: 550px;
    background-image: url('img/shooting/shooting_bg.png');
    margin: 0 auto;
    background-size: 100%,100%;
    background-repeat: no-repeat;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: end;
    position: relative;
}
.scoreDiv{
    z-index: 100;
    width: 35%;
    cursor: default;
    display: flex;
    margin: -10px auto;
    flex-direction: column;
    align-items: center;
}
.scoreUl{
    width: 100%;
}
.scoreLi{
    display: flex;
    justify-content : center;
}
.scoreLi{
    opacity: 40%;
}
.scoreLi .shooting_rank{
    display: flex;
    width: 25%;
    justify-content : center;
}
.scoreLi .shooting_name{
    display: flex;
    width: 40%;
    justify-content : center;
}
.scoreLi .shooting_score{
    display: flex;
    width: 35%;
    justify-content : center;
}

.startBtn:hover{
    transform: scale(1.3);
}
.startBtn{
    z-index: 999;
    border: 0;
    background-color: transparent;
    cursor: pointer;
    margin-bottom: 10px;
    transition: transform var(--animation-duration) ease;
}
.bold{
    font-weight: bold;
}
.startImg{
    justify-content: end;
    width: 200px;
}
.enemyImg:hover{
    transform: scale(1.1);
}
.enemyImg:active{
    animation: die 0.1s ease;
    /*transform: scale(0.9) rotate(270deg) ;*/
}
.enemyImg {
    -webkit-user-drag: none;
    cursor: pointer;
    animation: enemy 0.1s infinite;
    /*transition: transform var(--enemy--animation-duration) ease;*/
}

.bossImg:hover{
    transform: scale(1.1);
}
.bossImg:active{
    /*transform: rotate(360deg);*/
    animation: hit 0.1s infinite;
    /*transform: translateX(15px);*/
}
.bossImg {
    -webkit-user-drag: none;
    cursor: pointer;
    animation: vibration 0.05s infinite;

}


.shootingTop{
    display: flex;
    justify-content: space-between;
}

.score{
    margin: 20px;
    font-size: 20px;
}

.stage{
    margin: 20px;
    font-size: 20px;
}