body {
  font-family: 'Lato', sans-serif;
}

h1,h2,h3,h4,h5,header{
  font-family: 'Montserrat', sans-serif !important;
}
h6{
  font-family: 'Poppins', sans-serif !important;
}

.hero {
  min-height: calc(100vh - 60px);
  background-image: url('../../assets/img/bgmain4.png');
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center 0;
  align-items: center;
  display: flex;
}

.main-bg {
  background-image: url('../../assets/img/bg.jpg');
  background-repeat: no-repeat;
  -moz-background-size: cover;
  -webkit-background-size: cover;
  background-size: cover;
  background-attachment: fixed;
  background-position: center 0;
  /*background-position: center;*/
  /* background-size: cover; */
  /*background-size: auto 100%; */
}

.gap-1{
  gap: 0.25rem;
}
.gap-2{
  gap: 0.5rem;
}
.gap-3{
  gap: 0.75rem;
}
.gap-4{
  gap: 1rem;
}
.gap-5{
  gap: 1.25rem;
}
.gap-6{
  gap: 1.5rem;
}
.gap-7{
  gap: 1.75rem;
}
.gap-8{
  gap: 2rem;
}
.desc-harga {
  line-height: 24px;
  font-size: 20px;
  margin-top: 15px;
}
.harga-up-down {
/*  position: absolute;*/
padding: 0 12px;
line-height: 22px;
margin-top: 10px;
color: #FFF;
font-size: 12px;
border-radius: 3px;
bottom: 12px;
right: 12px;
}
.desc-komoditas {
  float: right;
  text-align: right;
  padding: 0 10px;
  font-size: 15px;
}
.img-komoditas {
/*  position: absolute;*/
margin: 5px;
bottom: 2px;
left: 2px;
width: 60px;
}
.harga {
  /*font-weight: 700;*/
  font-size: 20px;
}

.img-caption{
  position: absolute;
  bottom: 0px;
  z-index: 10;
  color: #fff;
  text-align: left;
  background: linear-gradient(to top, #363636ad 50%, rgba(61, 61, 61, 0));
  width: 100%;
  padding: 3rem 1rem 1rem 1rem;
  border-radius: 0.35rem;
}
a.news-link {
  color: #000;
  text-decoration: none;
}
.img-hover-zoom {
  overflow: hidden;
}
.img-hover-zoom img {
  transition: transform .5s ease;
}
.img-hover-zoom:hover img {
  transform: scale(1.5);
}

.object-cover {*/
  -o-object-fit: cover;
  object-fit: cover;
}

.owl-nav button.owl-prev {
  left: 0;
  opacity: 0 !important;
  color: #007bff;
}
.owl-nav button.owl-next {
  right: 0;
  opacity: 0;
  color: #007bff;
}
.owl-nav button {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: #fff !important;
  border-radius: 50% !important;
  width: 40px;
  height: 40px;
  color: #007bff !important;
  border: 2px solid #007bff !important;
}
.owl-nav button:focus {
  outline: none;
}
.owl-theme .owl-dots .owl-dot span{
  -webkit-border-radius: 50% !important;
  -moz-border-radius: 50% !important;
  border-radius: 50% !important;
  width: 15px;
  height: 15px;
  margin-left: 2px;
  margin-right: 2px;
  background: #ffffff;
  border: 2px solid #007bff;
}
.owl-theme .owl-dots .owl-dot.active span,
.owl-theme .owl-dots .owl-dot:hover span{
  background: #007bff;
}
.owl-carousel:hover .owl-nav button.owl-prev {opacity: 1 !important;}
.owl-carousel:hover .owl-nav button.owl-next {opacity: 1 !important;}
.h100{
  min-height: calc(100vh - 90px);
}
.kotak5 {
  --scale: 1.0;
  /* set value: "--name: value"; get value: "var(--name)"  */
  --skew: -4;

  padding: .5rem 1rem;

  outline: none;
/*  opacity: 0.8;*/
border: 1px solid rgb(200, 200, 200);
border-radius: .3em;
  /*box-shadow: 0px 2px 5px rgb(200, 200, 200, 200);
  background-color: rgb(237, 237, 237);*/

  /* translate3d" can avoid text from being affected by scaling of sibling buttons, makes some devices run their hardware acceleration */
  transition: transform 100ms ease-out;
  transform: skewX(calc(var(--skew) * 1deg)) scale(var(--scale)) translate3d(0, 0, 0);
/*  color: rgb(95, 107, 125);*/
font-weight: bold;
/*font-size: 100%;*/

  /*text-align: center;
  vertical-align: middle;*/

/*  display: inline-block;*/

cursor: pointer;
user-select: none;
}
.kotak5 > * {
  display: block;
  transform: skewX(calc(var(--skew) * -1deg));
}
.warna-navbar{
  background-color: #CD853F;
}
.warna-footer{
  background-color: #CD853F;
}
.tanggal-hari {
  position: absolute;   /* Menempatkan elemen secara absolut relatif terhadap parent dengan posisi relative */
  top: 200px;            /* Menempatkan elemen 10px dari bagian atas halaman */
  left: 50%;            /* Menempatkan elemen di tengah halaman secara horizontal */
  transform: translateX(-50%);  /* Menggeser elemen ke kiri sebanyak 50% dari lebar elemen untuk benar-benar berada di tengah */
  margin: 0;            /* Menghapus margin default */
  padding: 0;           /* Menghapus padding default */
}

.i{
 /* position: relative;
  top: 40px;*/
  max-width: 100%;
  height: auto;
}

.j{
  margin-top: 10rem !important;
}

@media (max-width: 575.98px) {
  .img-komoditas {
    width: 150px;
  }
  .hero .container {
    padding-top: 13rem !important;
  }
  .tanggal-hari {
    top: 270px;
  }
}
@media (min-width: 576px) {
  .img-komoditas {
    width: 70px;
  }
}
@media (min-width: 768px) {
  .img-komoditas {
    width: 150px;
  }
  .tanggal-hari {
    top: 270px;
  }
}
@media (min-width: 992px) {
  .img-komoditas {
    width: 180px;
  }
  .tanggal-hari {
    top: 70px;
  }
  .j{
    margin-top: 3rem !important;
  }
  .tanggal-hari {
    top: 80px;
  }
}

@media (min-width: 1500px) {
  .img-komoditas {
    width: 200px;
  }
  .hero .container {
    max-width: 1500px;
  }
  .desc-harga {
    font-size: 30px;
  }
  .tanggal-hari {
    top: 110px;
  }
}

