/* atribut */
.color1 {
  color: #0e185f;
}
.bg-main {
  background-color: #0e185f !important;
}

.color2 {
  color: #e8ffc2;
}

.size12 {
  font-size: 12px;
}

.size14 {
  font-size: 14px;
}

.size20 {
  font-size: 20px;
}

.size40 {
  font-size: 40px;
}

/* ===== Scrollbar CSS ===== */
/* Firefox */
* {
  scrollbar-width: auto;
  scrollbar-color: #0e185f #ffffff;
}

/* Chrome, Edge, and Safari */
*::-webkit-scrollbar {
  width: 8px;
}

*::-webkit-scrollbar-track {
  background: #ffffff;
}

*::-webkit-scrollbar-thumb {
  background-color: #0e185f;
  border-radius: 13px;
  border: 0px solid #0e185f;
}

/* ukuran extra large */
@media screen and (min-width: 1200px) {
  .col-xl {
    width: 16% !important;
  }

  .p2 {
    height: 38px !important;
    overflow: hidden;
  }
}

@media screen and (max-width: 1200px) {
  /* .card-produk {
    width: 210px !important;
    height: 220px !important;
  } */

  .img2 {
    width: auto !important;
    height: 220px !important;
  }

  .p2 {
    position: absolute;
    font-size: 0.6em;
    width: 100%;
    padding: 5px 0 !important;
    z-index: 1;
    bottom: 0;
    color: #fff;
    background-color: #c21e24c2;
  }
}

/* dibawah large */
@media screen and (max-width: 991px) {
  .navbar-collapse {
    display: none;
  }

  .judul {
    display: flex;
    justify-content: center;
    text-align: center;
  }

  .lihat {
    display: none;
  }

  .d-flex .size20 {
    font-size: 16px;
  }

  .img2 {
    width: auto !important;
    height: 170px !important;
  }

  .p2 {
    position: absolute;
    font-size: 0.6em;
    width: 100%;
    height: 20px !important;
    overflow: hidden;
    padding: 5px 0 !important;
    z-index: 1;
    bottom: 0;
    color: #fff;
    background-color: #c21e24c2;
  }

  /* modal style  */
  .modal-box-image {
    max-height: 40%;
    display: flex;
    justify-content: center;
    padding: 20px 0;
  }

  .modal-box-desk {
    height: 50%;
  }

  .modal-box-price {
    max-height: 10%;
  }
  .modal-price {
    font-size: 1.2em;
  }
  .modal-image {
    height: 100%;
  }
}

/* ukuran large */
@media screen and (min-width: 992px) {
  .offcanvas {
    display: none !important;
  }
  .lihat2 {
    display: none;
  }

  .p2 {
    height: 22px;
    overflow: hidden;
  }
}

/* dibawah medium */
@media screen and (max-width: 767px) {
  /* Product css responsif */
  .card-product {
    padding: 0 4px !important;
  }
  .product-price {
    font-size: 12px;
  }

  /* end product */

  .card1 {
    width: 200px !important;
    height: 220px;
  }

  .judul3 {
    font-size: 16px;
    text-align: center;
  }

  .card-text {
    font-size: 12px;
  }

  .card-text2 {
    font-size: 12px;
  }

  .p-lokasi {
    padding-left: 55px;
  }

  .img2 {
    width: auto !important;
    height: 150px !important;
  }

  .p2 {
    position: absolute;
    font-size: 0.6em;
    width: 100%;
    padding: 5px 0 !important;
    z-index: 1;
    bottom: 0;
    color: #fff;
    background-color: #c21e24c2;
  }
}

/* dibawah small */
@media screen and (max-width: 575px) {
  .navbar-brand img {
    width: 110px !important;
  }
  .putih {
    height: 67px !important;
  }
  /* Product css responsif */
  .card-product {
    padding: 0 4px !important;
  }
  .product-card {
    padding-bottom: 5px;
  }

  .product-price {
    margin-top: 3px;
    font-size: 11px !important;
  }
  .product-price:nth-of-type(2) {
    font-size: 9px !important;
  }

  .badge {
    font-size: 0.65em !important;
  }
  .kategori-card {
    font-size: 10px !important;
  }
  /* end product */

  .title-card {
    font-size: 11px !important;
  }
  .btn-card {
    font-size: 10px !important;
    padding: 3px 15px !important;
    border-radius: 7px !important;
  }
  .judul2 {
    font-size: 30px;
  }

  .judul {
    font-size: 3rem;
  }

  .card1 {
    width: 140px !important;
    height: 180px;
    border-radius: 6px !important;
  }

  .card-text {
    display: none;
  }

  /* .card-produk {
    width: 125px !important;
    height: 125px !important;
  } */

  .img2 {
    width: auto !important;
    height: 125px !important;
  }

  .p2 {
    position: absolute;
    font-size: 0.6em;
    width: 100%;
    padding: 5px 0 !important;
    z-index: 1;
    bottom: 0;
    color: #fff;
    background-color: #c21e24c2;
  }
}

@media screen and (max-width: 415px) {
  /* .card2 {
    width: 130px !important;
    height: 150px;
    border-radius: 0 !important;
  } */
  .text-small-1 {
    font-size: 12px;
  }
  .text-small-2 {
    font-size: 16px;
  }
}
