/* cards等高卡片栏 */

ul.cards {
    background-color: #ffe89c;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 10px;
    padding: 10px;
}

ul.cards li {
    flex-grow: 1;
    flex-shrink: 1;
    flex-basis: calc(100% / 4 - 20px);
    display: flex;
    flex-direction: column;
    background-color: #fef7da;
}

ul.cards li p {
    flex-grow: 1;
}

ul.cards li button {
    align-self: flex-end;
    padding: 10px 18px 8px;
    min-height: 44px;
    font-size: 0.9em;
    letter-spacing: 0.1em;
    font-weight: bold;
    color: #fff;
    border-radius: 3px;
    background: #ff9900b1;
    transition: all 0.275s;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    border: none 0;
    margin: 1rem;
}

ul.cards li button a {
    color: #fff;
    text-decoration: none;
}


.cards li button:hover {
    background: #ff7e00;
    text-shadow: 1px 1px 0 rgb(0 0 0 / 50%);
    cursor: pointer;
}


.cards li>*:not(figure, button) {
    padding: 0 1rem;
}

.cards li h3 {
    font-size: 1.5rem;
    line-height: 1.5;
    font-weight: bold;
}

.cards li p {
    font-size: 1.1rem;
}

.cards li img {
    object-fit: cover;
    object-position: center;
    transform-origin: center;
    transform: scale3d(1, 1, 1);
    transition: all 0.2s ease-in-out;
}


.cards li:hover img {
    transform: scale3d(1.02, 1.02, 1.1);
}

/* about us的main部分 */

main {
    background: none; /* 取消之前设置的背景图 */
    background-color: #ffe89c;
}

main section {
    background: url(../images/logo.png ) center no-repeat;
}

main div {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 5px;
    padding: 5px 10px 5px 0;
}

main div section {
    align-items: center;
    padding-left: 20px;
}

main div li {
    font-size: 140%;
}

main div img {
    width: 192px;
    height: 214px;
}


/* ###############
06.自适应样式 
##################*/

/* 炒鸡小屏手机 (phones, 600px and down) */

@media only screen and (max-width: 600px) {
    ul.cards {
        flex-direction: column;
    }

    main div {
        flex-direction: column;
    }
}


/* 横屏平板 (landscape tablets, 768px and down */

@media only screen and (max-width: 768px) {
    ul.cards li {
        flex-basis: calc(100% / 2 - 20px);
    }

}

/* 中小型笔记本电脑及台式机 (laptops/desktops, 992px and down) */

@media only screen and (max-width: 992px) {
    ul.cards li {
        flex-basis: calc(100% / 2 - 20px);
    }

}

/* 宽屏笔记本及台式机 (large laptops and desktops, 1200px and up) */

@media only screen and (min-width: 1200px) {}