#contact {
    width: 100%;
}
.contactList {
    list-style: none;
    width: 100%;
    max-width: 700px;
    margin: 1.5rem 0;
    padding: 0;

    display: flex;
    flex-wrap: nowrap; /* the 3 contacts always stay on one line */
    gap: clamp(1rem, 5vw, 3rem);
    align-items: stretch;
    justify-content: center;
}
.contactList li{
    flex: 1 1 0;
    max-width: 180px;
    min-width: 0;
}
.contactCard{
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: .6rem;
    background-color: #0f1b2d;
    box-shadow: #317AC1 6px 6px 1px;
    border: 1px solid var(--border);
    transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
    padding: 1.25rem .5rem;
}
.contactCard:hover {
    transform: translateY(-3px);
    border-color: #6a6abb;
    box-shadow: #317AC1 8px 8px 1px ;
}
.contactlogo {
    width: 44px;
    height: 44px;
    object-fit: contain;
}
.contactName{
    margin: 0;
    font-size: clamp(1rem, .85rem + .6vw, 1.4rem);
}
@media (max-width: 500px) {
    .contactCard{
        padding: 1rem .25rem;
        box-shadow: #317AC1 4px 4px 1px;
    }
    .contactlogo {
        width: 36px;
        height: 36px;
    }
}
