body {
    background-color: #f4f4f4;
    margin: 0;
    padding: 0;
    font-family: Lucida Console, Consolas, SimHei, Menlo, Monaco, Liberation Mono, DejaVu Sans Mono, Bitstream Vera Sans Mono, Courier New, monospace, serif;
    align-items: center;
    justify-content: center;
    align-content: center;
    display: flex;
    flex-direction: column;
    background-color: #154360;
}

a {
    color: cyan;
}

a:hover {
    color: blue;
}

p {
    color: white;
}

.content-body p {
    line-height: 32px;
}

h1 {
    color: white
}

h2 {
    color: white
}

h3 {
    color: cyan;
}

.navbar {
    top: 0;
    left: 0;
    width: 100vw;
    display: flex;
    flex-direction: column;
    background-color: #154360;
    padding: 10px 20px;
    color: white;
    z-index: 1000;
    display: flex;
    justify-content: center;
    align-items: center;
}

.navbar button,
.navbar select {
    min-width: 120px;
    background-color: #154360;
    border: none;
    color: white;
    padding: 10px;
    margin: 0 5px;
    cursor: pointer;
    border-radius: 5px;
    transition: all 0.5s;
}

.navbar select {
    max-width: 200px;
}

.navbar button:hover,
.navbar select:hover {
    background-color: blue;
}

/* 设置 grid 布局展示按钮 */
.category-filters {
    width: 70%;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    /* justify-items: center; */
    gap: 10px;
}

.category-filters button {
    color: white;
    padding: 10px;
    border: none;
    cursor: pointer;
    border-radius: 5px;
    max-width: 120px;
    transition: background-color 0.3s;
}

.category-filters button.selected {
    background-color: #00BFFF; /* 选中时的背景颜色 */
}

.topbar {
    height: 80px;
}

.topbar h1 {
    margin-top: 42px;
}

.directions {
    top: 0px;
    position: sticky;
    height: 42px;
    background-color: #154360;
    display: flex;
    padding: 10px;
    gap: 20px;
    align-items: center;
    justify-items: center;
}

.filters {
    width: 100%;
    margin: 20px;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.art-list {
    /* display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    padding: 20px; */
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 10px;  /* 网格之间的间距 */
    padding: 10px;
    width: 80vw;
}

.art {
    background-color: transparent;
    border-radius: 5px;
    padding: 20px;
    width: 160px;
    /* box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1); */
    /* border: solid;
    border-width: 2px;
    border-color: white; */
    transition: all 0.5s;
}

.art:hover {
    border: solid;
    border-width: 1px;
    /* border-color: white; */
    background-color: blue;
}

.art h3 {
    font-size: 1em;
    margin-bottom: 10px;
}

.art p {
    font-size: 0.7em;
    margin-bottom: 10px;
}

.art img {
    width: 100%;
    height: auto;
    border-radius: 5px;
}

.art-detail {
    padding: 20px;
    background-color: #1a5276;
    margin: 20px;
    border-radius: 10px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    width: 60%;
    border: solid;
    border-width: 4px;
    border-color: white;
}

.art-image-container {
    position: relative;
    width: 100%;
    margin-bottom: 20px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    object-fit: contain;
}

.art-image-container img {
    width: 100%;
    max-height: 100vh;
    object-fit: contain;  /* 保证图片完整显示，保持宽高比 */
    margin-bottom: 20px;
}

.thumbnail-container {
    height: 128px;
    width: 100%;
}

.thumbnail-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

#gap-module {
    width: 100vw;
    height: 20vh;
}

#top-gap-module {
    width: 100vw;
    height: 180px;
}

@media (max-width: 800px) {
    .art-detail {
        width: 90%;
    }
    .art {
        width: 35vw;
        padding: 10px;
    }
    .art-list {
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(35vw, 1fr));
        gap: 10px;  /* 网格之间的间距 */
        padding: 10px;
        width: 90vw;
    }
}