body{
    overflow: hidden;
}
#canvas {
    image-rendering: pixelated;
}

.con {
    position: absolute;
    left: 50%;
    top: 50%;
    z-index: 2;
    transform: translateX(-50%) translateY(-50%);
    height: 80px;
    width: 740px;
    display: flex;
    justify-content: space-between;
}

.con .card_item {
    position: relative;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    /* overflow: hidden; */
    /* border: 1px solid #fff; */
    /* background-color: #fff; */
    cursor: pointer;
    opacity: 0.35;
    transform: scale(0.8);
}
/* .con .card_item::after {
    content: '';
    background-color: #fff;
    width: 140px;
    height: 80px;
    position: absolute;
    left: -40px;
    top: 0;
    opacity: 0.3;
} */
.con .card_item img{
    width: 100%;
    height: 100%;
}
@keyframes card_item {
    0% {
    opacity: 0.35;
    /* transform: scale(0.8) translateY(0px); */
    }

    100% {
    opacity: 0.85;
    /* transform: scale(1) translateY(-20px); */
    }
}
@keyframes card_item_leave {
    0% {
    opacity: 0.85;
    /* transform: scale(1) translateY(-20px); */
    }

    100% {
    opacity: 0.35;
    /* transform: scale(0.8) translateY(0px); */
    }
}
@keyframes card_item_o {
    0% {
    opacity: 0.35;
    /* transform: scale(0.8) translateY(0px); */
    }

    100% {
    opacity: 0.75;
    /* transform: scale(0.8) translateY(-5px); */
    }
}
@keyframes card_item_o_leave {
    0% {
    opacity: 0.75;
    /* transform: scale(0.8) translateY(-5px); */
    }

    100% {
    opacity: 0.35;
    /* transform: scale(0.8) translateY(0px); */
    }
}


.controls{
    position: absolute;
    bottom: 100px;
    right: 100px;
    transform: translateX(100px);
}
.controls div{
    cursor: pointer;
    position: absolute;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    /* background-color: rgba(255, 255, 255, 0.3); */
    opacity: 0.3;
    padding: 9px;
}
.controls div:hover{
    opacity: 0.8;
}
.controls .close{
    display: none;
}
.controls div img{
    width: 32px;
    height: 32px;
}

@keyframes controls_show {
    0% {
        opacity: 0;
        transform: translateX(100px);
    }

    100% {
        opacity: 0.85;
        transform: translateX(0px);
    }
}
@keyframes controls_hide {
    0% {
        opacity: 0.85;
        transform: translateX(0px);
    }

    100% {
        opacity: 0;
        transform: translateX(100px);
    }
}

.benan {
    position: absolute;
    left: 50%;
    bottom: 30px;
    perspective: 100px;
    transform: translateX(-50%);
}

.benan a {
    display: block;
    transform: rotateX(30deg);
    color: rgb(9, 57, 101);
    /*text-decoration: underline;*/
}


.benan a:hover {
    color: transparent;
    background-image: linear-gradient(to right, red, 10%, rgb(30, 102, 170));
    background-clip: text;
    -webkit-background-clip: text;
}

.stars-space {
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.star {
    display: block;
    width: 1px;
    background: transparent;
    position: relative;
    opacity: 0;
    /*过渡动画*/
    animation: star-ani 3s linear infinite;
    -webkit-animation: star-ani 3s linear infinite;
    -moz-animation: star-ani 3s linear infinite;
}

.star:after {
    content: '';
    display: block;
    border-style: solid;
    border-width: 0 90px 2px 90px;
    border-color: transparent transparent transparent rgba(101, 143, 250, .8);
    box-shadow: 0 0 1px 0 rgba(255, 255, 255, .1);
    /*变形*/
    transform: rotate(-45deg) translate3d(1px, 3px, 0);
    -webkit-transform: rotate(-45deg) translate3d(1px, 3px, 0);
    -moz-transform: rotate(-45deg) translate3d(1px, 3px, 0);
    transform-origin: 0 100%;
    -webkit-transform-origin: 0 100%;
    -moz-transform-origin: 0 100%;
}

.star-a {
    top: -30px;
    left: 20%;
}

@keyframes star-ani {
    0% {
        opacity: 0;
        transform: scale(0.5) translate3d(0, 0, 0);
        -webkit-transform: scale(0.5) translate3d(0, 0, 0);
        -moz-transform: scale(0.5) translate3d(0, 0, 0);
    }

    50% {
        opacity: 1;
        transform: translate3d(-200px, 200px, 0);
        -webkit-transform: translate3d(-200px, 200px, 0);
        -moz-transform: translate3d(-200px, 200px, 0);
    }

    100% {
        opacity: 0;
        transform: scale(1.2) translate3d(-300px, 300px, 0);
        -webkit-transform: scale(1.2) translate3d(-300px, 300px, 0);
        -moz-transform: scale(1.2) translate3d(-300px, 300px, 0);
    }
}

@-webkit-keyframes star-ani {
    0% {
        opacity: 0;
        transform: scale(0.5) translate3d(0, 0, 0);
        -webkit-transform: scale(0.5) translate3d(0, 0, 0);
        -moz-transform: scale(0.5) translate3d(0, 0, 0);
    }

    50% {
        opacity: 1;
        transform: translate3d(-200px, 200px, 0);
        -webkit-transform: translate3d(-200px, 200px, 0);
        -moz-transform: translate3d(-200px, 200px, 0);
    }

    100% {
        opacity: 0;
        transform: scale(1.2) translate3d(-300px, 300px, 0);
        -webkit-transform: scale(1.2) translate3d(-300px, 300px, 0);
        -moz-transform: scale(1.2) translate3d(-300px, 300px, 0);
    }
}

@-moz-keyframes star-ani {
    0% {
        opacity: 0;
        transform: scale(0.5) translate3d(0, 0, 0);
        -webkit-transform: scale(0.5) translate3d(0, 0, 0);
        -moz-transform: scale(0.5) translate3d(0, 0, 0);
    }

    50% {
        opacity: 1;
        transform: translate3d(-200px, 200px, 0);
        -webkit-transform: translate3d(-200px, 200px, 0);
        -moz-transform: translate3d(-200px, 200px, 0);
    }

    100% {
        opacity: 0;
        transform: scale(1.2) translate3d(-300px, 300px, 0);
        -webkit-transform: scale(1.2) translate3d(-300px, 300px, 0);
        -moz-transform: scale(1.2) translate3d(-300px, 300px, 0);
    }
}