$grey: #9e9e9e;
$plum: #8e44ad;
$shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.16), 0 2px 8px 0 rgba(0, 0, 0, 0.12);

h1, a, li {
  font-family: Roboto, sans-serif;
}

h1 {
  font-size: 26px;
  background: lighten($plum, 5%);
  color: white;
  padding: 40px 0 40px 20%;
  margin-bottom: 50px;
}

a, li {
  color: darken($grey, 20%);
  text-decoration: none;
}

.nav {
  margin-left: 20%;
  > li {
    display: inline-block;
    padding: 1em 18px;
    cursor: pointer;
    &:hover {
      background: lighten($grey, 30%);
    }
  }
}

.drop {
  position: relative;
  ul {
    position: absolute;
    left: 0;
    top: 3em;
    transition: all 0.3s ease;
    transform: scale(0);
    transform-origin: 0 0;
    box-shadow: $shadow;
    li {
      display: block;
      width: 100%;
      a {
        width: 100%;
        padding: 1em 18px;
        display: inline-block;
        white-space: pre;
        box-sizing: border-box;
        &:hover {
          background: lighten($grey, 30%);
        }
      }
    }
  }
  &:hover {
    ul {
      transform: scale(1);
    }
  }
}

//---------------------------------------------

.follow {
  width: 42px;
  height: 42px;
  border-radius: 50px;
  background: #03A9F4;
  display: block;
  margin: 300px auto 0;
  white-space: nowrap;
  padding: 13px;
  box-sizing: border-box;
  color: white;
  transition: all 0.2s ease;
  font-family: Roboto, sans-serif;
  text-decoration: none;
  box-shadow: 0 5px 6px 0 rgba(0,0,0,0.2);
  i {
    margin-right: 20px;
    transition: margin-right 0.2s ease;
  }
  &:hover {
    width: 134px;
    i {
      margin-right: 10px;
    }
  }
}

@media screen and (max-width: 800px) {
  .follow {
    margin: 400px auto 0;
  }
}

//---------------------------------------- Slide show
  .slider {
  
  max-width: 100%;
  height: 100%;
  max-height:500px;
  margin: 0px auto;
  padding:0px;
  background-color: #00ff00;
  border: 2px solid #00ffff;
  z-index:100000;
}
.slide1,.slide2,.slide3,.slide4,.slide5 {
  position: absolute;
  width: 100%;
  height: 100%;
}
.slide1 {
    
    background-size:cover;
    animation-delay:30s;
    -webkit-animation-delay:30s;
    animation:slide1 8s infinite;
-webkit-animation:slide1 8s infinite;

} 
.slide2 {
    
    background-size:cover;
   animation-delay:30s;
    -webkit-animation-delay:30s;
    animation:slide2 8s infinite;
-webkit-animation:slide2 8s infinite;
}
.slide3 {
    
    background-size:cover;
     animation-delay:30s;
    -webkit-animation-delay:30s;
    animation:slide3 8s infinite;
-webkit-animation:slide3 8s infinite;
}
.slide4 {
    
    background-size:cover;
    animation-delay:30s;
    -webkit-animation-delay:30s;
    animation:slide4 8s infinite;
-webkit-animation:slide4 8s infinite;
}
@keyframes slide1
{
  0%   {left:0px;opacity:1}
  33.333% {left:100%; opacity: 0}
  66.666% {left:100%; opacity: 0}
  100% { left:0px;opacity: 1}
}
@keyframes slide2
{
  0%   {left:0px; opacity:0}
  33.333% {left:0px;  opacity: 1}
  66.666% {left:100%;  opacity: 0 }
  100% {left:100%;  opacity: 0}
}
@keyframes slide3
{
  0%   {left:0px; opacity:0}
  33.333% {left:0px;  opacity: 0}
  66.666% {left:0px;  opacity: 1}
  100% {left:100%;  opacity: 0}
}
@keyframes slide4
{
  0%   {left:0px; opacity:0}
  33.333% {left:0px;  opacity: 0}
  66.666% {left:0px;  opacity: 0}
  100% { left:100%; opacity: 1}
}


 