*, ::before, ::after {
box-sizing: border-box;
margin: 0;
padding:0;
font-family: Arial, Helvetica, sans-serif;
}

.container {
    height: 100vh;
    width: 100%;
    overflow: hidden;
    display:flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    gap: 16px;
}

.container img {
    position: absolute;
    height: 100%;
    width: 100%;
    object-fit: cover;
    z-index: -1;
}

.container h1 {
    color: #fff;
    font-size: 55px;
    text-align: center;
}

.container p {
    font-size: 16px;
    color: #fff;
    text-align: center;
}

.time-content {
    display: flex;

}

.time {
    display: flex;
    flex-direction: column;
    margin: 0 1rem;
    text-align: center;
    font-weight: 900;
}

.time .number {
    background: rgba(255,255,255,.5);
    padding: 1rem;
    font-size: 50px;
    box-shadow: 0 5px 5px rgba(0,0,0,.2);
}

.time .text { 
    background: rgba(255,255,255,.5);
    margin-top: .5rem;
    padding: 1rem;
    box-shadow: 0 5px 5px rgba(0,0,0,.2);
    text-transform: uppercase;
}

.email p {
    color: #333;
    margin-bottom: 1rem;
}

.input-box {
    display:flex;
    justify-content: center;
    align-items: center;
}

input {
    height: 40px;
    padding: 1rem;
    border: none;
    background: rgba(0,0,0,.1);
    border-radius: 5px 0 0 5px;
    outline: none;
}

button {
    width: 150px;
    height: 40px;
    border: none;
    outline: none;
    background: midnightblue;
    color: #fff;
    font-weight: bold;
    cursor: pointer;
    border-radius: 0 5px 5px 0;
    transition: background 0.2s ease-in-out;
}

button:hover {
    background: rgb(52, 52, 228);
}

/* Responsive Styles */

/* Tablet and smaller screens */
@media (max-width: 768px) {
    .container h1 {
        font-size: 40px;
    }

    .container p {
        font-size: 14px;
    }

    .time .number {
        font-size: 40px;
        padding: 0.8rem;
    }

    .time .text {
        padding: 0.8rem;
    }

    .time {
        margin: 0 0.5rem;
    }

    input {
        height: 35px;
        padding: 0.8rem;
    }

    button {
        width: 120px;
        height: 35px;
    }
}

/* Mobile screens */
@media (max-width: 480px) {
    .container {
        padding: 1rem;
        gap: 12px;
    }

    .container h1 {
        font-size: 28px;
    }

    .container p {
        font-size: 12px;
    }

    .time-content {
        flex-direction: column;
        gap: 10px;
    }

    .time {
        margin: 0;
    }

    .time .number {
        font-size: 30px;
        padding: 0.6rem;
    }

    .time .text {
        padding: 0.6rem;
        margin-top: 0.3rem;
    }

    .email p {
        font-size: 14px;
        margin-bottom: 0.8rem;
    }

    .input-box {
        flex-direction: column;
        width: 100%;
    }

    input {
        height: 40px;
        padding: 1rem;
        border-radius: 5px;
        width: 100%;
        margin-bottom: 0.5rem;
    }

    button {
        width: 100%;
        height: 40px;
        border-radius: 5px;
    }
}
