@charset "UTF-8"; // Global Header Styles header { width: 100%; border-bottom: 1px solid $color-kinda-light; nav { width: 100%; max-width: 1032px; padding: 0.25em 1.75em; margin: 0 auto; box-sizing: border-box; display: flex; align-items: center; justify-content: space-between; a#logo { display: flex; align-items: center; color: $color-medium-dark; h1#name { margin-left: 0.8em; font-size: 1.4em; font-weight: 500; letter-spacing: -0.01em; } svg { width: 30px; height: 45px; } // mix up logo colors on hover &:hover { color: $color-links; svg { g#c1 { fill: $color-logo2; } g#c2 { fill: $color-logo3; } g#c3 { fill: $color-logo1; } } } } // Horizontal emoji links ul { list-style: none; display: flex; align-items: center; padding: 0; font-size: 1.2em; line-height: 1; li { text-align: right; margin-left: 1.6em; a { display: inline-block; color: $color-medium; transition: transform 0.15s ease-in-out; &:hover { transform: scale(1.15); color: $color-links; } span.icon { font-size: 1.15em; vertical-align: -0.075em; } span.text { font-size: 0.8em; font-weight: 500; margin-left: 0.5em; } } &:first-child { margin-left: 0; } } } } } // Responsive @mixin responsive--header() { header nav { padding: 0.1em 1.25em; a#logo { img, svg { width: 40px; height: 60px; } h1#name { display: none; } } ul { font-size: 1.7em; li { margin-left: 1em; a { span.icon { font-size: 0.9em; } // hide text next to emojis on mobile span.text { display: none; } &:hover { transform: scale(1.4); } } } } } }