:root {

    --background-color-light: #f2f5f6;
    --background-color-dark: #3d3d3d;

    --box-color-light:#ffffff;
    --box-color-dark:#262626;

    --subbox-color-light:#F5F7F8;
    --subbox-color-dark:#2d2d2d;

    --tiptag-color-light:#f0f0fa;
    --tiptag-color-dark:#303033;


    --font-title-color-light:#37374c;
    --font-title-color-dark:#bfb9b1;

    --font-des-color-light:#3d3d52;
    --font-des-color-dark:#c5bfb7;

    --font-light-dark-light:#aaaaaa;
    --font-light-dark-dark:#5d5d5d;

    --font-active-color-light:#6666cc;
    --font-active-color-dark:#6666cc;
}

@page {
    /* 默认的页面样式 */
    size: A4;
    margin: 3cm 0;
}

@page :first {
    /* 第一页的样式 */
    margin-top: 0.5cm;
}



body {
    color: #37374b;

}

span {
    display: inline-block;
}

.label-value {
    width: 70%;
    vertical-align: top;
}

.iconfont {
    font-family: "iconfont" !important;
    font-size: 1.1em;
    font-style: normal;
    color: inherit;
    -webkit-font-smoothing: antialiased;
    -webkit-text-stroke-width: 0.2px;
    -moz-osx-font-smoothing: grayscale;
}

* {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    margin: 0;
}

h1,
h2,
h3,
h5 {
    font-weight: 400;
    color: #37374b;
    line-height: 1.5;
}

h4 {
    font-weight: 400;

    color: #37374b;
    line-height: 1.5;
    font-size: 20px;
}

.progress-list div {
    width: 100%;
    margin-left: 200px;
}

.info-list,
.progress-list {
    list-style: none;
    padding-left: 0px;
    font-size: 16px;
    line-height: 2;
}

.stack-list {
    list-style: none;
    padding-left: 0px;
    line-height: 1.5;
}

.stack-list li {
    margin-bottom: 12px;
    font-size: 20px;

}

.right-list li {
    font-size: 20px;
    margin-bottom: 12px;
}

.baseinfo_container li {
    font-size: 20px;
    margin: 6px 0;
}

.experience-list li {
    margin-bottom: 20px;
}

.work_des ul li {
    margin-bottom: 12px;
}


hr {
    height: 1px;
    background-color: #37374c;
    border: none;
    margin: 5px 0;
}

.info-unit {
    color: #666;
    margin-bottom: 1.8em;
    overflow: hidden;
}

.remodal-img h3 {
    float: left;
    margin-bottom: 10px;
}

.remodal-img input {
    float: left;
    width: 480px;
    height: 42px;
    font-size: 20px;
    padding: 6px;
    color: #666;

}

.remodal-img button {
    float: right;
    background: #37374b;

}

.remodal-img button:hover {
    float: right;
    background: #37374b;

}


body {
    background-color: #37374c;
    font-family: sans-serif, Microsoft Yahei, Helvetica Neue;
    zoom: 80%;
}

footer {}

p {
    line-height: 1.5;
}

progress {
    background-color: #f6f6f6;
    display: inline;
    width: 195px;
    height: 1em;

}

progress::-webkit-progress-bar {
    background-color: #e0e0e0;
}

progress::-webkit-progress-value {
    background-color: #aaa;
}

progress::-moz-progress-bar {
    background-color: #e0e0e0;

}

progress::-moz-progress-value {
    background-color: #aaa;
}

.progress-list {
    line-height: 2;
}



.me {
    text-align: center;
    margin: 60px 0;
}

.weixin {
    margin-top: 20px;
    position: relative;
    padding-top: 20px;
    text-align: center;
}

.weixin img {
    width: 200px;
}

.left-label {
    display: inline-block;
    width: 30%;
}

.portrait {
    margin: 0 auto;
    margin-top: 20px;
    margin-bottom: 10px;
    background-image: url('/assets/img/logo.png');
    background-size: 120%;
    background-position: center;
    border-radius: 50%;
    border: 5px solid #37374b;
    width: 160px;
    height: 160px;
}


