body {
    background-color: #000014;
    color: #ffffff;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    font-family: 'Times New Roman', Times, serif;
}

a {
    color: #6b8eaf;
    text-decoration: none;
}

a:hover {
    color: #3a6b8f;
    text-decoration: underline;
}

.container {
    display: flex;
    gap: 20px;
    padding-left: 15px;
}

.column {
    width: 200px;
}

.link-pool {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.gif-container {
    position: absolute;
    bottom: 20px;
    right: 20px;
    z-index: 100;
}

.gif-container img {
    width: 100px;
    height: 100px;
}

.speech-bubble {
    position: absolute;
    bottom: 140px;
    right: 100px;
    width: 200px;
    padding: 10px;
    border: 1px solid white;
    display: none;
}

.go-back-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    color: #f29b9b;
    text-decoration: none;
    z-index: 100;
}

.go-back-btn:hover {
    color: #e07474;
    text-decoration: underline;
}

.edit-template {
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding: 20px;
    background-color: #000014;
    color: #ffffff;
    width: 100%;
    box-sizing: border-box;
}

.edit-template #title {
    font-family: 'Times New Roman', Times, serif;
    font-size: 2rem;
    font-weight: bold;
    width: 100%;
    height: auto;
    border: 1px solid white;
    background-color: transparent;
    color: #ffffff;
    padding: 5px;
    outline: none;
}

.edit-template #author {
    font-family: 'Times New Roman', Times, serif;
    font-size: 1rem;
    width: auto;
    height: auto;
    border: 1px solid white;
    background-color: transparent;
    color: #ffffff;
    margin-left: 5px;
    padding: 5px;
    outline: none;
}

.edit-template #date {
    font-size: 1rem;
    margin-left: 5px;
}

.edit-template textarea[id="h"], .edit-template textarea.h {
    font-family: 'Times New Roman', Times, serif;
    font-size: 1.5rem;
    font-weight: bold;
    width: 100%;
    height: auto;
    border: 1px solid white;
    background-color: transparent;
    color: #ffffff;
    padding: 5px;
    outline: none;
}

.edit-template textarea {
    font-family: 'Times New Roman', Times, serif;
    font-size: 1rem;
    width: 100%;
    height: auto;
    border: 1px solid white;
    background-color: transparent;
    color: #ffffff;
    resize: none;
    overflow: hidden;
    margin-bottom: 10px;
    padding: 5px;
    outline: none;
}

.exit-button {
    position: absolute;
    top: 10px;
    right: 10px;
    padding: 8px 12px;
    border: none;
    background-color: transparent;
    color: white;
    cursor: pointer;
}

.exit-popup, .add-element-popup, .create-post-popup {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: #000014;
    color: white;
    padding: 20px;
    border: 1px solid white;
    text-align: center;
    z-index: 1000;
    min-width: 300px;
    font-family: 'Times New Roman', Times, serif;
}

.popup-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.popup-close {
    color: #ff4c4c;
    text-decoration: none;
    font-size: 18px;
    position: absolute;
    top: 10px;
    right: 10px;
}

.popup-close:hover {
    color: #e07474;
}

.popup-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 20px;
}

.popup-buttons button {
    font-family: 'Times New Roman', Times, serif;
    padding: 8px 16px;
    border: 1px solid white;
    background-color: transparent;
    color: white;
    cursor: pointer;
}

.popup-buttons button:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.element-wrapper {
    position: relative;
    margin-bottom: 20px;
    cursor: move;
    padding: 5px;
}

.element-wrapper.over {
    border: 2px dashed #6b8eaf;
}

.delete-button {
    display: none;
    position: absolute;
    right: 5px;
    top: 5px;
    background-color: transparent;
    color: #ff4c4c;
    border: none;
    cursor: pointer;
    padding: 2px 6px;
    font-size: 16px;
    text-decoration: none;
    z-index: 10;
}

.element-wrapper:hover .delete-button {
    display: inline-block;
}

.delete-button:hover {
    color: #e07474;
    text-decoration: none;
}

.media-wrapper {
    position: relative;
    margin-bottom: 20px;
    display: inline-block;
    cursor: move;
    padding: 5px;
}

.media-wrapper.over {
    border: 2px dashed #6b8eaf;
}

