html,body {
  margin: 0;
  padding: 0;
  background-color: black;
  overflow-x: hidden;
  font-family: 'Roboto', sans-serif;
  font-size: 100%;
}

a {
  color: #05afff;
}

#title {
  position: absolute;
  right: 25px;
  top: 15px;
  text-align: right;
  width: 100%;
  line-height: 10px;
  font-family: 'Roboto', sans-serif;
  font-weight: 300;
  font-size: 2rem;
  font-weight: 300;
  color: white;
  z-index: 100;
}

#title h1 {
  font-variant: small-caps;
}

#title h2 {
  font-size: 1.3rem;
}

#links ul{
  position: absolute;
  bottom: 15px;
  left: 5%;
  list-style-type: none;
  color: white;
  display: inline-block;
  width: 90%;
  text-align: center;
  z-index: 100;
  margin: 0;
  padding: 0;
  font-size: 1.5rem;
  font-family: 'Roboto', sans-serif;
  font-weight: 300;
}

#links li{
  list-style-type: none;
  width: 170px;
  text-align: center;
  display: inline-block;
}

#links li a{
  text-align: center;
  text-decoration: none;
  color: white;
}

.wrapper {
  height: 100vh;
  overflow-x: hidden;
  overflow-y: auto;
  perspective: 1.2px;
}

.content {
  z-index: 5;
}

.cb-slideshow {
  list-style-type: none;
  margin: 0;
  padding: 0;
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  transform: translateZ(-1px) scale(2);
  background-size: 100%;
  z-index: -5;
}

.cb-slideshow,
.cb-slideshow:after { 
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0px;
    left: 0px; 
}

.cb-slideshow li span { 
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0px;
  left: 0px;
  color: transparent;
  background-size: cover;
  background-position: 50% 50%;
  background-repeat: none;
  opacity: 0;
  z-index: 0;
  animation: imageAnimation 30s linear infinite 0s; 
}

.cb-slideshow li div { 
    z-index: 1000;
    position: absolute;
    bottom: 30px;
    left: 0px;
    width: 100%;
    text-align: center;
    opacity: 0;
    color: #fff;
}
.cb-slideshow li div h3 { 
    font-family: 'Roboto', sans-serif;
    font-size: 50px;
    padding: 0;
    line-height: 200px; 
}

.cb-slideshow li:nth-child(1) span { 
  background-image: url(../../img/1.jpg) 
}
.cb-slideshow li:nth-child(2) span { 
    background-image: url(../../img/2.jpg);
    animation-delay: 6s; 
}
.cb-slideshow li:nth-child(3) span { 
    background-image: url(../../img/3.png);
    animation-delay: 12s; 
}
.cb-slideshow li:nth-child(4) span { 
    background-image: url(../../img/4.jpg);
    animation-delay: 18s; 
}
.cb-slideshow li:nth-child(5) span { 
    background-image: url(../../img/5.jpg);
    animation-delay: 24s; 
}

.cb-slideshow li:nth-child(2) div { 
    animation-delay: 6s; 
}
.cb-slideshow li:nth-child(3) div { 
    animation-delay: 12s; 
}
.cb-slideshow li:nth-child(4) div { 
    animation-delay: 18s; 
}
.cb-slideshow li:nth-child(5) div { 
    animation-delay: 24s; 
}

@keyframes imageAnimation { 
  0% { opacity: 0; animation-timing-function: ease-in; }
  8% { opacity: 1; animation-timing-function: ease-out; }
  17% { opacity: 1 }
  25% { opacity: 0 }
  100% { opacity: 0 }
}

#selected-works {
  background-color: black;
  color: white;
  width: 100%;
  position: absolute;
  top: 100vh;
  left: 0;
}

.work {
  width: 80%;
  margin-left: 10%;
  margin-top: 50px;
}

.about, .picture {
  display: inline-block;
  vertical-align: top;
}

.picture {
  width: 30%;
}

.about {
  width: 60%;
  margin-left: 5%;
  font-family: 'Roboto', sans-serif;
  font-weight: 300;
}

.about h3 {
  font-size: 1.8rem;
  margin: 0;
  padding: 0;
  font-weight: 300;
}

.about h4 {
  font-size: 1.4rem;
  margin: 0;
  margin-top: 10px;
  padding: 0;
  font-weight: 300;
}

.about p {
  margin: 0;
  padding: 0;
  margin-top: 20px;
  font-size: 1.3rem;
  width: 100%;
}

.work .picture img {
  width: 100%;
  border: 1px solid white;
}

.divider {
  width: 100%;
  height: 5vh;
  background-color: #05afff;
}

#about .description {
  font-size: 1.3rem;
}

#contact {
  width: 100%;
  margin: 0;
  padding: 0;
  background-color: #000000;
  color: white;
  text-align: center;
}

#contact h4 {
  margin: 0;
  padding: 0;
  font-family: 'Roboto', sans-serif;
  font-weight: 300;
}


@media screen and (max-width: 600px) {
  html, body {
    font-size: 70%;
  }

  #links li{
    width: 130px;
  }

  .picture, .about {
    width: 100%;
    margin: 0;
    padding: 0;
    margin-bottom: 25px;
  }
}