body 
{
  font-family: "Montserrat", sans-serif;
  margin: 0px;
  margin-top: -3%;
  background-color: #818181;
  overflow-x: hidden;
}


.header 
{
    width: 100%;
    height: 125px;
    background-color: #292929;
}

.container 
{
  display: flex;
  flex-direction: row;
  font-size: 30px;
  text-align: center;
  overflow-x: hidden;
}

.sidebar{
  background-color: #1e1e1e;
  min-height: 400px;
  padding: 10px;
  flex: 10%;
}

.content {
  background-color: #818181;
  padding: 10px;
  flex: 90%;
}

.vertical-menu {
  width: 200px; 
}

.vertical-menu a {
  background-color: #eee; 
  color: black; 
  display: block;
  padding: 12px; 
  text-decoration: none;
}

.vertical-menu a:hover {
  background-color: #ccc; 
}

.vertical-menu a.active {
  background-color: #63bf9d;
  color: white;
}

#header-title 
{
    padding: 2.5%;
    color: #f2f2f2;
    font-size: 44px;
}

#con-gif 
{
	margin-bottom: 2.5%;
}

img#html5badge-gif 
{
	width: 400px;
}

.article-preview 
{
	background: #1e1e1e;
	width: 99%;
	padding-left: 0px;
	padding-top: 2.5px;
	text-align:left;
	color: white;
	height: 200px;
}



.preview-con 
{
	display: flex;
}

.preview-image {
	flex: 20%;
}

.preview-text {
	flex: 80%;
}

.preview-image-pic {
	height: 203px;
	width: 96%;
	top: -3px;
	position: relative;
}

.preview-p-text {
  font-size: 24px;
  display: block;
  text-overflow: ellipsis;
  word-wrap: normal;
  overflow: auto;
  max-height: 1.8em;
  line-height: 1.8em;
  margin-top: 0em;
}



/* Responsive */

@media only screen and (max-width: 1280px) {
    #header-title {
      padding: 2.5%;
      color: #f2f2f2;
      font-size: 22px;
      text-align: center;
    }
    .header {
      height: 55px;
    }
    .container {
      display: block;
      font-size: 22px;
    }
    .article-preview {
      background: #1e1e1e;
      width: 99%;
      padding-left: 0px;
      padding-top: 2.5px;
      text-align: left;
      color: white;
      height: 200px;
    }
    .preview-p-text {
      font-size: 18px;
    }
    .preview-image {
      flex: 25%;
    }
    .sidebar {
      min-height: 300px;
    }
    .vertical-menu {
      width: 100%;
    }
    .sum-blog {
      font-size: 14px;
    }
    .image-blog {
      max-height: 25%;
    }
}

@media only screen and (max-width: 768px) {
  .container {
    font-size: 18px;
  }
   .article-preview {
    height: 150px;
  }
  .preview-image-pic {
    height: 150px;
    width: 96%;
    top: 0px;
    position: relative;
  }
  .preview-p-text {
    font-size: 14px;
  }
}

@media only screen and (max-width: 480px) {
  .container {
    font-size: 16px;
  }
   .article-preview {
    height: 125px;
  }
  .preview-image-pic {
    height: 125px;
    width: 96%;
    position: relative;
  }
  .preview-p-text {
    font-size: 8px;
  }
 .preview-image {
    flex: 35%;
  }
}