* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    width: 100%;
    font-family: Arial, Helvetica, sans-serif;
    overflow-x: hidden;
}

:root {
    --bg-color: white;
    --fg-color: #444;
    --text-gray: gray;
    --border-line-color: rgba(128,128,128,.2);
}

.main_content {
    width: 100%;
    min-height: 100dvh;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.banner {
    width: 100%;
    min-height: 20dvh;
    display: flex;
    justify-content: center;
    align-items: center;
    background: var(--bg-color);
    border-bottom: 1px solid rgba(128, 128, 128, 0.238);
}

.banner h1 {
    color: var(--fg-color);
    font-weight: normal;
    font-size: 2.5rem;
    letter-spacing: .9px;
    text-align: center;
    padding: 0 15px;
}

.post {
    width: 100%;
    display: flex;
    justify-content: center;
    padding: 50px 0;
}

.inside-post {
    width: 80%;
    max-width: 1200px;
}

.post-scope {
    width: 100%;
}

.head {
    width: 100%;
}

.head img {
    width: 100%;
    height: auto;
    object-fit: cover;
}

.head h1 {
    font-size: 2.2rem;
    font-weight: normal;
    color: var(--fg-color);
    line-height: 1.4;
    margin-top: 15px;
}

.post-headline span {
    color: var(--text-gray);
    font-size: 0.9rem;
    line-height: 2;
}

.scope-main-content {
    width: 100%;
    display: flex;
    gap: 50px;
    margin-top: 20px;
}

.fill-content {
    width: 70%;
}

.fill-content ul {
    margin-left: 30px;
}

.fill-content li a {
    font-weight: 400;
    color: royalblue;
    text-decoration: none;
    line-height: 1.3;
}

.fill-content li::marker {
    color: skyblue;
}

.fill-content li {
    color: var(--fg-color);
    font-weight: normal;
}
.fill-content h2 {
    margin-bottom: 15px;
    margin-top: 25px;
    font-size: 1.5rem;
    font-weight: normal;
    color: #333;
}

.fill-content table {
    width: fit-content;
    border-collapse: separate;
    border-spacing: 0;
    border: 2px solid #cfcfcf;
    border-radius: 4px;
    font-size: 15px;
    color: #444;
    margin-bottom: 40px;
    display: block;
    overflow-x: auto;
    white-space: nowrap;
    align-self: center;
}

.fill-content th {
    padding: 14px 12px;
    text-align: left;
    font-weight: bold;
    border-right: 2px solid #d5d5d5;
    border-bottom: 2px solid #d5d5d5;
}

.fill-content th:not(:first-child),
.fill-content td:not(:first-child) {
    text-align: center;
}

.fill-content td {
    padding: 14px 12px;
    border-right: 2px solid #e0e0e0;
    border-bottom: 2px solid #e0e0e0;
}

.fill-content th:last-child,
.fill-content td:last-child {
    border-right: none;
}

.fill-content tr:last-child td {
    border-bottom: none;
}

.fill-content tr:hover td {
    background: #fafafa;
}

table a {
    color: #2b5c8a;
    text-decoration: none;
}

.fill-content a:hover {
    text-decoration: underline;
}

.fill-content td:first-child {
    font-weight: bold;
}


.right-side-content {
    width: 30%;
}

.right-side-content h2 {
    font-weight: normal;
    margin-bottom: 30px;
    color: var(--fg-color);
}

.post-in-sidebar {
    width: 100%;
}

.post-in-sidebar ul {
    width: 100%;
    list-style: none;
}

.card {
    width: 100%;
    overflow: hidden;
    margin-bottom: 25px;
}

.card a {
    text-decoration: none;
    color: var(--fg-color);
}

.card img {
    width: 100%;
    height: auto;
    display: block;
}

.post-detail {
    padding-top: 15px;
}

.post-detail h1 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    font-weight: normal;
    line-height: 1.4;
}

.post-detail span {
    display: block;
    margin-bottom: 5px;
    color: var(--text-gray);
    font-size: .85rem;
    line-height: 1.3;
}

.fill-content p {
    color: var(--fg-color);
    line-height: 1.6;
    font-weight: normal;
    letter-spacing: .3px;
    margin-top: 10px;
    margin-bottom: 15px;
}

.fill-content a {
    color: royalblue;
    font-weight: bold;
    text-decoration: none;
}

.fill-content pre {
    width: 100%;
    background-color: rgba(173, 216, 230, 0.3);
    border: 1px solid #ccc;
    margin-top: 15px;
    margin-bottom: 15px;
    display: block;
    padding: 15px;
    overflow-x: auto;
    font-family: monospace;
}



/*navbar*/
#navbar {
    overflow: hidden;
    padding: 20px 10px;
    position: sticky;
    top: 0;
    z-index: 99;
    width: 100%;
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    background-color: white;
    border-bottom: 1px solid rgba(128,128,128,.2);
    transition: padding 0.35s ease;
}

.language-plaintext.highlighter-rouge{
    display:inline-block;
    padding:2px 6px;
    font-size:.9em;
    font-weight:600;
    color:#8b8b8b;
    background:#f3f3f3;
    border:1px solid #d6d6d6;
    border-radius:4px;
    text-shadow: 0 1px 0 #fff, 0 2px 1px rgba(0,0,0,.12);
    box-shadow: inset 0 1px 0 rgba(255,255,255,.9),0 1px 2px rgba(0,0,0,.12);
}

.fill-content blockquote {
    background: whitesmoke;
    width: 100%;
    padding: 30px;
    border-left: 10px solid orangered;
    display: flex;
    align-items: center;
    margin-top: 5px;
    margin-bottom: 5px;
}

.fill-content blockquote p {
    font-style: italic;
}
#logo {
    width:100px;
    transition: width 0.35s ease;
}

#navbar ul {
    width:50%;
    display:flex;
    justify-content:flex-end;
    align-items:center;
    gap:30px;
}

#navbar li,
#navbar a{
    list-style:none;
    text-decoration:none;
    color:#444;
}

#navbar a{
    position:relative;
    text-decoration:none;
    color:#444;
    display:inline-block;
    font-weight: 500;
    letter-spacing: 1px;
    font-size: .9rem;
}

#navbar a::after {
    content:"";
    position:absolute;
    left:0;
    bottom:-4px;
    width:100%;
    height:2px;
    background:var(--text-gray);
    transform:scaleX(0);
    transform-origin:left;
    transition:transform .35s ease;
}

#navbar a:hover::after{
    transform:scaleX(1);
}

#navbar.shrink{
    padding:5px 10px;
}

#navbar.shrink #logo{
    width:70px;
}
