﻿body {
  margin: 0;
  padding: 0;
  height: 100%;
  width: 100%;
  line-height: 1.7;
  background: white;
  color: #566b78;
  font-family: 'Lato', sans-serif;
  -moz-font-smoothing: grayscale;
  -webkit-font-smoothing: antialiased;
  display: block;
  box-sizing: border-box;
  font-size: 20px;
  letter-spacing: 0.3px;

}

.affiliate{
  margin-top: 2.5rem
}

ul li{
    font-weight: bolder;
}

a strong {
  color: inherit;
}

hr {
  background: none;
  border: none;
  border-bottom: 1px solid #d8dee9;
}

img {
  height: auto;
  max-width: 100%;
}

pre {
  overflow: auto;
  white-space: pre-wrap;
}

footer {
  align-items: center;
  display: flex;
  justify-content: center;
  margin-top: 4em;
  text-align: center;
}

/* 01 Centering */

main {
  margin: 0 auto;
  max-width: 50em;
}
/* 03 Spacing */



h2 {
  margin-top: 1em;
  padding-top: 1em;
  text-transform: uppercase
}

/* 04 Color and contrast */


h1,
h2,
strong {
  color: #333;
}

/* 05 Balance */

code,
pre {
  background: #eee;
}

code {
  padding: 2px 4px;
  vertical-align: text-bottom;
}

pre {
  padding: 1em;
}

/* 06 Primary color */

a {
  color: #e81c4f;
}

/* 07 Secondary colors */



code,
pre {
  background: #f5f7f9;
  border-bottom: 1px solid #d8dee9;
  color: #a7adba;
  -moz-font-smoothing: grayscale;
  -webkit-font-smoothing: initial;
}

pre {
  border-left: 2px solid #69c;
}

.selector {
  color: #ec5f67;
}

.keyword {
  color: #ab7967;
}

.unit {
  color: #fac863;
}

.attribute {
  color: #5fb3b3;
}

.number {
  color: #f99157;
}

.string {
  color: #c594c5;
}

/* 08 Custom font */


h1,
h2,
strong {
  font-weight: 500;
}

/* 09 Images */



main {
  padding: 1em 1em;
}

header {
  background-color: #263d36;
  background-image: url("../img/back.jpeg");
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  line-height: 1.2;
  text-align: center;
  vertical-align: central;
  position: relative;
  width: 100%;
  display: block;
  box-sizing: border-box;
  min-height: 100vh;
}

.header-content h1{
    font-size: 6em;
    text-decoration: underline;
    font-weight: 800;
    color: white;
    margin-bottom: 0px;
    padding-bottom: 0px;
    margin-top: 0px;
    cursor: default;
    letter-spacing: 5px;
}

.header-content h2{
    color: white;
    font-size: 2.5em;
    margin-top: 5px;
}

header .header-content {
  position: relative;
  text-align: left;
  padding: 10px 15px 100px;
  width: 100%;
}

#logo {
  display: inline-block;
  height: 120px;
  vertical-align: top;
  width: 120px;
}

header h1 {
  color: white;
  font-size: 2.5em;
  font-weight: 300;
}

header a {
  transition: none 200ms ease-out;
  transition-property: color, background;
  cursor: pointer;
  display: inline-block 
}

.header-content a h1{
    cursor: pointer;
}


/* Classes */

.animate {
  animation-duration: 1s;
  animation-name: blink;
}

@keyframes blink {
  from {
    background-color: lightyellow;
  }

  to {
    background-color: transparent;
  }
}

html a.button {
  border: 1px solid #d8dee9;
  border-radius: 290486px;
  color: #b0bfc7;
  padding: 1em 1.5em;
  text-align: center;
  text-decoration: none;
  transition: none 200ms ease-out;
  transition-property: color, background;
}

.button:hover {
  background: #e81c4f;
  border-color: transparent;
  color: rgba(255, 255, 255, 0.5);
}

.button em {
  display: block;
  font-size: 0.6em;
  font-style: normal;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.button strong {
  color: #e81c4f;
  transition: color 200ms ease-out;
}


footer .button {
  font-size: 0.8em;
  padding: 1em 2em;
}

.buttons .button {
  display: block;
  margin-bottom: 1em;
}


/* Responsiveness */

@media (min-width: 600px) {
  .buttons {
    align-items: center;
    display: flex;
    justify-content: space-between;
    padding: 1em 0;
  }

  .buttons .button {
    flex-grow: 1;
    flex-shrink: 0;
    margin-bottom: 0;
    margin-right: 1em;
  }

  .buttons .button:last-child {
    margin-right: 0;
  }

  .resources {
    display: flex;
  }

  .resource {
    display: block;
    flex-basis: 0;
    flex-grow: 1;
    flex-shrink: 1;
    text-align: center;
  }

  .resource + .resource {
    margin-left: 1em;
  }

  .resource-icon {
    margin: 0 auto 1em;
  }
}