@import url('https://fonts.googleapis.com/css?family=EB+Garamond|Raleway'); $text-font: 'Raleway'; $big-font: 'Raleway'; $color-main: #36e281; $color-secondary: darken($color-main, 10%); $color-link: $color-secondary; $color-text: black; a { color: $color-link; text-decoration: none; } svg { height: 1.2em; } body { margin: 0px; padding: 0px; font-family: $text-font; line-height: 1.3em; font-size: 14px; } header { text-align: center; margin: auto; margin-bottom: 10px; } div.name { font-size: 1.25em; margin: 15px; font-family: $big-font, serif; } h1 { font-size: 1.25em; font-family: $big-font, serif; font-weight: normal; margin: 10px; color: $color-secondary; } h2 { font-size: 1.1em; font-weight: normal; margin-bottom: 0px; } div.contact { background-color: $color-main; color: white; display: flex; justify-content: center; } div.contact-item { padding: 10px; padding-left: 20px; padding-right: 20px; display: flex; align-items: center; } div.contact-content { padding-left: 5px; font-weight: bold; } div.horizontal-list { display: flex; flex-direction: horizontal; section, div { flex-grow: 1; } } div.project-container { flex-basis: 25%; h2 { display: inline; margin: 0px; } } a.project-link { color: $color-text; font-weight: bold; display: flex; align-items: center; } svg.project-link-icon { height: 1em; } main { margin: auto; max-width: 90%; } div.section-content { margin-left: 20px; } div.position, div.project-container { margin-bottom: 15px; } div.position-location, div.project-quip { color: lighten($color-text, 30%); } section { page-break-inside: avoid; &.page-padding { padding-top: 15px; } }