@import url('https://fonts.googleapis.com/css2?family=Licorice&family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');


html, body {
    height: 100%;
    margin: 0;
}

body {
    background-image: url('flower_pattern.svg');
    background-repeat: repeat;
    background-size: 600px 240px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.center-square {
    background-color: #fff8dd;
    width: 34vh;
    height: 34vh;
    border-radius: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.flower-image-up {
    position: absolute;
    width: 72%; /* Adjust as needed */
    height: auto;
    bottom: 71%; /* Adjust to make it appear from behind the white square */
    left: 50%;
    transform: translateX(-50%);
    z-index: 1;
}

.flower-image-down {
    position: absolute;
    width: 72%; /* Adjust as needed */
    height: auto;
    top: 71%; /* Adjust to make it appear from behind the white square */
    left: 50%;
    transform: translateX(-50%);
    z-index: 1;
}

.inner-square {
    background-color: #FFFFFF;
    width: 23vh;
    height: 23vh;
    border-radius: 20px;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    font-family: 'Licorice', cursive;
    font-size: 4.7vh; /* Adjust font size as needed */
}

.saveit {
    padding-top: 1vh;
    line-height: 0.8;
}

.date-text {
    font-family: 'Montserrat', sans-serif;
    font-size: 1em; /* Adjust as needed */
    color: #333; /* Darker color for readability */
    font-weight: 300;
}

.month-group {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    font-family: 'Montserrat', sans-serif;
    font-weight: 300;
    font-size: 0.6em; /* Even smaller */
    line-height: 1em; /* Compact line height */
    color: #333;
}

.month-divider {
    width: 80%;
    height: 1px;
    background-color: #333;
    margin: 0; /* Remove margin */
}

.month-option {
    /* Inherits most styles from .month-group */
}

.date-month-line {
    display: flex;
    align-items: center;
    gap: 10px;
}

.invite-text {
    font-size: 0.22em;
    font-family: 'Montserrat', sans-serif;
    font-weight: 250;
    padding: 0.2rem 0;
}

.names-text {
    font-family: 'Licorice', cursive;
    font-size: clamp(4em, 15vw, 9em); /* Adjust size as needed */
    color: #333; /* Or a color that fits the design */
    margin-bottom: 20px; /* Space between names and yellow box */
    background: radial-gradient(ellipse at center, rgba(255, 255, 255, 0.87) 40%, rgba(255, 255, 255, 0.2) 100%);
    padding: 10px 34px; /* Padding around the text */
    border-radius: 10px; /* Rounded corners for the background */
}

@media (min-resolution: 2dppx), (-webkit-min-device-pixel-ratio: 2) {
    .center-square {
        width: min(51vh, 99vw);
        height: 51vh;
    }

    .inner-square {
        width: 34.5vh;
        height: 34.5vh;
        font-size: 7.05vh;
    }

    
}
