@font-face {
    font-family: 'KaiTi';
    src: url(/fonts/Kaiti.ttf) format("truetype");
}
@font-face {
    font-family: 'Lishu';
    src: url(/fonts/Lishu.ttf) format("truetype");
}
@font-face {
    font-family: 'YuWeiShuFaXingShuFanTi';
    src: url(/fonts/YuWeiShuFaXingShuFanTi.ttf) format("truetype");
}

.container {
    max-width: 1024px;
}

#nav a {
    font-weight: bold;
    color: inherit;
}

#nav-border {
    border-bottom: 1px solid #212529;
}

#main {
    margin-top: 1em;
    margin-bottom: 4em;
}

#home-jumbotron {
    background-color: inherit;
}

h1.title {
    font-family: 'Lishu';
    font-size: 300%;
    color: #000000;
    writing-mode: vertical-rl;
    text-orientation: upright;
}

.font-125 {
    font-size: 125%;
}

.feather-16 {
    width: 16px;
    height: 16px;
}

.tag-btn {
    margin-bottom: 0.3em;
    padding-bottom: 0.3em;
}

.share-btn {
    margin-bottom: 0.3em;
    padding-bottom: 0.3em;
}

img {
    max-width: 100%;
}

a.title:link,
a.title:visited,
a.title:hover,
a.title:active {
    color: #eee;
    text-decoration: underline;
}

a.summary:link,
a.summary:visited,
a.summary:hover,
a.summary:active {
    color: rgb(255, 255, 255);
    text-decoration: none;
}

.footer {
    font-family: 'KaiTi';
    font-size: 16px;
    color: rgb(255, 255, 255);
}

.vertical-text {
    font-family: 'KaiTi';
    color: #000000;
    background-color: #f0f0dd;
    font-size: 24px;
}

body {
    font-family: 'KaiTi';
    padding: 2px 5px 0 12px;
    font-size: 22px;
    color: #000000;
    letter-spacing: 1px;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    line-height: 1.5em;
    background-color: #fffdf5;
    background-image: url('/images/plum-wallpaper.jpg');
    background-size: cover;
    background-repeat: no-repeat;
    background-attachment: fixed;
}

/*! main card section*/
.card-vertical {
    font-family: 'YuWeiShuFaXingShuFanTi';
    color: #000000;
    font-size: 24px;
    line-height: 1.2;
    margin: 0 auto;
    background-color: rgba(240, 240, 221, 0.8);
    border-radius: 0.55rem;
    -webkit-box-shadow: 2px 4px 12px rgb(0 0 0 / 8%);
    box-shadow: 2px 4px 12px rgb(0 0 0 / 8%);
    margin-left: 20px; /* Added left margin */
    max-width: 100%;
    padding: 1.45rem;
    position: relative;
    -webkit-writing-mode: vertical-rl;
    writing-mode: vertical-rl;
    width: 1024px;
    height: 380px;
    text-orientation: upright;
    white-space: pre-wrap;
    word-break: break-word;
    padding-top: 30px;
}


.card {
    font-family: 'KaiTi';
    color: #eee;
    background-color: #375ea0;
    border-radius: 0.55rem;
    -webkit-box-shadow: 2px 4px 12px rgb(0 0 0 / 8%);
    box-shadow: 2px 4px 12px rgb(0 0 0 / 8%);
    max-width: 100%;
    padding: 1.45rem;
    position: relative;
    -webkit-writing-mode: vertical-rl;
    writing-mode: vertical-rl;
    width: 800px;
    height: 320px;
    text-orientation: upright;
    white-space: pre-wrap;
    word-break: break-word;
    padding-top: 30px;
    font-size: 24px;
}

.stamp-container {
    margin-left: 500px;
    margin-top: 0;
}

.cover-container {
    background-color: rgba(240, 240, 221, 0.8);
    border-radius: 0.55rem;
    width: 360px;
    height: 640px;
}

/* Responsive Styles */
@media (max-width: 767px) {
    /* Styles for small screens */
    .container {
        max-width: 100%;
        padding: 10px;
    }

    h1.title {
        font-size: 200%;
        margin-right: 10px; /* Reduced the right margin */
        margin-bottom: 10px; /* Reduced the bottom margin */
        margin-left: 250px;
    }

    .card-vertical {
        font-size: 24px;
        width: 100%;
        height: auto;
        /* padding: 1rem; */
        margin-left: 10px; /* Reduced the left margin */
        margin-right: 20px; /* Reduced the left margin */
        padding-right: 0.5rem;
    }

    .card {
        font-size: 16px;
        width: 100%;
        height: auto;
        padding-right: 0.5rem;
    
    }

    /* Other responsive styles... */
    .stamp-container {
        margin-left: 200px;
        margin-top: 0;
        width: 10%; /* Adjust as needed */
    }
}

@media (min-width: 768px) and (max-width: 991px) {
    /* Styles for medium screens */
    .container {
        max-width: 100%;
        padding: 15px;
    }

    h1.title {
        font-size: 250%;
        margin-right: 15px; /* Increased the right margin */
        margin-bottom: 15px; /* Increased the bottom margin */
        margin-left: 400px;
    }

    .card-vertical {
        font-size: 28px;
        width: 100%;
        height: auto;
        padding: 1.2rem;
        margin-left: 15px; /* Increased the left margin */
        margin-right: 25px; /* Reduced the left margin */
        padding-right: 0.5rem;
    }

    /* Other responsive styles... */
    .stamp-container {
        margin-left: 300px;
        margin-top: 0;
    }
}

@media (min-width: 992px) {
    /* Styles for large screens */
    .container {
        max-width: 1024px;
        padding: 20px;
    }

    h1.title {
        font-size: 300%;
        margin-right: 20px; /* Increased the right margin */
        margin-bottom: 20px; /* Increased the bottom margin */
        margin-left: 600px;
    }

    .card-vertical {
        font-size: 32px;
        width: 1024px;
        height: 380px;
        padding: 1.45rem;
        margin-left: 20px; /* Increased the left margin */
    }

    /* Other responsive styles... */
    .stamp-container {
        margin-left: 500px;
        margin-top: 0;
    }
}