@charset "UTF-8";
/* CSS Document */
/* reset */
* {
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  font-size: 1.1rem;
  font-family: Avenir, Helvetica, sans-serif;
}
body {
  width: 90vw;
  margin: 3vh 5vw;
  height: 94vh;
  
}
header {
  color: #fff;
}
header a {
  color: #fff;
  text-decoration: none;
  -webkit-transition: 0.5s;
  -o-transition: 0.5s;
  transition: 0.5s;
}
header a:hover {
  letter-spacing: 2px;
}
h1, h2 {
  padding-right: 5px;
  font-size: 1.6rem;
  margin: 0;
  text-transform: uppercase;
  line-height: 1.1em;
  text-align: right;
  z-index: 5;
}
.element-invisible {
  position: absolute !important;
  height: 1px;
  width: 1px;
  overflow: hidden;
  clip: rect(1px 1px 1px 1px);
}
ul {
  padding: 0;
  margin: 0;
  list-style-type: none;
}
li {
  padding: 10px;
  border-radius: 5px;
  line-height: 1.2;
  display: block;
  background: rgba(0, 0, 0, 0.05);
  border: 0.2px solid #808080;
}
p {
  margin: 0;
  font-size: 0.7em;
  color: #fff;
  z-index: 5;
}
/*hover - change background effect*/
.container ul li {
  position: relative;
}
.container ul li a {
  position: relative;
  text-decoration: none;
  font-size: 1.1em;
  color: #fff;
  font-weight: 500;
  -webkit-transition: all 0.5s ease 0.5s;
  -moz-transition: all 0.5s ease 0.5s;
  -ms-transition: all 0.5s ease 0.5s;
  -o-transition: all 0.5s ease 0.5s;
  transition: all 0.5s ease 0.5s;
  
  z-index: 5;
}
.container ul li:nth-child(1):hover, .container ul li:nth-child(1).active:before {
  background: #ed1d24;
}
.container ul li:nth-child(2):hover, .container ul li:nth-child(2).active:before {
  background: #74c155;
}
.container ul li:nth-child(3):hover, .container ul li:nth-child(3).active:before {
  background: #35bfeb;
}
.container ul li:nth-child(4):hover, .container ul li:nth-child(4).active:before {
  background: #d85c3d;
}
.container ul li:nth-child(5):hover, .container ul li:nth-child(5).active:before {
  background: #407271;
}
.container ul li:nth-child(6):hover, .container ul li:nth-child(6).active:before {
  background: #fbc63a;
}
.container ul li:nth-child(7):hover, .container ul li:nth-child(7).active:before {
  background: #000;
}
.container ul li:nth-child(8):hover, .container ul li:nth-child(8).active:before {
  background: #83049C;
}
.container #picture {
  background: url(../media/flower.jpg) no-repeat;
  background-position: right top;
  background-size: cover;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  -webkit-transition: all 0.5s ease 0.5s;
  -moz-transition: all 0.5s ease 0.5s;
  -ms-transition:all 0.5s ease 0.5s;
  -o-transition: all 0.5s ease 0.5s;
  transition: all 0.5s ease 0.5s;
  z-index: -1;
}
.container #picture.one {
  background: url("../media/flag.jpg") center center/cover no-repeat;
  
}
.container #picture.two {
  background: url("../media/field.jpg");
  background-size: cover;
}
.container #picture.three {
  background: url("../media/blackhole.jpg") center center/cover no-repeat;
}
.container #picture.four {
  background: url("../media/guitar.jpg");
  background-size: cover;
}
.container #picture.five {
  background: url("../media/furcovergirl500kb.jpg");
  background-size: cover;
}
.container #picture.six {
  background: url("../media/city.jpg") center center/cover no-repeat;
}
.container #picture.seven {
  background: url("../media/tattlycover.jpg") center center/cover no-repeat;
}
.container #picture.eight {
  background: url("../media/more-bg.jpg") center center/cover no-repeat;
  
}
/*end change background on hover */
a:hover {
  letter-spacing: 0.5px;
}
.footer p{
  position: absolute;
  bottom: 10px;
  right: 20px;
  z-index: 5;
}
.be {
  
  left: 20px;
 
}
.be img {
  height: 20px;
}
.e {
  
  left: 60px;
 
}
.e img {
  height: 20px;
}
p img {
  height: 60px;
}
.be a:hover img {
  -mox-transform: scale(1.05) translateY(-3px);
  -webkit-transform: scale(1.05) translateY(-3px);
  transform: scale(1.05) translateY(-3px);
}

@supports ((display: -ms-grid) or (display: grid)) {
  li {
    width: auto;
    margin: 0;
  }
}
@media (min-width: 680px) {
  /* autoprefixer: off */
  main {
    /* autoprefixer: off */
    display: grid;
    grid-template-columns: repeat(5, 16vw);
    grid-template-rows: repeat(6, 16vw);
    grid-gap: 2vw;
  }
  header {
    grid-column: 1 / 3;
    grid-row: 2 / 3;
    align-self: center;
  }
  ul {
    grid-row: 2 / 9;
    grid-column: 1 / 8;
  }
  ul {
    /* autoprefixer: off */
    display: grid;
    grid-template-columns: repeat(4, 16vw);
    grid-auto-rows: minmax(16vw 1fr);
    grid-gap: 2vw;
  }
  li {
    min-height: 16vw;
  }
  li:nth-child(1) {
    grid-row-start: 1;
    grid-column-start: 2;
  }
  li:nth-child(2) {
    grid-row-start: 1;
    grid-column-start: 4;
  }
  li:nth-child(3) {
    grid-row-start: 2;
    grid-column-start: 3;
  }
  li:nth-child(4) {
    grid-row-start: 2;
    grid-column-start: 4;
  }
  li:nth-child(5) {
    grid-row-start: 3;
    grid-column-start: 3;
  }
  li:nth-child(6) {
    grid-row-start: 4;
    grid-column-start: 1;
  }
  li:nth-child(7) {
    grid-row-start: 4;
    grid-column-start: 2;
  }
  li:nth-child(8) {
    grid-row-start: 4;
    grid-column-start: 4;
  }
}
@media (min-width: 980px) {
  /* autoprefixer: off */
  main {
    /* autoprefixer: off */
    display: grid;
    grid-template-columns: repeat(6, 14vw);
    grid-template-rows: repeat(4, 14vw) 1fr;
    grid-gap: 1vw;
  }
  header {
    grid-column: 1 / 4;
    grid-row: 2 / 3;
    align-self: center;
  }
  ul {
    grid-row: 2 / 9;
    grid-columns: 1 / 8;
  }
  ul {
    /* autoprefixer: off */
    display: grid;
    grid-template-columns: repeat(6, 14vw);
    grid-gap: 1vw;
  }
  li {
    min-height: 14vw;
  }
  li:nth-child(1) {
    grid-row: 1 / 2;
    grid-column: 3 / 4;
  }
  li:nth-child(2) {
    grid-row: 1 / 2;
    grid-column: 6 / 7;
  }
  li:nth-child(3) {
    grid-row: 2 / 3;
    grid-column: 4 / 5;
  }
  li:nth-child(4) {
    grid-row: 2 / 3;
    grid-column: 5 / 6;
  }
  li:nth-child(5) {
    grid-row: 3 / 4;
    grid-column: 1 / 2
  }
  li:nth-child(6) {
    grid-row: 3 / 4;
    grid-column: 3 / 4;
  }
  li:nth-child(7) {
    grid-row: 3 / 4;
    grid-column: 4 / 5;
  }
  li:nth-child(8) {
    grid-row: 3 / 4;
    grid-column: 6 / 7;
  }
}