@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600&display=swap");

@import url("https://fonts.googleapis.com/css?family=Montserrat:300,400");
* {
  /* padding: 2px; */
  margin: 0;
  box-sizing: border-box;
  font-family: "Poppins", sans-serif;
  text-decoration: none;
}

:root {
  --main-color: #27ae60;
  --main-light: #bee7cf;
  --accent-light: #f4e3b3;
}

body {
  /* padding-top: 250px; */
}

a {
  color: #333;
  text-decoration: none !important;
}

p {
  text-decoration: none;
}

.flex {
  display: flex;
  align-items: center;
}

header {
  background: var(--main-color);
  padding: 0.8rem 1rem;
  /* padding: 2rem 1.5rem 5rem 1.5rem; */
}

header nav_mobile {
  display: flex;
  justify-content: space-between;
  align-content: center;
}

nav_mobile p {
  font-weight: 500;
  color: #fff;
}

.search {
  margin: 1.3rem 0rem 0rem 0rem;
  display: flex;
  background: #fff;
  align-items: center;
  padding: 0.8rem 1rem;
  border-radius: 10px;
}

.search span {
  font-size: 1.3rem;
  margin-right: 0.6rem;
}

.search input {
  display: block;
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
}

nav_mobile .img {
  height: 45px;
  width: 45px;
  background-size: cover;
  background-repeat: no-repeat;
  border-radius: 50%;
}

.action-bar {
  width: 100%;
}

.action-bar .info {
  width: 100%;
  color: #fff;
  flex: 1 !important;
  text-align: center;
  -webkit-transition-duration: 500ms;
  -o-transition-duration: 500ms;
  transition-duration: 500ms;
  background-color: #ffffff;
  width: 100%;
  height: 50px;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  -webkit-box-shadow: 0 0 4px rgba(15, 15, 15, 0.1);
  box-shadow: 0 0 4px rgba(15, 15, 15, 0.1);
}

.action-bar a {
  color: #fff;
}

.action-bar span {
  font-size: 1.4rem;
  color: #fff;
}

#main-content {
  padding-bottom: 3px;
}

.section-wrapper {
  background: #fff;
  box-shadow: 3px 3px 30px rgba(0, 0, 0, 0.1);
  padding: 1rem;
  border-radius: 15px;
}

.flex-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid #ccc;
  padding-bottom: 2rem;
  padding: 1rem;
}

.section-wrapper h2 {
  font-size: 1.2rem;
  color: #333;
}

.section-wrapper h2 + a {
  font-size: 1.1rem;
  color: var(--main-color);
  font-weight: bold;
}

.items {
  width: 100%;
  margin: auto;
  margin-top: 1rem;
  display: flex;
  overflow-x: auto;
}

.items::-webkit-scrollbar {
  width: 0rem !important;
}

.items::-webkit-scrollbar-track {
  width: 0;
}

.item {
  min-width: 100px;
  margin-right: 1.5rem;
}

.item h4 {
  font-size: 0.95rem;
  text-align: center;
  margin-top: 0.7rem;
}

.item-img {
  width: 100%;
  height: 200px;
  border-radius: 10px;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
}

.promo {
  margin: 1.4rem 0rem 0.4rem 0rem;
}

.promo-item {
  border-radius: 20px;
  display: flex;
  background-color: var(--main-light);
  min-width: 300px !important;
  padding: 1.3rem 1rem;
  align-items: center;
  margin-right: 1rem;
}

.promo-img {
  height: 100px;
  width: 100px;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  margin-right: 0.7rem;
}

.promo-item:last-child {
  background-color: var(--accent-light);
}

.promo-item:last-child {
  background-color: var(--accent-light);
}

.promo-item:last-child h3 {
  color: orange;
}

.promo-item:last-child a {
  color: orange;
}

.promo-item h3 {
  font-size: 1.4rem;
  color: var(--main-color);
}

.promo-item p {
  font-size: 0.85rem;
  margin: 0.5rem 0rem 0.8rem 0rem;
  font-weight: 500;
}

.promo-item a {
  color: var(--main-color);
  font-weight: 600;
}

.popular-img {
  height: 130px;
  width: 140px;
  border-radius: 20px;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  margin-right: 0.7rem;
}

.bottom-nav_mobile {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  z-index: 10;
}

