/* 小屏幕 */

@media screen and (max-width:840px) {
    .content-nav {
        background-color:skyblue;
    }





    

    /* 小屏幕中间内容区域 */
    .page-content {
        display: flex;
        height: calc(100vh - 70px);
    
    }



    .centered-div {
        position: absolute;
        left: 50%;
        top: 1vh;
        transform: translateX(-50%);
        background-color:skyblue;
        border: 1px solid #FF9D2E;
        width: 100vw;
        align-items: center;
        letter-spacing: 3px; 
        text-align: center;
        border-radius: 8px;

      }
      
    .navtitle {
        font-size: 60px;
        color: white;
    }

    .navcontent {
        font-size: 26px;
        color: white;
    }

    .page-content a {
        color: inherit; 
        text-decoration: none; 
      }









    .content-nav {
        
        width:100vw;
        height: 700px;
        flex-wrap: wrap;    
        margin: auto;
        /* display: flex; */
        display:flex;
        /* justify-content: space-evenly; */
        justify-content:space-around;
        /* align-items: center; */
        align-items:center;

        position: absolute;
        top: 20vh; /* 垂直距离顶部 100px */

    }




    .content-nav .item {
        width: 280px;
        

        height: 200px;
    
        display: flex;
        /* flex-direction: column; */
        flex-direction:column;



        align-items: center;
        /* justify-content: space-evenly; */
        justify-content:space-evenly;


        transition: 0.2s linear;
        cursor: pointer;
    }
    .content-nav .item:hover {
        box-shadow: 0px 0px 20px black ;
    }
    .content-nav .item span {
        font-size: 28px;
        color: white;
    }
    .content-nav .item:nth-child(1) {
        background-color: #595CA8;;
    }
    .content-nav a .item:nth-child(2) {
        all: unset;
        background-color: #FF9D2E;
    }
    .content-nav .item:nth-child(3) {
        background-color:  #01A6DE;
    }

    .content-nav .item:nth-child(4) {
        background-color:blue;
    }

    .content-nav .item:nth-child(5) {
        background-color: #1DC128;
    }

    .content-nav .item:nth-child(6) {
        background-color:brown;
    }


















    
}