body {
    font-family: 'Arial', sans-serif;
    background: #fff0f5;
    margin: 0;
    padding: 0;
    text-align: center;
    background: linear-gradient(-45deg, #ffe4e1, #fff0f5, #ffb6c1, #ffd1dc);
    background-size: 400% 400%;
    animation: gradientShift 15s ease infinite;
}

@keyframes gradientShift {
    0% {background-position: 0% 50%;}
    50% {background-position: 100% 50%;}
    100% {background-position: 0% 50%;}
}

.container {
    margin-top: 20px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.main-photo {
    width: 150px;
    height: 150px;
    object-fit: cover;
    border-radius: 50%;
    border: 5px solid #ff69b4;
}
.menu button {
    margin: 10px;
    padding: 12px 24px;
    background-color: #ff69b4;
    border: none;
    border-radius: 5px;
    color: white;
    font-size: 16px;
    cursor: pointer;
}
.menu button:hover {
    background-color: #ff1493;
}
.gallery {
    margin-top: 30px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.gallery img {
    width: 300px;
    height: 300px; /* Ensures square shape */
    object-fit: cover; /* Keeps aspect ratio centered */
    margin: 25px;
    border-radius: 20px;
    border: 4px solid #ff69b4;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeIn 0.6s forwards;

}

@keyframes fadeIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.gallery img:hover {
    transform: scale(1.1);
    transition: transform 0.3s ease;    
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

/* Overlay for full image view */
.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.full-img {
    max-width: 90%;
    max-height: 90%;
    border-radius: 10px;
    border: 4px solid #fff;
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.8);
    cursor: zoom-out;
}

.heart {
    position: fixed;
    top: -10px;
    width: 20px;
    height: 20px;
    background: url('https://cdn-icons-png.flaticon.com/512/833/833472.png') no-repeat center/contain;
    animation: fall 3s linear forwards;
    z-index: 1000;
}

@keyframes fall {
    to {
        transform: translateY(100vh);
        opacity: 0;
    }
}

h1 {
    overflow: hidden;
    white-space: nowrap;
    border-right: 3px solid #ff69b4;
    animation: typing 4s steps(30, end), blink 0.8s step-end infinite;
    width: 20ch;
}

@keyframes typing {
    from { width: 0 }
    to { width: 20ch } /* adjust depending on your title length */
}

@keyframes blink {
    50% { border-color: transparent; }
}

.music-note {
    position: absolute;
    animation: floatNote 4s linear infinite;
    font-size: 20px;
    color: #ff69b4;
}

@keyframes floatNote {
    0% { transform: translateY(0) scale(1); opacity: 1; }
    100% { transform: translateY(-200px) scale(1.5); opacity: 0; }
}

#heartsCanvas {
    position: fixed;
    top: 0;
    left: 0;
    pointer-events: none;
    z-index: 1000;
}


