body {
    font-family: "Rye", serif;
    margin: 0;
    padding: 0;
    justify-content: center;
    height: 100vh;
    background-color: #EEE;
    text-align: center
}

.centered-div {
    width: 100%;
    height: 90px;
    background-color: white;
    text-align: left;
    padding: 3px 3px 3px 20px;
    box-sizing: border-box;
    vertical-align: middle;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3)
}

#search {
    width: 300px;
    height: 50px;
    vertical-align: top;
    text-align: center;
    font-size: 24px;
    margin: 15px 0 0 5px;
    border-radius: 20px;
    border: 0;
    background-color: #EEE
}

.topicon {
    width: 80px;
    height: 80px;
    vertical-align: top;
    background-color: #EEE;
    margin-top: 100px;
    margin-right: 80px
}

.image-container {
    overflow: hidden;
    position: relative
}

.image-container img {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    max-width: none
}

.circle-image {
    width: 300px;
    height: 300px;
    border-radius: 50%;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    border: 1px solid #C0C0C0;
    box-shadow: 0 0 0 7px #fff;
    position: absolute;
    top: 360px;
    left: 260px
}

.circle-image img {
    width: 100%;
    height: 100%;
    object-fit: cover
}

#introduce {
    margin-top: 0;
    height: 220px;
    width: 80%;
    background-color: #fff
}

a {
    text-decoration: none
}

.mycontainer {
    display: flex;
    width: 80%;
    box-sizing: border-box
}

.left-side {
    width: 35%;
    display: flex;
    box-sizing: border-box;
    margin-top: 10px;
    padding: 20px;
    height: 100vh
}

.right-side {
    width: 65%;
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
    padding: 20px;
    justify-content: flex-start
}

.right-side div {
    background-color: #fff;
    padding: 20px;
    margin: 10px 0;
    vertical-align: top;
    text-align: center
}

.post-images {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    margin-bottom: 15px
}

.post-images img {
    cursor: pointer;
    transition: transform 0.3s;
    object-fit: cover;
    border-radius: 5px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1)
}

.post-images img:hover {
    transform: scale(1.02);
    box-shadow: 0 0 8px rgba(0, 0, 0, 0.2)
}

.post-images-1 img {
    width: 100%;
    max-height: 400px
}

.post-images-2 img {
    width: calc(50% - 3px);
    height: 200px
}

.post-images-3 img {
    width: calc(33.33% - 4px);
    height: 180px
}

.post-images-4 img,
.post-images-5 img,
.post-images-6 img {
    width: calc(33.33% - 4px);
    height: 150px
}

.image-modal,
.reply-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1000;
    justify-content: center;
    align-items: center
}

.image-modal {
    background-color: rgba(0, 0, 0, 0.9)
}

.reply-modal {
    background-color: rgba(0, 0, 0, 0.5)
}

.image-modal-content {
    max-width: 90%;
    max-height: 90%;
    position: relative
}

.image-modal-content img {
    max-width: 100%;
    max-height: 90vh;
    object-fit: contain
}

.close-modal {
    position: absolute;
    top: 20px;
    right: 30px;
    color: #fff;
    font-size: 40px;
    cursor: pointer;
    z-index: 1001
}

.blog-post {
    background: #fff;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1)
}

.post-content {
    text-align: left;
    font-size: 22px;
    margin-top: 15px
}

.post-date {
    color: #666;
    margin-bottom: 10px;
    font-size: 16px
}

.post-footer {
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid #eee
}

.replies-count {
    color: #666;
    font-size: 14px;
    margin-top: 10px
}

.reply-modal-content {
    background-color: #fff;
    padding: 20px;
    border-radius: 8px;
    width: 400px;
    max-width: 90%
}

.reply-modal-content h3 {
    margin-top: 0;
    text-align: center
}

.reply-form-group {
    margin-bottom: 15px
}

.reply-form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold
}

.reply-form-group input,
.reply-form-group textarea {
    width: 100%;
    padding: 8px;
    border: 1px solid #ddd;
    border-radius: 4px;
    box-sizing: border-box
}

.reply-form-group textarea {
    height: 100px;
    resize: vertical
}

.reply-buttons {
    display: flex;
    justify-content: space-between;
    margin-top: 20px
}

.reply-buttons button {
    padding: 8px 15px;
    border: none;
    border-radius: 4px;
    cursor: pointer
}

.reply-submit {
    background-color: #dc3545;
    color: #fff
}

.reply-cancel {
    background-color: #6c757d;
    color: #fff
}
