body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #f4f7f6;
    /*margin: 0;
    padding: 0;*/
    display: flex;
    flex-direction: column;
    /*justify-content: center;
    align-items: center;*/
    color: #2c3e50;
    font-size: 14px;
}
@media screen and (min-width: 768px) {
    body {
    justify-content: center;
    align-items: center;
    }
    .container.comment-section {
        width: 100%;
    }
}


.container {
    max-width: 800px;
    background: #ffffff;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0px 8px 20px rgba(0, 0, 0, 0.1);
    text-align: left;
    margin: 20px 0;
}

/*.container.comment-section {
    margin-top: 0;
    width: 100%;
}*/

h1 {
    background-color: #3498db;
    color: white;
    padding: 20px;
    border-radius: 12px 12px 0 0;
    margin: -30px -30px 20px -30px;
    font-size: 28px;
    font-weight: 600;
    text-align: center;
}
h2 {
    color: #3498db;
    font-size: 24px;
    margin-top: 30px;
    margin-bottom: 15px;
    font-weight: 600;
}
h3 {
    color: #2c3e50;
    font-size: 20px;
    margin-top: 25px;
    margin-bottom: 10px;
    font-weight: 500;
}
ol, ul {
    color: #2c3e50;
    margin-bottom: 20px;
}
ol li, ul li {
    margin-bottom: 10px;
    line-height: 1.6;
}
p {
    font-size: 16px;
    color: #34495e;
    line-height: 1.8;
    margin: 0 0 20px 0;
}
pre {
    background-color: #f8f9fa;
    padding: 15px;
    border-radius: 8px;
    overflow-x: auto;
    border: 1px solid #e0e0e0;
}
code {
    font-family: 'Courier New', Courier, monospace;
    font-size: 14px;
    color: #e74c3c;
}
img {
    width: 100%;
    border-radius: 8px;
    margin: 20px 0;
    border: 1px solid #e0e0e0;
    cursor: pointer;
}
.note {
    background-color: #ecf0f1;
    padding: 15px;
    border-left: 4px solid #3498db;
    margin: 20px 0;
    border-radius: 4px;
}
.note p {
    margin: 0;
    color: #2c3e50;
}
a {
    color: #3498db;
    text-decoration: none;
    font-weight: 500;
}
a:hover {
    text-decoration: underline;
}
/* Modal styles */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    padding-top: 60px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.9);
}
.modal-content {
    margin: auto;
    display: block;
    max-width: 80%;
    max-height: 80%;
    width: auto;
    height: auto
}
.close {
    position: absolute;
    top: 20px;
    right: 35px;
    color: #fff;
    font-size: 40px;
    font-weight: bold;
    transition: 0.3s;
}
.close:hover,
.close:focus {
    color: #bbb;
    text-decoration: none;
    cursor: pointer;
}

/* 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;
}
/* reCAPTCHA */
.score-badge {
    padding: 5px 10px;
    background: #f0f0f0;
    border-radius: 4px;
    margin-left: 10px;
}