body {
    font-family: Arial, sans-serif;
    background-color: rgb(32, 33, 36);
    color: rgb(189, 193, 198);
}

a {
    text-decoration: none;
    color: rgb(138, 180, 248);
}

.nav-bar a {
    color: rgb(189, 193, 198);
}

.post {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0 20px 0;
    margin-bottom: 1em;
}

.post:not(:last-child) {
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.post h2 {
    margin: 0;
    padding: 0;
}

.post .avatar {
    flex: 0 0 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    margin-right: 1em;
}

.post .info {
    flex: 1;
}

.post .info .title {
    font-size: 1.2em;
    margin-bottom: 0.5em;
}

.post .info .detail {
    color: #aaa;
    font-size: 13px;
    display: flex;
    justify-content: space-between;
    font-family: Arial, Helvetica, sans-serif
}

.post .info .detail em {
    font-style: normal;
    font-size: 11px;
    margin-left: 8px;
}

.post .info .detail em::before {
    content: "﹙";
}

.post .info .detail em::after {
    content: "﹚";
}

.post .comments {
    display: inline-block;
    padding: .25em .4em;
    font-size: 75%;
    line-height: 1;
    text-align: center;
    white-space: nowrap;
    vertical-align: baseline;
    border-radius: .50rem;
    color: rgb(26, 26, 30);
    background-color: rgb(142, 142, 154);
    font-family: 'Consolas';
}

.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    font-family: Consolas;
    flex-wrap: wrap;
}

.pagination a {
    margin: 0.5em;
    color: #ddd;
    background-color: #2f3640;
    padding: 5px 10px;
    border-radius: 4px;
    transition: background-color 0.3s ease;
}

.pagination a:hover {
    background-color: #5e6369;
}

.pagination a.active {
    background-color: #242a327a;
    color: #f5f6fabe;
    cursor: default;
}

.footer {
    color: #91979e;
    display: flex;
    justify-content: center;
    align-items: center;      
    margin: 40px 0 20px 0; 
    height: 16px;
    line-height: 16px;
    font-size:14px;
}

.footer a {
    color: #91979e;
}

.footer a:hover {
    color: #adb3bb;
}

.footer a:not(:last-child) {
    margin-right: 20px;
}

.copyright-mark{
    vertical-align: middle;
    margin-right: 2px;
    font-size:17px;
}

.main-box {
    width: 960px;
    margin: 0 auto;
}

.nav-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.nav-bar h1 {
    margin: 0;
    padding: 0;
}

.nav-bar button {
    background-color: #2f3640;
    color: #f5f6fabe;
    border: none;
    padding: 5px 10px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 16px;
    margin: 0 2px;
    cursor: pointer;
    border-radius: 4px;
}

.nav-bar button:active {
    background-color: #242a32;
}

.modal {
    display: none;
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.7);
}

.modal-content {
    background-color: rgb(32, 33, 36);
    margin: 100px auto;
    padding: 0 20px 20px 20px;
    width: 500px;
    box-shadow: 0 1px 20px 0 rgba(205, 204, 204, 0.2), 0 1px 20px 0 rgba(203, 200, 200, 0.19);
}

.dialog-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.dialog-header p {
    font-size: 18px;
    font-weight: bold;
}

.dialog-close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
}

.dialog-close:hover,
.dialog-close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}

@keyframes modalOpen {
    0% {
        transform: scale(0);
        opacity: 0;
    }

    100% {
        transform: scale(1);
        opacity: 1;
    }
}

.modal-content.show {
    animation: modalOpen 0.2s;
}

@media screen and (max-width: 1000px) {
    .main-box {
        width: 100%;
        margin: 0;
    }
}

@media screen and (max-width: 600px) {
    .modal-content {
        width: 80%;
        margin: 100px auto;
    }
}

.modal-content form {
    display: flex;
    flex-direction: column;
    gap: 10px;
    color: rgb(189, 193, 198);
}

.modal-content form textarea,
.modal-content form input {
    padding: 10px;
    border: none;
    border-radius: 5px;
    background-color: rgba(255, 255, 255, 0.1);
    color: rgb(189, 193, 198);
}

.modal-content form input:not(:last-child) {
    margin-bottom: 20px;
}

.modal-content form textarea:focus,
.modal-content form input:focus {
    outline: rgb(158, 200, 248) solid;
}

.google-captcha-container {
    display: none;
    justify-content: center;
}

.suggestion-box {
    text-align: center;
    padding: 10px 0;
}

.submit-button-container {
    display: flex;
    justify-content: center;
}

.submit-button-container button {
    background-color: #2f3640;
    color: #f5f6fabe;
    border: none;
    padding: 5px 10px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 16px;
    margin: 2px 2px;
    cursor: pointer;
    border-radius: 4px;
    transition: background-color 0.3s ease;
}

.submit-button-container button:active {
    background-color: #242a32;
}

.lds-dual-ring {
    color: #1c4c5b
}

.lds-dual-ring,
.lds-dual-ring:after {
    box-sizing: border-box;
}

.lds-dual-ring {
    display: inline-block;
    width: 80px;
    height: 80px;
}

.lds-dual-ring:after {
    content: " ";
    display: block;
    width: 64px;
    height: 64px;
    margin: 8px;
    border-radius: 50%;
    border: 6.4px solid currentColor;
    border-color: currentColor transparent currentColor transparent;
    animation: lds-dual-ring 1.2s linear infinite;
}

@keyframes lds-dual-ring {
    0% {
        transform: rotate(0deg);
    }

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