@import url("https://fonts.googleapis.com/css2?family=Open+Sans:wght@300;800&display=swap");
@import url("https://www.dafontfree.net/embed/Z290aGFtLWJvb2smZGF0YS8yNS9nLzEyNzUxOC9Hb3RoYW1Cb29rLnR0Zg");
html {
  scroll-behavior: smooth;
}
body {
  background-color: whitesmoke;
}

/* navbar */
nav ul li {
  margin: 0 10px;
  text-transform: uppercase;
  font-family: "Raleway", sans-serif;
  font-size: 13px;
}
.navbar .navbar-nav .nav-item .nav-link:hover {
  color: #ff8c00;
}
.navbar-toggler {
  font-size: 30px;
  color: black;
  /* float: right; */
  line-height: 80px;
  margin-right: 40px;
  cursor: pointer;
}
.navbar-toggler,
.navbar-toggler:focus,
.navbar-toggler:active,
.navbar-toggler-icon:focus {
  outline: none;
  border: none;
  box-shadow: none;
}

.to-top {
  background: rgb(240, 157, 3);
  position: fixed;
  bottom: 16px;
  right: 32px;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  color: #1f1f1f;
  text-decoration: none;
  opacity: 0;
  pointer-events: none;
  transition: all 0.4s;
}
.to-top:hover {
  color: #1f1f1f;
  background: rgb(207, 135, 2);
}
.to-top.active {
  bottom: 32px;
  pointer-events: auto;
  opacity: 1;
}
.breadcrumb {
  margin: 0;
}
.kanan a {
  text-decoration: none;
  font-family: "Open Sans_bold", sans-serif;
  color: black;
}
.breadcrumb li a {
  color: grey;
  text-decoration: none;
}
.active {
  color: black;
  font-weight: bold;
}
.imgatas {
  float: left;
  width: 100%;
  margin-top: 90px;
  height: 150px;
  overflow: hidden;
}

.imgatas img {
  width: 100%;
}


/* artikel */
.isi .judul {
  float: left;
  width: 100%;
  margin-top: 50px;
  text-align: center;
  color: black;
  font-size: 36px;
  font-family: "GothamBook";
  overflow: hidden;
}

/* card */
.container .post {
  width: 350px;
  height: 400px;
  display: flex;
  overflow: hidden;
  flex-direction: column;
  position: relative;
  margin: 20px 0;
  box-shadow: 0 4px 20px 0 rgba(0, 0, 0, 0.2);
}
.container .post:hover {
  box-shadow: 0 8px 30px 0 rgba(0, 0, 0, 0.2);
}
.container .post:hover .header_post {
  margin-top: -5px;
}
.container .post:hover .body_post {
  height: 50%;
}
.container .post:hover img {
  transform: translatey(-10px) translatex(-5px) scale(1.05);
}
.container .post .header_post {
  width: 100%;
  height: 40%;
  background: #ddd;
  position: absolute;
  top: 0;
  -webkit-transition: cubic-bezier(0.68, -0.55, 0.27, 1.55) 320ms;
  -moz-transition: cubic-bezier(0.68, -0.55, 0.27, 1.55) 320ms;
  -ms-transition: cubic-bezier(0.68, -0.55, 0.27, 1.55) 320ms;
  -o-transition: cubic-bezier(0.68, -0.55, 0.27, 1.55) 320ms;
  transition: cubic-bezier(0.68, -0.55, 0.27, 1.55) 320ms;
}
.container .post .header_post img {
  background-color: rebeccapurple;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: ease-in-out 600ms;
}
.container .post .body_post {
  width: 100%;
  height: 55%;
  background: #fff;
  position: absolute;
  bottom: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  -webkit-transition: cubic-bezier(0.68, -0.55, 0.27, 1.55) 320ms;
  -moz-transition: cubic-bezier(0.68, -0.55, 0.27, 1.55) 320ms;
  -ms-transition: cubic-bezier(0.68, -0.55, 0.27, 1.55) 320ms;
  -o-transition: cubic-bezier(0.68, -0.55, 0.27, 1.55) 320ms;
  transition: cubic-bezier(0.68, -0.55, 0.27, 1.55) 320ms;
}
.container .post .body_post .post_content {
  width: 80%;
  height: 80%;
  background: #fff;
  position: relative;
}
.container .post .body_post .post_content h1 {
  font-size: 20px;
  font-weight: bold;
  color: #000;
}

.container .post .body_post .post_content p {
  font-size: 14px;
  font-weight: normal;
}
.container .post .body_post .post_content .container_infos {
  width: 100%;
  display: flex;
  justify-content: space-between;
  position: absolute;
  bottom: 0;
  border-top: 1px solid rgba(0, 0, 0, 0.2);
  padding-top: 2px;
}
.container .post .body_post .post_content .container_infos .postedBy {
  display: flex;
  flex-direction: column;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 12px;
}
.container .post .body_post .post_content .container_infos .postedBy span {
  font-size: 12px;
  text-transform: uppercase;
  opacity: 0.5;
  letter-spacing: 1px;
  font-weight: bold;
}

