/* Reset some basic margins */
body, html {
    margin: 3vw;
    margin-top: 0px;
    margin-bottom: 0px;
    /* padding: ; */
    height: 100%;
    overflow-x: hidden;
    font-family: 'League Gothic',Arial, sans-serif;
    /* cursor: url('images/alpaca-cursor.svg') 16 16, auto; */
    cursor: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="32" height="32"><text y="24" font-size="32">🦙</text></svg>') 16 16, auto;

}

/* Background layer */
.background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none; /* allows clicks to pass through */
}

.background-top {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-height: 20vh;
    object-fit: contain;
}

.container {
    background: rgba(255,255,255,0.7);
    padding-bottom: 25vh;
}

.background-middle {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    /* max-height: 20vh; */
    object-fit: contain;
}

.background-bottom {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    /* max-height: 20vh; */
    width: 100vw;    /* FULL viewport width */
    object-fit: contain;
}

/* Content Layer */
.content-layer {
    position: relative;
    z-index: 1;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    /* padding: 20px; */
}

/* Countdown Card */
.countdown-card {
    text-align: center;
    margin: 40px;
    font-size: 2rem;
    /* margin-top: 10px; */
    font-weight: bold;
    
    border-radius: 12px;
}

.centered-image {
    max-height: 20vh;
    width: auto;
    height: auto;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.title {
    font-size: 2rem;
    margin-top: 20px;
    color: black
}



#countdown {
    font-size: 2.5rem;
    margin-top: 10px;
    font-weight: bold;
    border-radius: 12px;
}

/* Cards */
.cards {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}



.card {
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
    max-width: 80%;
    text-align: center;
    overflow: hidden;
    transition: transform 0.3s;
    width: min(300px, 80vw); 
}

.card img {
    max-height: 50vh; /* 50% of the viewport height */
    width: 90%;      /* keep aspect ratio */
    object-fit: cover; /* nicely cover the image box if needed */
    display: block;   /* remove any extra whitespace */
    margin: 0 auto;   /* center the image if needed */
}

.card:hover {
    transform: translateY(-5px);
}

.card-button {
    /* background-color: #f0f0f0; */
    padding: 20px;
    font-size: 2rem;
}

.present-button {
    text-decoration: none;
    color: #333;
}

.card-content {
    padding: 20px;
}

.card-content h2 {
    margin: 0 0 10px 0;
    font-size: 1.5rem;
}

.card-content p {
    font-size: 1rem;
    color: #555;
}

.present-button {
    /* display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    background-color: #ff4757;
    color: white;
    border-radius: 5%;
    text-decoration: none;
    font-size: 24px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transition: transform 0.2s ease; */
    background: #e84118;
    border-radius: 12px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
    width: 100%;
    text-align: center;
    overflow: hidden;
    color: white;

    transition: transform 0.3s;
}

.present-button:hover {
    transform: scale(1.1);
    background-color: #e84118;
    color: black
}


.honeymoon-button {
    position: fixed;
    bottom: 3vw; /* 3% of viewport width from bottom */
    right: 3vw;  /* 10% of viewport width from right */
    z-index: 1000; /* Ensure it stays on top */
    display: block;
}

.honeymoon-button img {
    width: min(40vw, 200px); /* 40% of viewport or max 200px */
    height: auto;
    display: block;
    border-radius: 12px; /* Optional: round corners */
   
    transition: transform 0.3s ease;
}

.honeymoon-button img:hover {
    transform: scale(1.05); /* Optional: subtle hover effect */
}
