/* General Styles */
body {
    margin: 0;
    padding: 0;
    overflow: hidden;
    font-family: 'Courier New', monospace;
    background-color: black;
    color: #00FF00;
    height: 100vh;  /* Set full viewport height */
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Container for the QR code and input */
.container {
    text-align: center;
    z-index: 1; /* Ensure it stays on top of the canvas */
    background-color: rgba(0, 0, 0, 0.8);
    padding: 20px;
    border-radius: 10px;
    border: 2px solid #00FF00;
    display: flex;
    flex-direction: column; /* Stack items vertically */
    justify-content: center; /* Align items vertically in the center */
    align-items: center; /* Center items horizontally */
}

h1 {
    color: #00FF00;
}

input {
    padding: 10px;
    width: 200px;
    border: 2px solid #00FF00;
    background-color: black;
    color: #00FF00;
    border-radius: 5px;
}

button {
    padding: 10px 20px;
    margin-top: 10px;
    background-color: black;
    color: #00FF00;
    border: 2px solid #00FF00;
    cursor: pointer;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

button:hover {
    background-color: #00FF00;
    color: black;
}

/* QR code box */
#qrcode {
    margin-top: 20px;
    display: inline-block;
    padding: 10px;
    border: 2px solid #00FF00;
    background-color: black;
}

canvas {
    width: 100% !important;
    height: auto !important;
}

#saveBtn {
    margin-top: 20px;
    display: none;
    background-color: black;
    color: #00FF00;
    border: 2px solid #00FF00;
    cursor: pointer;
    padding: 10px 20px;
    border-radius: 5px;
}

#saveBtn:hover {
    background-color: #00FF00;
    color: black;
}

/* Fullscreen Matrix Animation */
#matrixRain {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    height: 100%;
    z-index: 0; /* Ensure it's behind everything */
}
