@font-face {
    font-family: 'Newsreader';
    src: url('/fonts/Newsreader.woff2') format('woff2');
    font-weight: normal;
    font-style: normal;
}

body {
    font-family: 'Newsreader', serif;
    background-color: #f0f0f0;
    color: #333;
    margin: 0;
    padding: 0;
    line-height: 1.6;
}

.container {
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem;
}

header {
    text-align: left;
    margin-bottom: 2rem;
    padding-left: 5px;
}

h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    letter-spacing: -1px;
    text-align: center;
}

.tagline {
    font-size: 1.5rem;
    font-style: italic;
    text-align: center;
    margin-bottom: 2rem;
}

.dream-bubble {
    width: clamp(220px, 32vw, 340px);
    height: clamp(220px, 32vw, 340px);
    margin: 0 auto 3.5rem;
    position: relative;
    animation: float 8s ease-in-out infinite;
    will-change: transform;
}

.dream-bubble svg {
    width: 100%;
    height: 100%;
    fill: none;
    stroke: #333;
    stroke-width: 2;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

.blog-posts h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.blog-posts ul {
    list-style-type: none;
    padding: 0;
}

.blog-posts li {
    margin-bottom: 1rem;
}

.blog-posts a {
    font-size: 1.2rem;
    color: #0066cc;
    text-decoration: none;
    transition: color 0.3s ease;
}
.blog-posts a:hover {
    color: #004080;
    text-decoration: underline;
}

.blog-posts li:hover {
    transform: translateX(5px);
    transition: transform 0.3s ease;
}

.post-date {
    font-style: italic;
    color: #666;
    font-size: 0.9rem;
    margin-left: 1rem;
}

.post-content {
    margin-top: 2rem;
}

@media (max-width: 600px) {
    h1 {
        font-size: 2rem;
    }
    
    .tagline {
        font-size: 1.2rem;
    }
    
    .dream-bubble {
        width: clamp(160px, 55vw, 220px);
        height: clamp(160px, 55vw, 220px);
    }

    .blog-posts h2 {
        font-size: 1.5rem;
    }

    .blog-posts a {
        font-size: 1rem;
    }
}

.bubble {
    transition: transform 0.3s ease, opacity 0.5s ease;
}

.bubble-pop {
    transform: scale(1.2);
}

.bubble-fade-out {
    opacity: 0;
}

.countdown-link {
    text-decoration: none;
    color: #0066cc;
    margin-right: 20px;
    display: inline-block;
}

.countdown-link:hover {
    text-decoration: underline;
    color: #004080;
}
