/* portfolio/home-style.css */

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    padding: 20px;
    justify-items: center;
}

/* Gentle sway animation */
@keyframes gentleSway {
    0% { transform: translateX(0px) rotate(0deg); }
    25% { transform: translateX(3px) rotate(0.3deg); }
    50% { transform: translateX(0px) rotate(0deg); }
    75% { transform: translateX(-3px) rotate(-0.3deg); }
    100% { transform: translateX(0px) rotate(0deg); }
}

.mini-window {
    width: 100%;
    max-width: 350px;
    background: #ffffff;

    /* 🔲 Gradient border like desktop windows */
    border: 6px solid;
    border-image-slice: 1;
    border-image-source: linear-gradient(45deg, #00ffff, #c34fff, #6089fe, #ff227b);

    border-radius: 0;
    overflow: hidden;

    /* ❌ removed shadow */
    box-shadow: none;

    display: flex;
    flex-direction: column;

    animation: gentleSway 16s ease-in-out infinite;
    will-change: transform;
}

.mini-header {
    background-image: url('/portfolio/pui/gradmap2.webp');
    background-size: cover;
    background-position: center;

    padding: 6px 10px;

    display: flex;
    justify-content: space-between;
    align-items: center;

    /* subtle divider instead of heavy border */
    border-bottom: 1px solid rgba(0,0,0,0.2);
}

.mini-title {
    color: white;
    font-family: "Fixedsys", "Courier New", monospace;
    font-weight: bold;
    font-size: 13px;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.6);
}

/* Win95 style button */
.mini-controls {
    display: flex;
    gap: 4px;
}

.win95-btn {
    width: 16px;
    height: 16px;

    background: #c0c0c0;

    border: 2px solid;
    border-color: #fff #000 #000 #fff;

    display: flex;
    align-items: center;
    justify-content: center;

    font-size: 10px;
    font-weight: bold;
    font-family: Arial, sans-serif;

    cursor: pointer;
}

.win95-btn:active {
    border-color: #000 #fff #fff #000;
}

.mini-content {
    padding: 12px;
    color: #000;
    line-height: 1.5;
    font-family: Arial, sans-serif;
    font-size: 14px;
}