body {
    display: flex;
    flex-direction: column;
    margin: 0;
    font-family: Arial, sans-serif;
    background-color: #0a0a0a; /* Dark black background */
    color: #f5f5f5; /* Light text */
}

.container {
    max-width: 80%;
    margin: 20px auto;
    padding: 20px;
    background-color: #1a1a1a; /* Dark grey */
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(255, 0, 0, 0.2); /* red tint */
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: space-between;
}

.note {
    flex: 1 1 calc(33.333% - 20px);
    background-color: #111;
    border: 1px solid #ff0000;
    border-radius: 5px;
    padding: 15px;
    margin: 10px;
    box-sizing: border-box;
    overflow: hidden;
}

.note p, .note h3 {
    word-wrap: break-word;
    color: #f5f5f5;
}

.note a {
    word-break: break-all;
    color: #ff4d4d; /* light red for links */
}

.note h3 {
    margin: 0 0 10px 0;
}

.note p {
    margin: 5px 0;
}

.note em {
    font-style: italic;
    color: #ff5555;
}

.note a.button {
    display: inline-block;
    padding: 10px 20px;
    background-color: #b30000;
    color: white;
    text-decoration: none;
    border-radius: 5px;
}

.green-box {
    background-color: #330000; /* dark red instead of green */
    color: #ff6666;
    padding: 10px;
    border-radius: 5px;
    margin: 10px 0;
    font-family: Arial, sans-serif;
}

.sidebar {
    display: none;
    visibility: hidden;
    width: 20%;
    padding: 20px;
    background-color: #0f0f0f;
}

.sidebar ul {
    list-style-type: none;
    padding: 0;
}

.sidebar ul li {
    margin-bottom: 10px;
}

.sidebar ul li a {
    text-decoration: none;
    color: #ff4444;
}

.sidebar ul li a:hover {
    color: #ff7777;
}

#top-links {
    background-color: #1f1f1f;
    padding: 10px 20px;
    text-align: center;
    border-bottom: 1px solid #ff0000;
}

#top-links a {
    margin: 0 15px;
    text-decoration: none;
    color: #ff3333;
    font-weight: bold;
}

#top-links a:hover {
    text-decoration: underline;
}

#linkContainer {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-top: 30px;
}

.loading-container {
    text-align: center;
}

.loading-message {
    font-size: 18px;
    color: #ffcccc;
}

.loader {
    border: 4px solid #222;
    border-top: 4px solid #ff0000;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    animation: spin 2s linear infinite;
    margin: 15px auto;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}
