* {
  margin: 0;
  padding: 0;
}
body {
  font: 16px/28px arial, sans-serif;
  color: #333;
  background-image: url(img/background.png);
}
.container {
  width: 960px;
  margin: auto;
  background-color: white;
}
/* header */
.header {
  padding: 20px;
  padding-bottom: 10px;
}
.header .judul {
  font-size: 40px;
}
.header li {
  list-style: none;
  display: inline-block;
  margin-top: 20px;
  margin-right: 10px;
}
.header a {
  text-decoration: none;
  color: salmon;
  padding: 5px;
}
.header a:hover {
  background-color: lightskyblue;
  color: white;
}
/* hero */
.hero {
  height: 350px;
  background-image: url(img/hero.img.jpg);
  background-size: cover;
  background-position: center;
  border-bottom: 5px solid lightskyblue;
  border-top: 5px solid salmon;
}
/* content */
.main {
  padding: 20px;
  width: 600px;
  box-sizing: border-box;
  float: left;
}
.main h2 {
  font-size: 30px;
  text-transform: capitalize;
}
.main .penulis {
  font-size: 12px;
}
.main .penulis a {
  color: salmon;
  text-decoration: none;
}
.main p {
  margin-bottom: 15px;
  font-size: 14px;
}
.sidebar {
  width: 300px;
  float: right;
  padding: 20px;
}
.sidebar img {
  width: 70px;
  height: 70px;
  float: left;
  padding-right: 10px;
  margin-top: 7px;
}
.sidebar p {
  font-size: 14px;
  font-family: arial;
}
/* footer */
.footer {
  background-color: #333;
  color: white;
  text-align: center;
  padding: 5px;
  font-size: 14px;
}

/* CLEARFIX (membenarkan float yg collaps) */
.cf:before,
.cf:after {
  content: " "; /* 1 */
  display: table; /* 2 */
}

.cf:after {
  clear: both;
}

.cf {
  *zoom: 1;
}
/* responsive breakpoint */
@media (max-width: 1180px) {
  .container {
    overflow: hidden;
    width: 90%;
  }
  .main {
    width: 100%;
  }
  .sidebar {
    float: none;
    margin: 0 auto;
  }
}
@media (max-width: 768px) {
  .container {
    width: 90%;
  }
  .main {
    width: 100%;
  }
}
@media (max-width: 600px) {
  .container {
    width: 95%;
  }
  .hero {
    height: 330px;
  }
}