.media-delete-button {
    display: none;
    position: absolute;
    right: 5px;
    top: 5px;
    background-color: rgba(0, 0, 0, 0.7);
    color: #ff4c4c;
    border: none;
    cursor: pointer;
    padding: 2px 6px;
    font-size: 16px;
    text-decoration: none;
    z-index: 10;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    text-align: center;
    line-height: 24px;
}

.media-wrapper:hover .media-delete-button {
    display: inline-block;
}

.media-delete-button:hover {
    color: #e07474;
    background-color: rgba(0, 0, 0, 0.9);
}

.editor-file {
    max-width: 100%;
    margin: 10px 0;
    display: block;
}

.media-url-input, .post-title-input, .post-filename-input {
    font-family: 'Times New Roman', Times, serif;
    display: block;
    margin: 20px auto;
    padding: 8px;
    border: 1px solid white;
    background-color: transparent;
    color: white;
    width: 80%;
    outline: none;
}

.media-url-input:focus, .post-title-input:focus, .post-filename-input:focus {
    border: 1px solid rgba(255, 255, 255, 0.8);
}

input, textarea, button {
    font-family: 'Times New Roman', Times, serif;
    border: 1px solid white;
}

.html-viewer {
    font-family: 'Times New Roman', Times, serif;
}

#content {
    min-height: 300px;
    padding: 10px 0;
}

#edit-mode-indicator {
    position: fixed;
    top: 10px;
    right: 10px;
    color: #f29b9b;
    font-family: 'Times New Roman', Times, serif;
    font-size: 14px;
    z-index: 1000;
}

#konami-input {
    border: 1px solid white;
    background-color: transparent;
    color: #ffffff;
    font-family: 'Times New Roman', Times, serif;
    padding: 5px;
}

#shortcut-input {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1000;
    background-color: #000014;
    border: 1px solid white;
    color: #ffffff;
    font-family: 'Times New Roman', Times, serif;
    padding: 10px;
    width: 300px;
    outline: none;
}

.floating-media-input {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1000;
    background-color: transparent;
    border: 1px solid white;
    color: #ffffff;
    font-family: 'Times New Roman', Times, serif;
    padding: 10px;
    width: 300px;
    outline: none;
    text-align: center;
}body {
    background-color: #000014;
    color: #ffffff;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    font-family: 'Times New Roman', Times, serif;
}

a {
    color: #6b8eaf;
    text-decoration: none;
}

a:hover {
    color: #3a6b8f;
    text-decoration: underline;
}

.container {
    display: flex;
    gap: 20px;
    padding-left: 15px;
}

.column {
    width: 200px;
}

.link-pool {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.gif-container {
    position: absolute;
    bottom: 20px;
    right: 20px;
    z-index: 100;
}

.gif-container img {
    width: 100px;
    height: 100px;
}

.speech-bubble {
    position: absolute;
    bottom: 140px;
    right: 100px;
    width: 200px;
    padding: 10px;
    border: 1px solid white;
    display: none;
}

.go-back-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    color: #f29b9b;
    text-decoration: none;
    z-index: 100;
}

.go-back-btn:hover {
    color: #e07474;
    text-decoration: underline;
}

.edit-template {
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding: 20px;
    background-color: #000014;
    color: #ffffff;
    width: 100%;
    box-sizing: border-box;
}

.edit-template #title {
    font-family: 'Times New Roman', Times, serif;
    font-size: 2rem;
    font-weight: bold;
    width: 100%;
    height: auto;
    border: 1px solid white;
    background-color: transparent;
    color: #ffffff;
    padding: 5px;
    outline: none;
}

.edit-template #author {
    font-family: 'Times New Roman', Times, serif;
    font-size: 1rem;
    width: auto;
    height: auto;
    border: 1px solid white;
    background-color: transparent;
    color: #ffffff;
    margin-left: 5px;
    padding: 5px;
    outline: none;
}

.edit-template #date {
    font-size: 1rem;
    margin-left: 5px;
}

.edit-template textarea[id="h"], .edit-template textarea.h {
    font-family: 'Times New Roman', Times, serif;
    font-size: 1.5rem;
    font-weight: bold;
    width: 100%;
    height: auto;
    border: 1px solid white;
    background-color: transparent;
    color: #ffffff;
    padding: 5px;
    outline: none;
}

