/* Reset all default margin, padding, and set box-sizing to border-box */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Body styling */
body {
    font-family: 'Arial', sans-serif;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    background-image: url('BG.jpg'); /* Default desktop background */
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    margin: 0;
}

/* Media query for mobile views (max-width: 768px or smaller) */
@media (max-width: 768px) {
    body {
        background: url('PHONE_BG.jpg') no-repeat center center/cover; /* Mobile background */
        /* background-attachment: scroll;  Ensure the background scrolls with the page on mobile */
    }
}

/* Container for content */
.container {
    text-align: center;
    padding: 50px 20px;
    border-radius: 10px;
    max-width: 500px;
    width: 100%;
}

/* Media query for mobile views (max-width: 768px or smaller) */
@media (max-width: 768px) {
    .container {
        padding: 30px 20px; /* Reduced padding for mobile */
        margin-top: -100px;  /* Move the container slightly upwards */
    }
}

/* Main header styling */
h1 {
    font-size: 3rem;
    color: #004aad;
    margin-bottom: 20px;
}

/* Paragraph styling */
p {
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 20px;
}

/* Countdown styling */
.countdown {
    margin: 20px 0;
}

/* Styling for the submit button */
button {
    padding: 12px 25px;
    background-color: #004aad; /* Deep blue background */
    color: white;
    font-size: 1.1rem;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

/* Hover effect for the button */
button:hover {
    background-color: black;
    transform: scale(1.05); /* Slight grow effect on hover */
}

/* Styling the email input field */
input[type="email"] {
    padding: 12px;
    width: 100%;
    max-width: 400px;
    margin-bottom: 15px;
    border-radius: 5px;
    border: 1px solid #ccc;
    font-size: 16px;
    background-color: #f9f9f9;
    transition: border-color 0.3s ease, background-color 0.3s ease;
}

/* Focus effect on email input */
input[type="email"]:focus {
    border-color: #007BFF; /* Blue border on focus */
    background-color: #e6f3ff; /* Light blue background on focus */
    outline: none;
}

/* Styling the thank you message after subscription */
#thankYouMessage {
    color: #28a745; /* Green color for success message */
    font-size: 1.2em;
    margin-top: 15px;
    font-weight: bold;
}
