@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

body {
    font-family: "Poppins", sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f4f4f4;
}

.container {
    width: 80%;
    margin: 20px auto;
    background: #fff;
    padding: 20px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    border-radius: 15px;
}

h1 {
    color: #333;
}

.date {
    color: #666;
    font-size: 0.9em;
}

.author {
    margin-top: 10px;
    font-style: italic;
    color: #555;
    font-size: 0.9em;
    text-align: left;
    padding-left: 10px;
    border-left: 4px solid #ccc;
}

.message {
    margin-top: 20px;
    white-space: pre-wrap;
    word-wrap: break-word;
}

pre {
    background-color: rgba(0, 0, 0, 0.2);
    border-radius: 10px;
    white-space: pre-wrap;
    word-wrap: break-word;
}

.images {
    display: flex;
    flex-wrap: wrap;
    margin-top: 20px;
}

.images img {
    max-width: 100%;
    height: auto;
    margin-bottom: 10px;
}

.images img.full {
    width: 100%;
}

.images img.half {
    width: 48%;
    margin-right: 2%;
}

.images img.quarter {
    width: 23%;
    margin-right: 1%;
}

.extra {
    position: relative;
    width: 23%;
    margin-right: 1%;
}

.extra::after {
    content: attr(data-extra) " more";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5em;
}

.embeds {
    max-width: 100%;
    height: auto;
    margin-top: 20px;
}

.embeds iframe {
    max-width: 100%;
    height: auto;
    margin-bottom: 10px;
}

video {
    width: 100%;
    height: auto;
    display: block;
}

/* CSS for sensitive warning div */
.sensitive {
    background-color: orange; /* Background color of the div */
    color: #fff; /* Text color */
    padding: 10px; /* Padding inside the div */
    border-radius: 5px; /* Rounded corners */
    display: flex; /* Use flexbox to align items */
    align-items: center; /* Vertically align items */
    gap: 8px; /* Space between icon and text */
    font-family: Arial, sans-serif; /* Font for text */
    margin: 10px 0; /* Margin around the div */
}

/* Style for the warning icon */
.sensitive .material-icons {
    font-size: 24px; /* Icon size */
    vertical-align: middle; /* Align icon with text */
}

body.dark {
    background-color: #1e1e1e;
    color: #f4f4f4;
}

body.dark h1 {
    color: #ccc;
}

body.dark .container {
    background: #2e2e2e;
}

body.dark .date {
    color: #b0b0b0;
}

body.dark .author {
    color: #cccccc;
}

body.dark .extra::after {
    background: rgba(0, 0, 0, 0.5);
}
