/*
selector {
positional rules
newline
style rules
}
 */

:root {
  --wasabi: rgb(160, 196, 45);
  --bar-size: 5%;
}

html, body {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;

  height: 100%;
  /*overflow: hidden;*/

  font-family: Arial, sans-serif;
  font-size: 18px;
  line-height: 1.5;

  color: #888888;
}

footer {
  padding: 1.5rem 1rem;
  font-size: 0.8rem
}

/****************** TOP ********************/

#top {
  display: grid;
  grid-template-columns: 13.5rem auto;
}

/*.no-js {*/
  /*position: fixed;*/
  /*right: 80px;*/
  /*left: 0;*/

  /*background: white;*/
  /*opacity: 50%;*/
/*}*/

#top h1 {
  margin: 1rem 0 0 1rem;

  font-size: inherit;
  color: var(--wasabi);
  text-transform: uppercase;
  letter-spacing: 0.75rem;

}

#top nav {
  margin-left: auto;
  margin-right: calc(var(--bar-size) + 2rem);
}

#top ul {
  /*list-style-type: decimal-leading-zero;*/
  list-style-type: none;
}

#top li {
  letter-spacing: 0.1em;
  cursor: pointer;
}

@media screen and (min-width: 60rem) {
  #top li {
    display: inline-block;
    margin-right: 4em;
  }
}


/****************** SIDE ********************/

#side {
  position: fixed;
  top: 0;
  right: 0;
  width: var(--bar-size);
  height: 100%;

  background: var(--wasabi);
}
@media screen and (max-width: 30rem) {
  #side {
    display: none;
  }
}

/****************** MAIN ********************/

main {
  max-width: 55rem;
  margin: 0 auto;
}

article {
  padding-left: 1rem;
  padding-right: calc(var(--bar-size) + 1rem);
}

/****************** HOME ********************/

article#home {
  margin: 25% auto;
}

#home h2 {
  color: rgb(160, 196, 45);
}

#tagline {
  font-size: 2em;
  margin: 0;
}

#pitch {
  letter-spacing: 0.02rem;
  margin: 0;
}

/****************** SERVICES ********************/

.twocolumn>header {
  display: grid;
  grid-template-columns: 50% 50%;

  padding-bottom: 1rem;
}

.twocolumn>header>h3 {
  text-align: right;
}

.twocolumn section,
.twocolumn .section {
  display: grid;

  grid-template-columns: 50% 50%;
  padding-top: 2rem;
  padding-bottom: 2em;
}

@media screen and (max-width: 60rem) {
  .twocolumn>header {
    display: block;
  }

  .twocolumn section,
  .twocolumn .section {
    display: block;
    padding-bottom: 0.2rem;
  }
}

/****************** ABOUT ********************/

.profile {
  padding: 1.5rem 01rem 0 1rem;
}

.profile img {
  margin: 0 auto;
}

.position {
  font-weight: bold;
}

iframe {
  border: 0;
  overflow: hidden;
}
/****************** SHARED ********************/

a {
  cursor: pointer;
  text-decoration: none;
  color: inherit;
}

h2 {
  margin-top: 0;
  margin-bottom: 0;
  font-size: 2.8rem;
  line-height: 1.2;
}

h3 {
  margin-top: 0.8rem;
  margin-bottom: 0;
  font-size: 1.3rem;
  line-height: 1.2;
}

h4 {
  font-size: 1.1rem;
}

img {
  max-width: 100%;
}

article>header {
  margin-top: 2rem;
}
