html {
    scroll-behavior: smooth;
}

main {
    font-size: 3rem;
    display: flex;
    flex: auto;
    justify-content: space-around;
    flex-wrap: wrap;
    padding: 20px;
    padding-bottom: 5rem;
    flex-direction: column;
    align-content: space-around;
}

main p {
    font-size: 2rem;
    width: fit-content;
    height: fit-content;
}
main #back p{
    cursor: pointer;
}

main span#back {
    display: flex;
    justify-content: space-around;
}

main ul li {
    font-size: 2rem;
    width: fit-content;
    cursor: pointer;
}

body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    margin: 0;
    padding: 0;
    scroll-behavior: smooth;
}

header {
    background: #333;
    color: #fff;
    padding: 10px 20px;
    text-align: center;
}

nav ul {
    list-style-type: none;
    padding: 0;
}

nav ul li {
    display: inline;
    margin: 0 15px;
}

nav ul li a {
    color: #fff;
    text-decoration: none;
}

article {
    border: 1px solid #ddd;
    margin-bottom: 20px;
    padding: 15px;
}

footer {
    text-align: center;
    padding: 10px 0;
    background: #333;
    color: #fff;
    width: 100%;
    bottom: 0;
    position: fixed;
    width: 100%;
    height: 50px;
}

iframe {
    border: none;
    overflow-y: hidden;
    width: 100%;
    height: 100%;
}

#loading {
    display: none;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 20px;
}

.spinner {
    border: 6px solid #f3f3f3;
    border-top: 6px solid #3498db;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.iframeContainer {
    position: relative;
}

.post-container {
    display: none;
}

.post-loading {
    display: none;
    justify-content: center;
}

.scroll-to-top {
    position: fixed;
    bottom: 3em;
    right: 3em;
    z-index: 9999;
    display: none;
    /* 初始隐藏 */
    width: 60px;
    height: 60px;
    padding: 0;
    background-color: deepskyblue;
    line-height: 1.5em;
    text-align: center;
    font-size: 20px;
    color: white;
    border-radius: 50%;
    transition: all linear 0.5s;
    cursor: pointer;
}

.scroll-to-top:hover {
    padding: 0;
    width: 60px;
    height: 60px;
    color: rgba(182, 182, 182, 0.148);
    border-radius: 50%;
}



.code-wrapper {
    position: relative;
}

.code-block {
    position: relative;
}

.copy {
    font-size: 13px;
    transition: color 0.1s;
    color: hsl(9.96deg 88.32% 47.38% / 97%);
    background: #dfe8e6;
    padding: 0 3px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    z-index: 1;
    position: absolute;
    top: 3px;
    right: 6px;
}

.code-container {
    position: relative;
}