/* General Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Background and Full Page Setup */
body {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    width: 100vw;
    background: url('frontpage.jpg') no-repeat center center fixed;
    background-size: cover;
    font-family: 'Courier New', Courier, monospace;
    color: #39ff14;
    text-shadow: 0 0 10px rgba(57, 255, 20, 0.5);
    overflow: hidden; /* Prevent scrollbars */
}

/* Old Monitor Effect */
#unlockCode {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-color:rgba(0, 0, 0, 0.8);
    animation: crtAnimation 100s linear infinite;
    background-size: 100% 80%;
    padding: 30px;
    border-radius: 10px;
    border: 1px solid #39ff14;
    box-shadow: inset 0px 0px 2rem, 0 0 20px rgba(57, 255, 20, 0.5);
    width: 90%;
    max-width: 500px;
    text-align: center;
}

/* Form Styles */
#unlockCode input[type="text"],
#unlockCode input[type="password"] {
    width: calc(100% - 20px);
    padding: 10px;
    margin: 10px 0;
    border: 1px solid #39ff14;
    border-radius: 5px;
    font-size: 16px;
    background-color: #000;
    color: #39ff14;
    outline: none;
}

#unlockCode input[type="button"] {
    background-color: #000;
    color: #39ff14;
    border: 1px solid #39ff14;
    padding: 10px 20px;
    border-radius: 10px;
    cursor: pointer;
    font-size: 16px;
    transition: background-color 0.3s ease;
}

#unlockCode input[type="button"]:hover {
    background-color: #39ff14;
    color: #000;
}

/* Header Styles */
h2 {
    font-size: 24px;
    color: #39ff14;
    margin-bottom: 20px;
}

/* Responsive Adjustments */
@media only screen and (max-width: 600px) {
    #unlockCode {
        width: 90%;
        padding: 20px;
    }

    h2 {
        font-size: 20px;
    }

    #unlockCode input[type="text"],
    #unlockCode input[type="password"],
    #unlockCode input[type="button"] {
        font-size: 14px;
    }
}
