@import url("https://use.typekit.net/czq6swv.css");

html {
  box-sizing: border-box;
}
*, *:before, *:after {
  box-sizing: inherit;
}

:root {
  --c-dark: #273238;
  --c-black: #1b1e20;
  --c-blue: #889dad;
}
body {
  margin: 0;
  font-family: 'runda', Arial, sans-serif;
  line-height: 1.5;
  font-weight: 300;
  font-size: 20px;
  text-align: center;
  /* direction: ltr; */
  --align: left;
}
body > * {
  text-align: var(--align);
}
h1,h2,h3,h4,h5,h6 {
  font-weight: 500;
}
strong {
  font-weight: 500;
}

/* make footer stick to the bottom */
html, body {
  height: 100%;
}
body {
  display: flex; 
  flex-direction: column; 
}
.content {
  flex-grow: 1;
  flex-shrink: 0;
}
.footer {
  flex-shrink: 0;
}

/**** header ****/
#header {
  width: 100%;
  padding: 12px 15px;
  transition: 0.5s;
  position: fixed;
  z-index: 1;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: flex-end;
  align-items: center;
}
@media (max-width: 700px) or (max-height: 500px) {
  #header {
    position: absolute;
  }
}
.header-home {
  color: #fff;
}
.header-page {
  background-color: #fff;
}
.header-home.scrolled {
  background-color: var(--c-dark);
}
#header a { text-decoration: none; }
.header-home a { color: #fff; }
.header-page a { color: var(--c-dark); }

/** logo and tagline **/
.top-tagline {
  flex-grow: 1;
  display: flex;
  align-items: center;
}
.top-tagline div {
  margin: 5px 8px;
  font-family: plantin;
  text-transform: uppercase;
  font-size: 13px;
  line-height: 1.1;
}
.top-tagline img {
  height: 30px;
}
/**
@media only screen and (max-width: 1400px) {
  .top-tagline div { display: none; }
}
**/

/** social media icons **/
.social-media {
  margin-inline-start: 40px;
}
.social-media .fa {
  font-size: 20px;
  padding: 8px;
}
.header-home .social-media .fa:hover {
}

/** language selector **/
.language-selector {
  position: absolute;
  right: 0;
  top: 100%;
  padding: 20px;
  text-align: right;
}
.language-selector a {
  display: block;
  font-size: 14px;
  font-weight: 500;
  text-transform: uppercase;
  padding: 2px 10px;
}
.header-home .language-selector a {
  color: #ffe379;
}
.header-home.scrolled .language-selector a {
  color: var(--c-dark);
}
.language-selector:not(:hover) a.selected {
  color: var(--c-dark);
  background-color: #ffe379;
}
.language-selector a:hover {
  color: var(--c-dark);
  background-color: #ffe379;
}

/** donate button **/
.top-menu-buttons {
  display: flex;
  flex-direction: row;
}
.top-menu-buttons a {
  background-color: var(--c-black);
  color: #fff;
  font-size: 16px;
  font-weight: 500;
  padding: 8px 15px;
  margin-inline-start: 40px;
  text-transform: uppercase;
  display: block;
}
.header-home.scrolled .top-menu-buttons a {
  background-color: #fff;
  color: var(--c-black);
}

/** drop-down menu **/
.top-menu-items {
  position: relative;
  display: flex;
  width: 700px;
  justify-content: space-between;
  flex-wrap: wrap;
}
.menu-drop-down > span {
  display: block;
  padding: 8px 15px;
  text-transform: uppercase;
  cursor: default;
  font-size: 16px;
  font-weight: 500;
}
.header-home .menu-drop-down:hover {
  background-color: #fff;
  color: var(--c-dark);
}
.header-page .menu-drop-down:hover {
  text-decoration: underline;
  text-underline-offset: 5px;
  text-decoration-thickness: 2px;
}
.header-page .top-menu-items:not(:hover) .menu-drop-down.default {
  text-decoration: underline;
  text-underline-offset: 5px;
  text-decoration-thickness: 2px;
}
.menu-hover {
  display: none;
  position: absolute;
  z-index: 1;
  width: 100%;
  left: 0;
  min-height: 200px;
}
.menu-content {
  display: flex;
  background-color: #fff;
  text-align: var(--align);
  font-size: 13px;
  padding: 5px;
  flex-wrap: wrap;
}
.menu-drop-down:hover .menu-hover {
  display: block;
}
@media only screen and (min-width: 800px) {
  .header-page:not(.scrolled) .top-menu-items:not(:hover) .menu-drop-down.default .menu-hover {
    display: block;
  }
}
.menu-group {
  flex-grow: 1;
}
.menu-group > a {
  display: block;
  padding: 2px 4px;
  margin: 6px 10px;
  font-weight: 500;
  color: var(--c-dark);
}
.header-home .menu-group > a:hover {
  background-color: var(--c-blue);
  color: #fff;
}
.header-page .menu-group > a {
  color: var(--c-blue);
}
.header-page .menu-group > a:hover {
  background-color: #c4cdd7;
  color: var(--c-black);
}
.header-page .menu-content:not(:hover) .menu-group > a.default {
  background-color: #c4cdd7;
  color: var(--c-black);
}

/**** front page ****/
.splash {
  position: relative;
  width: 100%;
  height: 60vh;
}
@media (max-width: 800px) {
  .splash {
    min-height: 600px;
  }
}
.splash img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.splash h1 {
  display: inline-block;
  position: absolute;
  inset-inline-start: 0;
  bottom: 0;
  font-family: plantin;
  font-size: 40px;
  color: #fff;
  margin: 0;
  padding: 64px;
  line-height: normal;
}
.splash h1:lang(ar) {
  font-family: initial;
}
.image.section .section-content {
  max-width: inherit;
}

.section {
  display: flex;
  flex-direction: row;
  width: 100%;
}
.section-image {
  width: 50%;
  min-height: 25vw;
  position: relative;
}
.section img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  position: absolute;
}
.section .section-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding: 60px 80px;
  flex: 1;
}
.section .section-content h1 {
  color: black;
  font-size: 1rem;
  font-weight: 500;
  text-transform: uppercase;
  text-decoration: underline;
  margin-bottom: 20px;
  text-underline-offset: 10px;
  text-decoration-thickness: 2px;
}