.bottom-main {
  background: var(--main-color);
  display: flex;
  justify-content: space-between;
  padding: 1rem;
  height: 100px;
  padding-top: -200px;
}

.bottom-inner {
  position: relative;
}

.nav_mobile-item-main {
  background: #f1f1f1;
  height: 70px;
  width: 70px;
  position: absolute;
  top: -20px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 20;
  padding: 0.3rem;
  border-radius: 50%;
  box-shadow: 5px 5px 10px rgba(0, 0, 0, 0.1);
}

.nav_mobile-item-main div {
  border: 7px solid var(--main-color);
  height: 100%;
  width: 100%;
  border-radius: 50%;
  display: grid;
  place-items: center;
}

.nav_mobile-item-main span {
  font-size: 1.9rem;
  color: var(--main-color);
}

.nav_mobile-items {
  display: flex;
}

.nav_mobile-item {
  margin-right: 1.3rem;
  text-align: center;
}

.nav_mobile-item:last-child {
  margin-right: 0rem;
}

.nav_mobile-item span {
  display: block;
  color: #fff;
  font-size: 1.6rem;
  margin-bottom: 0.3rem;
  transition: font-size 100ms;
}

.nav_mobile-item:hover span {
  font-size: 1.7rem;
}

.nav_mobile-item p {
  font-size: 0.9rem;
  font-weight: 600;
  color: #fff;
}

.category-items {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-gap: 1rem;
  padding: 1.2rem 0rem;
  text-align: center;
}

.category-item .item-img {
  background: var(--main-light);
  background-repeat: no-repeat;
  background-size: 70%;
  background-position: center;
}

.products {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
}

.product {
  padding: 1rem;
  border-right: 1px solid #ccc;
  border-bottom: 1px solid #ccc;
  position: relative;
}

.product:nth-child(even) {
  border-right: none;
}

.product.last {
  border-bottom: none;
}

.prod-img {
  height: 150px;
  background-size: 90%;
  background-position: center;
  background-repeat: no-repeat;
  margin-bottom: 0.5rem;
}

.prod-title + small {
  font-weight: 600;
  color: #666;
  display: inline-block;
  margin: 0.5rem 0rem;
}

.prod-price {
  color: var(--main-color);
  font-weight: 700;
  font-size: 1.2rem;
}

.product button {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 30px;
  height: 30px;
  color: #fff;
  outline: none;
  border: none;
  border-radius: 10px 0 0 0;
  background: var(--main-color);
}

.product-header {
  position: relative;
  height: 280px;
  background: #fff;
  /* padding: 1rem; */
}

.product-header .flex {
  position: absolute;
  top: 1.5rem;
  left: 1.5rem;
  right: 1.5rem;
  z-index: 30;
}

.product-header .flex span {
  height: 50px;
  width: 50px;
  border-radius: 50%;
  background: #fff;
  display: grid;
  place-items: center;
  font-size: 1.4rem;
  box-shadow: 5px 5px 20px rgba(0, 0, 0, 0.2);
}

.product-img {
  height: 120%;
  /* background-size: 80%; */
  background-repeat: no-repeat;
  background-position: center;
  object-fit: cover;
  object-position: center;
}

.product-details {
  margin-bottom: 1rem !important;
  text-align: center;
}

.product-details h2 {
  font-size: 1.4rem;
}

.product-details h2 + small {
  font-size: 0.9rem;
  font-weight: 600;
  color: #777;
  display: inline-block;
  margin: 0.5rem 0rem;
}

.product-details .details {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  margin-top: 0.5rem;
}

.product-details .details div {
  padding: 0rem 1rem;
  border-right: 1px solid #ccc;
  font-size: 0.9rem;
  font-weight: 600;
  color: #444;
}

.product-details .details div:last-child {
  border-right: none;
}

.product-details .actions {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  margin-top: 0.7rem;
}

.product-details input {
  width: 40px;
  height: 30px;
  margin: 0rem 1rem;
  border: none;
  outline: none;
  font-weight: 500;
  color: #333;
  font-size: 1.15rem;
}

.product-details button {
  height: 27px;
  width: 27px;
  background: var(--main-color);
  border: 1px solid var(--main-color);
  color: #fff;
  border-radius: 10px;
  font-size: 1.5rem;
  display: grid;
  place-items: center;
}

.product-desc.section-wrapper {
  padding: 0rem;
  overflow-x: hidden;
  margin-bottom: 1.2rem;
}

