@media only screen and (min-width: 481px) {
    /*新年图片样式*/
    .new-year {
        position: absolute;
        width: 100%;
        height: 100%;
        overflow: hidden;
        z-index: 22;
    }
    .juxing76 {
        position: absolute;
        width: 100%;
        height: 84px;
        overflow: hidden;
        z-index: 22;
    }
    .bianpao6 {
        position: absolute;
        width: 100%;
        height: 100%;
        overflow: hidden;
        z-index: 22;
    }
    .xyxc {
        position: absolute;
        bottom: 2%;
        right: 31%;
        width: 40%;
        overflow: hidden;
        z-index: 23;
        opacity: 0; /* 初始状态图片透明 */
        transform-origin: top left; /* 设置旋转原点为左上角 */
        transform: rotateX(-90deg); /* 初始状态图片沿 X 轴旋转 -90 度 */
        animation: flipIn 1s ease-in-out forwards; /* 应用动画，1 秒持续时间，缓动效果，结束后保持最终状态 */
        animation-delay: 3s; /* 设置动画延迟 3 秒 */
    }
    .juxing213 {
        position: absolute;
        bottom: 0;
        width: 100%;
        height: 84px;
        overflow: hidden;
        z-index: 22;
    }
    .fudi {
        position: absolute;
        width: 100%;
        overflow: hidden;
        z-index: 22;
    }
    .bjxy {
        position: absolute;
        bottom: 100%;
        width: 100%;
        overflow: hidden;
        z-index: 22;
    }

    /*新年灯笼左样式*/
    .new-year-denglong1 {
        position: absolute;
        top: -2.5%;
        /*left: -3%;*/
        z-index: 21;
        transform: scaleX(-1); /* 垂直翻转 */
        width: 15%;
        object-fit: fill;
        left: -15%; /* 初始位置在容器左侧外面 */
        animation: leftEnter 1s ease-in-out forwards; /* 应用从左边进入的动画 */
        animation-delay: 3s; /* 设置动画延迟 3 秒 */
    }

    /*新年灯笼右样式*/
    .new-year-denglong2 {
        position: absolute;
        top: -2.5%;
        /*right: -3%;*/
        z-index: 21;
        width: 15%;
        object-fit: fill;
        right: -15%; /* 初始位置在容器右侧外面 */
        animation: rightEnter 1s ease-in-out forwards; /* 应用从右边进入的动画 */
        animation-delay: 3s; /* 设置动画延迟 3 秒 */
    }

    /*烟花左样式*/
    .yanhua1 {
        position: absolute;
        top: 28%;
        left: 1%;
        z-index: 21;
        transform: scaleX(-1); /* 垂直翻转 */
        width: 5%;
        object-fit: fill;
    }

    /*烟花右样式*/
    .yanhua2 {
        position: absolute;
        top: 25%;
        right: 1%;
        z-index: 21;
        width: 5%;
        object-fit: fill;
    }

    .header {
        /*background: url(../images/syNy/矩形76.png) repeat;*/
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        z-index: 1005;
    }

    .wedgeDiv {
        position: relative;
        z-index: 22;
    }

    .fixcta a {
        display: block;
        /*height: 42px;*/
        /*background: #C31F20;*/
        margin-top: 2px;
    }

    .clearfixTwo{
        position: relative;
        display: flex;
        justify-content: center;
        gap: 60px;
        padding: 10px 0;
        /*background-color: #C31F20;*/
        color: #fff;
    }

    /* 鞭炮图片动画样式 */
    /* 左半部分图片样式 */
    .left-half {
        left: 0;
        transform-origin: left center; /* 设置旋转原点为左侧中心 */
        animation: left-door-animation 3s ease-in-out; /* 应用左门动画，5 秒循环 */
    }

    /* 右半部分图片样式 */
    .right-half {
        right: 0;
        transform-origin: right center; /* 设置旋转原点为右侧中心 */
        animation: right-door-animation 3s ease-in-out; /* 应用右门动画，5 秒循环 */
    }

    /* 左门动画关键帧 */
    @keyframes left-door-animation {
        0% {
            transform: rotateY(-90deg); /* 初始状态，门未旋转 */
        }
        30% {
            transform: rotateY(-90deg); /* 初始状态，门未旋转 */
        }
        100% {
            transform: rotateY(0deg); /* 旋转回 0 度，模拟开门 */
        }
    }

    /* 右门动画关键帧 */
    @keyframes right-door-animation {
        0% {
            transform: rotateY(90deg); /* 初始状态，门未旋转 */
        }
        30% {
            transform: rotateY(90deg); /* 初始状态，门未旋转 */
        }
        100% {
            transform: rotateY(0deg); /* 旋转回 0 度，模拟开门 */
        }
    }

    /* 喜迎新春图片动画样式 */
    @keyframes flipIn {
        0% {
            opacity: 0;
            transform: rotateX(-90deg);
        }
        100% {
            opacity: 1;
            transform: rotateX(0deg);
        }
    }

    /* 左右灯笼图片动画样式 */
    /* 定义从左边进入的动画关键帧 */
    @keyframes leftEnter {
        0% {
            left: -15%; /* 初始位置在容器左侧外面 */
        }
        100% {
            left: -3%; /* 最终位置在容器内合适位置，可根据需要调整 */
        }
    }

    /* 定义从右边进入的动画关键帧 */
    @keyframes rightEnter {
        0% {
            right: -15%; /* 初始位置在容器右侧外面 */
        }
        100% {
            right: -3%; /* 最终位置在容器内合适位置，可根据需要调整 */
        }
    }
}