/* footer */
.footer-dark {
  padding: 33px 0;
  color: #f0f9ff;
  background-color: #282d32;
  overflow: hidden;
  float: left;
  width: 100%;
}
.footer-dark .nama-desa {
  margin-top: 70px;
  color: white;
  text-transform: uppercase;
  font-size: 22px;
  font-weight: 600;
  letter-spacing: 1px;
  font-family: comic sans ms;
}
.footer-dark .item p {
  line-height: 10px;
  font-size: 14px;
  font-family: comic sans ms;
}
.footer-dark ul {
  padding: 0;
  list-style: none;
  line-height: 1;
  font-size: 14px;
  margin-bottom: 0;
}

.footer-dark ul a {
  color: inherit;
  text-decoration: none;
  opacity: 0.6;
}

.footer-dark ul a:hover {
  opacity: 0.8;
}

.footer-dark .foll {
  font-size: 26px;
  font-family: "David Libre", serif;
  color: white;
  margin-left: 55%;
  margin-top: 50px;
}
.border {
  width: 110px;
  height: 4px;
  background: #fc5c65;
  margin-left: 55%;
}
.social-media {
  margin: 20px 0;
  margin-left: 55%;
}
.social-media a {
  color: white;
  margin-right: 25px;
  font-size: 22px;
  text-decoration: none;
  transition: 0.3s linear;
}
.social-media a:hover {
  color: #fc5c65;
}

.footer-dark .item.text p {
  opacity: 0.6;
  margin-bottom: 0;
}

.footer-dark .item.social {
  text-align: center;
}

.footer-dark .item.social > a {
  font-size: 20px;
  width: 36px;
  height: 36px;
  line-height: 36px;
  display: inline-block;
  text-align: center;
  border-radius: 50%;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.4);
  margin: 0 8px;
  color: #fff;
  opacity: 0.75;
}

.footer-dark .item.social > a:hover {
  opacity: 0.9;
}

.footer-dark .copyright {
  text-align: center;
  padding-top: 24px;
  font-size: 14px;
  margin-bottom: 0;
}

/* @keyframes top {
  0% {
    opacity: 0;
    bottom: -80px;
  }
  100% {
    opacity: 1;
    bottom: 0px;
  }
}
@keyframes icon {
  0% {
    opacity: 0;
    transform: scale(0);
  }
  50% {
    opacity: 1;
    transform: scale(1.3) rotate(-2deg);
  }
  100% {
    opacity: 1;
    bottom: 0px;
  }
} */
/* end card */

@media screen and (min-width: 1180px) {
  .container11 {
    margin-left: auto;
    margin-right: auto;
    width: 1145px;
  }
}
@media screen and (min-width: 999px) {
  /* sisi kiri */
  .bodyisi {
    float: left;
    width: 100%;
    margin-bottom: 30px;
    overflow: hidden;
  }
  .isidetail:nth-child(odd) {
    float: left;
    width: 69%;
    overflow: hidden;
  }
  .judul {
    float: left;
    width: 100%;
    font-size: 24px;
    color: #000;
    font-weight: bold;

    margin-top: 20px;
    margin-bottom: 10px;
  }
  .tanggal {
    float: left;
    width: 100%;
    font-size: 13px;
    color: #000;
    font-weight: lighter;
    overflow: hidden;
    margin-bottom: 20px;
  }
  .gbrart {
    float: left;
    width: 100%;
    overflow: hidden;
  }
  .gbrart img {
    width: 96%;
    background: #fff;
    padding: 2%;
  }
  .teks {
    width: 96%;
    padding: 2%;
    float: left;
    background: #fff;
    font-family: "GothamBook";
    font-size: 15px;
    color: #6b6b6b;
    line-height: 1.5em;
  }
  .teks p {
    padding-bottom: 10px;
    display: block;
    margin-block-start: 1em;
    margin-block-end: 1em;
    margin-inline-start: 0px;
    margin-inline-end: 0px;
  }
  p {
    text-align: justify;
  }
  p img {
    width: 100%;
    height: 100%;
  }

  /* sisi kanan */

  .isidetail {
    float: right;
    width: 28%;
    overflow: hidden;
  }
  .jdl {
    float: left;
    width: 100%;
    font-size: 24px;
    color: #000;
    font-weight: bold;
    overflow: hidden;
    margin-top: 60px;
    margin-bottom: 15px;
  }
  .samping {
    width: 100%;
    float: left;
    padding-top: 10px;
    padding-bottom: 10px;
  }
  .boxsamping {
    width: 100%;
    height: 100px;
    overflow: hidden;
    float: left;
    padding-bottom: 15px;
    border-bottom: 1px solid #d6d5d5;
    margin-bottom: 15px;
  }
  .pic {
    width: 30%;
    height: 100px;
    float: left;
    overflow: hidden;
  }
  .pic img {
    height: 90px;
  }
  .kanan {
    width: 65%;
    height: 100px;
    float: right;
    overflow: hidden;
  }
  a {
    text-decoration: none;
  }
  .tglkn {
    float: left;
    width: 100%;
    font-size: 12px;
    color: gray;
    padding-top: 5px;
    font-weight: lighter;
    overflow: hidden;
  }
  .footer-dark .item.social {
    text-align: center;
    margin-top: 20px;
  }
}
@media only screen and (max-width: 1200px) {
  .container .post {
    width: 300px;
    height: 400px;
    display: flex;
    overflow: hidden;
    flex-direction: column;
    position: relative;
    margin: 20px 0;
    box-shadow: 0 4px 20px 0 rgba(0, 0, 0, 0.2);
  }

  .imgatas {
    float: left;
    width: 100%;
    height: 150px;
  }

  .imgatas img {
    width: auto;
  }
}
@media screen and (min-width: 1090px) and (max-width: 1179px) {
  .container11 {
    margin-left: auto;
    margin-right: auto;
    width: 1080px;
  }
}
@media screen and (min-width: 999px) and (max-width: 1090px) {
  .container11 {
    margin-left: auto;
    margin-right: auto;
    width: 990px;
  }
}

