body {
  margin: 0;
  padding: 0;
  color: white;
}

#home {
  padding-top: 5%;
  background-color: grey;
  display: inline-block;
  width: 100%;
  height: 100%;
  margin: 0;
}

#home-container {
  margin-left: auto;
  margin-right: auto;
}

.img {
  margin: 5%;
  border-radius: 5%;
  box-shadow: 1px 1px 5px darkslategray;
}

a {
  color: white;
}

a:visited {
  color: black;
}

table tr:nth-child(6) td {
  width: 100%;
}

#blog {
  color: black;
  background-color: gray;
  margin: 0;
  padding: 2%;
}

#blog>.container {
  background-color: #f3f3f3;
  padding: 2%;
}

#posts {
  border: 1px solid gray;
  padding: 2%;
  background-color: antiquewhite;
  margin: 1.25%;
}

#posts a {
  color: #000;
}

#posts a:hover {
  color: #fefefe;
  text-shadow: 2px 3px 5px #000;
}

#counter {
  background-color: #ffffff;
}

/* Skills Container */
#skills {
  height: 1100px;
  width: auto;
  color: #000;
}

#skills .container {
  width: 900px;
  height: auto;
  float: left;
  box-sizing: border-box;
}

.bar {
  width: 100%;
  background-color: #ddd;
}

.skills {
  text-align: right;
  padding-top: 10px;
  padding-bottom: 10px;
  color: #fff;
}

.html {
  width: 0%;
  background-color: #2196f3;
}

.css {
  width: 0%;
  background-color: #2196f3;
}

.js {
  width: 0%;
  background-color: #2196f3;
}

.jquery {
  width: 0%;
  background-color: #2196f3;
}

.ng {
  width: 0%;
  background-color: #2196f3;
}

.python {
  width: 0%;
  background-color: #2196f3;
}

.csharp {
  width: 0%;
  background-color: #2196f3;
}

/* Education Container */
#education {
  height: 100%;
}

#education img {
  display: block;
  width: 100%;
  height: auto;
  padding: 2%;
}

#education img:hover {
  opacity: 0.2;
}


/* Contact From */
#contact {
  padding: 1.5%;
  border-top: 1px solid gray;
  border-bottom: 1px solid gray;
  color: #000;
}

/* Work Showcase container */
#showcase {
  display: inline-block;
  padding: 2%;
  box-sizing: border-box;
}

#showcase-head {
  color: black;
  font-style: underline;
}

/* Position the image container (needed to position the left and right arrows) */
#showcase .container {
  position: relative;
}

/* Hide the images by default */
.mySlides {
  display: none;
}

/* Add a pointer when hovering over the thumbnail images */
.cursor {
  cursor: pointer;
}

/* Next & previous buttons */
.prev,
.next {
  cursor: pointer;
  position: absolute;
  top: 40%;
  width: auto;
  padding: 16px;
  margin-top: -50px;
  color: white;
  font-weight: bold;
  font-size: 20px;
  border-radius: 0 3px 3px 0;
  user-select: none;
  -webkit-user-select: none;
}

/* Position the "next button" to the right */
.next {
  right: 0;
  border-radius: 3px 0 0 3px;
}

/* On hover, add a black background color with a little bit see-through */
.prev:hover,
.next:hover {
  background-color: rgba(0, 0, 0, 0.8);
}

/* Number text (1/3 etc) */
.numbertext {
  color: #f2f2f2;
  font-size: 12px;
  padding: 8px 12px;
  position: absolute;
  top: 0;
}

/* Container for image text */
.caption-container {
  text-align: center;
  background-color: #222;
  padding: 2px 16px;
  color: white;
}

.row:after {
  content: "";
  display: table;
  clear: both;
}

/* Six columns side by side */
.column {
  border: 1px solid black;
  margin: .5%;
  float: left;
  width: 16.66%;
}

/* Add a transparency effect for thumnbail images */
.demo {
  opacity: 0.6;
}

.active,
.demo:hover {
  opacity: 1;
}

@media screen and (max-width: 1024px) {
  body {
    margin: 0;
    padding: 0;
    width: 100vw;
  }

  #social td {
    width: 100%;
    float: left;
  }

  #home-container {
    width: 100%;
    margin-left: 0;
    margin-right: 0;
  }

  #avatar {
    width: 100%;
    height: 25vh;
    flex-wrap: nowrap;
    flex-direction: row;
  }

  .responsive-img {
    max-height: 100%;
  }

  #avator img {
    margin: auto;
  }

  #profile {
    width: 100%;
    flex-wrap: nowrap;
    flex-direction: row;
    float: left;
  }

  #profile_table tr td {
    width: inherit;
    flex-wrap: wrap;
    flex-direction: row;
  }

  #skillBars {
    width: 100%;
  }

  #education {
    width: 100%;
  }

  .materialboxed {
    margin-top: 2%;
  }
}