*,
*::after,
*::before {
    box-sizing: border-box
}

img {
    object-fit: cover;
    vertical-align: middle
}

img:not(.none) {
    max-width: 100%;
    max-height: 100%
}

.section5 {

    overflow: unset;
}

.section5 .wrap {
    height: 110vh;
}

.section5 .wrap .box {
    height: 105vh;
    position: sticky;
    top: 0;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.section5 .wrap .box .top {
    width: 100rem;
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
}

.section5 .wrap .box .top .title h3 {
    text-align: center;
}

.section5 .wrap .box .top .content {
    text-align: center;
    width: 38.125rem;
    margin: 0 auto;
    margin-top: 1.6875rem;
    color: #666;
    font-size: 1rem;
    line-height: 1.875rem;
}

.section5 .wrap .box .title h3 {
    background: linear-gradient(90deg, #1C49BC 0%, #2D68FB 100%);
    -webkit-text-fill-color: transparent;
    -webkit-background-clip: text;
    font-size: 3.75rem;
}

.section5 .wrap .box .position {
    opacity: 0;
    pointer-events: none;
    transition: all 1s;
}

.section5 .wrap .box .position.on {
    opacity: 1;
    pointer-events: all;
}

.section5 .wrap .box .position .point.on .joke .add {
    background-color: #0662DA;
}

.section5 .wrap .box .position .point.on .joke .add span {
    color: #fff;
}

.section5 .wrap .box .position .joke {
    /* padding: .875rem 5.875rem 1.625rem 2rem;
    border-radius: 1.5rem .8125rem .8125rem .8125rem;
    border: .0625rem solid #FFFFFF;
    background-color: rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(.3125rem); */
    width: fit-content;
    position: absolute;
    cursor: pointer;
    transform: translateX(-100%);
}

.section5 .wrap .box .position .joke:hover .add {
    background-color: #0662DA;
}

.section5 .wrap .box .position .joke:hover .add span {
    color: #fff;
}

.section5 .wrap .box .position .joke .title {
    margin-bottom: .3125rem;
}

.section5 .wrap .box .position .joke .title h4 {
    color: #111;
    font-size: 1.375rem;
    white-space: nowrap;
}

.section5 .wrap .box .position .joke .text {
    width: max-content;
    max-width: 15rem;
    min-width: 7.5rem;
    font-size: .875rem;
}

.section5 .wrap .box .position .joke .add {
    width: 2.625rem;
    height: 2.625rem;
    background-color: #fff;
    border-radius: 50%;
    position: absolute;
    right: 1.125rem;
    top: .75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.6s;
}

.section5 .wrap .box .position .joke .add span {
    transition: all 0.6s;
    color: #223B73;
}

.section5 .wrap .box .position_fixed {
    width: 32.5rem;
    position: absolute;
    top: 0;
    right: calc(50vw - 50rem);
    height: 70vh;
    background: rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(.3125rem);
    padding: 2.5rem 2.5rem 0;
    top: 55%;
    opacity: 0;
    transform: translateY(-45%);
    transition: cubic-bezier(0.77, 0, 0.175, 1) 1.5s;
    border: .0625rem solid #fff;
    border-radius: .625rem;
    display: flex;
    flex-direction: column;
}

.section5 .wrap .box .position_fixed .tit h4 {
    color: #111;
    font-size: 1.75rem;
    margin-bottom: 3.125rem;
}

.section5 .wrap .box .position_fixed .content {
    overflow: hidden;
    flex: 1;
    position: relative;
}

.section5 .wrap .box .position_fixed .content .swiper {
    height: 53.125rem;
}

.section5 .wrap .box .position_fixed .content .item {
    background-color: #fff;
    padding: 1.25rem;
    height: 100%;
    display: block;
    border-radius: .625rem;
}

.section5 .wrap .box .position_fixed .content .item .img {
    margin-bottom: 1.25rem;
}

.section5 .wrap .box .position_fixed .content .item .text h5 {
    color: #111;
    font-size: 1.25rem;
    margin-bottom: 1.25rem;
}

.section5 .wrap .box .position_fixed .content .item .text p {
    color: #666;
    font-size: 1rem;
    line-height: 1.875rem;
}

.section5 .wrap .box .position_fixed .tab {
    height: calc(100% - 7.5rem);
    bottom: 1.25rem;
    left: 50%;
    transform: translateX(-50%);
    position: absolute;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    z-index: 3;
    pointer-events: none;
}

.section5 .wrap .box .position_fixed .tab .prev,
.section5 .wrap .box .position_fixed .tab .next {
    width: 3.125rem;
    height: 1.25rem;
    display: flex;
    position: relative;
    align-items: center;
    justify-content: center;
    border-radius: .3125rem;
    cursor: pointer;
    overflow: hidden;
    pointer-events: all;
    background-color: #0662DA;
}

.section5 .wrap .box .position_fixed .tab .prev:hover::after,
.section5 .wrap .box .position_fixed .tab .next:hover::after {
    opacity: 0;
}

.section5 .wrap .box .position_fixed .tab .prev::after,
.section5 .wrap .box .position_fixed .tab .next::after {
    background: linear-gradient(180deg, #8AB9F8 0%, #0E67DC 100%);
    content: "";
    width: 100%;
    height: 100%;
    position: absolute;
    left: 0;
    top: 0;
    transition: all 0.6s;
}

.section5 .wrap .box .position_fixed .tab .prev span,
.section5 .wrap .box .position_fixed .tab .next span {
    color: #fff;
    font-size: .75rem;
    position: relative;
    z-index: 2;
}

.section5 .wrap .box .position_fixed .tab .next span {
    transform: scaleY(-1);
}

.section5 .wrap .box .position_fixed .close {
    width: 2.625rem;
    height: 2.625rem;
    background-color: #fff;
    border-radius: 50%;
    position: absolute;
    right: 1.125rem;
    top: .75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.6s;
    cursor: pointer;
    border: 0;
    padding: 0;
}

.section5 .wrap .box .position_fixed .close:hover {
    background-color: #0662DA;
}

.section5 .wrap .box .position_fixed .close:hover span {
    color: #fff;
}

.section5 .wrap .box .position_fixed .close span {
    transition: all 0.6s;
    color: #223B73;
    display: block;
    transform: rotate(45deg);
}

.section5 .wrap .box .position_fixed::after {
    width: 100%;
    height: 9.375rem;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.95) 100%);
    content: "";
    left: 0;
    bottom: -0.125rem;
    position: absolute;
    z-index: 2;
}

.section5 .wrap .box .position_fixed.on {
    opacity: 1;
    transform: translateY(-50%);
    transition-delay: 1.4s;
}

.section5 .wrap .box .position_fixed.PE {
    display: none;
}


#earth {
    width: 40vw;
    height: 40vw;
    flex-shrink: 0;
    aspect-ratio: 1 / 1;
    position: relative;
    transform: translateY(0vh);
    pointer-events: none;
    transform-origin: top;
    transition: cubic-bezier(0.77, 0, 0.175, 1) 1.5s;
}

