#activity {
    margin: 0 auto 32px auto;
    max-width: 100vw;
    overflow-x: auto;
    padding-bottom: 12px;
}

.preview-grid {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    gap: 32px;
    padding: 12px 0 12px 0;
    scroll-snap-type: x mandatory;
}

.item {
    position: relative;
    min-width: 340px;
    max-width: 420px;
    flex: 0 0 auto;
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 2px 12px rgba(25, 118, 210, 0.08);
    overflow: hidden;
    transition: box-shadow 10ms, transform 50ms;
    scroll-snap-align: start;
}

.item:hover {
    box-shadow: 0 6px 24px rgba(25, 118, 210, 0.16);
    transform: translateY(-6px) scale(1.03);
}

.gallery-image {
    object-fit: cover;
    width: 100%;
    height: 220px;
    display: block;
    border-bottom: 1px solid #e0e0e0;
    background: #f6f8fa;
    transition: filter 0.2s;
}

.item:hover .gallery-image {
    filter: brightness(0.95) blur(1px);
}

.image-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: #1976d2;
    margin: 12px 0 0 0;
    text-align: left;
    padding-left: 18px;
}

.image-author {
    font-size: 1.05rem;
    color: #555;
    margin: 2px 0 0 0;
    text-align: left;
    padding-left: 18px;
}

.image-description {
    font-size: 1rem;
    color: #333;
    margin: 8px 0 16px 0;
    text-align: left;
    padding-left: 18px;
    padding-right: 18px;
}

.preview-grid::-webkit-scrollbar {
    height: 12px;
    background: #e3f0fd;
    border-radius: 8px;
}

.preview-grid::-webkit-scrollbar-thumb {
    background: #b3c6e6;
    border-radius: 8px;
}

#about-me-container {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 2px 16px rgba(0, 0, 0, 0.08);
    padding: 32px 24px;
    margin-bottom: 32px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

#about-me-container h2 {
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 12px;
    color: #222;
}

#about-me-container p {
    font-size: 1.1rem;
    color: #444;
    margin-bottom: 18px;
}

#about-form {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

#about-form label {
    font-weight: 500;
    color: #333;
}

#about-form textarea {
    border-radius: 8px;
    border: 1px solid #e0e0e0;
    padding: 10px;
    font-size: 1rem;
    resize: vertical;
    min-height: 80px;
    background: #fafafa;
    transition: border 0.2s;
}

#about-form textarea:focus {
    border: 1.5px solid #007bff;
    outline: none;
}

#about-form button {
    align-self: flex-end;
    background: #007bff;
    color: #fff;
    border: none;
    border-radius: 8px;
    padding: 8px 24px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    transition: background 0.2s;
}

#about-form button:hover {
    background: #0056b3 60%;
}

@media (max-width: 900px) {
    .item {
        min-width: 80vw;
        max-width: 90vw;
    }

    .gallery-image {
        height: 36vw;
        min-height: 120px;
    }
}
