.main {
    flex: 1 1 auto;
    margin: 0 auto;
   
}

.main .title {
    margin: 20px 0 30px 0;
    font-size: 32px;
    font-weight: 100;
    text-align: center;
    color: #000;
}

.main .link-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin: 20px auto 20px auto;
    padding: 0;
    list-style: none;
}

.main .link-list .item {
    flex: 1 1 220px; /* 最小宽度为180px，允许自动缩放 */
    margin: 8px;
 
    background-color: #ffffffc9;
    box-shadow: inset 0 0 0 0.5px #e1e1e1;
    overflow: hidden;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: box-shadow 0.3s;
	border-radius: 4px;
}

.main .link-list .item:hover {
    box-shadow: inset 0 0 0 1.5px #e1e1e1;    
  
}

.main .link-list .item .link {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    width: 100%;
    position: relative;
}

.main .link-list .item .link .name {
    padding: 0 5px;
    font-size: 14px;
    line-height: 1.5;
    color: #333;
    width: 0;
    height: 0;
    opacity: 0;
    transition: opacity 0.3s, width 0.3s, height 0.3s;
}

.main .link-list .item .link .logo {
    height: 30px;
    width: 70%;
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
    transition: opacity 0.3s, width 0.3s, height 0.3s;
}

.main .link-list .item .link:hover .name {
    width: auto;
    height: auto;
    opacity: 1;
}

.main .link-list .item .link:hover .logo {
    width: 0;
    height: 0;
    opacity: 0;
}

@media (max-width: 1300px) {
    .main .link-list {
        justify-content: center; /* 居中排列 */
    }
}


@media (max-width: 446px) and (min-width: 280px) {
    .main .link-list .item {
        flex: 1 1 120px; /* 维持项目的最小宽度 */
    }
}

@media (max-width: 280px) {
    .main .link-list .item {
        flex: 1 1 100%; /* 每行显示一个项目 */
        max-width: 140px; /* 设置最大宽度 */
    }
}

/* 当屏幕宽度小于600px时，取消hover时的name显示效果 */
@media (max-width: 600px) {
    .main .link-list .item .link:hover .name {
        width: 0;
        height: 0;
        opacity: 0;
    }

    .main .link-list .item .link:hover .logo {
        width: 70%; /* 保持logo可见 */
        height: 30px;
        opacity: 1;
    }
.main .link-list .item {
    margin: 5px;
    height: 70px;
}
}
 
 .main-container {
            height: 100px;
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
        }
        .img-container {
            max-width: 120px;
            margin: 5px 0px 10px 0px;
        }
        .text-container {
            text-align: center;
            width: 100%;
        }		