#earth .zhao {
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0;
    pointer-events: none;
}

#earth canvas {
    display: block;
    width: 100% !important;
    height: 100% !important;
}

#earth.on {
    width: 40vw;
    height: 40vw;
    transform: translateY(0);
    pointer-events: auto;
}

#earth.on canvas {
    width: 100% !important;
    height: 100% !important;
    aspect-ratio: 1/1 !important;
}

#earth.on2 {
    width: 50vw;
    height: 50vw;
    transform: translate(-10vw, 5vh);
}

#earth .position {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    pointer-events: none;
    transition: 0.6s ease;
}

#earth .position.on .point.point_on {
    pointer-events: auto;
    z-index: 10;
}

#earth .position .point {
    width: .625rem;
    height: .625rem;
    position: absolute;
    cursor: pointer;
}

#earth .position .point .joke .add {
    width: .6875rem;
    height: .6875rem;
    aspect-ratio: 1/1;
    border-radius: 50%;
    background-color: #007CC3;
    animation: breathe 2.4s infinite ease-in-out;
}

#earth .position .point.location-zhejiang .location-card {
    position: absolute;
    left: 1.25rem;
    top: 50%;
    display: flex;
    align-items: center;
    gap: .5rem;
    padding: .375rem .75rem;
    color: #fff;
    font-size: .875rem;
    line-height: 1.2;
    white-space: nowrap;
    /* border: .0625rem solid rgba(255, 255, 255, .45);
    border-radius: .375rem;
    background: rgba(0, 0, 0, .45); */
    backdrop-filter: blur(.25rem);
    transform: translateY(-50%);
    pointer-events: none;
}

#earth .position .point.location-zhejiang .location-card img {
    display: block;
    width: 1.5rem;
    height: 1.5rem;
    object-fit: contain;
}

#earth .position .point.location-zhejiang .location-card span {
    border-radius: .125rem;
    background: #FFF;
    box-shadow: 0 0 .625rem 0 rgba(0, 0, 0, 0.05);

    color: #959595;
    font-family: "Noto Sans SC";
    font-size: .75rem;
    font-weight: 400;
    display: inline-block;
    padding: .5625rem .5rem .625rem;
}

@keyframes breathe {

    0%,
    100% {
        transform: scale(0.9);
        box-shadow: 0 0 .25rem rgba(0, 124, 195, 0.8);
        opacity: 0.8;
    }

    50% {
        transform: scale(1.5);
        /* 产生向外晕染的光芒感 */
        box-shadow: 0 0 .75rem rgba(0, 124, 195, 0.8);
        opacity: 1;
    }
}

@media (max-width: 1024px) {
    .section5 .wrap .box .position_fixed.PC {
        display: none;
    }

    .section5 .wrap .box .position_fixed.PE {
        display: block;
        width: calc(100% - 2rem);
        height: auto;
        max-height: 70vh;
        right: 1rem;
        top: auto;
        bottom: 1rem;
        padding: 1.5rem;
        transform: translateY(calc(100% + 2rem));
        opacity: 0;
        pointer-events: none;
    }

    .section5 .wrap .box .position_fixed.PE.active {
        transform: translateY(0);
        opacity: 1;
        pointer-events: auto;
    }

    .section5 .wrap .box .position_fixed.PE::after {
        display: none;
    }

    .section5 .position_fixed.PE .headline {
        position: relative;
        padding-right: 6rem;
        margin-bottom: 1rem;
    }

    .section5 .position_fixed.PE .headline h4,
    .section5 .position_fixed.PE .matter h5 {
        color: #111;
        font-size: 1.25rem;
    }

    .section5 .position_fixed.PE .matter p {
        margin-top: .75rem;
        color: #666;
        font-size: .875rem;
        line-height: 1.6;
    }

    .section5 .position_fixed.PE .headline .next {
        position: absolute;
        top: 0;
        right: 3.25rem;
        width: 2.625rem;
        height: 2.625rem;
        border: 0;
        border-radius: 50%;
        color: #fff;
        background: #0662DA;
    }
}


:focus-visible {
    outline: unset;
}