@import url('https://fonts.googleapis.com/css?family=Rubik:300,500,900i&display=swap');

@keyframes fadeIn {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

body {
  font-family: 'Rubrik', Arial;
  font-size: 18px;
  font-weight: 300;
  line-height: 1.5;
  color: #052837;
  background-color: #ffffff;
}

header {
  position: fixed;
  top: 0;
  left: 0;
  background-color: #c7f2f1;
  width: 100%;
  z-index: 1;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  padding: 0 48px;
  height: 64px;
  transition: background-color 1s, height 1s;
}

header h1 {
  font-weight: 900;
  font-style: italic;
  font-size: 24px;
}

header.scrolled {
  background-color: #ffffff;
  height: 100px;
}

header h1,
header nav {
  flex: 1;
}

header nav {
  text-align: right;
}
header a {
  margin-left: 20px;
  font-weight: 300;
}

div.face{
  position: relative;
}

div .iris {
  position: absolute;
  top: 23px;
  left: 11px;
}

div .iris-right {
  left: 49px;
}

div.iris div {
  position: relative;
  top: 0;
  left: 0;
  width: 6px;
  height: 6px;
  background-color: #052837;
  border-radius: 50%;
  transform: translate(-50%,-50%);
}

h2 {
  font-size: 48px;
  font-weight: 700;
  line-height: 1.25;
}

h3 {
  font-size: 32px;
  font-weight: 700;
  line-height: 1.25;
}

section.hero {
  margin-top: 64px;
  background-color: #c7f2f1;
  background-image: url(hero.jpg);
  background-size: contain;
  background-repeat: no-repeat;
  background-position: 100% 50%;
  padding: 160px 48px;
}

section.hero h2,
section.hero p {
  max-width: 440px;
}

section.content {
  display: flex;
  margin: 48px;
  flex-direction: row;
}

section.content div.content {
  flex: 0 0 400px;
  margin: 0 0 0 48px;
}

section.content:nth-child(odd) {
  flex-direction: row-reverse;
}

section.content:nth-child(odd) div.content {
  margin-right: 48px;
  text-align: right;
}

a {
  color: #052837;
  text-decoration: none;
}

a.button {
  background-color: #052837;
  color: #ffffff;
  display: inline-block;
  border-radius: 50px;
  padding: 0.5em 1.5em;
}

p {
  margin: 1.5em 0;
}
