/*

这是一个索引，用于后续开发的快速查找。在开始时，请按下 Ctrl+F 来查找对应的目录。
目录：

Theme 主题
MediaScreen 多分辨率适配
Font 字体

*/

/* ========================== 原生控件 ========================== */
*{-webkit-tap-highlight-color: rgba(0 ,0 ,0 ,0 );}

body{
    margin: 0;
    overflow-x: hidden;
    font-family: EN_AR , CN;
    overflow-wrap: break-word;
}

a{text-decoration: none;}

/* ========================== Custom : 自定义控件 ========================== */
/* ALERT - 警告提示 */
.nuc_alert_theme_err{ /* 提示风格 错误 */
    .nuc_alert{}
    .nuc_alert_bar{}
    .nuc_alert_text{}
}

.nuc_alert_warn{ /* 提示风格 警告 */
    background-color: rgba(255, 200, 0, 0.237);
    display: flex;
    margin: 0 30px 0 30px;
    border-radius:5px;

    .nuc_alert_bar{background-color: rgb(255, 200, 0);}
    .nuc_alert_text{color: rgb(104, 82, 0);}
}

.nuc_alert_notice{ /* 提示风格 提示 */
    background-color: #dedede;
    display: flex;
    margin: 0 30px 0 30px;
    border-radius:5px;
    overflow: hidden;

    .nuc_alert_bar{background-color: #4b4b4b;}
    .nuc_alert_text{color: #343434;}
}

.nuc_alert_bar{ /* 提示条带 */
    top:0px;left: 0px;
    width: 5px;
    height: auto;

    flex-shrink: 0;
}

.nuc_alert_text{ /* 提示字 */
    padding: 15px 8px 15px 8px;
}

/* BUTTON - 按钮 */
.nuc_button_small{ /* 小型按钮 */
    min-width: 20px;

    padding: 10px 20px 10px 20px;
    margin: 5px;

    background-color: #dddddd;
    color: #000;
    border-radius:12px;

    transition: background-color 0.2s ease;
    transition: transform 0.2s ease;
    user-select: none;
}

.nuc_button_small:hover{background-color: #bdbdbd;}
.nuc_button_small:active{background-color: #767676;transform: scale(97%);}

.nuc_button_box_small{ /* 小型全宽按钮 （块型按钮） */
    min-width: 20px;
    display: block;

    padding: 10px 20px 10px 20px;
    margin: 5px;

    background-color: #dddddd;
    color: #000;
    text-align: center;
    border-radius:12px;

    transition: background-color 0.2s ease;
    transition: transform 0.2s ease;
    user-select: none;
}

.nuc_button_box_small:hover{background-color: #bdbdbd;}
.nuc_button_box_small:active{background-color: #767676;transform: scale(97%);}

/* HERO - 大图展示 */
.nuc_hero{ /* 背景 */
    top: 0;
    left: 0;

    width: calc(100vw - --scrollbar);
    height: 100vh;

    background-repeat: no-repeat;
    background-size: cover;
}

.nuc_hero_black{ /* 黑色叠加层 */
    top: 0;
    left: 0;

    width: calc(100vw - --scrollbar);
    height: 100vh;

    background-color: rgba(0, 0, 0, 0.675);
}

/* FOOTER - 底部信息栏 */
.nuc_footer{
    display: block;
    height: 10vh;
    padding-top: 4vh;
    text-align: center;

    color: #FFF;
    background-color: #000;
}

/* TOPBAR - 顶栏 */
.nuc_topbar{ /* 基础&背景 */
    position: fixed;
    display: flex;

    top: 0;
    left: 0;
    z-index: 95;

    width: 100vw;
    height: 60px;
}

.nuc_topbar_item_start{ /* 大顶栏第一个选项 */
    top: 0;
    margin-left: 2vw;

    width: 160px;
    height: 60px;

    transition: background-color 0.2s ease;
}

.nuc_topbar_item{ /* 大顶栏之后的选项 */
    top: 0;

    width: 160px;
    height: 60px;

    transition: background-color 0.2s ease;
}

.nuc_topbar_item_cn{ /* 大顶栏中文部分 */
    position: absolute;
    top:11px;

    font-size: 24px;
    font-weight: bold;
    text-align: center;
    color: #FFF;
    width: 160px;

    user-select: none;
}

.nuc_topbar_item_en{ /* 大顶栏英文部分 */
    position: absolute;
    top:38px;

    font-family: EN_AR;
    font-size: 15px;
    text-align: center;
    color: #FFF;
    width: 160px;

    user-select: none;
}

.nuc_topbar_item_lowwidth{ /* 大顶栏在宽度过小时才显示的按钮 */
    top: 0;
    margin-right: calc(2vw + var(--scrollbar));
    display: none;

    width: 160px;
    height: 60px;

    transition: background-color 0.2s ease;
}

.nuc_topbar_item_small_start{ /* 小顶栏第一个选项 */
    top: 0;
    margin-left: 2vw;

    width: 200px;
    height: 50px;

    transition: background-color 0.2s ease;
}

.nuc_topbar_item_small{ /* 小顶栏之后的选项 */
    top: 0;

    width: 80px;
    height: 50px;

    transition: background-color 0.2s ease;
}

.nuc_topbar_item_small_cn{ /* 小顶栏中文部分 */
    position: absolute;
    top:13px;

    font-size: 20px;
    text-align: center;
    color: black;
    width: 80px;

    user-select: none;
}

.nuc_topbar_item_small_en{ /* 小顶栏英文部分 */
    position: absolute;
    top:10.9px;

    font-family: EN_AR;
    font-weight: bold;
    font-size: 22.8px;
    text-align: center;
    color: black;
    width: 200px;

    user-select: none;
}

.nuc_topbar_item_small_lowwidth{ /* 小顶栏在宽度过小时才显示的按钮 */
    top: 0;
    margin-right: calc(2vw + var(--scrollbar));
    display: none;

    width: 80px;
    height: 50px;

    transition: background-color 0.2s ease;
}

/* ========================== 文章区域 ： 大屏介绍版 & 文章专用版 ========================== */
.zone_art{
    margin-top: 10vh;
    margin-left: 4vw;
    margin-right: 4vw;

    padding-bottom: 10vh;

    min-height: 66vh;
}

/* ========================== Theme ： 主题 ========================== */
.nuc_theme_nucworld{
    .nuc_topbar{background-color: rgb(30, 144, 255);}
    .nuc_topbar_item_start:hover{background-color:rgb(18, 94, 171);}
    .nuc_topbar_item_start:active{background-color:rgb(2, 78, 155);}
    .nuc_topbar_item:hover{background-color:rgb(18, 94, 171);}
    .nuc_topbar_item:active{background-color:rgb(2, 78, 155);}
    .nuc_topbar_item_lowwidth:hover{background-color:rgb(18, 94, 171);}
    .nuc_topbar_item_lowwidth:active{background-color:rgb(2, 78, 155);}
}

.nuc_theme_galattopia{
    .nuc_topbar{background-color: rgb(239, 238, 238);height: 50px;}
    .nuc_topbar_item_small_start:hover{background-color:rgb(207, 207, 207);}
    .nuc_topbar_item_small_start:active{background-color:rgb(195, 195, 195);}
    .nuc_topbar_item_small:hover{background-color:rgb(207, 207, 207);}
    .nuc_topbar_item_small:active{background-color:rgb(195, 195, 195);}
    .nuc_topbar_item_small_lowwidth:hover{background-color:rgb(207, 207, 207);}
    .nuc_topbar_item_small_lowwidth:active{background-color:rgb(195, 195, 195);}
}

/* ========================== MediaScreen ： 多屏幕大小适配 ========================== */

@media screen and (max-width:1024px) {
    .nuc_topbar{justify-content:space-between;}
    .nuc_topbar_item_small{display: none;}
    .nuc_topbar_item{display: none;}
    .nuc_topbar_item_lowwidth{display: block;}
    .nuc_topbar_item_small_lowwidth{display: block;}
}

/* ========================== Font ： 字体 ========================== */
@font-face {
    font-family: CN;
    src: url(/Font/LXGWNeoXiHeiScreen.ttf);
}

@font-face {
    font-family: EN_AR;
    src: url(/Font/Saira_Regular.ttf);
}