@font-face {
    font-family: 'CrackedCode';
    src: url('fonts/Cracked Code.ttf') format('truetype');
}

html, body {
    overflow-x: hidden; /* Prevent horizontal scrolling */
    margin: 0; /* Ensure no default margin */
    padding: 0; /* Ensure no default padding */
    height: 100%; /* Ensure the body takes the full height of the viewport */
}

body {
    background-image: url('imgs/thinblueline2.jpg');
    background-repeat: no-repeat;
    background-position: center;
    background-attachment: fixed;
    background-size: cover;
    font-family: 'Roboto', sans-serif;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh; /* Full viewport height */
    margin: 0;
    color: #ffffff;
}

.container {
    text-align: center;
    background-color: rgba(0, 0, 0, 0.85); /* Less transparent black */
    padding: 40px 80px; /* Increased padding for more space */
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

h1 {
    font-size: 3.3em;
    font-family: 'CrackedCode', sans-serif;
    margin-bottom: 40px; /* Added margin for more space */
    color: #014dc7; /* Blue */
}

#generatedName {
    font-size: 1.9em;
    margin: 20px 0;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
}

button {
    background-color: #014dc7; /* Blue */
    color: #ffffff; /* White */
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1em;
    transition: background-color 0.3s, transform 0.2s;
}

button:hover {
    background-color: #013a9c; /* Darker Blue */
    transform: scale(1.05);
}

footer {
    position: absolute;
    bottom: 0px;
    text-align: center;
    width: 100%;
    color: #555555;
    font-size: 0.4em;
}

footer a {
    color: #555555;
    text-decoration: underline;
}

@media (max-width: 600px) {
    .container {
        padding: 20px;
    }

    h1 {
        font-size: 1.5em;
    }

    #generatedName {
        font-size: 1.2em;
    }

    button {
        padding: 8px 16px;
        font-size: 0.9em;
    }
}