/* CSS Document */
.bg-body {
    background: url("../img/bg-food_green.png") repeat center;
    /*background-color: rgba(8,58,47,0.53);*/
    background-color: #083a2f !important;
}
.bg-kafe916 {
    background-color: #083a2f !important;
}
.bg-kafe916-1 {
    background-color: #f6d202 !important;
}
.bg-kafe916-2 {
    background-color: #e26626 !important;
}
.bg-hijau-hvr:hover {
    background-color: #083a2f !important;
}
.bg-kuning-hvr:hover {
    background-color: #f6d202 !important;
}
.bg-oren-hvr:hover {
    background-color: #e26626 !important;
}
.kaler-kuning {
    color: #f6d202;
}
.kaler-hijau {
    color: #083a2f;
}
.kaler-oren {
    color: #e26626;
}
.link-kafe916:hover {
    color: #f6d202;
}
.link-kafe916-1:hover {
    color: #083a2f;
}
.kaler-hijau-hvr-putih {
    color: #083a2f;
}
.kaler-hijau-hvr-putih:hover {
    color: #ffffff;
}
.menu-btn {
    background-color: #f6d202;
    padding: 5px;
    margin-left: 2px;
    margin-right: 2px;
    border: 1px solid;
    border-color: transparent;
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
    margin-top: 10px;
    margin-bottom: -1px;
    cursor: pointer;
}
.menu-btn-active {
    background-color: #083a2f !important;
    color: #f6d202;
    padding: 5px;
    margin-left: 2px;
    margin-right: 2px;
    border: 1px solid;
    border-color: transparent;
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
    margin-top: 10px;
    margin-bottom: -1px;
    cursor: pointer;
}
/* TOP */
.label-flip-kiri {
    position: absolute;
    top: 0;
    left: 0;
    background: #083a2f;
    display: block;
    width: auto;
    height: 30px;
    padding: 10px;
    color: whitesmoke;
    padding-bottom: 30px;
}
.label-flip-kiri:hover {
    color: #f6d202;
    cursor: pointer;
}
.label-flip-kanan {
    position: absolute;
    top: 0;
    right: 0;
    background: #083a2f;
    display: block;
    width: auto;
    height: 30px;
    padding: 10px;
    color: whitesmoke;
    padding-bottom: 30px;
}
.label-flip-kanan:hover {
    color: #f6d202;
    cursor: pointer;
}
/* BOTTOM */
.label-flip-kiri-btm {
    position: absolute;
    bottom: 0;
    left: 0;
    background: #083a2f;
    display: block;
    width: auto;
    height: 30px;
    padding: 10px;
    color: whitesmoke;
    padding-bottom: 30px;
}
.label-flip-kiri-btm:hover {
    color: #f6d202;
    cursor: pointer;
}
.label-flip-kanan-btm {
    position: absolute;
    bottom: 0;
    right: 0;
    background: #083a2f;
    display: block;
    width: auto;
    height: 30px;
    padding: 10px;
    color: whitesmoke;
    padding-bottom: 30px;
}
.label-flip-kanan-btm:hover {
    color: #f6d202;
    cursor: pointer;
}
/* Flip Book */
.body-flipbook {
    /* or any other parent wrapper */
    margin: 0;
    /*display: flex;
    height: 100dvh;*/
    perspective: 1000px;
    font: 16px/1.4 sans-serif;
    overflow: hidden;
    /*background-color: #083a2f;*/
    /*label {
        position: absolute;
        top: 0;
        right: 0;
        background: #083a2f;
        display: block;
        width: auto;
        height: 30px;
        padding: 10px;
        color: whitesmoke;
        padding-bottom: 30px;
    }
    label:hover {
        color: #f6d202;
        cursor: pointer;
    }*/
}
.book {
  --c: 0;
  display: flex;
  margin: auto;
  width: 45%;
  /*1* let pointer event go trough pages of lower Z than .book */
  pointer-events: none;
  transform-style: preserve-3d;
  transition: translate 1s;
  translate: calc(min(var(--c), 1) * 50%) 0%;
  /* DEMO ONLY: incline on the X axis for pages preview */
  /*rotate: 1 0 0 30deg;*/

  [name^=book] { display: none; }
  &:has(#c0:checked) { --c:0; }
  &:has(#c1:checked) { --c:1; }
  &:has(#c2:checked) { --c:2; }
  &:has(#c3:checked) { --c:3; }
  &:has(#c4:checked) { --c:4; }
  &:has(#c5:checked) { --c:5; }
}

.page {
  --thickness: 5;
  /* PS: Don't go below thickness 0.4 or the pages might transpare */
  flex: none;
  display: flex;
  width: 100%;
  /*1* allow pointer events on pages */
  pointer-events: all;
  user-select: none;
  transform-style: preserve-3d;
  border: 1px solid rgba(226,102,38,0.55);
  transform-origin: left center;
  transition:
    transform 1s,
    rotate 1s ease-in calc((min(var(--i), var(--c)) - max(var(--i), var(--c))) * 50ms);
  translate: calc(var(--i) * -100%) 0px 0px;
  transform: translateZ( calc((var(--c) - var(--i) - 0.5) * calc(var(--thickness) * 1px)));
  rotate: 0 1 0 calc(clamp(0, var(--c) - var(--i), 1) * -180deg);
  color: #083a2f;
  img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
}
.front,
.back {
  flex: none;
  width: 100%;
  padding: 2rem;
  backface-visibility: hidden;
  background-color: #fff;
    background: url("../img/bg-chop.png");
  /* Fix backface visibility Firefox: */
  translate: 0px;
}
.back {
    background-image: linear-gradient(to right, #fff 80%, #ddd 100%);
    translate: -100% 0;
    rotate: 0 1 0 180deg;
    padding-top: 40px;
    background: url("../img/bg-chop.png");
}
.front {padding-top: 40px;}