.comment-title {
    font-family: "Pirata One", system-ui;
    font-size: 50px;
    color: var(--text-color);
    text-align: center;
    margin-bottom: 20px;
    transition: color var(--transition-time);
}
body.dark-mode .left-section {
    background-color: #333;
}
body.dark-mode .right-section {
    background-color: #333;
}
body.dark-mode .comment-title { 
    color: #ddd;
}
p {
    margin-top: 0rem;
}
#comment-box {
    background-color: #f9f9f9;
    padding: 20px;
    border-radius: 15px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    margin: 0px 20px 20px 20px;
    transition: background-color var(--transition-time);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}
body.dark-mode #comment-box {
    background-color: #222;
    color: #ddd;
}
#name-input, #comment-text {
    width: 100%;
    padding: 10px;
    margin-top: 5px;
    margin-bottom: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    transition: border-color var(--transition-time);
}
body.dark-mode #name-input, body.dark-mode #comment-text {
    border-color: #555;
}
#submit-comment, #toggle-comments {
    background-color:  #6e6e6e;
    color: white;
    padding: 10px 15px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s;
}
.button-container {
    display: flex;
    justify-content: space-between;
    width: 100%;
}
#submit-comment, #toggle-comments {
    width: 48%;
}
body.dark-mode #submit-comment, body.dark-mode #toggle-comments {
    background-color: #555;
    color: white;
}
body.dark-mode #submit-comment:hover, body.dark-mode #toggle-comments:hover {
    background-color: #777;
}
.comment-list {
    margin: 20px 20px 20px 20px;
}
.comment-item {
    background-color: #f1f1f1;
    padding: 25px;
    padding-left: 30px;
    border-radius: 5px;
    margin-bottom: 10px;
    border-left: 5px solid  #6e6e6e;
    transition: background-color var(--transition-time);
    text-align: left;
}
body.dark-mode .comment-item {
    background-color: #444;
    border-left-color:  #6e6e6e;
}
#main-container {
    display: flex;
    justify-content: space-between;
    padding: 20px;
    gap: 20px;
}
.left-section {
    flex: 1.75;
    padding: 10px;
    padding-top: 20px;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}
.right-section {
    flex: 1;
    padding: 10px;
    padding-top: 20px;
    background-color: #f7f7f7;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}
.left-section, .right-section {
    margin-top: 70px;
}
@media (max-width: 768px) {
    #main-container {
        flex-direction: column;
    }
}
#main-container {
    margin: 80px 10px 0px 10px;
}
.message {
    margin-bottom: 20px;
    width: 100%;
    font-weight: bold;
    font-size: 1em;
    display: none;
    text-align: center;
    margin-top: -10px;
}
.success {
    color: rgb(56, 147, 56);
}
.error {
    color: rgb(255, 92, 92);
}