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

body, header p, h1 span {
  font-family: 'Karla', sans-serif;
}

a         { color: #1578ba; padding: .1em .2em; }
a:visited { color: #1578ba; }
a:hover   { color: #085a89; }

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

body {
  color: #333; 
}

h1 {
  display: none;
}

h2 {
  font-size: 1.5em;
  line-height: 1.5em;
  font-weight: 900;
  color: #000;
}

p, a, h3 {
  font-size: 1em;
  line-height: 1.5em; 
  font-weight: 300;
  word-wrap: break-word;
}

h3 { 
  font-weight: 900; 
}

hr {
  border: 2px solid;
}

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

header a:hover, section a:hover {
  -webkit-transition: border-bottom 0.4s ease-out, color 0.4s ease-out, background-color 0.2s ease-in;
  -moz-transition: border-bottom 0.4s ease-out, color 0.4s ease-out, background-color 0.2s ease-in;
  transition: border-bottom 0.4s ease-out, color 0.4s ease-out, background-color 0.2s ease-in;
  border-bottom: 1px solid #1578ba; 
}

/* Layout settings  -------------------------  */

html, body {
  background-color: #FFFFFF; 
}

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

header img {
  width: 200px;
  height: auto;
  padding: 3em 0 2em;
}

section {
  display: grid;
  grid-template-columns: 150px 300px 300px;
}

section h3, section p.c2, section p.c3 {
  grid-column-start: 2;
  width: 300px;
  height: auto;
  margin: 2em auto;
}

section h3 {
  grid-column-start: 1;
}

section p.c3 {
  grid-column-start: 3;
}

section {
  margin-bottom: 3em;
}

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

@media only screen and (max-width: 768px){
  header, section {
    text-align: center;
  }

  h1 {
    margin: 2em 0 1em; 
  }

  section, section h3, section p {
    display: block;
    grid-template-columns: 100%;
  }

}

@media only screen and (max-width: 360px){
  header, section {
    width: 100%;
    margin: 2em 0 0 5%;
    padding: 0 5% 10% 0;
  }

}
