/* General Body Styles */
body {
    background-color: #0a0a0a;
    color: #00ff41;
    font-family: 'Nanum Gothic Coding', monospace;
    font-size: 16px;
    text-shadow: 0 0 2px #00ff41;
}

/* Scanlines Effect */
body::after {
    content: " ";
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, rgba(18, 16, 16, 0) 50%, rgba(0, 0, 0, 0.25) 50%);
    background-size: 100% 4px;
    z-index: 2;
    pointer-events: none;
    animation: scanlines 5s linear infinite;
}

@keyframes scanlines {
    0% {
        background-position: 0 0;
    }
    100% {
        background-position: 0 -100px;
    }
}


/* Container */
.container {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
    border: 1px solid #00ff41;
    box-shadow: 0 0 10px #00ff41;
}

/* Title and Subtitle */
.title {
    color: #00ff41;
    text-align: center;
}

.subtitle {
    color: #00ff41;
    text-align: center;
    margin-bottom: 30px;
}

/* Text Areas */
.textarea {
    background-color: #000;
    color: #00ff41;
    border: 1px solid #00ff41;
    padding: 10px;
    width: 100%;
    min-height: 150px;
    font-family: 'Nanum Gothic Coding', monospace;
    resize: vertical;
    box-shadow: inset 0 0 5px #00ff41;
}

#input:focus {
    outline: none;
    border-color: #00ff41;
    box-shadow: 0 0 15px #00ff41;
}

#input {
    caret-color: #00ff41;
}


/* Blinking Cursor for contenteditable div */
#input:focus::after {
    content: '█';
    animation: blink 1s step-end infinite;
    color: #00ff41;
    margin-left: 2px;
}

@keyframes blink {
    50% {
        opacity: 0;
    }
}

/* Buttons */
.button {
    background-color: transparent;
    border: 1px solid #00ff41;
    color: #00ff41;
    padding: 8px 16px;
    font-family: 'Nanum Gothic Coding', monospace;
    cursor: pointer;
    text-shadow: 0 0 2px #00ff41;
    transition: background-color 0.3s, color 0.3s;
}

.button:hover, .button:focus {
    background-color: #00ff41;
    color: #0a0a0a;
}

/* Radio Buttons */
.radio {
    color: #00ff41;
    margin-right: 15px;
}

.radio input[type="radio"] {
    display: none;
}

.radio input[type="radio"] + .mode-text::before {
    content: '[ ] ';
}

.radio input[type="radio"]:checked + .mode-text::before {
    content: '[x] ';
}

.radio input[type="radio"]:checked + .mode-text {
    color: #fff;
    text-shadow: 0 0 5px #fff;
}


.field.is-grouped {
    display: flex;
    justify-content: center;
    margin-top: 20px;
    margin-bottom: 20px;
}

.field.is-grouped .control:not(:last-child) {
    margin-right: 10px;
}
