html {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 14pt;
    word-wrap: normal;
}

h1,
h2 {
    margin: 0;
    border: 0;
    margin-bottom: 2px;
}

.container::before {
    content: "";
    opacity: 0.4;
    position: fixed;
    z-index: -1;
    width: 100%;
    height: 100%;
    background-image: url("snowflake.png");
    background-repeat: repeat;
    background-size: 66px 66px;
    filter: blur(1px);
    animation: move 3s linear infinite;
}

@keyframes move {
    from {
        background-position: 0 0;
    }
    to {
        /* returns the sun to its default position */
        background-position: 132px 66px;
        /* Move by exactly one tile size */
    }
}

.container {
    display: grid;
    grid-template-columns: 250px 1fr;
    min-height: 100vh;
    background-color: rgba(0, 0, 0, 0.01);
    border-radius: 32px;
}

.content::before {
    content: "";
    position: absolute;
    border-radius: 32px;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Height of the lightning effect */
    background: linear-gradient( 90deg, rgba(255, 255, 255, 0.8) 0%, rgba(200, 220, 255, 0.237) 50%, rgba(150, 180, 255, 0) 100%);
    animation: lightning 2s ease-in-out infinite alternate;
    pointer-events: none;
    z-index: -3;
}

.content::after {
    content: "";
    position: absolute;
    border-radius: 32px;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Height of the lightning effect */
    animation: lightning 2s ease-in-out infinite alternate;
    pointer-events: none;
}

.data {
    padding: 8px;
    word-break: break-all;
}

img {
    max-width: 200px;
    max-height: 200px;
}

.content {
    backdrop-filter: blur(4px);
    background: linear-gradient( 180deg, rgba(150, 180, 255, 0.36) 0%, rgba(150, 180, 255, 0) 100px);
    background-color: rgba(0, 0, 0, 0);
    padding-left: 10px;
    border-radius: 32px;
}

.sidebar {}

.login {
    background: linear-gradient( 180deg, rgb(213, 249, 255) 0%, rgba(150, 180, 255, 0) 100%);
    background-color: rgba(195, 232, 255, 0.169);
    border-radius: 20px;
    backdrop-filter: blur(3px);
    padding: 10px;
}

a {
    text-decoration: none;
}

.pending-artwork {
    opacity: 0.5;
}

.pending-comment {
    color: #888;
    font-style: italic;
}

.approval-form {
    margin: 5px 0;
}

.approval-btn {
    background-color: #4CAF50;
    color: white;
    padding: 2px 6px;
    border: none;
    cursor: pointer;
    font-size: 12px;
}

.artwork-tooltip {
    position: relative;
}

.artwork-tooltip:hover::after {
    content: attr(data-title) "\A\A" attr(data-desc) "\A\A Approver: " attr(data-approver);
    position: absolute;
    left: 0;
    top: 100%;
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 5px;
    border-radius: 3px;
    white-space: pre-line;
    z-index: 100;
    font-size: 14px;
    width: 200px;
    word-wrap: break-word;
}


/* Mobile layout - sidebar on top */

@media (max-width: 768px) {
    .container {
        grid-template-columns: 1fr;
        grid-template-rows: auto 1fr;
    }
}

.post-form {
    max-width: 600px;
    margin: 20px;
    padding: 15px;
    background: white;
    border-radius: 5px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.post-form input,
.post-form textarea {
    width: 100%;
    padding: 8px;
    margin: 5px 0;
    border: 1px solid #ddd;
    border-radius: 3px;
    box-sizing: border-box;
}

.post-form button {
    background: #4CAF50;
    color: white;
    padding: 10px 15px;
    border: none;
    border-radius: 3px;
    cursor: pointer;
}

.post-form button:hover {
    background: #45a049;
}

.form-row {
    margin-bottom: 10px;
}

.form-label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
}

.pending-artwork {
    opacity: 0.5;
}

.pending-comment {
    color: #888;
    font-style: italic;
}

.approval-form {
    margin: 5px 0;
}

.approval-btn {
    background-color: #4CAF50;
    color: white;
    padding: 2px 6px;
    border: none;
    cursor: pointer;
    font-size: 12px;
}

.comment {
    background: #f9f9f9;
    padding: 10px;
    margin: 10px 10px;
    border-radius: 3px;
}

.comment-form {
    margin-top: 20px;
    padding: 15px;
    background: #f0f0f0;
    border-radius: 5px;
}

.comment-form input,
.comment-form textarea {
    width: 100%;
    padding: 8px;
    margin: 5px 0;
    border: 1px solid #ddd;
    border-radius: 3px;
    box-sizing: border-box;
}

.comment-form button {
    background: #4CAF50;
    color: white;
    padding: 10px 15px;
    border: none;
    border-radius: 3px;
    cursor: pointer;
}

.comment-form button:hover {
    background: #45a049;
}