
* {
    box-sizing: border-box;
}

html {
    font-family:  -apple-system, BlinkMacSystemFont, helvetica neue, pingfang sc, hiragino sans gb, STHeiti, microsoft yahei, wenquanyi micro hei, Arial, Verdana, sans-serif;
}

html::-webkit-scrollbar {
    width: 8px;
    height: 8px
}

html::-webkit-scrollbar-thumb {
    height: 40px;
    background-color: #eee;
    border-radius: 0
}

html::-webkit-scrollbar-thumb:hover {
    background-color: #ddd
}

pre {
    padding: 1em;
    margin: .5em 0;
    overflow: auto;
    background: #f5f2f0;
}

body {
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    background-color: rgb(240, 242, 245);
}


a {
    color: #161209;
    text-decoration: none;
    transition: color .2s ease, border-color .46s ease, background .46s ease, opacity .46s ease;
}

a:hover {
    color: #673ab7;
    color: var(--primary, #673ab7);
}

p {
    line-height: 2em;
}

blockquote {
    text-indent: 2em;
    position: relative;
    margin: 20px 0;
}

blockquote::before {
    position: absolute;
    left: -32px;
    top: -10px;
    content: '“';
    font-family: fantasy;
    font-size: 40px;
    color: #673ab7;
    color: var(--primary, #673ab7);
}


@media screen and (max-width: 860px) {
    body {
        padding: 6px;
    }
}


.container {
    width: auto;
    max-width: 1200px;
    text-align: center;
    margin: 0 auto;

}

.head {
    width: 100%;
    height: 64px;
}

.head-content {
    display: flex;
    height: 100%;
    align-items: center;
    justify-content: space-between;
}

@media screen and (max-width: 860px) {
    .head-content {
        padding-top: 10px;
        flex-direction: column;
    }
}

.nav a {
    padding: 0 8px;
}

.sub-title {
    position: relative;
    width: 100%;
    text-align: right;
    font-size: 32px;
    margin-bottom: 82px;
}

@media screen and (max-width: 860px) {
    .sub-title {
        display: none;
    }
}

.post-warp {
    position: relative;
    width: 100%;
    overflow: hidden;
    max-width: 780px;
    margin: 0 auto;
    min-height: calc(100vh - 120px);
    padding: 46px 0;
}

@media screen and (max-width: 860px) {
    .post-warp {
        min-height: calc(100vh - 132px);
    }
}

.markdow img {
    width: 100%;
    border-radius: 4px;
}


.footer {
    color: #999;
    display: flex;
    height: 54px;
    line-height: 1;
    align-items: center;
    justify-content: center;
}

.footer-divider {
    margin: 0 10px;
}

@media screen and (max-width: 860px) {
    .footer {
        flex-direction: column;
    }

    .footer span {
        text-align: center;
        padding: 4px 0;
    }

    .footer-divider {
        display: none;
    }
}

.footer a {
    color: #999;
    margin: 0 8px;
}

pre {
    border-radius: 3px;
    font-size: 14px;
    line-height: 1.6;
    overflow: auto;
}

hr {
    border: none;
    overflow: hidden;
}

hr:after {
    content: '';
    display: block;
    margin: 30px auto;
    width: 10%;
    height: 1px;
    background: #ccc;
    text-align: center;
}

.photo-album-list {
    padding: 20px 69px;
}
@media screen and (max-width: 1200px) {
    .photo-album-list {
        padding: 16px;
    }
}
.site-name{
    margin-bottom: 40px;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    color: #222;
    fill: #222;
}
.site-name .site-sub-title{
    font-size: 13px;
    margin-top: 12px;
    text-align: right;
    color: #999;
}
.photo-album-title{
    margin: 20px 0;
    line-height: 2em;
    display: flex;
    justify-content: flex-start;
    align-content: center;
    color: #222;
    fill: #222;
}

.site-name .logo{
    margin-right: 10px;
    width: 40px;
    cursor: pointer;
    height: 40px;
}
.photo-album-title .icon{
    margin-right: 10px;
    width: 30px;
    height: 30px;
}
.site-name .logo:hover{
    fill: var(--primary,#673ab7);
}
.site-name h1,.photo-album-title h2{
    margin: 0;
    padding: 0;
}
.photos {
    display: grid;
    grid-template-columns: repeat(auto-fill, 18vw);
    justify-content: space-between;
}
@media screen and (max-width: 860px) {
    .photos {
        grid-template-columns: repeat(auto-fill, 42vw)!important;
    }
}
@media screen and (max-width: 650px) {
    .photos {
        grid-template-columns: repeat(auto-fill, 87vw)!important;
    }
}

.photo-block {
    margin: 40px 0 20px;
    color: rgba(0, 0, 0, 0.87);
    transition: box-shadow 300ms cubic-bezier(0.4, 0, 0.2, 1) 0ms;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 0 16px;
    position: relative;
    width: 100%;
    overflow-wrap: break-word;
    background-color: rgb(255, 255, 255);
    background-clip: border-box;
    border: 0px solid rgba(0, 0, 0, 0.125);
    border-radius: 0.75rem;
    box-shadow: rgba(0, 0, 0, 0.1) 0rem 0.25rem 0.375rem -0.0625rem, rgba(0, 0, 0, 0.06) 0rem 0.125rem 0.25rem -0.0625rem;
    overflow: visible;
}

.block-head {
    width: 100%;
    height: auto;
    position: relative;
}

.photo {
    width: 100%;
    height: auto;
    position: relative;
    top: -20px;
    z-index: 1;
    opacity: 1;
    background: transparent;
    color: rgb(52, 71, 103);
    border-radius: 0.5rem;
    box-shadow: rgba(0, 0, 0, 0.1) 0rem 0.25rem 0.375rem -0.0625rem, rgba(0, 0, 0, 0.06) 0rem 0.125rem 0.25rem -0.0625rem;
}

.photo-shadow {
    width: 100%;
    height: 100%;
    position: absolute;
    left: 0px;
    top: 0px;
    opacity: 1;
    color: rgb(52, 71, 103);
    box-shadow: rgba(0, 0, 0, 0.1) 0rem 0.25rem 0.375rem -0.0625rem, rgba(0, 0, 0, 0.06) 0rem 0.125rem 0.25rem -0.0625rem;
    transform: scale(0.94);
    filter: blur(12px);
    border-radius: 0.5rem;
}

.photo-block .params {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.photo-block .title-date {
    display: flex;
    line-height: 2em;
    justify-content: space-between;
    align-content: center;
    margin-bottom: 6px;
}
.photo-album-info span{
    color: #999;
    font-size: 14px;
    margin-right: 10px;
}
.photo-album-info p{
    color: #454545;
}

.photo-block .title-date h3 {
    margin: 0;
    padding: 0;
    flex: 1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.photo-block .title-date span {
    font-size: 12px;
    color: #999;
}
.photo-block .params{
    margin-bottom: 12px;
}

.photo-block .params  p {
    margin: 0;
    padding: 0 6px 0 0;
    font-size: 12px;
}



.block-head{
    transition: transform 0.4s ease;
}


.block-head:hover {
    transform: scale(1.05);

}




.pagination{
    display: flex;
    margin: 60px 0;
    width: 100%;
    justify-content: center;
    padding: 0;
}
.pagination li{
    list-style-type: none;
    margin: 0 10px;
    width: 20px;
}
.pagination li a {
    text-align: center;
    display: block;
    width: 100%;
    color: #bfbfbf;
    padding-bottom: 6px;
}
.pagination li a:hover,.pagination .active a{
    border-bottom: 3px solid #673ab7;
    border-bottom: 3px solid var(--primary,#673ab7);
}