.product-desc .flex {
  padding: 1rem 2rem;
}

.description {
  background: var(--main-color);
  padding: 2rem;
  border-radius: 20px 20px 0 0;
  position: relative;
}

.description:after {
  position: absolute;
  top: -15px;
  left: 2rem;
  content: "";
  height: 30px;
  width: 30px;
  background: #fff;
  border-radius: 50%;
}

.description p,
.description li {
  text-align: justify;
  color: #fff;
  font-weight: 500;
}

.description li {
  margin-bottom: 0.5rem;
}

.description ul {
  margin-top: 0.5rem;
}

.container {
  align-items: center;
  width: 100%;
}

.page-description {
  margin-right: 10rem;
}

.page-description h1 {
  font-size: 2.9rem;
  margin-bottom: 1rem;
  color: #222;
}

.page-description h1 span {
  color: var(--main-color);
  font-size: 3.5rem;
}

.page-description p {
  color: #747794;
  font-weight: 500;
  line-height: 2rem;
  font-size: 1.1rem;
}

.frame {
  height: 700px;
  width: 414px;
  min-width: 414px;
  border: 4px solid #333;
  border-radius: 20px;
}

.features {
  margin-top: 1.2rem;
}

.features span {
  font-size: 2.5rem;
  margin-right: 0.5rem;
  color: orange;
}

.services {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0px;
  padding: 0px;

  /* width: 375px; */
}

.service {
  padding: 0px;
  border-radius: 10px;
  text-align: center;
  justify-content: center;
}

.service img {
  width: 80px;
  height: 80px;
}

.card {
  background: rgba(255, 255, 255, 0.85);
  border: none;
  border-radius: 5px;
  box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.15);
  backdrop-filter: blur(10px);
}
.carousel {
  display: flex;
  overflow: hidden;
  width: 100%;
  position: relative;
  max-width: 100%;
  padding-left: 30px;
  padding-right: 30px;
  padding-top: 10px;
  padding-bottom: 10px;
}

.carousel-track {
  display: flex;
  transition: transform 0.3s ease-in-out;
}

.carousel-slide {
  min-width: 100%;
  box-sizing: border-box;
}

.carousel-slide img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 10px;
}

.carousel-item img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 10px;
}

.carousel-buttons {
  position: absolute;
  top: 50%;
  width: 100%;
  display: flex;
  justify-content: space-between;
  transform: translateY(-50%);
}

.prev,
.next {
  background-color: rgba(0, 0, 0, 0.5);
  color: white;
  border: none;
  padding: 10px;
  cursor: pointer;
  font-size: 18px;
}

@media only screen and (max-width: 375) {
  .prev,
  .next {
    padding: 1px;
    font-size: 16px;
  }
}

.blog-item {
  display: flex;
  padding: 3px;
  border-radius: 8px;
  /* margin-bottom: 3px; */
  box-shadow: 0 2px 2px rgba(0, 0, 0, 0.1);
}

.blog-item img {
  width: 60px;
  height: 60px;
  border-radius: 5px;
  background-color: #ddd;
  margin-right: 15px;
}

.blog-info {
  flex: 1;
}

.category {
  font-size: 12px;
  color: gray;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 5px;
}

.title {
  font-size: 14px;
  font-weight: bold;
  color: #333;
  margin-bottom: 5px;
}

.meta {
  font-size: 12px;
  color: gray;
}

#map {
  height: 600px;
  margin-top: 20px;
  z-index: 1;
}

.popup-img {
  width: 100px;
  height: auto;
  border-radius: 5px;
  margin-top: 10px;
}

.popup-content {
  font-family: Arial, sans-serif;
  font-size: 14px;
}

.popup-title {
  font-weight: bold;
  font-size: 16px;
}

.header-title {
  font-size: 2rem;
  font-weight: bold;
  text-align: center;
  margin-bottom: 20px;
}

#webcam-container {
  display: flex;
  justify-content: center;
  margin-bottom: 20px;
}

#label-container {
  text-align: center;
  font-size: 1.2rem;
  color: #007bff;
}

.btn-start {
  display: block;
  width: 100%;
  background-color: #007bff;
  border: none;
  padding: 10px;
  color: white;
  font-size: 1.2rem;
  margin-bottom: 20px;
}

.btn-start:hover {
  background-color: #0056b3;
}

