/* mscheck.de tweaks on top of hugo-profile (loaded via params.customCSS). */

/* About -> skills: the theme lays skills out as two columns of max. 200px,
   meant for one-word items. Ours are full lines ("Group: a, b, c"), so use
   one column at full width. */
#about ul {
    grid-template-columns: 1fr;
}

/* Hero: the "Read the blog" button is taller than the round social icons and
   both only share a top margin, so the button hung lower. Centre them in
   their row and move the spacing to the row itself. */
#hero .content > .row {
    align-items: center;
    margin-top: 50px;
}
#hero .content > .row a.btn {
    margin-top: 0;
}
#hero a.btn.social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

/* Hero: the theme always renders the picture; hide it while none is set. */
#hero img[src=""] {
    display: none;
}

/* Navbar: the dark/light toggle is a button with font-size 26px and an inline
   SVG on the text baseline, so it sat below the links. Centre all items. */
header .navbar-nav {
    align-items: center;
}
#theme-toggle svg {
    display: block;
    /* optical alignment with the link text (measured: centred box sits 3px high) */
    transform: translateY(3px);
}

/* Footer icons (layouts/partials/sections/footer/socialNetwork.html): same
   links as the hero, inline Font Awesome SVGs. */
.footer-social svg {
    width: 2em;
    height: 2em;
    fill: var(--primary-color);
}
.footer-social a:hover svg {
    opacity: 0.8;
}
