/* 清除通配符样式 */
* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

/* 清除超链接a的默认样式 */
a {
    text-decoration: none;
}

/* 网页主体背景颜色 */
body {
    background-color: #f7f8fa;
    /* Helvetica设计师最爱,  Arial是前一个的克隆, 英文网站一律是Verdana*/
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', Helvetica, Arial, Verdana, Geneva, Tahoma, sans-serif, 'Times New Roman', Times, serif;
}

/* 清除ul的样式 */
ul {
    list-style: none;
}

/* 媒体查询 屏幕像素大于992px */
@media screen and (min-width: 992px) and (max-width: 1199px) {

    body {
        /* background-color: orangered; */
    }

    /* 顶部导航栏 */
    .header {
        position: fixed;
        top: 0px;
        left: 0px;
        width: 100%;
        height: 48px;
        line-height: 48px;
        text-align: center;
        background-color: #e7e8e9;
        color: #343a40;
    }
    .header .headbar {
        position: relative;
        width: 970px;
        margin: 0 auto;
    }
    .headbar h1 {
        font-size: 20px;
        font-weight: 400;
    }

    /* 确认按钮 */
    #btn {
        display: block;
        position: absolute;
        top: 0px;
        right: 0px;
        width: 96px;
        height: 48px;
        line-height: 48px;
        text-align: center;
        border: none;
        outline: none;
        background-color: #343a40;
        color: #e7e8e9;
        font-size: 18px;
        font-weight: 700;
    }
    
    /* 词汇显示区域 */
    .mainarea {
        width: 100%;
        margin: 50px auto;
        border-top: 1px dotted #000;
        border-left: 1px dotted #000;
    }
    .mainarea ul {
        width: 100%;
        height: 48px;
        display: flex;
        flex-direction: row;
        justify-content: flex-start;
        align-items: center;
    }
    .mainarea ul li {
        display: flex;
        flex-direction: row;
        justify-content: center;
        align-items: center;
        height: 100%;
    }
    .mainarea ul li:first-child {
        width: 120px;
        border-right: 1px dotted #000;
        border-bottom: 1px dotted #000;
    }
    .mainarea ul li:nth-child(2) {
        flex: 1;
        justify-content: flex-start;
        padding-left: 16px;
        border-right: 1px dotted #000;
        border-bottom: 1px dotted #000;
    }
    .mainarea ul li:nth-child(3) {
        flex: 1;
        border-right: 1px dotted #000;
        border-bottom: 1px dotted #000;
    }
    .mainarea ul li:last-child {
        flex: 1;
        justify-content: flex-start;
        padding-left: 16px;
        border-right: 1px dotted #000;
        border-bottom: 1px dotted #000;
    }
    
    .mainarea p {
        display: none;
    }
    
    /* 底部导航栏 */
    footer {
        position: fixed;
        left: 0px;
        bottom: 0px;
        overflow: hidden;

        width: 100%;
        background-color: #e7e8e9;
        color: #343a40;
        text-align: center;
    }

    footer p {
        margin: 6px auto;
        font-size: 12px;
    }

    footer a {
        color: #343a40;
    }
    
}

/* 媒体查询 屏幕像素大于1200px */
@media screen and (min-width: 1200px) {

    /* 顶部主题栏 */
    .header {
        position: fixed;
        top: 0px;
        left: 0px;
        width: 100%;
        background-color: #e7e8e9;
        color: #343a40;
        height: 48px;
        line-height: 48px;
        text-align: center;
    }
    .header .headbar {
        position: relative;
        width: 1190px;
        margin: 0 auto;
    }
    .headbar h1 {
        font-weight: 400;
        font-size: 20px;
    }
    
    /* 确认按钮 */
    #btn {
        display: block;
        position: absolute;
        top: 0px;
        left: 50%;
        transform: translateX(597px);
        width: 96px;
        height: 48px;
        line-height: 48px;
        text-align: center;
        border: none;
        outline: none;
        background-color: #343a40;
        color: #e7e8e9;
        font-size: 20px;
        font-weight: 700;
    }
    
    /* 词汇显示区域 */
    .mainarea {
        margin: 50px auto;
        width: 1190px;
        border-top: 1px dotted #000;
        border-left: 1px dotted #000;
    }
    .mainarea ul {
        width: 100%;
        height: 48px;
        display: flex;
        flex-direction: row;
        justify-content: flex-start;
        align-items: center;
    }
    .mainarea ul li {
        display: flex;
        flex-direction: row;
        justify-content: center;
        align-items: center;
        height: 100%;
    }
    .mainarea ul li:first-child {
        width: 120px;
        border-right: 1px dotted #000;
        border-bottom: 1px dotted #000;
    }
    .mainarea ul li:nth-child(2) {
        flex: 1;
        justify-content: flex-start;
        padding-left: 16px;
        border-right: 1px dotted #000;
        border-bottom: 1px dotted #000;
    }
    
    .mainarea ul li:nth-child(3) {
        flex: 1;
        border-right: 1px dotted #000;
        border-bottom: 1px dotted #000;
    }
    .mainarea ul li:last-child {
        flex: 1;
        justify-content: flex-start;
        padding-left: 16px;
        border-right: 1px dotted #000;
        border-bottom: 1px dotted #000;
    }
    .mainarea p {
        display: none;
    }
    
    /* 底部导航栏 */
    footer {
        position: fixed;
        left: 0;
        bottom: 0;
        overflow: hidden;
        width: 100%;
        background-color: #e7e8e9;
        color: #343a40;
        text-align: center;
    }

    footer p {
        margin: 6px auto;
        font-size: 12px;
    }

    footer a {
        color: #343a40;
    }

}

/* 打印模板 */
@media print {

    @page {
        margin: 0;
    }

    body {
        margin: 1cm;
        border-top: 1px dotted #000;
        border-left: 1px dotted #000;
    }
    
    body::before {
        content: "VIP专享定制";
        position: fixed;
        top: 34%;
        right: 10%;
        color: rgba(0, 0, 0, 0.08);
        /* 浅灰色，可根据需要调整 */
        font-size: 30px;
        /* 根据需要调整大小 */
        z-index: -1;
        /* 确保水印位于内容之下 */
    }
    
    body::after {
        content: "www.euhall.com";
        position: fixed;
        top: 46%;
        right: 6%;
        color: rgba(0, 0, 0, 0.08);
        /* 浅灰色，可根据需要调整 */
        font-size: 32px;
        /* 根据需要调整大小 */
        z-index: -1;
        /* 确保水印位于内容之下 */
    }
    ul {
        list-style: none;
        width: 100%;
        height: 48px;
        display: flex;
        flex-direction: row;
        justify-content: flex-start;
        align-items: center;
    }
    ul li {
        display: flex;
        flex-direction: row;
        justify-content: center;
        align-items: center;
        height: 100%;
    }
    ul li:first-child {
        width: 96px;
        border-right: 1px dotted #000;
        border-bottom: 1px dotted #000;
    }
    ul li:nth-child(2) {
        flex: 1;
        justify-content: flex-start;
        padding-left: 16px;
        font-size: 14px;
        border-right: 1px dotted #000;
        border-bottom: 1px dotted #000;
    }
    ul li:last-child {
        flex: 1;
        padding-left: 16px;
        border-right: 1px dotted #000;
        border-bottom: 1px dotted #000;
    }
    p {
        width: 100%;
        height: 48px;
        line-height: 48px;
        text-align: center;
        font-size: 20px;
        border-right: 1px dotted #000;
        border-bottom: 1px dotted #000;
    }
    
    
}


