/* large 组件 */
.large {
    display: none;
    /* display: flex; */
    position: fixed;
    top: 0;
    left: 0;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100vw;
    height: 100vh;
    z-index: 9999;
    background-color: rgba(99, 99, 99, 0.7);
}

/* 右上角按钮 */
.large .top-right {
    position: absolute;
    top: 20px;
    right: 30px;
    z-index: 10000;
}

.large .top-right-box {
    float: left;
    width: 45px;
    height: 45px;
    border-radius: 5px;
    z-index: 100;
    margin-left: 10px;
    background-color: rgba(99, 99, 99, 0.8);
}

.large .top-right-box:hover {
    background-color: rgba(99, 99, 99, 1);
}

.large .top-right-icon {
    width: 45px;
    height: 45px;
}

.large .top-right-icon:hover {
    transform: scale(1.1);
}

.large .close-icon {
    background: url('../svg/close.svg') no-repeat center;
}

.large .full-icon {
    background: url('../svg/large.svg') no-repeat center;
}

.large .download-icon {
    background: url('../svg/download.svg') no-repeat center;
}


/* large loading部分 */
.large-loading {
    display: none;
}

/* large 图片部分 */
.large .lar {
    display: none;
    width: 100%;
    max-width: 750px;
    max-height: 95vh;
    box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
    transform: scale(1);
    animation: enlarge 0.5s;
}

@keyframes enlarge {
    from {
        opacity: 0;
        -ms-transform: scale(0.1, 0.1);
        -webkit-transform: scale(0.1, 0.1);
        transform: scale(0.1, 0.1);
    }

    to {
        opacity: 1;
        -webkit-transform: scale(1, 1);
        transform: scale(1, 1);
    }
}

/* loading样式 */
.loadEffect {
    width: 40px;
    height: 40px;
    margin: 100px auto;
    position: relative;
}

.loadEffect div {
    width: 100%;
    height: 100%;
    position: absolute;
    -webkit-animation: load 2.08s linear infinite;
}

.loadEffect div span {
    display: inline-block;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: lightgreen;
    position: absolute;
    left: 50%;
    transform: translate(-50%, -50%);
}

@-webkit-keyframes load {
    0% {
        -webkit-transform: rotate(0deg);
    }

    10% {
        -webkit-transform: rotate(45deg);
    }

    50% {
        opacity: 1;
        -webkit-transform: rotate(160deg);
    }

    62% {
        opacity: 0;
    }

    65% {
        opacity: 0;
        -webkit-transform: rotate(200deg);
    }

    90% {
        -webkit-transform: rotate(340deg);
    }

    100% {
        -webkit-transform: rotate(360deg);
    }

}

.loadEffect div:nth-child(1) {
    -webkit-animation-delay: 0.2s;
}

.loadEffect div:nth-child(2) {
    -webkit-animation-delay: 0.4s;
}

.loadEffect div:nth-child(3) {
    -webkit-animation-delay: 0.6s;
}

.loadEffect div:nth-child(4) {
    -webkit-animation-delay: 0.8s;
}