* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: #fafafa;
    color: #333;
}

header {
    text-align: center;
    padding: 3rem 1rem 2rem;
}

header h1 {
    font-size: 2.5rem;
    font-weight: 300;
    margin-bottom: 0.5rem;
    letter-spacing: 1px;
}

header p {
    font-size: 1rem;
    color: #666;
    font-weight: 300;
}

.masonry {
    column-count: 3;
    column-gap: 1rem;
    padding: 1rem;
    max-width: 1400px;
    margin: 0 auto;
}

.masonry-item {
    break-inside: avoid;
    margin-bottom: 1rem;
    background: white;
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: transform 0.2s ease;
}

.masonry-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.masonry-item img {
    width: 100%;
    height: auto;
    display: block;
}

@media (max-width: 900px) {
    .masonry {
        column-count: 2;
    }
    
    header h1 {
        font-size: 2rem;
    }
}

@media (max-width: 600px) {
    .masonry {
        column-count: 1;
    }
    
    header h1 {
        font-size: 1.75rem;
    }
}
