.hardware {

    width: 100%;
    background-color: white;
    z-index: 999999;
    height: 650px;
}

.hardware .title1 {
    text-align: center;
    color: black;
    font-size: 30px;
    margin-bottom: 10px;
    /* margin-top: 48px; */
    padding-top: 48px;
}

.hardware .title1 p {
    font-size: 13px;
    color: rgb(151, 151, 151);
    margin-bottom: 24px;
}

.hardwareDisplay {
    width: 1300px;
    flex-wrap: wrap;
    display: flex;
    margin: 0 auto;
}

.hardwareDisplay .innerdiv {
    width: 25%;
    /* 每行四个，平分100% */
    box-sizing: border-box;
    /* 使padding和border不会影响宽度计算 */
    padding: 16px;
    height: 224px;
    position: relative;
    /* 为了定位浮动内容 */
    overflow: hidden;
}

.innerdiv img {
    width: auto;
    height: 100px;
    display: block;
    margin: 0 auto;
}

.innerTitle {
    font-size: 16px;
    color: black;
    text-align: center;
    margin-top: 16px;
}

.innertext {
    padding: 10px;
    margin: 10px;
    font-size: 13px;
    text-align: left;
    color: black;
}

.innerdiv .overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    color: white;
    display: none;
    justify-content: center;
    align-items: center;
    text-align: center;
    flex-direction: column; /* 使超链接和文字垂直排列 */
}

.innerdiv:hover .overlay {
    display: flex;
}

.innerdiv .overlay a {
    background-color: #2d8cf0;
    color: white;
    padding: 10px;
    text-decoration: none;
    border-radius: 5px;
    margin-bottom: 10px;
}