/* 重置样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

a{
    text-decoration:none;
}
body {
    font-family: 'Microsoft YaHei', Arial, sans-serif;
    color: #333;
    line-height: 1.6;
    background-color: #f1f1f1;
}

/* 顶部栏样式 */
.top-bar {
    background-color: #f8f8f8;
    padding: 5px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 12px;
    color: #666;
}

/* LOGO区域样式 */
.logo-area {
    background-color: #fff;
    padding: 15px 0;
    text-align: center;
}

.logo {
    width: 200px;
    margin: 0 auto;
    color: #2366c2;
    font-size: 2.5rem;
    font-weight: bold;
}

/* 横幅广告样式 */
.banner {
    text-align: center;
    background-color: #fff;
    padding: 10px 0;
    border-bottom: 1px solid #eee;
}

.banner img {
    max-width: 680px;
    width: 100%;
    height: auto;
}

/* 导航样式 */
.nav {
    background-color: #2673de;
    color: white;
    position: relative;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
}

.nav-item {
/*    padding: 15px 25px;*/
    cursor: pointer;
    transition: background-color 0.3s;
}
.nav-item a{
    display: inline-block;
    padding: 15px 25px;
}
.nav-item.active, .nav-item:hover {
    background-color: #1b5fc0;
}

/* 移动导航按钮 */
.menu-toggle {
    display: none;
    background-color: transparent;
    border: none;
    color: white;
    font-size: 1.5rem;
    padding: 15px;
    cursor: pointer;
    position: absolute;
    right: 15px;
    top: 0;
}

/* 搜索区域样式 */
.search-area {
    background-color: #1b5fc0;
    color: white;
    text-align: center;
    padding: 50px 20px;
    background-image: linear-gradient(rgba(27, 95, 192, 0.9), rgba(27, 95, 192, 0.9));
    background-size: cover;
    background-position: center;
}

.search-title {
    font-size: 1.8rem;
    margin-bottom: 30px;
}

.search-box {
    max-width: 600px;
    margin: 0 auto;
    display: flex;
    position: relative;
}

.search-icon {
    position: absolute;
    left: 10px;
    top: 50%;
    transform: translateY(-50%);
    color: #999;
}

.search-input {
    flex: 1;
    padding: 12px 15px 12px 40px;
    border: none;
    border-radius: 2px 0 0 2px;
    font-size: 16px;
    outline: none;
}

.search-button {
    padding: 12px 20px;
    background-color: #4285f4;
    color: white;
    border: none;
    border-radius: 0 2px 2px 0;
    cursor: pointer;
    transition: background-color 0.3s;
}

.search-button:hover {
    background-color: #3367d6;
}

.search-tip {
    margin-top: 15px;
    font-size: 12px;
    color: #dddddd;
}

/* 主内容区域样式 */
.main-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    background-color: white;
}

.content-section {
    margin-bottom: 30px;
    border-bottom: 1px solid #eee;
    padding-bottom: 20px;
}

.section-title {
    font-size: 16px;
    padding: 10px 0;
    margin-bottom: 15px;
    color: #333;
    border-bottom: 1px solid #eee;
    position: relative;
}

.section-title:before {
    content: "";
    position: absolute;
    left: 0;
    bottom: -1px;
    width: 100px;
    height: 2px;
    background-color: #2673de;
}

/* 关于反义词区域 */
.about-content {
    display: flex;
    align-items: flex-start;
}

.about-text {
    flex: 1;
}

.about-image {
    width: 180px;
    margin-right: 20px;
}

.about-image img {
    width: 100%;
    border: 1px solid #eee;
}

/* 词汇列表样式 */
.word-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 15px;
}

.word-item {
    background-color: #f8f8f8;
    padding: 8px 15px;
    border-radius: 3px;
    color: #333;
    text-decoration: none;
    transition: all 0.2s;
}

.word-item:hover {
    background-color: #2673de;
    color: white;
}

/* 页脚样式 */
.footer {
    background-color: #333;
    color: #888;
    text-align: center;
    padding: 20px;
    font-size: 12px;
}

.footer p {
    margin-bottom: 5px;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }
    
    .nav-container {
        flex-direction: column;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
    }
    
    .nav-container.show {
        max-height: 300px;
    }
    
    .about-content {
        flex-direction: column;
    }
    
    .about-image {
        width: 120px;
        margin: 0 auto 15px;
    }
    
    .search-title {
        font-size: 1.4rem;
    }
}

@media (max-width: 480px) {
    .logo {
        font-size: 2rem;
    }
    
    .search-area {
        padding: 30px 15px;
    }
    
    .search-box {
        flex-direction: column;
    }
    
    .search-input {
        border-radius: 2px 2px 0 0;
        padding: 10px 15px 10px 40px;
    }
    
    .search-button {
        border-radius: 0 0 2px 2px;
        padding: 10px;
    }
    
    .word-item {
        padding: 6px 10px;
        font-size: 14px;
    }
}


.icp{
    color: #fff;
}
.color_fff{
    color: #FFF;
}
.text-center{
    text-align: center;
}