@media (max-width: 1195px) {
    .text-container2 .contain042 {
        margin-bottom: 2vh;
        height: 30%;
        line-height: 3vh;
        font-size: 2vh;
        font-weight: bold;
        transition: color 0.3s ease, text-decoration 0.3s ease;
    }

    .toptop{
        display: none !important;
    }
    .Navigation{
        display: flex !important;
    }
    .head-bg{
        display: none !important;
    }
    .webpage{
        display: none !important;
    }
    .mobilephone{
        display: flex !important;
    }
    .webpage2{
        display: none !important;
    }
}
@media (min-width: 1195px) {
    .webpage{
        display: block !important;
    }
    .mobilephone{
        display: none !important;
    }
    .webpage2{
        display: flex !important;
    }
    .toptop{
        display: block !important;
    }
    .Navigation{
        display: none !important;
    }



}
.container77 {
    width: 100%;
    height: auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 1vh; /* 添加网格项之间的间距 */
    padding: 1vh; /* 添加容器边缘的内边距 */
}

.box {
    background-color: #f0f0f0;
    border-radius: 2%;
    padding: 1vh;
    text-align: center;
    font-size: 2vh;
    color: #333;
}
.Navigation{
    background-color: #127CF6;
    position: fixed;
    top: 0;
    z-index: 5;
    width: 100vw;
    display: flex;
    padding:2vh 3vw ;
    align-items: center;
    justify-content: space-between;
}
#navimg {
    transition: opacity 0.5s ease-in-out;
}

/* 隐藏时的样式（可以调整透明度或其他属性来创建动画效果） */
#navimg.fadeOut {
    opacity: 0;
}

/* 显示时的样式（可以调整透明度恢复到1） */
#navimg.fadeIn {
    opacity: 1;
}
#navigation2 {
    position: fixed;
    top: 28%;
    right: 1%;
    width: 14vw;
    height: 36vh;
    z-index: 6000;
    background-image: url(../img/侧边导航.png);
    background-size: 100% 100%;
    display: flex;
    justify-content: center;
    transition: transform 0.3s ease-in-out, opacity 0.3s ease-in-out; /* 添加过渡效果 */
    transform-origin: top; /* 默认状态下也设置变换原点为顶部 */
    transform: scaleY(1); /* 默认状态下不压缩 */
    opacity: 1; /* 默认状态下完全不透明 */
}

/* 定义隐藏时的状态 */
#navigation2.show {
    transform: scaleY(0); /* 压缩到顶部 */
    opacity: 0; /* 变得完全透明 */
}
#navimg {
    transition: opacity 0.5s ease-in-out;
}

/* 隐藏时的样式（可以调整透明度或其他属性来创建动画效果） */
#navimg.fadeOut {
    opacity: 0;
}

/* 显示时的样式（可以调整透明度恢复到1） */
#navimg.fadeIn {
    opacity: 1;
}
#navimg2 {
    transition: opacity 0.5s ease-in-out;
}

/* 隐藏时的样式（可以调整透明度或其他属性来创建动画效果） */
#navimg2.fadeOut {
    opacity: 0;
}

/* 显示时的样式（可以调整透明度恢复到1） */
#navimg2.fadeIn {
    opacity: 1;
}
#navigationControl2 {
    /* 现有的其他样式 */
    transition: right 0.5s ease; /* 添加平滑过渡 */
}
.menu-item2 {
    height: 8vh;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    cursor: pointer;
    border-bottom: 2px solid #525050;
    transition: background-color 0.3s, color 0.3s, transform 0.3s;
    /* 添加 transform 的过渡 */
    border-radius: 10px;
}
@keyframes scaleAnimation {
    0%, 100% {
      transform: scale(1); /* 原始大小 */
    }
    50% {
      transform: scale(1.2); /* 放大到1.1倍 */
    }
  }