$black: #454545; $max-width: 1024px; html[lang="en"] { font-family: "Kanit Regular"; } html[lang="ar"] { font-family: "Amiri Quran Regular"; } html { height: 100%; } html body { color: $black; height: 100%; margin: 0; } body .root { height: 100%; } body .root .content.theme { margin: 0 auto; height: 100%; width: 85%; max-width: $max-width; header { h1 { display: flex; align-items: center; flex-direction: column; font-size: xx-large; margin: 0; line-height: 1.5; a { text-decoration: none; } } nav, div { display: flex; flex-wrap: wrap; justify-content: space-between; } nav { .react-select { display: flex; flex-direction: row; align-items: center; } .react-select.theme { justify-content: flex-start; } .react-select.language { justify-content: flex-end; min-width: 70px; text-align: right; ul li { align-items: flex-start; font-family: "Kanit Regular"; } } .br { width: 100%; } } } ul.body { clear: both; list-style-type: none; padding: 0; margin: 0; overflow: auto; height: 73%; padding: 0 0 30px 0; } footer { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; width: 100%; .br { width: 100%; } } } body .root .content.en { h1 { font-size: x-large; } header { nav, div { } } } body .root .content.ar { header { nav, div { direction: ltr; .localized-name { display: flex; font-size: x-large; justify-content: flex-end; align-items: flex-end; width: 100%; } .transliterated-name { display: none; } } } footer { flex-direction: row-reverse; } } .invisible { display: none !important; }