#page .box {
    padding: 0;
    margin: 0;
    transition: all .3s;
}

html,
body {
    height: 100%;
    width: 100%;
    margin: 0;
    padding: 0;
}

html {
    font-size: 14px;
}

ul,
li {
    margin: 0;
    padding: 0;
}

::-webkit-scrollbar {
    width: .625rem;
}

::-webkit-scrollbar:horizontal {
    height: .625rem;
    margin-bottom: .125rem;
}

::-webkit-scrollbar-track {
    border-radius: .625rem;
}

::-webkit-scrollbar-track-piece {
    background-color: #eee;
    border-radius: .625rem;
}

::-webkit-scrollbar-thumb {
    width: .625rem;
    border-radius: .3125rem;
    background: #f86b2f;
}

::-webkit-scrollbar-thumb:hover {
    background: #e10000;
}

.vw {
    width: 45rem;
    margin: auto;
    max-width: 50rem;
}

.font {
    font-family: "Bell Gothic Std Black";
}

body {
    color: #666;
    font-size: .88em;
    line-height: 1.75rem;
    font-family: Rubik,
    "Noto Sans",
        Helvetica,
        Arial,
        sans-serif,
        "Apple Color Emoji",
        "Segoe UI Emoji";
    /* background-size: cover;
    position: relative; */
}

body a {
    color: #666;
    text-decoration: none;
}
body a:hover {
    text-decoration: underline;
}
.link a::after {
    content: "🔗";
    height: .625rem;
    width: .8rem;
    font-size: .6rem;
    display: inline-block;
    margin: 0 .2rem;
    vertical-align: top;
    opacity: .45;
}

.link a:hover {
    text-decoration: underline;
}

.link a:hover:before {
    opacity: 1;
}

li {
    list-style-type: none;
}

.resume {
    width: 45rem;
    margin: auto;
    max-width: 50rem;
}

.resume .m {
    margin: 2.5rem 0 1.25rem 0;
}

.resume dt {
    color: #f86b2f;
    font-weight: bold;
    font-size: 1.5625rem;
    margin: 1.875rem 0 1.25rem 0;
}

.resume dt.h3 {
    margin: 0 0 .625rem 0;
    padding: 0 0 1.875rem 0;
}

.book {
    background: #faf1f1;
}


header {
    color: #000;
}

header h2 {
    font-size: 2rem;
    text-transform: uppercase;
}

header span {
    color: #999;
    font-size: 1.4rem;
    display: block;
    margin: 1rem 0 .5rem 0;
}
#topbar {
    /* text-align: right; */
    padding: 1rem 0;
}
#topbar a {
    margin-right: 1rem;
    color: #999;
}

#about-me-content h4 {
    color: #000;
    font-size: 1.5rem;
    margin: 2rem 0 1rem 0;
}
#about-me-content h6 {
    color: #000;
    font-size: 1rem;
    margin: 2rem 0 1rem 0;
}
#about-me-content li {
    list-style: square;
    margin-left: 10px;
}
#topbar a.on {
    color: #000;
    border-bottom: 2px solid #000;
    padding-bottom: 2px;
}
header p {
    font-weight: bold;
}

#page .box {
    max-width: 80rem;
    margin: 4rem 0 6rem 0;
}

.navbar {
    display: flex;
}

.navbar h1 {
    flex: 1;
    margin: 0;
    /* text-transform: uppercase; */
}

.navbar h1 a {
    color: #000;
}

.navbar ul {
    /* flex: 1; */
    /* text-align: right; */
    display: flex;
    /* align-items: center; */
}


.navbar ul.a .i {
    display: inline-block;
    padding: 0 0 0 1rem;
    margin-right: 0;
}
.navbar .menu {
    text-decoration: none;
    display: inline-block;
    margin: 0 .625rem;
    position: relative;
}

.navbar .menu:hover a {
    color: #fff;
}

.navbar .menu>a {
    position: relative;
    z-index: 9;
}

.navbar .menu .ul {
    position: absolute;
    padding: 2.5rem 0 1rem 0;
    left: .5rem;
    top: -0.5rem;
    background: #ec6941;
    white-space: nowrap;
    text-align: center;
    z-index: 1;
    display: none;
}

.navbar .menu .ul a {
    color: #fff;
}

.navbar .menu .ul li {
    transition: all .5s;
    padding: 0 1rem;
}

.navbar .menu .ul li a {
    display: block;
}

.navbar .menu .ul li:hover {
    background-color: #e10000;
}

.navbar {
    /* margin-bottom: 4rem; */
    padding: 2rem 0 4rem 0;
}
.navbar a {
    color: #000;
}
.navbar a.icon svg {
    height: 24px;
    width: 24px;
}
.bg-img {
    width: 100%;
    height: 100%;
    height: 400px;
    background-size: 100% auto;
}

#page {
    max-width: 80rem;
    margin: 0 auto;
}

#page .box h3 {
    margin-bottom: 3rem;
    color: #000;
    position: relative;
}

#page .box h3 b {
    display: block;
}

#page .box h3::before {
    content: "";
    width: .35rem;
    height: .35rem;
    border-radius: 50%;
    border: .2rem solid #000;
    display: block;
    margin: 0 0 1rem 0;
    position: absolute;
    top: -2rem;
}

#page .about {
    justify-content: space-between;
    display: flex;
    align-items: flex-end;
}

#page .about .text {
    width: 32.5rem;
}

#page .about .contact {
    width: 16.25rem;
}

#page .about .con .p {
    margin: 1rem 0 0 0;
}

