/* Typography extends  -------------------------  */

body, header p {
  font-family: 'Chakra Petch', sans-serif;
  font-weight: 300;
}

h1 {
  /*font-family: 'Rubik', sans-serif;*/
  /*font-family: 'Noe Display', sans-serif;
  font-family: "grenadine-mvb", sans-serif;*/
  font-weight: 700;
  font-style: normal
}

h2, h3 {
}

/* Typography settings  -------------------------  */

body {
  color: #E1E2E2;
}

h1, h2, h3 {
  font-size: 5rem;
  line-height: 6rem;
  text-transform: unset;
  color: rgb(243 243 243 / 10%);
  background: #f3f3f3 url(../img/IMG_0096_2.jpg);
  background-size: contain;
  background-position: left;
  background-clip: text;
  -webkit-background-clip: text;
}

h1 em {
  font-family: 'Licorice', cursive;
  font-size: 6rem;
  font-weight: 800 !important;
  font-style: italic ;
}

h2, h3 {
  font-size: 1.8rem;
  line-height: .75em; 
  color: rgb(40 0 0 / 30%);
  background-position: top;
  text-transform: none;
  display: block;
  font-weight: 300;
}

h3 {
  font-size: 1.5rem;
  line-height: 1.2em;
  background-position: center !important;
}

header p, 
header p a  {
  font-size: 1.2rem;
  line-height: 1.4rem;
  font-weight: 400;
}

p, a, li, dt, dd {
  font-size: 1rem;
  line-height: 1.5rem; 
  color: #776960;
  font-weight: 400;
  word-wrap: break-word;
}

dt, dd {
  line-height: 2rem;
}

.new {
  color: #e67e22; 
}

hr {
  height: 1px;
  border: 1px solid #d58743;
  background-color: #d58743;
}

a         { color: #b39c8d; padding: .05em .2em; }
a:visited { color: #b39c8d; }
a:hover   { color: #d4824d; }

/* Layout extends  -------------------------  */

header a:hover, section a:hover {
  -webkit-transition: all 0.2s ease-out;
  -moz-transition: all 0.2s ease-out;
  transition: all 0.42 ease-out;
  border-bottom: 2px solid #d58743;
}

/* Layout settings  -------------------------  
html, body { background-color: #1d2120;
*/

html, body {
  background-color: #1a151d;
  min-height: 100vh;
}

header, section {
  width: 60%;
  margin-left: 20%;
  margin-top: 3em; 
  position: relative;
  z-index: 99;
}


canvas {
  margin: 0 auto;
  display: block;
  z-index: 1;
  position:fixed;
  left: 0;
  top: 0;
}

header h1 {
  padding: 10% 0 0; 
  margin: 0;
}

header h2 {
  padding: 0 0 2em; 
  margin: 0;
}

header div {
  display: grid;
  grid-template-columns: 280px auto;
}

header img {
  grid-column-start: 1;
  width: 200px;
  height: auto;
  border-radius: 50%;
  margin: 2em 1em;
  filter: drop-shadow(0px 0px 50px #000);
}

header p {
  grid-column-start: 2;
}

section {
  margin-bottom: 3em;
}

div.contact {
  display: grid;
  grid-template-columns: 50% 50%;
}
div.contact .c1 {
  grid-column-start: 1;
}
div.contact .c2 {
  grid-column-start: 2;
}

h3 {
  margin-top: 1.5em;
  margin-bottom: 0.5em; 
}

p, ul, dl, a {
  margin: .5em 0 2em ;
}

.left {
  float: left;
  text-align: left;
}
.right {
  float: right;
  text-align: right;
}

a {
  text-decoration: none;
  border-bottom: 2px solid transparent; 
}

ul.refs, ul.social-links {
  padding: 0;
  float: left;
  width: 100%;
}

ul.refs li, ul.social-links li {
  list-style: none;
  padding-right: 1.5em;
  float: left;
}

dl {
  display: grid;
  grid-template-columns: 2em auto;
}
dt {
  grid-column-start: 1;
}

i span {
  display: none;
}

dd {
  grid-column-start: 2;
  margin-left: 0;
}
@media only screen and (max-width: 1440px){

  header, section {
    width: 75%;
    margin-left: 12.5%;
  }
}
@media only screen and (max-width: 1280px){

  header, section {
    width: 80%;
    margin-left: 10%;
  }
}

@media only screen and (max-width: 768px){


  header h2 {
    padding: 0 0 1em; 
  }

  header div {
    grid-template-columns: 200px auto;
  }

  header img {
    width: 160px;
    height: auto;
  }

  ul li {
    text-align: left;
  }

  ul.refs li, ul.social-links li {
    padding: 0;
    float: none;
    display: inline;
  }

  ul.social-links li:first-child {
    display: block;
    margin-bottom: 1em;
  }

}

@media only screen and (max-width: 600px){

  header div, div.contact   {
    display: block;
  }

  header, section {
    width: 90%;
    margin: 2em 0 0 5%;
    padding: 0 5% 0 0;
  }

  header {
    text-align: center;
  }

  h1 {
    font-size: 4em;
    line-height: 1em;
  }


  h1 em {
    font-size: 6rem;
  }

  header h2 {
    line-height: 1.2em;
    background-size: cover;
  }

  header img {
    width: 200px;
    height: auto;
  }

  header p {
    display: block;
    width: 99%;
  }

  ul li {
    text-align: left;
  }

  ul.refs li, ul.social-links li {
    padding: 0;
    float: none;
    display: inline;
  }

  ul.social-links li:first-child {
    display: block;
    margin-bottom: 1em;
  }

}

@media only screen and (max-width: 425px){
  h1 {
    background-size: cover;
  }
}