@media only screen and (max-width: 481px) {
    /*新年图片样式*/
    .new-year {
        position: absolute;
        width: 100%;
        height: 100%;
        overflow: hidden;
        z-index: 22;
    }
    .juxing76 {
        position: absolute;
        width: 100%;
        height: 84px;
        overflow: hidden;
        z-index: 22;
    }
    .bianpao6 {
        position: absolute;
        width: 100%;
        height: 100%;
        overflow: hidden;
        z-index: 22;
    }
    .xyxc {
        position: absolute;
        bottom: 2%;
        right: 31%;
        width: 40%;
        overflow: hidden;
        z-index: 23;
    }
    .juxing213 {
        position: absolute;
        bottom: 0;
        width: 100%;
        height: 84px;
        overflow: hidden;
        z-index: 22;
    }
    .fudi {
        position: absolute;
        width: 100%;
        overflow: hidden;
        z-index: 22;
    }
    .bjxy {
        position: absolute;
        bottom: 100%;
        width: 100%;
        overflow: hidden;
        z-index: 22;
    }

    /*新年灯笼左样式*/
    .new-year-denglong1 {
        position: absolute;
        top: -1.4%;
        left: -3%;
        z-index: 21;
        transform: scaleX(-1); /* 垂直翻转 */
        width: 15%;
        object-fit: fill;
    }

    /*新年灯笼右样式*/
    .new-year-denglong2 {
        position: absolute;
        top: -1.4%;
        right: -3%;
        z-index: 21;
        width: 15%;
        object-fit: fill;
    }

    /*烟花左样式*/
    .yanhua1 {
        position: absolute;
        top: 28%;
        left: 1%;
        z-index: 21;
        transform: scaleX(-1); /* 垂直翻转 */
        width: 5%;
        object-fit: fill;
    }

    /*烟花右样式*/
    .yanhua2 {
        position: absolute;
        top: 25%;
        right: 1%;
        z-index: 21;
        width: 5%;
        object-fit: fill;
    }

    .header {
        background: url(../images/syNy/矩形76.png) repeat;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        z-index: 1005;
    }

    .wedgeDiv {
        position: relative;
        z-index: 22;
    }

    /*.clearfixTwo{*/
    /*    position: relative;*/
    /*    display: flex;*/
    /*    justify-content: center;*/
    /*    gap: 0;*/
    /*    padding: 10px 0;*/
    /*    background-color: #C31F20;*/
    /*    color: #fff;*/
    /*}*/

    /* 轮播视频容器样式 */
    #video-carousel {
        position: relative;
        width: 100%;
        height: 80%;
        overflow: hidden;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    /* 轮播视频样式 */
    #video-carousel > * {
        position: absolute;
        width: 100%;
        height: auto;
        display: none;
        object-fit: cover;
        object-position: center;
    }

    #video-carousel > *.active {
        display: block;
    }
}
@media screen and (max-width: 1153px) {

}
@media only screen and (max-width: 380px) {
    .lgImg {
        padding: 12px;
        /*margin-left: 20px;*/
    }
}
