@import url('https://fonts.googleapis.com/css2?family=Share+Tech+Mono&display=swap');

*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Share Tech Mono', monospace;
}

body{
    width: 80vw;
    margin: auto;
    min-height: 100vh;
    background: radial-gradient(circle at top, #0f2027, #000000);
    display: flex;
    flex-direction: column;
    align-items: center;
    color: #00ff9c;
}

h1{
    margin: 20px 0;
    font-size: 2.8rem;
    text-align: center;
    color: #00ff9c;
    text-shadow: 0 0 10px #00ff9c;
}

form{
    width: 100%;
    max-width: 800px;
    background: rgba(0,0,0,0.6);
    border: 1px solid #00ff9c;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 0 25px rgba(0,255,156,0.2);
}

label{
    font-size: 1.2rem;
    letter-spacing: 1px;
}

#entry{
    width: 100%;
    margin: 12px 0;
    background-color: #020d0a;
    border: 1px solid #00ff9c;
    border-radius: 8px;
    padding: 12px;
    color: #00ff9c;
    font-size: 1rem;
    outline: none;
}

#entry::placeholder{
    color: #0f6f50;
}

#key{
    margin: 12px 0;
    background-color: #020d0a;
    border: 1px solid #00ff9c;
    border-radius: 8px;
    font-size: 1rem;
    padding: 8px;
    color: #00ff9c;
    width: 120px;
    outline: none;
}

.button-flex{
    margin-top: 20px;
    display: flex;
    gap: 15px;
}

button{
    padding: 12px 20px;
    background: transparent;
    color: #00ff9c;
    border: 1px solid #00ff9c;
    border-radius: 8px;
    font-size: 1rem;
    cursor: pointer;
    letter-spacing: 1px;
    transition: all 0.25s ease;
    text-shadow: 0 0 5px #00ff9c;
}

button:hover{
    background-color: #00ff9c;
    color: #000;
    box-shadow: 0 0 20px #00ff9c;
}

output{
    width: 100%;
    max-width: 800px;
    margin-top: 25px;
    background-color: #020d0a;
    border: 1px solid #00ff9c;
    border-radius: 10px;
    padding: 15px;
    font-size: 1.1rem;
    color: #00ff9c;
    box-shadow: 0 0 25px rgba(0,255,156,0.3);
    display: none;
    word-wrap: break-word;
}

body::after{
    content: "";
    position: fixed;
    inset: 0;
    background: repeating-linear-gradient(
        to bottom,
        rgba(0,255,156,0.03),
        rgba(0,255,156,0.03) 1px,
        transparent 1px,
        transparent 3px
    );
    pointer-events: none;
}
