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

body{
    display:flex;
    justify-content:center;
    align-items:center;
    background:url("red-begonias.jpg") center center/cover no-repeat;
    overflow:hidden;
    color:#fffdf7;
    font-family:Inter,sans-serif;
}

.overlay{
    position:fixed;
    inset:0;
    background:rgba(0,0,0,.28);
}

.container{
    position:relative;
    z-index:1;
    text-align:center;
    padding:50px;
    border-radius:24px;
    background:rgba(255,255,255,.14);
    backdrop-filter:blur(12px);
    box-shadow:0 20px 50px rgba(0,0,0,.35);
}


h1 {
   font-family: "Dancing Script", cursive;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
}

h2 {
    font-family: "Playwrite NZ Guides", cursive;
    font-weight: 400;
    font-size: 2rem;
}

#countdown{
    display:flex;
    gap:28px;
    justify-content:center;
    margin:40px 0;
}

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

span{
    display:block;
    font-size:3rem;
    font-weight:700;
}

small{
    text-transform:uppercase;
    color:#f4e8c6;
}

.note{
    font-size:.9rem;
    opacity:.85;
}

/* Mobile layout */
@media (max-width: 700px) {
    body {
        min-height: 100svh;
        height: auto;
        overflow-y: auto;
        padding: 20px;
        box-sizing: border-box;
        background-position: center;
    }

    .container {
        width: 100%;
        max-width: 420px;
        padding: 32px 18px;
        border-radius: 22px;
        box-sizing: border-box;
    }

    h1 {
        font-size: clamp(2.6rem, 14vw, 4rem);
        letter-spacing: 3px;
        margin: 0.15em 0;
    }

    h2 {
        font-size: 1.35rem;
        margin-bottom: 10px;
    }

    #countdown {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 20px 12px;
        margin: 30px 0;
    }

    #countdown div {
        min-width: 0;
    }

    #countdown span {
        font-size: clamp(2.4rem, 13vw, 3.5rem);
    }

    #countdown small {
        font-size: 0.75rem;
    }

    .note {
        display: none;
    }
}