.container {
    position: relative;
    margin: 0 auto;
    overflow: hidden;
    width: 1200px;
    background-color:white;
}

.side {
    position: absolute;
    top: 0;
    bottom: 0;
    float: left;
    width: 360px;
    background-color: whitesmoke;
    border-right: 1px whitesmoke solid;
    padding-left: 20px;
    padding-right: 20px;
}

.main {

    position: relative;
    min-height: 100%;
    padding: 5.0em 8em;

}

.info-header {
    border-bottom: 1px #8d8d9f solid;
    margin: 0 0 20px 0;
    padding-bottom: 5px;
}

.info-header .unit-remove {
    float: right;
    margin-left: 20px;
    visibility: hidden;
    cursor: pointer;

}

.info-header .item-add {
    float: right;
    margin-left: 20px;
    margin-right: 2px;
    visibility: hidden;
    cursor: pointer;

}

.item-remove {
    position: absolute;
    right: 2px;
    margin-right: 2px;
    visibility: hidden;
    cursor: pointer;

}

ul {
    font-weight: 400;

    color: #37374b;
    line-height: 1.5;
    font-size: 20px;

}

ul li {
    position: relative;
}

.experience-list .item-remove {
    position: absolute;
    right: 2px;
    top: 0px;
    margin-right: 2px;
    visibility: hidden;
    cursor: pointer;

}

.stack-list .item-remove {
    position: absolute;
    right: 2px;
    top: 0px;
    margin-right: 2px;
    visibility: hidden;
    cursor: pointer;

}

.item-link {
    text-decoration: none; /* 移除默认的下划线 */
    position: relative; /* 为了添加伪元素 */
    color: #37374b;

}

.item-link::after {
    content: ""; /* 添加一个伪元素来模拟下划线 */
    position: absolute;
    left: 0;
    bottom: -1px; /* 调整下划线与文本的距离 */
    width: 100%;
    height: 1px; /* 下划线的高度 */
    background-color: #888; /* 下划线的颜色 */
}


.hidden {
    display: none;
}



.qrcodeImg {
    border-radius: 16px;
    box-shadow: 1px 1px 1px 1px #dfd6d6;
}

progress[value]::-webkit-progress-bar {
    background-color: #ddd;
    border-radius: 10px;
}

progress[value]::-webkit-progress-value {
    background-color: #9e9eaf;
    border-radius: 10px;
}


.work_experience_title {
    display: inline-block;
}

.work_experience_time {
    display: inline-block;
    color: #999;
}

.work_container {
    display: flex;
    color: #37374b;
    line-height: 1.5;
    font-size: 20px;
}

.project_name_center {
    display: flex;
    align-items: center;
}

.work_title {
    width: 100px;
    margin: 5px 0;
}

.work_des {
    width: calc(100% - 100px);
    margin: 5px 0;

}

.baseinfo_container {
    display: flex;
    color: #37374b;
    line-height: 1.5;
    font-size: 20px;

}

.baseinfo_title {
    width: 50%;
    margin: 5px 0;
}

.baseinfo_des {
    width: 50%;
    margin: 5px 0;
}

.webTitle {
    text-align: center;
    margin-bottom: 1.0em;
}

.work_des ul {
    list-style-type: none;
    padding-left: 2px;
}

.list-style-type-no {
    list-style-type: none;

}

.self_evaluation {
    color: #37374b;
    line-height: 1.5;
    font-size: 20px;
}

.resume_update_time {
    position: fixed;
    color: rgba(255, 255, 255, 0.6);
    right: 40px;
    bottom: 2em;
    text-align: right;
    /*z-index:99;*/
}

.qrcode {
    width: 60px;
    height: 60px;
    background: var(--subbox-color-dark) url(/assets/img/blog_qrcode.png) no-repeat center center;
    background-size: 60%;
    position: fixed;
    bottom: 80px;
    right: 40px;
    border-radius: 10px;
        /*z-index:99;*/

}

