/* Mobile Styles */
@media (max-width: 992px)  {
    body {
        font-size: 20px; /* Smaller font size for mobile */
    }

    .container {
        max-width: 100%; /* Full width on mobile */
        padding: 10px; /* Less padding on mobile */
        margin: 10px;
    }

    h1 {
        font-size: 24px; /* Smaller heading size */
        margin: 0 0 20px 0;
        text-align: center;
    }

    h2 {
        font-size: 20px;
    }

    h3 {
        font-size: 18px;
    }

    pre {
        font-size: 12px; /* Smaller code font size */
        padding: 8px;
        overflow-x: auto;
        white-space: pre-wrap;
        word-wrap: break-word;
    }

    img {
        margin: 5px 0; /* Less margin for images */
    }

    /* Adjust code blocks for small screens */
    pre code {
        white-space: pre-wrap; /* Wrap long lines of code */
        word-wrap: break-word;
    }

    /* Modal adjustments for mobile */
    .modal-content {
        width: 100%; /* Full width for modal images */
        max-width: 100%;
    }

    .close {
        font-size: 24px; /* Larger close button for mobile */
    }


.comment-form {
    background-color: white;
    margin-bottom: 30px;
}

.comment-form h2 {
    margin-top: 0;
}

.comment-form input, .comment-form textarea {
    width: 100%;
    padding: 10px;
    margin-bottom: 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    box-sizing: border-box;
}

.comment-form textarea {
    min-height: 100px;
    resize: vertical;
}

.comment-form button {
    background-color: #4285f4;
    color: white;
    border: none;
    padding: 10px 15px;
    border-radius: 4px;
    cursor: pointer;
    font-weight: bold;
}

.comment-form button:hover {
    background-color: #3367d6;
}

.comments-container {
    margin-top: 20px;
}

.comment {
    background-color: white;
    border-radius: 8px;
    margin-bottom: 15px;
    position: relative;
}

.comment-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
}

.author {
    font-weight: bold;
    color: #333;
}

.timestamp {
    color: #888;
    font-size: 0.85em;
}

.comment-text {
    color: #444;
    line-height: 1.5;
}

.delete-btn {
    position: absolute;
    top: 15px;
    right: 15px;
    background-color: #f44336;
    color: white;
    border: none;
    border-radius: 4px;
    padding: 5px 8px;
    cursor: pointer;
    font-size: 0.8em;
    display: none;
}

.comment:hover .delete-btn {
    display: block;
}

#loading {
    text-align: center;
    color: #666;
    margin: 20px 0;
}

.error {
    color: #f44336;
    margin: 10px 0;
}


/* comment section */


.comment-form {
    background-color: white;
    margin-bottom: 30px;
}

.comment-form h2 {
    margin-top: 0;
}

.comment-form input, .comment-form textarea {
    width: 100%;
    padding: 10px;
    margin-bottom: 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    box-sizing: border-box;
}

.comment-form textarea {
    min-height: 100px;
    resize: vertical;
}

.comment-form button {
    background-color: #4285f4;
    color: white;
    border: none;
    padding: 10px 15px;
    border-radius: 4px;
    cursor: pointer;
    font-weight: bold;
}

.comment-form button:hover {
    background-color: #3367d6;
}

.comments-container {
    margin-top: 20px;
}

.comment {
    background-color: white;
    border-radius: 8px;
    margin-bottom: 15px;
    position: relative;
}

.comment-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
}

.author {
    font-weight: bold;
    color: #333;
}

.timestamp {
    color: #888;
    font-size: 0.85em;
}

.comment-text {
    color: #444;
    line-height: 1.5;
}

.delete-btn {
    position: absolute;
    top: 15px;
    right: 15px;
    background-color: #f44336;
    color: white;
    border: none;
    border-radius: 4px;
    padding: 5px 8px;
    cursor: pointer;
    font-size: 0.8em;
    display: none;
}

.comment:hover .delete-btn {
    display: block;
}

#loading {
    text-align: center;
    color: #666;
    margin: 20px 0;
}

.error {
    color: #f44336;
    margin: 10px 0;
}


}