.section.light {
  background-color: #EAEAE3;
}
.section.dark {
  background-color: var(--c-blue);
}
.section.white {
  flex-direction: row-reverse;
}
.section.white img {
  padding: 65px 80px;
}

.section .section-content .learn-more {
  min-width: 130px;
  margin-top: 25px;
  padding: 10px;
  background-color: var(--c-black);
  font-size: 18px;
  font-weight: 500;
  color: white;
  text-align: center;
  text-decoration: none;
}

@media (max-width: 800px) {
  .section, .section.white {
    flex-direction: column-reverse;
  }
  .section .section-content {
    padding: 20px;
  }
  .section-image {
    width: 100%;
  }
  .section img, .section.white img {
    position: relative;
    padding: 20px;
    align-self: center;
  }
}

/**** pages ****/
#title {
  font-size: 60px;
  font-weight: 300;
}
.content {
  padding-top: 180px;
  /* padding-bottom: 30px; */
}
@media only screen and (max-width:900px) {
  .content {
    padding-top: 400px;
  }
}
.default-width {
  max-width: 2000px;
  margin: 0 auto;
  padding: 0 50px;
}
@media only screen and (min-width:1000px) {
  .text-width {
    min-width: 900px;
    max-width: 60vw;
  }
}
.content > :last-child {
  margin-bottom: 80px;
}

/* normal and full-width photo */
.photo {
  text-align: center;
  margin: 30px;
}
.photo.full-width {
  text-align: var(--align);
}
.photo img {
  max-width: 80%;
  max-height: 500px;
}
.photo.full-width {
  margin: 30px 0;
}
.photo.full-width img {
  display: block;
  width: 100%;
  max-width: none;
  max-height: 80vh;
  object-fit: cover;
}
.photo.full-width:last-child {
  margin-bottom: 0;
}
.photo-caption {
  clear: left;
  width: 80%;
  margin: 0 auto;
  margin-bottom: 10px;
  font-size: 14px;
  font-style: italic;
}
.photo-caption:empty {
  display: none;
}

/* photo+text */
.photo-text {
  width: 100%;
  max-width: 2000px;
  margin: 0 auto;
  padding: 0 25px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  overflow: hidden;
}
.photo-text.text-first {
  flex-direction: row-reverse;
}
.photo-text-photo {
  flex: 0 0 400px;
  align-self: center;
  text-align: center;
}
.photo-text-text {
  flex: 1 0 400px;
}
.photo-text-photo img {
  max-height: 500px;
  max-width: 700px;
}
@media only screen and (max-width:700px) {
  .photo-text-photo {
    flex: 0 0 100%;
  }
  .photo-text-text {
    flex: 1 0 100%;
  }
  .photo-text-photo img {
    max-width: 100%;
  }
}
.photo-text div {
  margin: 25px;
}
.photo-text-photo span {
  display: block;
  font-size: 14px;
  font-style: italic;
  line-height: normal;
  text-align: var(--align);
}
.photo-text-text :first-child {
  margin-top: 0;
}

/* image gallery */
.image-gallery {
  max-width: 2000px;
  margin: 0 auto;
  padding: 0 50px;
  display: flex;
  flex-wrap: wrap;
}
.image-gallery > * {
  display: flex;
  justify-content: center;
  margin: 20px;
  border: 2px solid transparent;
}
.image-gallery > a:hover {
  border-color: var(--c-blue);
}
.image-tile {
  display: flex;
  flex-direction: column;
  font-size: 14px;
  font-style: italic;
  text-decoration: none;
  color: #000;
}
.image-tile > img {
  max-height: 250px;
  object-fit: contain;
}

/**** footer ****/
.bottom-logo {
  background-color: #eee;
  text-align: center;
  padding: 50px;
}
.bottom-logo img {
  max-width: 100%;
}

.footer {
  width: 100%;
  position: relative;
  background-color: var(--c-dark);
  color: #fff;
  overflow: hidden;
  display: flex;
  align-items: flex-start;
  flex-wrap: wrap;
  font-family: 'plantin';
  font-size: 14px;
  padding: 15px 20px;
}
.footer .logo img {
  height: 180px;
}
.footer > div {
  margin: 5px 20px;
  margin-left: 40px;
  display: flex;
  flex-direction: column;
}
.footer > div > a {
  display: block;
  color: #fff;
  text-decoration: none;
  margin: 5px 0;
}
.footer .fa {
  font-size: 20px;
  margin: 0 10px;
  vertical-align: middle;
}
.footer span {
  display: inline-block;
  vertical-align: middle;
  line-height: 1.1;
}
.footer-social > a > span {
  direction: ltr;
}


