body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
}

body::-webkit-scrollbar {
    width: 0;
    padding: 0;
}

.warp {
    display: flex;
    min-height: 100vh;
    flex-direction: column;
}

#content {
    flex: 1;
}

.header {
    height: 6rem;
    width: 100%;
}

.footer {
    text-align: center;
    color: #e1e3c9;
}

.bg {
    background-image: url(img.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    position: fixed;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.head-warp {
    display: flex;
    margin: 0 auto;
    justify-items: center;
    align-items: center;
    height: 40px;
    margin-bottom: 4px;
}

.head-warp h1 {
    margin: 0;
    font-size: medium;
    font-weight: bolder;
    display: block;
    width: 85px;
}

.headimg {
    background-image: url(po.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    border-radius: 100%;
    width: 30px;
    height: 30px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.headimg:hover {
    transform: rotate(-1turn) scale(1.2);
    box-shadow: 0 0 10px 5px rgba(0, 0, 0, 0.195);
}

.nav {
    position: fixed;
    text-align: center;
    display: flex;
    flex-direction: column;
    background-color: #6ca2dcc0;
    border: 2px solid #0003;
    color: #f8f7e0;
    height: 4rem;
    padding: 1rem 0;
    border-radius: 30px;
    top: 10px;
    left: 0;
    right: 0;
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
    margin-bottom: 2rem;
    transition: transform 0.3s ease;
}

.nav.hidden {
    transform: translateY(-105%);
}


.nav h1 {
    font-size: medium;
    font-weight: bold;
}

@media (max-width: 700px) {
    .nav {
        max-width: none;
        width: 80%;
    }
}

nav a {
    font-size: medium;
    color: #f9faf9;
    text-decoration: none;
    display: inline-block;
    margin: 10px;
}

nav a:hover {
    color: #8b9db8;
}

main {
    padding: 3rem;
}

@media (max-width: 700px) {
    main {
        padding: 1.5rem;
    }
}

.post,
.about,
.post-list {
    margin: 0 auto;
    margin-top: 1rem;
    max-width: 60rem;
    min-height: 150px;
    border-radius: 40px;
    background-color: #57b9d2a9;
    padding: 2rem;
    border: 2px solid #f7f7e130;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.18);
}

.post-list {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.post-list:hover {
    transform: scale(1.01);
    box-shadow: 0 0 20px 5px rgba(0, 0, 0, 0.5);
}

@media (min-width: 1401px) {

    .post,
    .about,
    .post-list {
        max-width: 70rem;
    }
}

.post h2,
.post-list h2 {
    margin-top: 0;
    margin-bottom: 8px;
    color: #517dbb;
}

.post h2::selection,
.post-list h2::selection {
    background-color: #89b7e4;
}

.post h3 {
    color: #ededd3;
}

.post h3::selection {
    background-color: #89b7e4;
}

.post-list h2 a,
.about h2 {
    color: #e1e3c9;
    text-decoration: none;
}

.post p,
.post-list p,
.about p {
    color: #51729a;
}

.post p::selection,
.about p::selection {
    color: #e1e3c9;
    background-color: #89b7e4;
}

.post-list .meta {
    color: #555;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.post {
    transition: transform 0.3s ease;
}

.post.active {
    transform: scale(0.98);
}

.content {
    overflow-x: inherit;
    max-width: 100%;
}

.post-p {
    margin: 2rem;
    margin-top: 1.5rem;
    margin-bottom: 1.5rem;
}

code {
    font-size: 16px;
    font-weight: 600;
    color: #3e0a53;
}

code::selection {
    color: #e1e3c9;
    background-color: #89b7e4;
}

pre {
    background-color: #96838333;
    overflow-x: scroll;
    border-radius: 30px;
    padding: 18px;
}

pre::-webkit-scrollbar {
    width: 0;
    padding: 0;
}

/* about */
/* .proo {} */

.proo img {
    width: 100%;
    height: 100px;
    width: 100px;
    margin-right: 15px;
    border-radius: 100%;
    float: left;
}