/* Remove Browser styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Including webfont locally: lato-regular - latin */
@font-face {
  font-family: 'Lato';
  font-style: normal;
  font-weight: 400;
  src: url('../fonts/lato-v14-latin-regular.eot'); /* IE9 Compat Modes */
  src: local('Lato Regular'), local('Lato-Regular'),
       url('../fonts/lato-v14-latin-regular.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
       url('../fonts/lato-v14-latin-regular.woff2') format('woff2'), /* Super Modern Browsers */
       url('../fonts/lato-v14-latin-regular.woff') format('woff'), /* Modern Browsers */
       url('../fonts/lato-v14-latin-regular.ttf') format('truetype'), /* Safari, Android, iOS */
       url('../fonts/lato-v14-latin-regular.svg#Lato') format('svg'); /* Legacy iOS */
}

/* Body Settings */
body {
  background: linear-gradient(325deg, #006ac5, #49e46a);
  height: 2000px;
  font-family: 'Lato';
}

/* Adding styles for blogpost list */
.blogpost {
  background-color: rgba(255,255,255,0.8);
  width: 60%;
  height: 250px;
  margin: 0 auto 0 auto;
  padding: 20px 0;
  box-shadow: 0px 6px 3px #444444;
  position: relative;
}

.blogpost:first-of-type {
  margin-top: 40px;
}

.post1 {
  border-left: 3px chocolate solid;
  z-index: 4;
}

.post2 {
  border-left: 3px blue solid;
  z-index: 3;
  bottom: 10px;
}

.post3 {
  border-left: 3px red solid;
  z-index: 2;
  bottom: 20px;
}

/* Post wrapper */
.post {
  width: 90%;
  margin: 20px auto;
  position: relative;
  box-shadow: 0px 6px 3px #888888;
}

/* Left section */
.left {
  position: absolute;
  left: 0;
  width: 65%
}

/* Right section */
.right {
  position: absolute;
  right: 0;
  width: 30%;
}

/* Header */
.category {
  margin-bottom: 15px;
}

.posttitle {
  margin-bottom: 15px;
}


/* Footer */
footer {
  margin-top: 15px;
  padding-bottom: 20px;
}

.play {
  width: 1em;
  position: relative;
  top: 3px;
}

a[href="#video"], a[href="#top"] {
  font-weight: bold;
  text-decoration: none;
}

/* Video section */
.video {
  background: white;
  width: 60%;
  margin: 0 auto;
  position: relative;
  top: 400px;
}

.video header, .video main, .video footer {
  width: 90%;
  margin: 20px auto 10px auto;
}

.videoline {
  margin-top: 20px;
  margin-bottom: 20px;
  padding-top: 20px;
}

.playtitle {
  opacity: 0.3;
}

/* Animated gif */
.giphy {
  text-align: center;
  margin-bottom: 20px;
}

.giphy img {
  width: 70%;
}