body {
    margin: 0;
    padding: 0;
    background-color: #ffe6e6;
    font-family: 'Arial', sans-serif;
    text-align: center;
    color: #ff1a75;
}

.heart {
    font-size: 100px;
    /* animation: pulse 1.5s infinite; */
}

.message {
    font-size: 24px;
    margin: 30px 0;
    color: #ff1a75;
}

@keyframes pulse {
    /* 0% { transform: scale(1); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); } */
}

.hearts-container {
    margin: 20px 0;
}

.small-heart {
    font-size: 30px;
    margin: 0 10px;
    animation: float 3s infinite;
    display: inline-block;
}

@keyframes float {
    0% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
    100% { transform: translateY(0); }
}

.gallery {
    max-width: 1200px;
    margin: 10px auto;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
    padding: 20px;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.gallery-item:hover {
    transform: scale(1.03);
}

.gallery-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    display: block;
}

.gallery-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(255,255,255,0.9);
    padding: 10px;
    color: #ff1a75;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.gallery-item:hover .gallery-caption {
    transform: translateY(0);
}

.picture-of-day {
    max-width: 600px;
    margin: 40px auto;
    padding: 20px;
}

.picture-of-day h2 {
    color: #ff1a75;
    margin-bottom: 20px;
}

.picture-of-day .gallery-item {
    width: 100%;
    height: 400px;
}

.picture-of-day .gallery-item img {
    height: 400px;
}

.loading-spinner {
    display: inline-block;
    width: 50px;
    height: 50px;
    border: 5px solid #ffe6e6;
    border-radius: 50%;
    border-top-color: #ff1a75;
    animation: spin 1s ease-in-out infinite;
    margin: 20px auto;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.loading {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 200px;
}

.gallery-item.loading-item {
    background: #fff1f1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.loading-item {
    position: relative;
    min-height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.gallery-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.image-container {
    width: 100%;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.image-container img {
    max-width: 100%;
    height: auto;
}

.gallery-caption {
    margin-top: 10px;
}

.gallery-link {
    color: #ff1a75;
    text-decoration: none;
    font-size: 24px;
    transition: color 0.3s ease;
}

.gallery-link:hover {
    color: #e91e63;
    text-decoration: underline;
}

.gallery-button {
    display: inline-block;
    padding: 12px 24px;
    background-color: #ff1a75;
    color: white;
    text-decoration: none;
    border-radius: 25px;
    font-size: 20px;
    font-weight: bold;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(255, 26, 117, 0.2);
    border: 2px solid #ff1a75;
}

.gallery-button:hover {
    background-color: white;
    color: #ff1a75;
    transform: translateY(-2px);
    box-shadow: 0 6px 8px rgba(255, 26, 117, 0.3);
}

.random-images {
    max-width: 1200px;
    margin: 10px auto;
    padding: 20px;
}

.random-images h2 {
    color: #ff1a75;
    margin-bottom: 20px;
}

.home-link {
    color: #ff1a75;
    text-decoration: none;
    font-size: 24px;
    transition: color 0.3s ease;
}

.home-link:hover {
    color: #e91e63;
    text-decoration: underline;
}

.navbar {
    background-color: #ffebee;
    padding: 1rem 0;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
}

.nav-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    font-size: 1.5rem;
    font-weight: bold;
    color: #e91e63;
    text-decoration: none;
    transition: color 0.3s ease;
}

.nav-logo:hover {
    color: #c2185b;
}

.nav-links {
    display: flex;
    gap: 1.5rem;
}

.nav-link {
    color: #e91e63;
    text-decoration: none;
    font-size: 1.1rem;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: #c2185b;
}

/* Add padding to the main content to account for fixed navbar */
main {
    padding-top: 4rem;
}