@keyframes matrix-glow {
    0% { text-shadow: 0 0 5px #0f0, 0 0 10px #0f0, 0 0 15px #0f0; }
    50% { text-shadow: 0 0 10px #0f0, 0 0 20px #0f0, 0 0 30px #0f0; }
    100% { text-shadow: 0 0 5px #0f0, 0 0 10px #0f0, 0 0 15px #0f0; }
}

@keyframes btn-pulse {
    0% { box-shadow: 0 0 5px #0f0; }
    50% { box-shadow: 0 0 20px #0f0; }
    100% { box-shadow: 0 0 5px #0f0; }
}

body {
    background-color: #000;
    font-family: 'Share Tech Mono', monospace;
    color: #0f0;
    position: relative;
}

#matrix-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.wall-container {
    background: rgba(0, 10, 0, 0.9);
    border: 2px solid #0f0;
    border-radius: 5px;
    padding: 2rem;
    box-shadow: 0 0 20px rgba(0, 255, 0, 0.2);
}

.matrix-text {
    font-family: 'Share Tech Mono', monospace;
    color: #0f0;
    text-shadow: 0 0 10px #0f0;
    font-size: 2.5rem;
    animation: matrix-glow 2s infinite;
}

.tox-tinymce {
    background-color: rgba(0, 10, 0, 0.9) !important;
    border: 2px solid #0f0 !important;
    border-radius: 5px !important;
}

.tox .tox-edit-area__iframe {
    background-color: rgba(0, 10, 0, 0.9) !important;
}

.btn-matrix {
    background-color: transparent;
    border: 2px solid #0f0;
    color: #0f0;
    font-family: 'Share Tech Mono', monospace;
    padding: 10px 20px;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    animation: btn-pulse 2s infinite;
}

.btn-matrix:hover {
    background-color: rgba(0, 255, 0, 0.1);
    color: #fff;
    transform: scale(1.05);
}

.btn-glow {
    display: inline-block;
    animation: matrix-glow 2s infinite;
}

.matrix-alert {
    background: rgba(0, 255, 0, 0.1);
    border: 1px solid #0f0;
    color: #0f0;
    font-family: 'Share Tech Mono', monospace;
    text-align: center;
    animation: matrix-glow 2s infinite;
}

.modal-content {
    background-color: rgba(0, 10, 0, 0.95);
    border: 2px solid #0f0;
}

.modal-header {
    border-bottom: 1px solid #0f0;
}

.modal-title {
    color: #0f0;
    font-family: 'Share Tech Mono', monospace;
}

#gif-search {
    background-color: rgba(0, 10, 0, 0.9);
    border: 1px solid #0f0;
    color: #0f0;
    border-radius: 5px;
}

#gif-search:focus {
    box-shadow: 0 0 10px rgba(0, 255, 0, 0.3);
    outline: none;
}

#gif-results img {
    transition: transform 0.2s;
    border: 1px solid #0f0;
    border-radius: 5px;
}

#gif-results img:hover {
    transform: scale(1.05);
    box-shadow: 0 0 15px rgba(0, 255, 0, 0.5);
}

.matrix-danger {
    font-family: 'Share Tech Mono', monospace;
    text-align: center;
}

.tox-statusbar__right-container, .tox-statusbar__path {
    display: none !important;
}

/* on mobile browsers, I set a width of 100% */
table.mceLayout, textarea.tinyMCE {
    width: 100% !important;
}

/* on large screens, I use a different layout, so 600px are sufficient */
@media only screen and (min-width: 600px) {
    table.mceLayout, textarea.richEditor {
        width: 600px !important;
    }
}