/* style.css */
body {
    font-family: Arial, sans-serif;
    background: linear-gradient(135deg, #0000ff, #ff0000);
    color: #333;
    margin: 0;
    padding: 0;
    text-align: center;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

body.bg-gradient {
    background: linear-gradient(135deg, #0000ff, #ff0000);
    color: #333;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

@keyframes backgroundAnimation {
    0% { background-position: 0% 0%; }
    100% { background-position: 100% 100%; }
}

.login-page, .main-page {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 600px;
    padding: 20px;
    box-sizing: border-box;
    border-radius: 10px;
}

.login-page {
    background: linear-gradient(135deg, #000, #333);
    color: #fff;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

.teddy-animation {
    font-size: 5em;
    animation: wave 2s infinite;
}

@keyframes wave {
    0% { transform: rotate(0deg); }
    50% { transform: rotate(10deg); }
    100% { transform: rotate(0deg); }
}

.main-page {
    display: none;
    background-color: linear-gradient(#ff1100, #350de7);
}

#backgroundVideo {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.video-wrapper {
    margin: 20px 0;
    width: 100%;
}

h1 {
    animation: fadeIn 2s ease-in-out;
    color: #fff;
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.6);
}

@keyframes fadeIn {
    0% { opacity: 0; transform: scale(0.8); }
    100% { opacity: 1; transform: scale(1); }
}

button {
    background-color: #000000;
    color: #fff;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s;
}

button:hover {
    background-color: linear-gradient(135deg, #000000, #e5e825);
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
}

#message {
    margin-top: 20px;
    padding: 15px;
    background-color: rgba(226, 54, 183, 0.8);
    border-radius: 10px;
    display: inline-block;
}

.love-tracker {
    margin: 20px 0;
    padding: 20px;
    background-color: #fff;
    color: #333;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    border-radius: 0;
}
.love-tracker-main {
    font-weight: bold;
    background-color: linear-gradient(135deg, #36bf1e, #e5e825);
    color: #ff0000;
    font-size: 18px;
    font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
}
.memory-gallery {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
    padding: 20px;
    box-sizing: border-box;
}

.memory-item {
    background-color: #f14848;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 10px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
    width: calc(100% - 40px);
    max-width: 300px;
    box-sizing: border-box;
}

.memory-item:hover {
    transform: scale(1.05);
}

@keyframes bounceIn {
    0% { opacity: 0; transform: scale(0.5); }
    60% { opacity: 1; transform: scale(1.2); }
    100% { transform: scale(1); }
}

.memory-item img {
    max-width: 100%;
    border-radius: 8px;
}

img {
    width: 100%;
    height: auto;
    display: block;
}

p {
    background: rgba(0, 0, 0, 0.6);
    color: white;
    padding: 10px;
    margin: 0;
    border-radius: 0 0 15px 15px;
}

.memory-item p {
    background: rgba(0, 0, 0, 0.6);
    color: white;
    padding: 10px;
    margin: 0;
    border-radius: 0 0 15px 15px;
}

@media (max-width: 600px) {
    h1 {
        font-size: 2em;
    }
    button {
        font-size: 1em;
    }
}

/* Media Queries for Responsive Design */
@media (max-width: 768px) {
    .memory-gallery {
        flex-direction: column;
        align-items: center;
    }

    .memory-item {
        width: 100%;
        max-width: none;
    }

    .video-wrapper {
        max-width: 100%;
    }
}

/* Heartbeat Animation */
@keyframes heartbeat {
    0% { transform: scale(1); }
    25% { transform: scale(1.1); }
    50% { transform: scale(1); }
    75% { transform: scale(1.1); }
    100% { transform: scale(1); }
}

.heartbeat {
    animation: heartbeat 1.5s infinite;
}

/* Firefly Animation */
.firefly {
    position: absolute;
    width: 8px;
    height: 8px;
    background-color: #ffdd99;
    border-radius: 50%;
    box-shadow: 0 0 10px #ffdd99;
    animation: float 5s ease-in-out infinite;
}

@keyframes float {
    0% { transform: translateY(0); opacity: 1; }
    50% { transform: translateY(-50px); opacity: 0.6; }
    100% { transform: translateY(0); opacity: 1; }
}