.printPDF {
    width: 60px;
    height: 60px;
    background: var(--subbox-color-dark) url(/assets/img/blog_printPDF.png) no-repeat center center;
    background-size: 60%;
    position: fixed;
    bottom: 240px;
    right: 40px;
    border-radius: 10px;
    /*z-index: 99;*/

}

.downloadPDF {
    width: 60px;
    height: 60px;
    background: var(--subbox-color-dark) url(/assets/img/blog_downpdf.png) no-repeat center center;
    background-size: 60%;
    position: fixed;
    bottom: 160px;
    right: 40px;
    border-radius: 10px;
    /*z-index: 99;*/
    
}

.qrcodeImg {
    background: #E6E6FA;
    position: fixed;
    bottom: 80px;
    right: 120px;
    display: none;
    padding: 15px;
    border-radius: 10px;
    z-index:99;
}

.scan-text {
    margin-top: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9em;
    color: #333;
}

/* 模态框样式 */
.modal {
    display: none;
    position: fixed;
    z-index: 2;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.5);
}

.modal-content {
    background-color: #fefefe;
    margin: 0 auto;
    padding: 20px;
    border: 1px solid #888;
    width: 76%;
    text-align: center;
    position: absolute;
    top: 35%;
    /* 弹窗位于页面偏上5%的位置 */
    left: 50%;
    transform: translateX(-50%);
    /* 水平居中 */
    border-radius: 16px;
}

.alert-title {
    font-size: 1.8em;
    font-weight: bold;
}

.alert-content {
    font-size: 1.4em;
    margin: 20px 0 20px 0;
    padding: 10px 20px;
}

/* 遮罩层样式 */
.overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1;
}

/* 按钮样式 */
button {
    margin: 10px;
    padding: 10px 10px;
    cursor: pointer;
    font-size: 20px;
    color: #fff;
    background-color: #37374b;
    border: none;
    border-radius: 10px;
    width: 140px;
}

button:hover {
    background-color: #2e2e3d;
}

@media screen and (max-width: 768px) {

    /* 调整字体大小 */
    h1,
    h2,
    h3,
    h4,
    h5 {
        font-size: 1.2em;
    }

    h4 {
        font-size: 1.1em;
    }

    p {
        font-size: 1em;
    }

    progress {
        width: 100%;
    }

ul{
    padding-left:1.5em;
}
    .container {
        width: 100%;
        padding: 1em;
    }

    .main {
        padding: 1em;
    }

    .webTitle {
        font-size: 1.5em;
    }

    .info-header {
        margin-bottom: 1em;
    }

    .work_title {
        width: 100px;
    }

    .work_des {
        width: calc(100% - 100px);
    }

    .baseinfo_container {
        display:block;
    }

    .baseinfo_title,
    .baseinfo_des {
        width: 100%;
    }

    .downPDF,.qrcode,.resume_update_time{
        display:none;
    }
}




/*适配黑夜模式*/
body.dark-mode {
    background-color: var(--background-color-dark);
}

body.dark-mode h1, 
body.dark-mode h2, 
body.dark-mode h3, 
body.dark-mode h4, 
body.dark-mode h5, 
body.dark-mode h6 {
    color: var(--font-title-color-dark);
}

body.dark-mode img {
    filter: brightness(50%); 
}

body.dark-mode .info-header {
    border-bottom: 1px #5d5d5d solid;
}

body.dark-mode .main{
    background-color: var(--box-color-dark);
}

body.dark-mode .baseinfo_container{
    color:var(--font-title-color-dark);
}

body.dark-mode .info-unit ul,
body.dark-mode .work_container,
body.dark-mode .item-link,
body.dark-mode .self_evaluation{
    color:var(--font-title-color-dark);
}
body.dark-mode .tip-hub{
    background-color: #555571;
}
body.dark-mode .qrcodeImg {
    background-color: #808080;
    box-shadow: 1px 1px 2px #604d4d;
}

body.dark-mode .modal-content{
    background-color: var(--background-color-dark);
    color:var(--font-title-color-dark);
}

