body {
    font-family: 'Arial', sans-serif;
    margin: 0;
    padding: 0;
    background: linear-gradient(to bottom, #f8baff, #ffd1dc);
    color: #333;
    text-align: center;
    overflow: hidden;
}

.container {
    max-width: 600px;
    margin: 0 auto;
    padding: 20px;
    position: relative;
    z-index: 2;
}

.design-image {
    margin: 20px auto;
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    position: relative;
}

.countdown {
    position: absolute; /* Absolute position relative to the image container */
    bottom: 30px;       /* 20px above the bottom of the image */
    left: 50%;          /* Center horizontally */
    transform: translateX(-50%);
    color: #A4236C;
    font-size: 1.2em;   /* Smaller font size */
    font-weight: bold;
    text-align: center;
}


.button-container {
    margin: 30px 0;
}

.button {
    display: inline-block;
    padding: 12px 24px;
    font-size: 1em;
    color: white;
    background-color: #ff69b4;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    text-decoration: none;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: background-color 0.3s, transform 0.2s;
}

.button:hover {
    background-color: #ff3399;
    transform: translateY(-2px);
}

/*#popupForm {*/
/*    display: none;*/
/*    position: fixed;*/
/*    top: 50%;*/
/*    left: 50%;*/
/*    transform: translate(-50%, -50%);*/
/*    background: white;*/
/*    padding: 20px;*/
/*    width: 90%;*/
/*    max-width: 400px;*/
/*    border-radius: 12px;*/
/*    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);*/
/*    z-index: 1000;*/
/*}*/

#popupForm {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: white;
    padding: 20px;
    width: 90%; /* Default width for smaller screens */
    max-width: 400px; /* Limit the width on larger screens */
    border-radius: 12px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    z-index: 1000;
}

/* Adjust for smaller screens */
@media (max-width: 768px) {
    #popupForm {
        width: 80%; /* Reduce the width on mobile devices */
    }
}

#popupForm input {
    width: calc(100% - 20px);
    padding: 10px;
    margin: 10px 0;
    border: 1px solid #ccc;
    border-radius: 8px;
    font-size: 1em;
    outline: none;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.1);
}

#popupForm button {
    width: 100%;
    padding: 12px;
    font-size: 1em;
    color: white;
    background-color: #ff69b4;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: background-color 0.3s, transform 0.2s;
}

#overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 999;
}

canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}
