body {
    font-family: "IBM Plex Sans", "Avenir Next", Avenir, "Segoe UI", sans-serif;
    color: #333;
    margin: 0;
    padding: 15px;
}

#navbar + * {
    margin-bottom: 0;
}

/* Navbar */
#navbar {
    align-items: center;
    border-bottom: 1px solid #000;
    display: flex;
    justify-content: space-between;
}

/* Card grid */
ul {
    list-style-type: none;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    grid-auto-rows: 1fr;

}

li a {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: inherit;
    border: 1px solid #ccc;
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.2s ease;
    background: white;
    box-shadow: 2px 2px 6px rgba(0,0,0,0.1);
    position: relative;
    height: 100%;   
}

li a:hover {
    transform: scale(1.03);
}

li a img {
    width: 100%;
    height: 160px;
    object-fit: contain;
    background-color: #fff;
}

.card-content {
    padding: 10px;
}

.card-content p {
    margin: 0;
    text-align: center;
}


.overall-container {
    max-width: 900px;   /* or 900px for more minimal vibe */
    margin: 0 auto;
    padding: 0 20px;     /* left/right breathing room */
}
.social-links {
    display: flex;
    gap: 15px;
}

/* Molecule card (viewer outside <a> for drag interaction) */
.mol-card {
    border: 1px solid #ccc;
    border-radius: 12px;
    overflow: hidden;
    background: white;
    box-shadow: 2px 2px 6px rgba(0,0,0,0.1);
    transition: transform 0.2s ease;
}
.mol-card:hover {
    transform: scale(1.03);
}
.mol-card a {
    border: none;
    box-shadow: none;
    height: auto;
}

.embed-card {
    border: 1px solid #ccc;
    border-radius: 12px;
    overflow: hidden;
    background: white;
    box-shadow: 2px 2px 6px rgba(0,0,0,0.1);
    transition: transform 0.2s ease;
}

.embed-card:hover {
    transform: scale(1.03);
}

.embed-card iframe {
    width: 100%;
    height: 160px;
    border: 0;
    display: block;
    background: #fff;
}

.embed-card a {
    border: none;
    box-shadow: none;
    height: auto;
}

.white-image-bg a img {
    background-color: #fff;
}

.metal-card-test > a img {
    background-color: rgb(184, 232, 120) !important;
}

.metal-card-test .card-content {
    background-color: #fff !important;
}

.snowball-card-test > a img {
    background-color: rgb(24, 8, 40) !important;
    object-position: right center;
}
