.controller {
    margin-top: 20px;
}

.play-button,
.pause-button {
    padding: 10px 20px;
    font-size: 16px;
    cursor: pointer;
    border: none;
    background-color: #0064C2;
    color: white;
    border-radius: 5px;
    margin-right: 10px;
}

.pause-button {
    display: none;
}

.digital-human-container {
    position: fixed;
    right: 10px;
    bottom: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: all 0.5s ease;
    z-index: 1000;
    width: 190px;
    /* height: 275px; */
}

.index-digital-human {
    width: 190px;
    height: 300px;
    bottom: 60px;
    align-items: flex-end;
    justify-content: center;
    /*background: rgba(0, 0, 0, 0.2);*/
    transform-origin: center;
    transform: translateX(60px) rotate(-40deg) scale(.8);
    /*transition: 0s;*/

    &:hover {
        transform: translateX(0px) rotate(0deg) scale(1);

        a {display: flex; }

    }

    a {
        position: absolute;
        left: 50%;
        top: 50%;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        text-decoration: none;
        color: #0064C2;

        display: none;


        .iconfont {
            font-size: 1.5rem;
        }

        p {
            width: 40px;
            height: 40px;
            border-radius: 50%;
            background: #EDF5FC;
            display: flex;
            align-items: center;
            justify-content: center;
            box-shadow: 0 2px 4px rgba(0, 0, 0, 0.15);
            margin: 0 auto;
        }

        span {
            font-size: 14px;
            white-space: nowrap;
            margin-top: 2px;
            -webkit-text-stroke: 3px #fff;
            paint-order: stroke fill;
            font-weight:bold;
        }

        &:hover {
            p {color:#fff;  background: #0064C2; }
            span { color: #0064C2;}
        }

        &:nth-child(1) { transform: translate(calc(-50% + 50px), -140px);}
        &:nth-child(2) { transform: translate(calc(-50% - 20px), -120px); }
        &:nth-child(3) { transform: translate(calc(-50% - 60px), -60px);}
        &:nth-child(4) { transform: translate(calc(-50% - 60px), 10px);}
        &:nth-child(5) { transform: translate(calc(-50% - 20px), 65px);}
        &:nth-child(6) { transform: translate(calc(-50% + 50px), 80px);}

    }

    .digital-human-image {
        padding-right: .5rem;
        /* transform: translateX(143px) rotate(-40deg) scale(.8); */
        /* transform-origin: center; */
    }
}

.digital-human-text {
    background: #fff;
    padding: 8px 15px;
    border-radius: 20px;
    margin-bottom: 5px;
    display: none;
    text-align: center;
    line-height: 1;
    /* position: absolute; */
    top: 0;
    width: 100%;
    box-sizing: border-box;
}


.digital-human-image {
    width: 100px;
    height: 100px;
    cursor: pointer;
    transition: all 0.5s ease;
    /* position: absolute; */
    top: 50px;
}

.digital-human-close {
    margin-top: 10px;
    padding: 5px 15px;
    border: none;
     background: #fff;
    /*background: rgba(0, 0, 0, 0.2);*/
    border-radius: 15px;
    cursor: pointer;
    display: none;
    bottom: 0;

    &:hover {
        background: #0064C2;
        color: #fff;
    }
}

.digital-human-start {
    color: #0064C2;
}

.digital-human-pause {
    color: red;
}

.minimized {
    transform: translateX(10px) rotate(-40deg) scale(.8);
    transform-origin: center;
    /* 或者 transform-origin: 50% 50%; */
}
@media (max-width: 1199.98px) {
    .digital-human-container{display: none;}
}