#page #project-list {
    transition: padding 0s;
    margin-bottom: 1rem;
}

.project-list .c {
    display: flex;
    flex-wrap: wrap;
}

/* .project-list .link {
    margin: 0 0 3rem 0;
} */

.project-list h5 {
    font-weight: bold;
    font-size: 1rem;
    margin-bottom: .5rem;  
}

#web-project-list h5 {
    margin: 0;
}
#web-project-list .img img {
    filter: drop-shadow(6px 3px 4px #ffffff);
    border: 1px solid #000;
  }
#web-project-list .b {
    margin: 0;
}

#book-list h5 {
    margin: 0 0 1rem 0;
}
.project-list h5 a {
    color: #000;
}
.project-list .i {
    line-height: 1.4rem;
    margin-bottom: 1rem;
    margin-right: 20px;
}

.project-list .b {
    width: 26.5rem;
    display: flex;
    margin: 0 0 4rem 0;
    align-items: flex-start;
}

.project-list .img img {
    width: 7.22222222rem;
    margin-right: 1.4rem;
    filter: drop-shadow(6px 3px 4px #e7e7e7);
}

.project h3 {
    margin-bottom: 1.5rem;
}

.project .b {
    overflow: hidden;
}

.project i {
    font-style: normal;
}

.project .l {
    display: flex;
    flex-wrap: wrap;
    margin: .2rem 0;
    width: 75rem;
}

.project .l span {
    text-align: left;
    width: 21.66666667rem;
    display: inline-block;
}

.project .l span.w1 {
    width: 25rem;
}

.project .l span.w2 {
    width: 19.11764706rem;
    padding-left: 1.1rem;
}

.project .c {
    display: flex;
    margin: 2rem 0 0 0;
    flex-wrap: wrap;
}

.project .c .img {
    height: 10rem;
    width: auto;
    margin-right: 2.5em;
    margin-bottom: 2em;
    box-shadow: 4px 2px 5px #c4c4c4;
}

#footer {
    color: #000;
    /* border-top: 1px solid #000; */
}

#footer a {
    color: #000;
}

#footer .c {
    max-width: 80rem;
    padding: 4rem 2rem;
    margin: 0 auto;
}

#footer .icp {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
}

#footer .other {
    padding: 0 0 1rem 0;
    display: flex;
    align-items: center;
}

#footer .code img {
    height: 5rem;
}

#footer .link-list {
    padding: 0 0 0 1rem;
    width: 100%;
    line-height: 2.2rem;
    text-align: right;
}

#footer .link-list a {
    margin: 0 0 0 1rem;
    display: inline-block;
}

#footer .link-list a img {
    height: 1.4rem;
}

che {
    background-color: #e1e3e3;
    width: 32.5rem;
    margin: auto;
    height: 13rem;
    display: block;
    position: relative;
}

che .photo {
    height: 14.13043478rem;
    margin: auto;
    display: block;
    position: relative;
    top: -1.1rem;
}

che .b1 {
    position: absolute;
    right: -2rem;
    bottom: -3rem;
    width: 5.41666667rem;
}

.reports {
    margin-bottom: 4rem;
}

.reports h5 {
    font-size: 1.17em;
    color: #000;
    margin: 2rem 0 1rem 0;
}

/* 响应式设计 */
@media screen and (max-width:1270px) {
    html {
        font-size: 14px;
    }

    .project-list .b {
        width: 23rem;
        margin-right: 2rem;
    }

    .project .l {
        display: block;
        margin-bottom: 1rem;
    }

    .project .l i {
        display: block;
    }

    .project .l span.w1 {
        width: auto !important;
    }

    .project .l span.w0 {
        width: auto !important;
        font-size: 1rem;
        color: #000;
        font-weight: bold;
    }

    .project .l span.w2::before {
        content: "";
    }
}

@media screen and (max-width:1024px) {
    #page {
        padding: 2rem;
    }

    .contact {
        margin-top: 4rem;
    }

    #page h3 {
        margin-bottom: 1rem;
    }

    #page h3::before {
        position: absolute;
        left: -1.5rem;
        top: .5rem;
    }

    #page .about {
        display: block;
    }
}

@media screen and (max-width:910px) {
    #page {
        margin: 0;
        padding: 3rem 2rem;
    }

    .box {
        margin: 4rem 2rem;
    }

    .project-list {
        margin-right: 0;
    }

    .project-list .b {
        width: 20rem;
        margin-right: 1rem;
    }

    .project-list .b:nth-child(2n) {
        margin-right: 0;
    }

    .project-list .b h5 {
        font-size: .9rem;
    }

    footer .icp {
        display: block;
    }

    footer .c {
        width: auto;
        padding: 2rem 3rem;
    }
}

@media screen and (max-width:481px) {
    nav {
        display: block;
    }

    nav ul.a {
        text-align: left;
    }

    nav ul.a .i:first-child {
        padding: 0 0 0 0;
    }

    nav ul.a .i {
        padding-left: 1rem;
    }

    .project .c .img {
        margin-right: 1.8em;
        margin-bottom: 1.5em;
    }

    #page .about .text {
        width: auto;
    }

    .project .l {
        width: auto;
    }

    .project .l span {
        display: block !important;
    }

    .project .l span.w2 {
        padding-left: 0;
        width: auto;
    }

    .project .l span.w2::before {
        content: "";
    }

    .che {
        width: auto;
        height: 6.9rem;
    }

    .che .photo {
        width: auto;
        height: 8rem;
    }

    .che .b1 {
        width: 2.95454545rem;
        right: -1.5rem;
    }
}
