/* 2021-05-29                             */
/* ===== Standard fonts and colors ====== */

body {
  font-family: 'Open Sans', sans-serif;
}

h1, h3 {
  font-family: 'Open Sans Condensed', sans-serif;
}

h2, h4 {
  font-family: 'Amiri', serif;
  font-style: italic;
}

h4 {
  color: #337AB7;
}

i.fa-plus {
  color: silver;
}

h2.skills {
  color: #337ab7;
}

#banner {
  margin-left: auto;
  margin-right: auto;
}

header {
  text-align: center;
}

/* ==== ( < 400 ) ==== */
@media all and (max-width: 400px) {

  body {
    font-size: 1em;
    margin-top: 0;
  }

  h1 {
    margin-top: 1.4em;
  }

  h2 {
    margin: 0.6em;
  }

  h4.contact {
  font-size: 1.5em;
  }

  h4 {
  font-size: 1.777em;
  }

  #left, #right {
    display: block;
  }
}

/* ==== (401 <> 609) ==== */
@media all and (min-width: 401px) and (max-width: 609px) {

  body {
    font-size: 1.2em;
    margin-top: 0;
  }

  h1 {
    margin-top: 1.6em;
  }

  h2 {
    margin: 0.6em;
  }

  h4.contact {
  font-size: 1.5em;
  }

  h4 {
  font-size: 1.777em;
  }

  #left, #right {
    display: block;
  }
}

/* ==== (610 <> 767) ==== */
@media all and (min-width: 610px) and (max-width: 767px) {
  body {
    font-size: 1.8em;
    line-height: 1.5em;
  }

header div.container {
  display: flex;
  align-items: center;
  height: 100vh;
}

h1 {
  margin: 0.5em 0 0.3em;
  font-size: 3.0em;
}

h2 {
  font-size: 1.35em;
}

h3 {
  font-size: 1.5em;
}

h4 {
  font-size: 1.414em;
}

h4.contact {
  font-size: 1.1em;
  margin-bottom: 1.0em;
}

h2 i {
  font-size: 0.7em;
}

}

/* ===== (768 < ) ====== */
@media all and (min-width: 768px) {

body {
  font-size: 1.8em;
  line-height: 1.5em;
}

header div.container {
  display: flex;
  align-items: center;
  height: 100vh;
}

h1 {
  margin: 0.5em 0 0.3em;
  font-size: 3.998em;
}

h2 {
  font-size: 1.35em;
}

h3 {
  font-size: 1.5em;
}

h4 {
  font-size: 1.414em;
}

h4.contact {
  font-size: 1.1em;
  margin-bottom: 1.0em;
}

h2 i {
  font-size: 0.7em;
}

}


@media (max-height : 361px) and (orientation: landscape) {

  body {
   font-size: 1.2em;
   margin-top: 15px;
 }

 header div.container {
  display: block;
  height: 100%;
 }

}