.edit-template textarea {
    font-family: 'Times New Roman', Times, serif;
    font-size: 1rem;
    width: 100%;
    height: auto;
    border: 1px solid white;
    background-color: transparent;
    color: #ffffff;
    resize: none;
    overflow: hidden;
    margin-bottom: 10px;
    padding: 5px;
    outline: none;
}

.exit-button {
    position: absolute;
    top: 10px;
    right: 10px;
    padding: 8px 12px;
    border: none;
    background-color: transparent;
    color: white;
    cursor: pointer;
}

.exit-popup, .add-element-popup, .create-post-popup {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: #000014;
    color: white;
    padding: 20px;
    border: 1px solid white;
    text-align: center;
    z-index: 1000;
    min-width: 300px;
    font-family: 'Times New Roman', Times, serif;
}

.popup-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.popup-close {
    color: #ff4c4c;
    text-decoration: none;
    font-size: 18px;
    position: absolute;
    top: 10px;
    right: 10px;
}

.popup-close:hover {
    color: #e07474;
}

.popup-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 20px;
}

.popup-buttons button {
    font-family: 'Times New Roman', Times, serif;
    padding: 8px 16px;
    border: 1px solid white;
    background-color: transparent;
    color: white;
    cursor: pointer;
}

.popup-buttons button:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.element-wrapper {
    position: relative;
    margin-bottom: 20px;
    cursor: move;
    padding: 5px;
}

.element-wrapper.over {
    border: 2px dashed #6b8eaf;
}

.delete-button {
    display: none;
    position: absolute;
    right: 5px;
    top: 5px;
    background-color: transparent;
    color: #ff4c4c;
    border: none;
    cursor: pointer;
    padding: 2px 6px;
    font-size: 16px;
    text-decoration: none;
    z-index: 10;
}

.element-wrapper:hover .delete-button {
    display: inline-block;
}

.delete-button:hover {
    color: #e07474;
    text-decoration: none;
}

.media-wrapper {
    position: relative;
    margin-bottom: 20px;
    display: inline-block;
    cursor: move;
    padding: 5px;
}

.media-wrapper.over {
    border: 2px dashed #6b8eaf;
}

.media-delete-button {
    display: none;
    position: absolute;
    right: 5px;
    top: 5px;
    background-color: rgba(0, 0, 0, 0.7);
    color: #ff4c4c;
    border: none;
    cursor: pointer;
    padding: 2px 6px;
    font-size: 16px;
    text-decoration: none;
    z-index: 10;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    text-align: center;
    line-height: 24px;
}

.media-wrapper:hover .media-delete-button {
    display: inline-block;
}

.media-delete-button:hover {
    color: #e07474;
    background-color: rgba(0, 0, 0, 0.9);
}

.editor-file {
    max-width: 100%;
    margin: 10px 0;
    display: block;
}

.media-url-input, .post-title-input, .post-filename-input {
    font-family: 'Times New Roman', Times, serif;
    display: block;
    margin: 20px auto;
    padding: 8px;
    border: 1px solid white;
    background-color: transparent;
    color: white;
    width: 80%;
    outline: none;
}

.media-url-input:focus, .post-title-input:focus, .post-filename-input:focus {
    border: 1px solid rgba(255, 255, 255, 0.8);
}

input, textarea, button {
    font-family: 'Times New Roman', Times, serif;
    border: 1px solid white;
}

.html-viewer {
    font-family: 'Times New Roman', Times, serif;
}

#content {
    min-height: 300px;
    padding: 10px 0;
}

#edit-mode-indicator {
    position: fixed;
    top: 10px;
    right: 10px;
    color: #f29b9b;
    font-family: 'Times New Roman', Times, serif;
    font-size: 14px;
    z-index: 1000;
}

#konami-input {
    border: 1px solid white;
    background-color: transparent;
    color: #ffffff;
    font-family: 'Times New Roman', Times, serif;
    padding: 5px;
}

#shortcut-input {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1000;
    background-color: #000014;
    border: 1px solid white;
    color: #ffffff;
    font-family: 'Times New Roman', Times, serif;
    padding: 10px;
    width: 300px;
    outline: none;
}

.floating-media-input {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1000;
    background-color: transparent;
    border: 1px solid white;
    color: #ffffff;
    font-family: 'Times New Roman', Times, serif;
    padding: 10px;
    width: 300px;
    outline: none;
    text-align: center;
}
