#prizeList {
    display: flex; /* establish flex container */
    flex-direction: column; /* make main axis vertical */
    justify-content: center; /* center items vertically, in this case */
    align-items: center; /* center items horizontally, in this case */
    height: 300px;
}

#A {
    display: flex;
    flex-wrap: wrap;
}

    #A div {
        /* 	border: 1px solid red; */
        text-align: center;
        padding: 5px 0px;
        color: red;
        font-weight: 800;
        /* 字体粗细 */
        /* 	background-color: white; */
        margin: 1px;
    }

        #A div.s {
            /* class="s" */
            background-color: gold;
            border: 1px solid black;
            box-shadow: 0px 0 3px 5px gold;
        }

.no {
    background-color: gainsboro !important;
}

.giftBox {
    width: 100px;
    height: 250px;
    flex: 1 1 20%;
    background-image: url(/Content/assets/img/angpao-close.png);
    background-size: contain;
    background-repeat: no-repeat;
    cursor: pointer;
}

    .giftBox:hover, .move {
        animation: aa .2s infinite;
    }

.open_pick {
    user-select: none;
    width: 100px;
    height: 250px;
    flex: 1 1 20%;
    background-image: url(/Content/assets/img/angpao-open.png);
    background-size: contain;
    background-repeat: no-repeat;
    cursor: pointer;
}

.open {
    opacity: 0.4;
    user-select: none;
    width: 100px;
    height: 250px;
    flex: 1 1 20%;
    background-image: url(/Content/assets/img/angpao-open.png);
    background-size: contain;
    background-repeat: no-repeat;
    cursor: pointer;
}

.yao {
    animation: aa .2s infinite;
}

@keyframes animate {
    /* 文字炫光 */
    0%, 100% {
        text-shadow: -1.5px -1.5px 0 #0ff, 1.5px 1.5px 0 #f00;
    }

    25% {
        text-shadow: 1.5px 1.5px 0 #0ff, -1.5px -1.5px 0 #f00;
    }

    50% {
        text-shadow: 1.5px -1.5px 0 #0ff, 1.5px -1.5px 0 #f00;
    }

    75% {
        text-shadow: -1.5px 1.5px 0 #0ff, -1.5px 1.5px 0 #f00;
    }
}

@keyframes aa {
    0% {
        transform: rotate(-1deg);
    }

    20% {
        transform: rotate(1deg);
    }


    50% {
        transform: rotate(-4deg);
    }

    100% {
        transform: rotate(4deg);
    }
}

@keyframes shake {

    10%, 90% {
        transform: translate3d(-1px, 0, 0);
    }

    20%, 80% {
        transform: translate3d(2px, 0, 0);
    }

    30%, 50%, 70% {
        transform: translate3d(-4px, 0, 0);
    }

    40%, 60% {
        transform: translate3d(4px, 0, 0);
    }
}

#show {
    width: 400px;
    height: auto;
    position: absolute;
    top: 50%;
    left: 50%;
    margin-top: -150px;
    margin-left: -200px;
    padding: 30px;
    border-radius: 5px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-color: wheat;
    z-index: 4;
}

#show_bg {
    position: absolute;
    width: 500px;
    height: 500px;
    background: url(/Content/assets/img/bgLight.png) no-repeat center center;
    background-size: cover;
    z-index: -10;
    -webkit-animation: lightAnimation 5s infinite linear;
    -moz-animation: lightAnimation 5s infinite linear;
    -o-animation: lightAnimation 5s infinite linear;
    animation: lightAnimation 5s infinite linear;
}

@keyframes lightAnimation {
    0% {
        -webkit-transform: rotate(0deg);
    }

    50% {
        -webkit-transform: rotate(180deg);
    }

    100% {
        -webkit-transform: rotate(360deg);
    }
}

@-webkit-keyframes lightAnimation {
    0% {
        -webkit-transform: rotate(0deg);
    }

    50% {
        -webkit-transform: rotate(180deg);
    }

    100% {
        -webkit-transform: rotate(360deg);
    }
}

#show img.myImg {
    height: 200px;
    cursor: pointer;
}

#show span {
    margin-top: 10px;
    background-color: gold;
    padding: 3px 30px;
    cursor: pointer;
    animation: bb 1.2s linear infinite;
    border: 2px solid white;
    font-size: 20px;
    font-weight: 500;
}

#show h1 {
    color: gold;
    text-shadow: 2px 2px 5px white;
}

@keyframes bb {
    10% {
        border-top: 2px solid pink;
    }

    30% {
        border-right: 2px solid gold;
    }

    60% {
        border-bottom: 2px solid pink;
    }

    90% {
        border-left: 2px solid gold;
    }
}
