﻿body {
    
    background: #f6f5f3;
    padding: 30px;
    color: #333;
}
/* Headings */

.container {
    max-width: 500px;
    margin: auto;
    background: white;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
    text-align: center;
}

.logo-container {
    margin-bottom: 10px;
}

.logo {
    width: 50vw;
    height: auto;
}

@media (min-width: 1000px) {
    .logo {
        width: 20vw;
    }
}

h2 {
    margin-top: 0;
    margin-bottom: 20px;
}

.button-group-vertical {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 20px;
}

button {
    padding: 12px;
    font-weight: bold;
    font-size: 16px;
    cursor: pointer;
    border: none;
    border-radius: 8px;
    background: #444;
    color: white;
    transition: background 0.3s;
}

    button:hover {
        background: #666;
    }

.section {
    transition: all 0.5s ease;
}

.hidden {
    display: none;
}

form {
    display: flex;
    flex-direction: column;
    gap: 10px;
    text-align: left;
}

input[type="file"],
input[type="text"],
textarea {
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 1rem;
}

textarea {
    min-height: 100px;
    resize: vertical;
}

.result {
    margin-top: 10px;
    color: green;
}
.section {
    position: relative;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    pointer-events: none;
    transition: max-height 0.5s ease, opacity 0.4s ease, padding 0.3s ease;
    padding: 0;
}

    .section.active {
        max-height: 500px;
        opacity: 1;
        pointer-events: auto;
        padding: 15px 0;
    }
.drop-zone {
    border: 2px dashed #aaa;
    border-radius: 8px;
    padding: 30px;
    text-align: center;
    cursor: pointer;
    background: #f9f9f9;
    transition: background 0.3s;
}

    .drop-zone:hover {
        background: #f0f0f0;
    }

.chat-form textarea {
    resize: vertical;
    min-height: 120px;
}


.section {
    position: relative;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.6s ease, padding 0.4s ease;
    padding: 0;
}
.button-group-vertical {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 20px;
}
#typedText::after {
    content: "|";
    animation: blink 1s infinite;
}

#typedText.done::after {
    content: "";
    animation: none;
}

@keyframes blink {
    0%, 100% {
        opacity: 1;
    }

    50% {
        opacity: 0;
    }
}
/* Main name text */
#typedText {
    font-family: 'Great Vibes', cursive;
    font-size: 2.8rem;
    text-align: center;
    color: #3e2f20;
    line-height: 1.5;
    opacity:0.9;
}

    /* Subtitle (Share With Us) */
    #typedText .subtitle {
        font-family: 'Playfair Display', serif !important;
        font-size: 1.4rem;
        color: #666;
        display: inline-block;
        margin-top: 10px;
    }

.container {
    max-width: 500px;
    margin: auto;
    background: rgba(255, 255, 255, 0.9); /* semi-transparent white */
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
    text-align: center;
    position: relative;
    z-index: 2; /* ensure it's above the heart background */
}
#heartRain {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none; /* makes sure it doesn't block clicks */
    z-index: 0;
    overflow: hidden;
}

.heart {
    position: absolute;
    color: rgba(255, 105, 180, 0.7); /* light pink transparent */
    animation: fall linear infinite;
    font-size: 24px;
    user-select: none;
}

@keyframes fall {
    0% {
        transform: translateY(-10vh) rotate(0deg);
        opacity: 1;
    }

    100% {
        transform: translateY(110vh) rotate(360deg);
        opacity: 0;
    }
}
.drop-zone {
    position: relative;
    border: 2px dashed #ccc;
    padding: 20px;
    text-align: center;
    border-radius: 10px;
    cursor: pointer;
    min-height: 150px;
    overflow-y: auto;
}

.upload-bubble {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin: 10px 5px 0;
    padding: 5px 10px;
    background-color: #f7f7f7;
    border-radius: 12px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    animation: fadeIn 0.3s ease-in-out;
}

.upload-thumbnail {
    width: 40px;
    height: 40px;
    object-fit: cover;
    border-radius: 8px;
}

.upload-status {
    font-size: 0.85rem;
    color: #555;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}
