/**
    首页css样式
*/

body {
    background-color: #FAF6F1;
}

/* 固定试图宽度 */
.content-view {
    width: 80%;
    margin: 0 auto;
}

/* 输入框样式 */
.input-view {
    position: relative;
    border: 1px solid #201E21;
    font-size: 16px;
    width: 60%;
    border-radius: 20px;
    margin: 15px auto;
    display: flex;
    align-items: center;
    background-color: #FFF;
}

/* 搜索图标样式 */
.input-view .search-icon {
    width: 20px;
    height: 20px;
    margin: 0 15px;
    background: url('../img/search.png') no-repeat center center;
    background-size: cover;
    pointer-events: none;
}

/* 聚焦样式 */
.input-view:focus {
    outline: none;
    border-color: #00aaff;
    box-shadow: 0 0 5px rgba(0, 170, 255, 0.5);
}

/* 输入框样式 */
.input {
    padding: 10px 20px;
    border: 1px solid #ccc;
    font-size: 16px;
    flex: 1;
    border: none;
    border-radius: 20px 0 0 20px;
}

.input::placeholder {
    font-family: 'Resource Han Rounded CN';
    font-style: normal;
    font-weight: 400;
    font-size: 14px;
    line-height: 14px;
    /* identical to box height, or 88% */

    letter-spacing: 0.04em;

    color: #B7B7B7;
}

.input:focus {
    border: none;
    outline: none;
}

.footer-view {
    display: flex;
    justify-content: center;
}

.title-text {
    font-family: 'Resource Han Rounded CN';
    font-style: normal;
    font-weight: 400;
    font-size: 14px;
    line-height: 24px;
    color: #201E21;
}

.cate-view {
    display: flex;
    width: 74%;
    height: 700px;
    margin: 15px auto;
}

.cate-title {
    font-family: 'Resource Han Rounded CN';
    font-style: normal;
    font-weight: 600;
    line-height: 24px;
    color: #201E21;
    padding: 6px 20px;
    background: #FAD4AC;
    border-radius: 4px 4px 0px 0px;
}

.cateLevel-title {
    font-family: 'Resource Han Rounded CN';
    font-style: normal;
    font-weight: 600;
    line-height: 24px;
    color: #201E21;
    padding: 6px 20px;
    background: rgba(250, 212, 172, 0.5);
    border-radius: 4px 4px 0px 0px;
}

.item-cate-view {
    cursor: pointer;
}

.item-cate-introduce{
    display: flex;
    align-items: center;
    padding: 12px 20px;
    position: relative;
}

.item-cate-title {
    font-family: 'Resource Han Rounded CN';
    font-style: normal;
    font-weight: 400;
    font-size: 14px;
    line-height: 24px;
    margin-left: 12px;
    color: #201E21;
}

.left-view {
    width: 240px;
    height: 100%;
    margin-right: 15px;
    border-radius: 5px;
    box-shadow: 0 0 5px rgba(238, 180, 20, 0.589);
    background-color: #FFF;
}

.right-view {
    flex: 1;
    height: 100%;
    border-radius: 5px;
    box-shadow: 0 0 5px rgba(238, 180, 20, 0.3);
    background-color: #FFF;
}

.underline{
    width: 95%;
    margin: 0 auto;
    height: 1px;
    border-bottom: 1px solid #b7b7b750;
    border-top: none;
    border-left: none;
    border-right: none;
}