* {
  margin: 0;
  padding: 0;
}

body {
  /* transition: background-color 1s ease-in-out; */
  background-color: #ffffff;
  width: 100%;
}

::-webkit-scrollbar {
  width: 10px;
  background-color: #fef9e1;
  /* position: fixed; */
  display: none;
}

::-webkit-scrollbar-thumb {
  border-radius: 5px;
  background-color: #e5d0ac;
}

/* navbar */

nav {
  display: flex;
  background-color: #ffffff;
  justify-content: space-between;
  padding: 20px 0px;
  letter-spacing: 1px;
  height: 10px;
  width: 100%;
  align-items: center;
  position: fixed;
  top: 0;
  z-index: 999;
}

.logo {
  display: flex;
  width: 50%;
  height: 45px;
  align-items: center;
  position: relative;
  left: 10px;
}

.logo img {
  width: 30px;
  padding: 0px 18px;
}

.logo .nama {
  display: flex;
  align-items: center;
  height: 40px;
  padding: 0px 5px;
  font-weight: 600;
  font-size: 16px;
  color: #a31d1d;
  font-family: Helvetica, sans-serif;
}

nav ul {
  display: flex;
  list-style: none;
  justify-content: space-evenly;
  width: 50%;
  box-sizing: border-box;
}

nav ul li {
  position: relative;
}

nav ul li a {
  text-decoration: none;
  color: #a31d1d;
  font-weight: 600;
  font-family: Arial;
  font-size: 13px;
  padding: 10px;
  display: inline-block;
}

nav ul li span {
  width: 100%;
  height: 3px;
  position: absolute;
  bottom: 4px;
  left: 0;
  opacity: 0;
  background-color: #6d2323;
  transform-origin: left center;
  transform: scaleX(0);
  transition: transform 0.5s ease-in-out, opacity 0.5s ease-in-out;
  pointer-events: none;
}

nav ul li a:hover span,
nav ul li.active a span {
  transform: scaleX(1);
  opacity: 1;
}

/* ikon menu */
.menu-toggle {
  display: none;
  flex-direction: column;
  height: 20px;
  justify-content: space-between;
  position: relative;
  right: 10px;
}

.menu-toggle input {
  position: absolute;
  width: 40px;
  height: 28px;
  left: -6px;
  top: -4px;
  opacity: 0;
  cursor: pointer;
  z-index: 15;
}

.menu-toggle span {
  display: block;
  width: 28px;
  height: 3px;
  background-color: black;
  border-radius: 3px;
  transition: all 0.5s;
}

/* humberger menu animation */

/* humberger pertama berputar 45 derajat */

/*input dihitung sebagai anak pertama,sehingga span pertama menjadi anak kedua*/
.menu-toggle span:nth-child(2) {
  transform-origin: 0 100%;
}

.menu-toggle span:nth-child(4) {
  transform-origin: 0 100%;
}

/* ketika input diceklis maka ia akan mencari span pertama yang merupakan anak kedua */
.menu-toggle input:checked ~ span:nth-child(2) {
  transform: rotate(50deg) translate(-1px, -3px);
}

.menu-toggle input:checked ~ span:nth-child(3) {
  transform: scale(0);
  opacity: 0;
}

.menu-toggle input:checked ~ span:nth-child(4) {
  transform: rotate(-50deg) translate(0px, 4px);
}

.container {
  width: 100vw;
  /* height: 100vh; */
  display: flex;
  flex-direction: row;
  /* overflow-x: hidden; */
  margin-top: 25px;
}

.container .container-satu,
.container .sidebar {
  margin: 20px auto;
  padding: 0 20px;
  box-sizing: border-box;
}

.container .container-satu {
  width: 70%;
  height: 80%;
  padding: 0 50px;
  box-sizing: border-box;
}

.container .container-satu .header {
  letter-spacing: 0.5px;
}

.container .container-satu .header h2 {
  margin-top: 10px;
  margin-bottom: 5px;
  font-size: 2rem;
  font-family: 'MerriWeather', serif;
  font-weight: 700;
}

