@import url("reset.css");
@import url('https://fonts.googleapis.com/css?family=Montserrat:300|Roboto&display=swap');

/* font-family: 'Montserrat', sans-serif;
font-family: 'Roboto', sans-serif; */


/* Typography */

body {
  background-image: url(images/scott-webb-186137-unsplash.jpg);
  background-repeat: no-repeat;
  background-size: cover;
  background-attachment: fixed;
  top: -300px;
  font-family: 'Montserrat', sans-serif;
  font-size: 16px;
  font-weight: lighter;
  color: #121212;
  box-sizing: border-box;
}

h1, h2, h3 {
  font-family: 'Roboto', sans-serif;
  font-weight: bold;
}

 h2 {
   font-size: 2em;
 }

 h3 {
   font-size: 1.5em;
   margin-bottom: 30px;
   text-transform: uppercase;
 }

 a {
   text-decoration: none;
 }

 h3, p {
   margin-left: 50px;
   margin-right: 60px;
   line-height: 1.5em;
 }

/*SECTION 1 - INTRO */

/* INTRO_Banner*/
header {
  height: 100vh;
  border-bottom: 5px solid #121212;
}

header h1 {
  font-size: 5em;
  position: absolute;
  top: 150px;
  left: 50%;
  transform: translate(-50%);
  line-height: 2em;
}

header h1::after {
  content: '';
  height: 1em;
  position: absolute;
  top: 0;
  left: -580px;
  /* width: 100%; */
  z-index: -1;
  border-bottom: 5px dotted #FF5056;

  /* Shorthand property for animation-name animation-duration animation-timing-function animation-delay animation-iteration-count animation-direction animation-fill-mode and animation-play-state.

  Only animation-duration and animation-name are required. */
  animation: slideinleft 5s 1 forwards;
  -webkit-animation: slideinleft 5s 1 forwards;
}


@keyframes slideinleft {
  from {
    width: 0%;
  }
  to {
    width: 100%;
  }
}

-webkit-@keyframes slideinleft {
  from {
    width: 0%;
  }
  to {
    width: 100%;
  }
}

header h2 {
  font-weight: lighter;
  position: absolute;
  top: 150px;
  /* left: 370px; */
  color: #FF5056;

  animation: slideinright 5s ease-in forwards;
  -webkit-animation: slideinright 5s ease-in forwards;
}

@keyframes slideinright {
  from {
    /* top: -50px; */
    left: 1100px;
  }
  to {
    /* top: 150px; */
    left: 370px;
  }
}

-webkit-@keyframes slideinright {
  from {
    /* top: -50px; */
    left: 1100px;
  }
  to {
    /* top: 150px; */
    left: 370px;
  }
}

/* INTRO_quote*/
.summary {
  position: absolute;
  left: 200px;
  top: 400px;
  width: 500px;
  color: #FF5056;
}

.summary p {
  font-style: italic;
}

.summary p:first-child:before {
  content:open-quote;
  color: #121212;
  font-size: 5em;
  position: absolute;
  left: 0px;
}

.summary p:last-child:after {
  content: close-quote;
  color: #121212;
  font-size: 5em;
  position: absolute;
  bottom: -30px;
}

.summary a {
  color: #121212;
  font-weight: 900;
}

/* INTRO_box*/
.preamble {
  position: absolute;
  width: 500px;
  height: auto;
  bottom: -380px;
  left: 200px;
  padding-top: 30px;
  padding-bottom: 60px;
  border-radius: 10px;
  background-color: #121212;
  color: #fefefe;
}

/* SECTION 2 - MAIN*/
.main {
  display: grid;
  grid-template:
  500px 630px 500px 630px 100px / /*rows*/
  200px 1200px 200px; /*columns*/
  background-color: rgba(255,255,255,0.8);
}

.explanation {
  grid-row: 1 / 2;
  grid-column: 2 / 3;

  border-right: 20px dotted #121212;

  display: flex;
  flex-flow: column wrap;
  align-items: flex-end;
  justify-content: center;
}

.explanation h3, .explanation p {
  width: 500px;
}

.participation {
  grid-row: 2 / 3;
  grid-column: 2 / 3;

  border-top: 20px dotted #121212;
  border-left: 20px dotted #121212;

  display: flex;
  flex-flow: column wrap;
  justify-content: center;
  align-items: flex-start;
}

.participation h3, .participation p {
  width: 500px;
}

.benefits {
  grid-row: 3 / 4;
  grid-column: 2 / 3;

  border-top: 20px dotted #121212;
  border-right: 20px dotted #121212;

  display: flex;
  flex-flow: column wrap;
  justify-content: center;
  align-items: flex-start;
}

.benefits h3, .benefits p {
  width: 500px;
}

.requirements {
  grid-row: 4 / 5;
  grid-column: 1 / span 4;

  background-color: #BFBD80;
  border-top: 5px solid #121212;

  display: grid;
  grid-template-columns: 200px 590px 590px 200px;
  grid-template-rows: 80px 180px 300px 1fr;

  position: relative;
}

.requirements h3 {
  grid-row: 1 / 2;
  grid-column: 2 / span 2;
  margin-top: 30px;
}

.requirements p:nth-child(2) {
  grid-row: 2 / 3;
  grid-column: 2 / 3;
}

.requirements p:nth-child(3) {
  grid-row: 3 / 4;
  grid-column: 2 / 3;
}

.requirements p:nth-child(4) {
  grid-row: 2 / 3;
  grid-column: 3 / 4;
}

.requirements p:nth-child(5) {
  grid-row: 3 / 4;
  grid-column: 3 / 4;
}

.requirements p:last-child {
  grid-row: 4 / 5;
  grid-column: 2 / span 2;
  text-align: center;
  font-weight: 900;
  font-style: italic;
}

footer {
  grid-row: 5 / 6;
  grid-column: span 4;

  background-color: #121212;
  color: #fefefe;
  text-align: center;

  display: flex;
  justify-content: center;
  align-items: center;
}

footer a {
  color: inherit;
  font-weight: 900;
  font-size: 1.5em;
  display: block;
  padding: 10px;
  margin: 20px;
  border-bottom: 2px solid #fefefe;
  background-color: #121212;
  border-radius: 10px;
}

footer a:hover {
  box-shadow: 0px 2px 5px #fefefe;
  text-shadow: 0px 2px 5px #fefefe;
}

.sidebar div.wrapper {
  padding-left: 200px;
  padding-right: 200px;
  padding-bottom: 50px;
  padding-top: 50px;
  background-color: #444323;
  color: #fefefe;

  display: flex;
  justify-content: space-between;
}

.sidebar a:hover {
  text-shadow: 0px 2px 5px #fefefe;
}

.design-selection a, .design-archives a, .zen-resources a {
  color: inherit;
  font-weight: 900;
  line-height: 1.5em;
  margin-left: 50px;
}

.design-selection h3 {
  margin-left: 0;
}

.design-selection li {
  margin-bottom: 10px;
  padding-bottom: 5px;
  border-bottom: 1px dotted #fefefe;
}

.design-selection li a:first-child {
  display: block;
  text-transform: uppercase;
}
.design-selection li a {
  margin-left: 0;
}

 .design-selection:after {
   content:'Copyrights: Wendy Van Craen - BeCode Apprentice';
   color: #fefefe;
   font-size: 10px;
   position: relative;
   left: 200%;
   bottom: -30px;
 }
