:root {
  --blue: #01d0ef;
  --light-blue: #aaf4fd;
  --dark-blue: #3bb8d8;
  --gray: #eeeeee;
}

@font-face {
  font-family: "Gotham Rounded";
  src: url("GothamRounded-Bold.woff2") format("woff2"),
    url("GothamRounded-Bold.woff") format("woff"),
    url("GothamRounded-Bold.ttf") format("truetype");
  font-weight: bold;
  font-style: normal;
}

@font-face {
  font-family: "Gotham Rounded";
  src: url("GothamRounded-Medium.woff2") format("woff2"),
    url("GothamRounded-Medium.woff") format("woff"),
    url("GothamRounded-Medium.ttf") format("truetype");
  font-weight: 500;
  font-style: normal;
}

@font-face {
  font-family: "Gotham Rounded";
  src: url("GothamRounded-Light.woff2") format("woff2"),
    url("GothamRounded-Light.woff") format("woff"),
    url("GothamRounded-Light.ttf") format("truetype");
  font-weight: 300;
  font-style: normal;
}

@font-face {
  font-family: "Gotham Rounded";
  src: url("GothamRounded-Book.woff2") format("woff2"),
    url("GothamRounded-Book.woff") format("woff"),
    url("GothamRounded-Book.ttf") format("truetype");
  font-weight: normal;
  font-style: normal;
}

html {
  background: var(--blue);
  color: white;
  font-family: "Gotham Rounded", sans-serif;
}

a {
  text-decoration: none;
  color: rgba(255,255,255,1);
}

a:hover {
  text-decoration: underline;
}

.header {
  border-bottom: 1px solid rgba(255, 255, 255, 0.5);
  padding: 15px 30px;
  margin-bottom: 50px;
  display: flex;
}

.logotype {
  font-size: 30px;
  font-weight: 500;
  letter-spacing: 0;
}

.logotype sup {
  font-size: 12px;
  vertical-align: top;
}

.nav {
  margin-left: auto;
  display: flex;
  flex-direction: row;
  align-items: center;
}

.nav a {
  margin-left: 30px;
  display: flex;
  flex-direction: row;
  align-items: center;
}

.nav img {
  width: 24px;
  margin-right: 10px;
}

.wrapper {
  width: 90vw;
  min-width: 960px;
  margin: 0 auto;
  max-width: 1200px;
}

h1 {
  font-size: 75px;
  font-weight: 500;
  text-align: center;
}

.hero-image {
  width: 960px;
  position: relative;
  height: 205px;
  margin: -30px auto 0;
}
.troll {
  width: 240px;
  height: 190px;
  background-image: url("https://s3-us-west-2.amazonaws.com/s.cdpn.io/184395/troll-mad.png");
  background-size: cover;
  background-position: 0 0px;
  background-repeat: no-repeat;
  animation: troll-water 2s infinite ease-out;
  -webkit-animation: troll-water 2s infinite ease-out;
  margin: 0 auto;
  position: relative;
}

.troll:hover {
  background-image: url("https://s3-us-west-2.amazonaws.com/s.cdpn.io/184395/troll-tongue.png");
}

.water-left {
  position: absolute;
  bottom: 0;
  left: 0;
  animation: water-left 2s infinite ease-out;
  -webkit-animation: water-left 2s infinite ease-out;
}
.water-right {
  position: absolute;
  bottom: 12px;
  right: 24px;
  animation: water-right 2s infinite ease-out;
  -webkit-animation: water-right 2s infinite ease-out;
}

/* Animations */

@-webkit-keyframes troll-water {
  0% {
    background-position: 0 0px;
  }

  50% {
    background-position: 0 10px;
  }

  100% {
    background-position: 0 0px;
  }
}

@-webkit-keyframes water-left {
  0% {
    left: 0px;
  }

  50% {
    left: 10px;
  }

  100% {
    left: 0px;
  }
}
@-webkit-keyframes water-right {
  0% {
    right: 24px;
  }

  50% {
    right: 34px;
  }

  100% {
    right: 24px;
  }
}

.subcopy {
  text-align: center;
  font-size: 20px;
  width: 700px;
  margin: 30px auto 0;
}

.subcopy p {
  line-height: 1.5;
}

.btn {
  display: inline-flex;
  align-items: center;
  background: white;
  border-radius: 100px;
  padding: 15px 30px;
  margin-bottom: 30px;
  color: var(--blue);
  font-weight: 500;
  box-shadow: 0 15px 25px -20px #0B8AAA;
}

.btn:hover {
  text-decoration: none;
  box-shadow: 0 20px 30px -20px #0B8AAA;
}

.btn:active {
  text-decoration: none;
  box-shadow: 0 10px 20px -20px #0B8AAA;
  position: relative:
    top: 1px;
}

.btn img {
  width: 32px;
  margin-right: 10px;
}

.grid {
  display: grid;
  grid-gap: 30px;
}

.grid-2 {
  grid-template-columns: 1fr 1fr;
}

.grid-3 {
  grid-template-columns: 1fr 1fr 1fr;
}

.grid-4 {
  grid-template-columns: 1fr 1fr 1fr 1fr;
}

h2 {
  font-size: 40px;
  font-weight: 500;
  text-align: center;
  border-top: 1px solid rgba(255,255,255,0.5);
  margin-top: 40px;
  padding-top: 40px;
  margin-bottom: 20px;
}

.card .image {
  border-radius: 5px;
  margin-bottom: 10px;
  overflow: hidden;
  box-shadow: 0 7px 17px -2px #0FA7CD;
} 

.card .image img {
  width: 100%;
}

.card p {
  font-size: 18px;
  text-align: center;
  line-height: 1.5;
}

.settings {
  align-items: center;
}

.settings span {
  font-size: 24px;
  font-weight: 500;
  margin-bottom: 10px;
}
.settings p {
  font-size: 18px;
  line-height: 1.5;
  margin-bottom: 20px;
}
.settings-image {
  background: var(--gray);
  border-radius: 5px;
  box-shadow: 0 2px 10px 0 rgba(0,0,0,0.25);
  height: 95%;
  overflow: hidden;
  /*border: 2px solid var(--gray);*/
}
.settings-image .buttons {
  padding: 5px;
}

.settings-image .buttons span {
  width: 10px;
  height: 10px;
  border-radius: 10px;
  display: inline-block;
}

.settings-image .buttons .red {
  background: #EE5B54;
}

.settings-image .buttons .yellow {
  background: #F8BE33;
}

.settings-image .buttons .green {
  background: #61CA43;
}

.settings-image img {
  width: 100%;
}

h3 {
  text-align: center;
  font-size: 24px;
}

.img-footer {
  margin: 80px auto 0;
  height: 300px;
  width: 400px;
  background-image: url('https://s3-us-west-2.amazonaws.com/s.cdpn.io/184395/troll-peace.png');
  background-size: cover;
  
}