* {
  box-sizing: border-box;
}

body {
  background-color: #fff7f0;
  font-family: "Be Vietnam Pro", sans-serif;
}

/* header */

nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  display: flex;
  background-color: #fff7f0;
  justify-content: space-between;
  color: #4200f9;
  height: 60px;
  border-bottom: 1px solid #4200f9;
  z-index: 1000;
}

nav .logo img {
  width: 90px;
  margin-top: 15px;
  margin-bottom: 15px;
  margin-right: 15px;
  margin-left: 80px;
}

.nav_bar ul {
  display: flex;
  list-style: none;
  text-align: left;
  font-size: 18px;
  font-weight: bold;
  padding-top: 15px;
}

nav ul li a {
  text-decoration: none;
  color: #4200f9;
  font-weight: bold;
  padding-right: 80px;
}

.menu-toggle {
  display: none;
  margin-top: 20px;
  margin-right: 25px;
  height: 20px;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
}

.menu-toggle input {
  position: absolute;
  width: 40px;
  height: 28px;
  left: -10px;
  top: -3px;
  opacity: 0;
  cursor: pointer;
  z-index: 2;
}

.menu-toggle span {
  display: block;
  width: 28px;
  height: 3px;
  background-color: #4200f9;
  border-radius: 3px;
  transition: all 0.5s;
}

/* animasi */

.menu-toggle span:nth-child(2) {
  transform-origin: 0 0;
}

.menu-toggle span:nth-child(4) {
  transform-origin: 0 100%;
}

.menu-toggle input:checked ~ span:nth-child(2) {
  transform: rotate(45deg) translate(-1px, -1px);
}

.menu-toggle input:checked ~ span:nth-child(4) {
  transform: rotate(-45deg) translate(-1px, 0);
}

.menu-toggle input:checked ~ span:nth-child(3) {
  transform: scale(0);
}

/* blog */
.container_utama {
  margin-right: 80px;
  margin-left: 80px;
  margin-top: 60px;
  box-sizing: border-box;
  color: #4200f9;
}

/* item 1 */

.item_1 {
  border-bottom: 1px solid #4200f9;
}

.item_atas {
  padding-top: 60px;
  margin-top: 40px;
}

.item_atas ol li a {
  color: #4200f9;
  font-size: 13px;
  text-decoration: none;
}

.item_bawah {
  display: flex;
  margin-top: 40px;
  align-items: end;
}

.item_bawah p {
  color: black;
  font-size: 13px;
}

.item_bawah h3 {
  width: 80%;
  margin-left: 435px;
  font-size: 43px;
}

/* item 2 */

.item_2 {
  display: flex;
  justify-content: space-between;
}

.detail ul {
  padding: 0;
  margin-top: 20px;
}

.detail ul li {
  font-size: 13px;
  color: black;
  list-style-type: none;
}

.isi {
  margin-top: 20px;
  width: 62.5%;
}

.isi img {
  width: 100%;
  height: 400px;
  object-fit: cover;
}

.isi p {
  margin: 80px 0;
  width: 70%;
  color: black;
}

.carousel-control-prev[type="button"] .carousel-control-prev-icon,
.carousel-control-next[type="button"] .carousel-control-next-icon {
  background-color: #4200f9;
}

.arah {
  height: 40px;
  width: 40px;
  opacity: 10;
}

/* footer */

footer {
  border-top: 1px solid #4200f9;
  border-bottom: 1px solid #4200f9;
  font-size: 13px;
  display: flex;
  flex-direction: row;
}

.keterangan {
  margin-top: 25px;
  margin-bottom: 25px;
  margin-left: 80px;
  width: 16.5%;
  line-height: normal;
}

.socialMedia {
  margin-top: 25px;
  margin-bottom: 25px;
  margin-left: 30px;
  width: 16.5%;
  height: 126px;
  line-height: normal;
}

.socialMedia img {
  padding-left: 10px;
  width: 40px;
}

.socialMedia p {
  margin: 10px;
}

/* credit */

.credit {
  margin-left: 80px;
}

.credit p {
  margin: 0;
  padding: 10px;
  font-size: 13px;
  color: grey;
}

/* display: flex;
  flex-direction: row: */

@media screen and (max-width: 870px) {
  nav ul li a {
    padding-right: 20px;
  }

  nav ul {
    width: 70%;
  }

  nav .logo img {
    margin-left: 50px;
  }

  nav ul li a {
    padding-right: 50px;
  }

  /* blog */
  .container_utama {
    margin-right: 50px;
    margin-left: 50px;
    margin-top: 60px;
  }

  /* item 1 */

  .item_bawah h3 {
    width: 70%;
    margin-left: 130px;
    font-size: 43px;
  }

  /* item 2 */

  .item_2 {
    display: block;
    justify-content: space-between;
  }

  .detail {
    display: flex;
    justify-content: space-between;
  }

  .isi {
    margin-top: 20px;
    width: 100%;
  }

  .isi img {
    width: 100%;
  }

  .isi p {
    width: 100%;
  }

  /* footer */

  footer {
    border-top: 1px solid #4200f9;
    border-bottom: 1px solid #4200f9;
    font-size: 13px;
  }

  .keterangan {
    margin-top: 25px;
    margin-bottom: 25px;
    margin-left: 50px;
    width: 50%;
    line-height: normal;
  }

  .socialMedia {
    margin-top: 25px;
    margin-bottom: 25px;
    margin-left: 50px;
    width: 50%;
    line-height: normal;
  }

  /* credit */

  .credit {
    margin-left: 50px;
    margin-right: 50px;
    text-align: center;
  }
}

@media screen and (max-width: 576px) {
  .menu-toggle {
    display: flex;
  }
  nav ul {
    position: absolute;
    margin-top: 60.3px;
    margin-left: 10px;
    justify-content: space-evenly;
    flex-direction: column;
    align-items: center;
    background-color: #fff7f0;
    border: 1px solid #4200f9;
    transform: translateX(100%);
    padding: 0;
    right: 0;
    width: 30%;
    height: 35.8vh;
  }

  nav ul.slide {
    transform: translateX(0);
  }

  nav .logo img {
    margin-left: 20px;
  }

  nav ul li a {
    padding-right: 20px;
    padding-left: 20px;
  }

  /* blog */
  .container_utama {
    margin-right: 20px;
    margin-left: 20px;
    margin-top: 60px;
  }

  /* item 1 */

  .item_bawah {
    flex-direction: column;
  }

  .item_bawah p {
    width: 100%;
  }

  .item_bawah h3 {
    width: 100%;
    font-size: 26px;
  }

  /* item 2 */

  .item_2 {
    display: block;
    justify-content: space-between;
  }

  .detail {
    display: flex;
    flex-wrap: wrap;
  }

  .detail ul li {
    font-size: 16px;
  }

  .isi {
    margin-top: 20px;
    width: 100%;
  }

  .isi img {
    width: 100%;
  }

  .isi p {
    width: 100%;
  }

  /* footer */

  footer {
    font-size: 13px;
  }

  .keterangan {
    margin-top: 15px;
    margin-bottom: 15px;
    margin-left: 20px;
    width: 50%;
    line-height: normal;
  }

  .socialMedia {
    margin-top: 15px;
    margin-bottom: 15px;
    margin-right: 20px;
    width: 50%;
    line-height: normal;
  }

  /* credit */

  .credit {
    margin-left: 20px;
    margin-right: 20px;
    text-align: center;
  }
}
