html, body {
    font-family: Arial, sans-serif;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    width: 100vw;
    margin: 0;
    padding: 20px;
    overflow: hidden;
    background: url("/static/background.jpg") no-repeat center center/cover;
    background-size: cover;
    position: relative;
}

html::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.4); /* White semi-transparent overlay */
    z-index: -1;
}

/* Centered Container */
.container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    width: 90%;
    max-width: 400px;
    height: auto; /* Adjust height dynamically */
    margin: 20px; /* More space around container */
    box-sizing: border-box;
}

/* Logo */
.logo { 
    max-width: 150px;
    max-height: 100px;
    display: block;
    margin: auto;
    margin-bottom: 60px;
    margin-top: 45px; /* More space below logo */
}

/* Headings */
h1 {
    color: #1a73e8;
    font-size: 1.5rem;
    margin-bottom: 20px; /* More space below heading */
}

/* Paragraph */
p {
    font-size: 16px;
    color: #282e6a;
    margin-bottom: 20px; /* More space below paragraph */
    text-align: center;
}

/* Form */
#numberForm {
    display: flex;
    flex-direction: column;
    gap: 1.5rem; /* More spacing between input fields */
    width: 100%;
    margin-bottom: 20px; /* More space below form */
}

/* Input Fields */
input {
    width: 100%;
    padding: 12px;
    border: 2px solid #ff6600;
    border-radius: 10px;
    font-size: 26px;
    text-align: center;
    color: #282e6a;
    box-sizing: border-box;
}

input:focus {
    outline: none;
    border-color: #e05500;
    border-radius: 10px;
} 

input::placeholder {
    font-size: 14px; /* Placeholder text size */
    color: gray;
}

/* Buttons */
button {
    width: 100%;
    background: #ff6600;
    color: white;
    padding: 12px;
    border: none;
    border-radius: 35px;
    cursor: pointer;
    font-size: 20px;
    margin-top: 10px;
    box-sizing: border-box;
}

button:hover {
    background: #e05500;
}

/* Div Spacing */
.container > div {
    margin-bottom: 5px; /* More space between divs */
}

/* Messages */
#message_top,#message_bottom {
    margin-top: 1rem;
    text-align: center;
    min-height: 1.5rem;
}


/* Paragraph */
#message_top {
    font-size: 16px;
    color: #282e6a;
    margin-bottom: 20px; /* More space below paragraph */
    text-align: center;
}

.error {
    color: #dc3545;
    border-color: #dc3545 !important;
}

.success {
    color: #28a745;
}

/* Hologram */
.hologram {
    margin-top: 3px; /* More space before hologram */
}

.hologram img {
    width: 180px;
}

/* Responsive Design */
@media (max-width: 680px) {
    .container {
        padding: 1rem;
        height: auto;
    }

    .description {
        font-size: 14px;
    }

    input, button {
        font-size: 14px;
        padding: 10px;
    }
}
