@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;500;700&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

body {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    width: 100vw;
    background: linear-gradient(135deg, #ff416c, #ff4b2b);
    color: #fff;
    text-align: center;
    padding: 20px;
    /* background-image: url('./bg1.png');
    background-position-x: center;
    background-size: cover;
    background-repeat: no-repeat; */
}

#bg-video-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

#bg-video-wrapper video {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    min-width: 100%;
    min-height: 111%;
    width: auto;
    height: auto;
    object-fit: cover;
}

.container {
    max-width: 500px;
    padding: 40px;
    top: 20%;
    background: rgb(255 255 255 / 0%);
    border-radius: 15px;
    box-shadow: 0 5px 15px rgb(0 0 0 / 36%);
    backdrop-filter: blur(15px);
    text-shadow: 0 3px 6px black;
}

h1 {
    font-size: 2rem;
    margin-bottom: 10px;
}

p {
    font-size: 1rem;
    margin-bottom: 20px;
}

#countdown {
    display: flex;
    justify-content: space-around;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 20px 0;
}

#countdown div {
    background: rgba(255, 255, 255, 0.2);
    padding: 10px;
    border-radius: 10px;
    min-width: 80px;
}

form {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

input {
    padding: 10px;
    border: none;
    border-radius: 5px;
    font-size: 1rem;
    width: 100%;
}

button {
    background: #ff4b2b;
    color: #fff;
    border: none;
    padding: 10px;
    font-size: 1rem;
    border-radius: 5px;
    cursor: pointer;
    transition: 0.3s;
}

button:hover {
    background: #ff416c;
}

@media only screen and (max-width: 1000px) {
    body {
        background-image: url('./bg.webp');
    }
}

/* Responsive */
@media only screen and (min-width: 500px) {
    h1 {
        font-size: 1.5rem;
    }

    #countdown {
        font-size: 1rem;
    }

    #countdown div {
        min-width: 60px;
    }    
}
