* {
  padding: 0;
  margin: 0;
  font-family: "Quicksand", sans-serif;
}

header {
  height: 70px;
}

header h1 {
  display: inline-block;
  float: left;
  padding: 15px 25px;
  text-transform: uppercase;
}

header h1 a {
  transition: 0.5s;
  color: #1f68b6;
}

header h1 a:hover {
  color: #f84764;
}

header ul {
  float: right;
}

header ul li {
  padding: 24px;
  display: inline-block;
}

header ul li a {
  transition: 0.5s;
  color: #1f68b6;
}

header ul li a:hover {
  color: #f84764;
}

a {
  text-decoration: none;
}

.container {
  width: 90%;
  margin: auto;
}

.container::after {
  content: "";
  display: block;
  clear: both;
}

.sidebar {
  position: fixed;
  top: 0;
  bottom: 0;
  left: -300px;
  width: 300px;
  background-color: rgba(31, 107, 198, 0.9);
  transition: 0.3s;
  z-index: 9999;
}

.sidebar ul li a {
  color: #fff;
}

.sidebar ul li {
  padding: 24px;
  transition: 0.3s;
  transition-property: background-color;
}

.sidebar ul li:hover {
  background-color: #ff5733;
}

.mobile-menu {
  display: none;
}

.mobile-menu:hover {
  cursor: pointer;
}

#check {
  display: none;
}

#check:checked ~ .sidebar {
  left: 0;
}

.banner {
  background-color: #1f68b6;
  padding: 150px 0;
}

.banner img {
  width: 100px;
  border-radius: 10px;
  box-shadow: 0 3px 5px;
  margin-bottom: 10px;
}

.banner h2 {
  margin-bottom: 10px;
}

.banner h2,
.banner p {
  font-size: 18px;
  color: #fff;
}

section {
  padding: 50px 0;
}

.banner-left {
  padding-left: 24px;
}

section h3 {
  padding-bottom: 13px;
  text-align: center;
  position: relative;
  margin-bottom: 18px;
}

section h3::before {
  content: "";
  display: block;
  position: absolute;
  bottom: 0;
  width: 120px;
  height: 1px;
  background-color: #ddd;
  left: calc(50% - 60px);
}

section h3::after {
  content: "";
  display: block;
  position: absolute;
  bottom: -1px;
  width: 40px;
  height: 4px;
  background-color: #f84744;
  left: calc(50% - 20px);
}

#about p {
  text-align: justify;
  text-indent: 30px;
  line-height: 25px;
  margin-bottom: 15px;
}

#skills,
#contact {
  background-color: #f9f9f9;
}

h5 {
  text-align: left;
  font-size: medium;
  margin-bottom: 17px;
}

#skills .bar {
  height: 30px;
  background-color: fff;
  margin: 5px 0 20px 0;
}

.bar .nilai {
  height: 30px;
  background-color: #ff5744;
  display: inline-block;
  color: #ffff;
  text-align: center;
}

.html {
  width: 80%;
}

.css {
  width: 75%;
}

.js {
  width: 100%;
}

.php {
  width: 30%;
}

.col-4 {
  width: 25%;
  box-sizing: border-box;
  padding: 5px;
  float: left;
  text-align: center;
  margin-bottom: 15px;
}

.col-4 img {
  width: 100%;
}

.col-4 a:hover img {
  transform: scale(1.2);
}

.col-3 {
  width: 33.33%;
  box-sizing: border-box;
  float: left;
  text-align: center;
  padding: 50px 10px;
}

.col-3 h4 {
  margin-bottom: 15px;
}

footer {
  background-color: #333;
  padding: 30px;
  text-align: center;
}

footer small {
  color: #fff;
}

html {
  scroll-behavior: smooth;
}

.sosmed a {
  margin: 20px;
  color: #333;
}

@media (max-width: 768px) {
  .mobile-menu {
    display: block;
    position: fixed;
    top: 19px;
    right: 19px;
  }

  .tombol {
    color: rgba(31, 107, 198, 0.9);
  }

  header ul {
    display: none;
  }

  .col-4 {
    width: 50%;
  }

  .col-3 {
    width: 100%;
  }
}