.container .container-satu .header h4 {
  color: red;
  margin-top: 5px;
}

.container .container-satu .header p {
  color: #6d6d6d;
  margin-top: 5px;
  margin-bottom: 2px;
  font-weight: 300;
}

.container .container-satu figure {
  width: 100%;
}

.container .container-satu figure img {
  width: 100%;
}

.container .container-satu figure figcaption {
  color: #6d6d6d;
  margin: 7px 0;
  letter-spacing: 0.5px;
}

.container .container-satu .isi p {
  margin-top: 10px;
  padding-right: 8px;
  font-family: 'Open Sans', sans-serif;
  font-size: 1rem;
}

.container .container-satu .isi blockquote {
  font-style: italic;
  font-family: 'Open Sans', sans-serif;
  font-size: 1rem;
  margin-top: 10px;
}

.container .sidebar {
  width: 30%;
  height: 40%;
}

.container .sidebar h2 {
  text-align: center;
  font-size: 1.2rem;
  margin: 20px auto;
}

.container .sidebar .judul {
  width: 100%;
  height: 85px;
  display: flex;
  flex-direction: row;
  align-items: center;
  margin: 10px auto;
  text-decoration: none;
  color: black;
  letter-spacing: 0.3px;
  overflow: hidden;
}

.container .sidebar .judul img {
  height: inherit;
  transition: transform 0.3s ease;
  margin-right: 10px;
}

.container .sidebar .judul h4 {
  color: red;
}

.container .sidebar a:hover img {
  transform: scale(1.3);
}

.container .sidebar a:hover h3 {
  color: red;
}

/* footer */
.kontak {
  display: flex;
  background-color: #ffffff;
  flex-direction: column;
  height: auto;
  position: relative;
}

.kabinet {
  display: flex;
  flex-direction: row;
  align-items: center;
  font-family: Helvetica, sans-serif;
}

.kabinet img {
  width: 3%;
  padding: 10px;
}

.kontak h3 {
  font-size: 18px;
  padding: 10px;
}

.kontak ul {
  padding-left: 10px;
  list-style: none;
}

.kontak ul li {
  padding-bottom: 5px;
}

.kontak ul li a {
  text-decoration: none;
  color: red;
}

.kontak p {
  width: inherit;
  height: 20px;
  margin: auto;
  font-size: 16px;
  padding: 20px;
}
@media screen and (min-width: 577px) and (max-width: 991px) {
  nav ul {
    width: 60%;
  }

  .logo {
    width: 40%;
  }

  .container {
    flex-direction: column;
    align-items: center;
  }

  .container .container-satu,
  .container .sidebar {
    width: 90%;
    padding: 0 20px;
  }

  .container .container-satu .isi p {
    padding-right: 0;
  }

  .container .sidebar {
    margin-top: 40px;
  }
}

@media screen and (max-width: 576px) {
  .logo {
    width: 100%;
  }

  nav ul {
    position: absolute;
    flex-direction: column;
    top: 20px;
    left: 0px;
    width: 100%;
    height: 220px;
    background-color: #ffff;
    z-index: 10;
    transform: translateY(-300px);
    transition: all 0.5s;
  }

  nav ul li {
    padding: 10.5px;
    text-align: center;
  }

  body .blur {
    transition: background-color 0.5s ease-in-out;
    opacity: 0.8;
  }

  nav ul.slide {
    transform: translateY(29px);
    background-color: #ffff;
    z-index: 10;
  }

  .menu-toggle {
    display: flex;
    z-index: 5;
  }

  /* main */
  .container {
    margin-top: 13%;
    flex-direction: column;
    align-items: center;
  }

  .container .container-satu,
  .container .sidebar {
    width: 100%;
    padding: 0 15px;
    margin: 10px 0;
  }

  .container .container-satu {
    padding: 0 15px;
  }

  .container .container-satu .isi p {
    padding-right: 0;
  }

  /* FOOTER - KONTAK */
  .kabinet img {
    width: 8%;
  }

  .kontak {
    height: auto;
  }

  .kontak p {
    padding: 20px;
  }
}
