/*
Web Design class Directory Master css

Author:         Brandon LaDuke
Date:           1/24/2019
Description: stylesheet for Web Design class Directory (index.html)

filename:       master.css
Required Files: spark.css -version 0.1.1 from spark.brandonladuke.net
 */
html {
 overflow-x: hidden;
}
body {
  background-color: #000;
  color: #fff;
}
header {
  display: block;
  width: 100%; height: 400px;
  background-image: linear-gradient(100deg, #F79533 0%, #F37055 15%, #EF4E7B 30%, #A166AB 44%, #5073B8 58%, #1098AD 72%, #07B39B 86%, #6DBA82 100%);
  clip-path: polygon(0% 0%,0% 70%,100% 100%,100% 0%);
}
header > h1 {
  margin: 0;
  padding-top: 110px;
  text-align: center;
  color: var(--white);
  font-size: 3em;
}
header > h3 {
  text-align: center;
  color: var(--white);
  font-size: 1.5em;
}

ol li {
  font-size: 1.3em
}

footer {
  width: 100%;
  height: 200px;
  background-image: linear-gradient(100deg, #F79533 0%, #F37055 15%, #EF4E7B 30%, #A166AB 44%, #5073B8 58%, #1098AD 72%, #07B39B 86%, #6DBA82 100%);
  color: var(--white);
  margin-top: 20px;
  clip-path: polygon(0% 0%,0% 100%,100% 100%,100% 45%);
}
footer > span:first-child {
  padding: 70px 0 0 30px;
}
footer > span {
  display: block;
  font-size: 1.3em;
  padding-left: 30px;
  text-shadow: .1em .1em .2em black;
}
footer > span > a {
  color: #fff;
}




/* Grid */
#about {grid-area: about;}
#files {grid-area: files;}
#favorite {grid-area: favorite;}
.grid {
  display: grid;
  grid-template-columns: 65% 33%;
  grid-template-rows: auto;
  grid-template-areas: "about favorite"
                       "files favorite";
  grid-gap: 2%;
  margin: 0px 20px;
  max-width: 1400px;
}
@media (min-width:1400px) {
  .grid {
    margin: 0 auto;
  }
}
#nav {
  margin: 0px 20px;
  max-width: 1400px;
}
@media (min-width:1400px) {
  #nav {
    margin: 0 auto;
  }
}

/* About */
section, aside {
  background-color: #121212;
  padding: 30px;
}
#about {
  display: inline-flex;
}

#about h2 {
  font-weight: bold;
font-size: 2em;
margin: 0 0 1.2em 0.8em;
background-image: linear-gradient(90deg, #F79533 0%, #F37055 15%, #EF4E7B 30%, #A166AB 44%, #5073B8 58%, #1098AD 72%, #07B39B 86%, #6DBA82 100%);
background-position: center;
background-size: cover;
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
}
#about div img {
  border-radius: 50%;
  width: 200px; height: 200px;
  display: block;
  float: right;
}
#about p {
  font-size: 1.2em;
  padding-left: 25px;
  margin-top: -5px;
}

/* Favorite Things */

#favorite h2 {
  font-weight: bold;
font-size: 2em;
margin: 0 0 1.2em 0.8em;
background-image: linear-gradient(90deg, #F79533 0%, #F37055 15%, #EF4E7B 30%, #A166AB 44%, #5073B8 58%, #1098AD 72%, #07B39B 86%, #6DBA82 100%);
background-position: center;
background-size: cover;
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
}
#favorite h3 {
  font-weight: bold;
font-size: 1.5em;
background-image: linear-gradient(90deg, #F79533 0%, #F37055 15%, #EF4E7B 30%, #A166AB 44%, #5073B8 58%, #1098AD 72%, #07B39B 86%, #6DBA82 100%);
background-position: center;
background-size: cover;
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
}

#favorite > div {
  display: block;
  width: auto;
  white-space: nowrap;
  overflow-x: scroll;
}

#favorite > div > div {
  width: 160px;
  display: inline-block;
  overflow: visible;
  vertical-align: top;
}

#favorite > div > div > img {
  width: 150px; height: 215px;
  margin: auto;
  display: block;
}
#favorite > div > .hobby > img {
  width: 150px; height: 150px;
  margin: auto;
  display: block;
}

#favorite >div > div span {
  display: block;
  position: relative;
  white-space: normal;
  padding: 3px;
}


/* Files */

#files {
  margin-top: 30px;
}

#files h2 {
  font-weight: bold;
font-size: 2em;
margin: 0 0 1.2em 0.8em;
background-image: linear-gradient(90deg, #F79533 0%, #F37055 15%, #EF4E7B 30%, #A166AB 44%, #5073B8 58%, #1098AD 72%, #07B39B 86%, #6DBA82 100%);
background-position: center;
background-size: cover;
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
}

/* Nav */

#nav {

}

#nav ul {
  list-style: none;
  padding-left: 0;
}
#nav ul li {

    display: inline-block;
    margin-right: 35px;
    font-size: 1.3em;

    background-image: linear-gradient(180deg, #F79533 0%, #EF4E7B 90%);
    background-position: center;
    background-size: right;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