@media screen and (min-width: 0px) and (max-width: 998px) {
  .container11 {
    margin-left: auto;
    width: 95%;
  }
  .bodyisi {
    float: left;
    width: 100%;
    margin-bottom: 30px;
    overflow: hidden;
  }
  .isidetail:nth-child(odd) {
    float: left;
    width: 100%;
    overflow: hidden;
  }
  .judul {
    float: left;
    width: 100%;
    font-size: 24px;
    color: #000;
    font-weight: bold;
    overflow: hidden;
    margin-top: 20px;
    margin-bottom: 20px;
  }
  .tanggal {
    float: left;
    width: 100%;
    font-size: 13px;
    color: #000;
    font-weight: lighter;
    overflow: hidden;
    margin-bottom: 20px;
  }
  .gbrart {
    float: left;
    width: 100%;
    overflow: hidden;
  }
  .gbrart img {
    width: 96%;
    background: #fff;
    padding: 2%;
    vertical-align: middle;
  }
  .teks {
    width: 96%;
    padding: 3%;
    float: left;
    background: #fff;
    font-family: "GothamBook";
    font-size: 15px;
    color: #6b6b6b;
    line-height: 1.5em;
  }
  .teks p {
    padding-bottom: 10px;
    display: block;
  }
  p img {
    width: 100%;
    height: 100%;
  }

  /* sisi kanan */

  .isidetail {
    float: left;
    width: 100%;
    overflow: hidden;
  }
  .jdl {
    float: left;
    width: 100%;
    font-size: 24px;
    color: #000;
    font-weight: bold;
    overflow: hidden;
    margin-top: 30px;
    margin-bottom: 15px;
  }
  .samping {
    width: 70%;
    float: left;
    padding-top: 10px;
    padding-bottom: 10px;
  }
  .boxsamping {
    width: 100%;
    height: 100px;
    overflow: hidden;
    float: left;
    padding-bottom: 15px;
    border-bottom: 1px solid #d6d5d5;
    margin-bottom: 15px;
  }
  .pic {
    width: 27%;
    height: 100px;
    float: left;
    overflow: hidden;
  }
  .pic img {
    height: 90px;
  }
  .kanan {
    width: 65%;
    height: 100px;
    float: right;
    overflow: hidden;
  }
  a {
    text-decoration: none;
  }
  .tglkn {
    float: left;
    width: 100%;
    font-size: 12px;
    color: gray;
    padding-top: 4px;
    font-weight: lighter;
    overflow: hidden;
  }
}

@media only screen and (max-width: 992px) {
  .container .post {
    width: 230px;
    height: 300px;
    display: flex;
    overflow: hidden;
    flex-direction: column;
    position: relative;
    margin: 20px auto;
  }
  .container .post .body_post .post_content p {
    font-size: 10px;
  }
  .container .post .body_post .post_content h1 {
    font-size: 15px;
  }
  .container .post .body_post .post_content .container_infos {
    padding-top: 2px;
  }
  .container .post .body_post .post_content .container_infos .postedBy {
    font-size: 10px;
  }
  .container .post .body_post .post_content .container_infos .postedBy span {
    font-size: 10px;
  }
}

@media (max-width: 767px) {
  /* footer */
  .footer-dark .item:not(.social) {
    text-align: center;
    padding-bottom: 20px;
  }
  .footer-dark .item.text {
    margin-bottom: 36px;
  }
  .footer-dark .item.text {
    margin-bottom: 0;
  }
  .footer-dark .foll {
    margin-left: -5px;
  }
  .border {
    margin-left: 37%;
  }
  .social-media {
    margin-left: 10%;
  }
}

@media (max-width: 575px) {
  .container .post {
    width: 300px;
    height: 300px;
    display: flex;
    margin: 20px auto;
  }
  /* navbar */
  .navbar-toggler {
    margin-right: 15px;
  }
  .navbar-brand img {
    margin-left: 25px;
  }
  nav ul {
    text-align: center;
    margin-top: 20px;
    height: 50vh;
  }
  nav ul li {
    font-size: 13px;
    padding: 2px 0;
  }
  .navbar-collapse {
    background: #2c3e50;
    opacity: 0.8;
  }
  .navbar-collapse .navbar-nav .nav-item .nav-link {
    color: white;
  }
}