.left {
  float: left;
}
.right {
  text-align: right;
  float: right;
}
.center {
  text-align: center;
}

main {
  width: 320px;
  margin: 0 auto;
}

a {
  text-decoration: none;
}

.h1,
.h2,
.h3,
.h4,
.h5 {
  font-weight: bold;
  margin-top: 0;
}
.h3 {
  font-size: 24px;
}
.h4 {
  font-size: 22px;
}
.h5 {
  font-size: 18px;
}

.bck-blue {
  background-color: #0088ff;
}
.bck-green {
  background-color: #2fcc71;
}
.bck-white {
  background-color: #fff;
}

.u-light-grey {
  color: #a9abb8;
}
.u-white {
  color: #fff;
}

@keyframes grow-75 {
  0% {
    width: 0;
  }
  100% {
    width: calc(75% - 20px);
  }
}
@keyframes grow-20 {
  0% {
    width: 0;
  }
  100% {
    width: calc(20% - 20px);
  }
}

@keyframes bounce {
  0% {
    transform: translateX(0);
  }
  50% {
    transform: translateY(10 + px);
  }
  100% {
    transform: translateX(0);
  }
}
.keterangan {
  margin: 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-evenly;
  text-align: center;
}
.statistik {
  font-family: "Montserrat", sans-serif;
  align-self: stretch;
  background-color: #eaebea;
  border-radius: 0 0 40px 40px;
  display: flex;
  flex-direction: column;
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.02), 0 10px 10px rgba(0, 0, 0, 0);
  height: 50px;
  margin-top: -20px;
}

.upper-row {
  display: flex;
  justify-content: space-evenly;
}

.statistik-item {
  margin: 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-evenly;
  text-align: center;
}

.statistik-item span:first-child {
  font-size: 0.9rem;
  font-weight: bold;
  /* margin-bottom: 10px; */
}

.statistik-item span:last-child {
  font-size: 1.2rem;
  font-weight: 300;
}

.dollar {
  color: #ffc168;
}

.lower-row {
  display: flex;
  justify-content: space-evenly;
  margin-bottom: 20px;
}

.lower-row::before {
  content: "";
  display: block;
  position: absolute;
  top: 110px;
  width: 50%;
  left: 25%;
  border-top: 1px solid #e1e1e1;
}

.icon-item {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.icon {
  color: #ffc168;
  padding: 10px;
  background-color: #fbfbfb;
  border-radius: 5px;
  margin-bottom: 5px;
}

.icon-text {
  font-size: 0.6em;
  color: #939393;
}

.transactions {
  font-family: "Montserrat", sans-serif;
  display: flex;
  position: relative;
  margin-top: 1.5rem;
  flex-direction: column;
}

.t-desc {
  font-size: 0.8rem;
  font-weight: bold;
  padding-bottom: 10px;
}

.transaction {
  cursor: default;
  padding: 10px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: white;
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.02), 0 10px 10px rgba(0, 0, 0, 0);
  border-radius: 12px;
  margin-bottom: 20px;
}

.t-details {
  width: 55%;
}

.t-icon-container {
  width: 45px;
  align-self: flex-start;
}

.t-icon {
  width: 100%;
  border-radius: 50%;
  box-shadow: 5px 5px 25px 0px rgba(0, 0, 0, 0.2);
}

.t-title {
  text-align: left;
  flex-grow: 1;
  font-size: 0.8rem;
  font-weight: bold;
  margin-bottom: 5px;
}

.t-time {
  font-size: 0.6rem;
  opacity: 0.6;
  font-weight: 300;
  letter-spacing: 1px;
}

.jumlah {
  font-size: 0.8rem;
  letter-spacing: 1px;
  font-weight: 400;
  color: #06d778;
  /* justify-content: space-evenly; */
  align-items: center;
}

.red {
  color: #f4532d;
}

.drawer {
  display: flex;
  background-color: white;
  height: 80px;
  position: absolute;
  bottom: 0px;
  width: 100%;
  border-top-left-radius: 50px;
  border-top-right-radius: 50px;
  z-index: 5;
  justify-content: space-evenly;
  align-items: center;
}

.drawer span {
  display: inline-block;
  font-size: 1.5rem;
  color: #ffc168;
  transition: all 0.4s;
  cursor: pointer;
}

.drawer span i:hover {
  transform: scale(1.2);
  border-bottom: 2px solid orange;
}
