* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body, html {
    height: 100%;
    font-family: Arial, sans-serif;
    overflow-y: scroll;
    overflow-x: hidden;
}

.container {
    background-image: url('images/background-bw.jpg'); /* Replace with your grayscale background image */
    background-size: cover;
    background-attachment: fixed;
    background-position: center;
    min-height: 100vh;
    height: auto;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    /*padding: 20px;*/
}

/* Full-height white box */
.logo-container {
    background: linear-gradient(to right, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.7) 10%, rgba(255, 255, 255, 0.7) 90%, rgba(255, 255, 255, 0) 100%);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
    text-align: center;
    max-width: 800px;
    width: 100%;
    min-height: 100vh;
    height: auto;
    display: flex;
    flex-direction: column;
    align-items: center; /* Center content horizontally */
    justify-content: center; /* Center content vertically */
}

.logo {
    max-width: 300px; /* Adjust logo size */
    width: 100%;
    height: auto;
    margin-bottom: 20px;
}

h1 {
    font-size: 2rem;
    margin-top: 0;
    margin-bottom: 15px;
    max-width: 90%;
    text-align: center;
    color: black;
}

.subheadline {
    font-size: 1.6rem;
    margin-bottom: 20px;
    max-width: 90%;
    text-align: center;
    color: black;
    font-style: bold;
}

.email-form {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.email-form input[type="text"], 
.email-form input[type="email"] {
    padding: 10px;
    width: 90%;
    max-width: 300px;
    margin-bottom: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    background-color: rgba(255, 255, 255, 0.9);
    color: #333;
    transition: background-color 0.3s ease;
}

.email-form input[type="text"]:focus, 
.email-form input[type="email"]:focus {
    outline: none; /* Prevents focus outline from altering the layout */
    border-color: #666; /* Changes border color without resizing */
    background-color: rgba(255, 255, 255, 1); /* Adjusts color subtly */
}

.email-form input[type="text"], 
.email-form input[type="email"] {
    resize: none; /* Prevent resizing */
}

.checkbox-container {
    display: flex;
    flex-direction: row;
    align-items: center;
    margin-bottom: 15px;
    justify-content: center;
}

.checkbox-container input {
    margin-right: 10px;
}

.email-form button {
    padding: 15px 30px;
    border: none;
    background-color: #333;
    color: white;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1.2rem;
    transition: background-color 0.3s ease;
}

.email-form button:hover {
    background-color: #555;
}

.footer {
    text-align: center;
    padding: 10px;
    font-size: 0.9rem;
    color: #ccc;
}

/* Responsive adjustments */
@media (max-width: 600px) {
    h1 {
        font-size: 1.8rem;
    }
    .subheadline {
        font-size: 1rem;
    }
    .email-form input[type="text"], 
    .email-form input[type="email"] {
        width: 100%;
    }
    .logo {
        max-width: 300px;
    }
}