@import 'fonts.scss'; $font-size-1: 0.8rem; $font-size-2: 19px; $font-size-3: 1.4rem; $font-size-4: 1.7rem; $font-size-5: 2.1rem; $font-size-6: 2.5rem; $color-main: #b91c1c; $color-main-lighter: lighten($color-main, 10%); $color-text: #111; $color-lighter: lighten($color-text, 10%); $color-gray: #60606f; $color-lightgray: lighten($color-gray, 30%); $landing-size-value: 2.2; $landing-line-height: 1.4em; $font-family-body: 'Castoro', serif; * { box-sizing: border-box; } html { font-family: $font-family-body; font-weight: 500; font-size: $font-size-2; line-height: 1.4; } body { max-width: 900px; margin: 0 auto; padding: 2rem 1rem; } a { color: $color-main; &:hover { color: $color-main-lighter; } } header { display: flex; flex-wrap: nowrap; flex: 1 0 67%; align-items: center; .logo { flex-grow: 0; flex-shrink: 0; } nav { text-align: right; margin-left: auto; padding-left: 2.5vw; flex-grow: 1; flex-shrink: 1; a { font-family: sans-serif; font-weight: 700; &:not(:first-child) { margin-left: 2.5vw; } } } } .fine-line { color: $color-lightgray; } footer { text-align: center; margin-top: 2rem; color: $color-gray; display: flex; flex-direction: column; justify-content: center; .links { display: flex; justify-content: center; } a { color: $color-gray; } } .landing p { font-style: normal; font-size: calc(calc(2.2 - 1) * calc(.012 * min(100vh, 900px)) + 1rem); font-weight: 400; line-height: calc(1.4em * (1 + (1 - 2.2)/25)); text-align: justify; }