* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  font-family: "poppins", sans-serif;
  height: auto;
  overflow-x: hidden;
  text-decoration: none;
  min-width: 100vw;
  background-color: aliceblue;
}

#hamburger {
  margin-left: 18rem;
  color: #333;
  display: none;
  cursor: pointer;
}
.toggle {
  display: none;
  justify-content: space-between;
}
#menu {
  text-decoration: none;
  color: #333;
  cursor: pointer;
}

.toggle #menu {
  margin-right: 2rem;
}
.navbar {
  background-color: aliceblue;
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 6rem;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 999;
  color: #333;
  border-bottom: 2px solid grey;
}
.logo {
  margin: 5rem;
  font-size: medium;
  text-transform: capitalize;
}
.nav {
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 1rem;
  padding: 1.5rem;
}
.nav li {
  padding: 1rem;
  list-style-type: none;
}
.nav li a {
  text-decoration: none;
  color: #333;
  text-transform: capitalize;
  font-weight: 80rem;
}
.nav .akhir-nav {
  padding-right: 5rem;
}
.nav li a::after {
  content: "";
  display: block;
  padding-bottom: 0.1rem;
  border-bottom: 0.1rem solid #333;
  transform: scale(0);
  transition: 0.2s linear;
}
.nav li a:hover::after {
  transform: scale(0.5);
}
/*home*/
.isi {
  height: auto;
}
.home {
  display: flex;
}
.tema {
  width: 50vw;
  padding-left: 10rem;
}
.tema h1 {
  padding-top: 14rem;
  font-size: 3.8rem;
  line-height: 4rem;
  font-weight: 800;
}
.tema p {
  font-size: medium;
  text-transform: capitalize;
  padding-left: 0.5rem;
  font-size: 1rem;
}
.gambar-home {
  width: 50%;
  margin-top: 8.5rem;
}
.card-flex-home {
  display: flex;
}
.card1 {
  width: 13rem;
  margin-top: 5rem;
  border-radius: 10px;
  margin-left: 12rem;
  height: 18rem;
  background-color: aqua;
}
.card23 {
  display: block;
}
.card2 {
  margin-top: 4.5rem;
  width: 13rem;
  border-radius: 10px;
  margin: 1rem;
  height: 15.5rem;
  background-color: aqua;
}
.card3 {
  width: 13rem;
  border-radius: 10px;
  margin: 1rem;
  height: 11rem;
  background-color: aqua;
}
.buy {
  text-decoration: none;
  color: white;
  background-color: orange;
  padding: 3px 20px 3px 20px;
  transition: 0.2s;
  border-radius: 5px;
  line-height: 3rem;
}
.tema .buy {
  margin-top: 1rem;
}
/*tentang-kami*/
.produk-kami {
  height: auto;
  padding-top: 7.5rem;
  text-transform: capitalize;
}
.teks-produk-kami h2 {
  font-size: 1.8rem;
  font-weight: 800;
  text-transform: capitalize;
}
.teks-produk-kami {
  padding-left: 8rem;
}
.teks-produk-kami p {
  font-size: 1rem;
}
.card-produk-kami {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 3rem;
  margin-top: 4rem;
}
.card {
  width: 280px;
  height: 320px;
  background-color: aqua;
  border-radius: 10px;
  overflow: hidden;
  position: relative;
  color: #333;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  font-family: "poppins";
  text-align: center;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
  transition: 0.2s;
}
.card:hover {
  transform: translateY(-10px);
}
.fotoproduk-gakasin {
  width: 100%;
  height: 70%;
  background: url(OIP.jpg);
  object-fit: cover;
  background-color: #e9f3ff;
}
.fotoproduk-setengahasin {
  width: 100%;
  height: 70%;
  background: url(OIP.jpg);
  object-fit: cover;
  background-color: #e9f3ff;
}
.fotoproduk-asin {
  width: 100%;
  height: 70%;
  background: url(OIP.jpg);
  object-fit: cover;
  background-color: #e9f3ff;
}
.dropdown {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #e9f3ff;
  color: #333;
  text-align: center;
  transform: translateY(100%);
  transition: transform 0.4s ease;
}
.dropdown p {
  padding: 5px;
  font-size: 1rem;
}
.card.active .dropdown {
  transform: translatey(0);
}
.card h3 {
  padding-top: 1rem;
  text-transform: capitalize;
}
/*pengataran-kami*/
.category {
  height: auto;
}
.teks-category {
  padding-top: 10rem;
  padding-left: 13rem;
  text-transform: capitalize;
}
.flex-category {
  display: flex;
  width: 100%;
  flex-direction: row;
  height: auto;
}
.list-pengiriman {
  padding-top: 2rem;
  text-transform: capitalize;
  padding-left: 13rem;
}
.bagian-wa {
  width: 50%;
  /* background-color: aqua; */
  height: auto;
  display: flex;
}
.bagian-teks {
  width: 50%;
}
.chat-wa {
  margin-top: 10rem;
  margin-left: 12rem;
}
.chat-container {
  width: 25rem;
  height: 28rem;
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background-color: white;
}

/* HEADER */
.chat-header {
  background: #b9dfe9;
  padding: 12px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: bold;
}

.avatar {
  width: 36px;
  height: 36px;
  background: white;
  border-radius: 50%;
}

/* CHAT BODY */
.chat-body {
  flex: 1;
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* CHAT BUBBLE */
.bubble {
  max-width: 75%;
  padding: 10px 14px;
  border-radius: 12px;
  font-size: 14px;
}

.left {
  background: #2f3e46;
  color: white;
  align-self: flex-start;
  border-bottom-left-radius: 0;
}

.right {
  background: #0a8f5a;
  color: white;
  align-self: flex-end;
  border-bottom-right-radius: 0;
}

/* INPUT */
.chat-input {
  display: flex;
  padding: 10px;
  gap: 10px;
}

.chat-input input {
  flex: 1;
  padding: 10px;
  border-radius: 20px;
  border: none;
  outline: none;
  background-color: #2f3e46;
}

.chat-input button {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: none;
  background: #2f3e46;
  color: white;
  font-size: 18px;
  cursor: pointer;
}
.chat-input button img {
  width: 1.5rem;
  margin-top: 0.3rem;
  height: 1.5rem;
}
/* kontak */
.kontak {
  height: 100vh;
  width: 100vw;
  color: #333;
}
.kontak h1 {
  text-align: center;
  padding-top: 7rem;
}
.kontak p {
  text-align: center;
}
.flex-kontak {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 4rem;
  margin-top: 2.5rem;
  color: #333;
}
.flex-kontak a {
  text-decoration: none;
  color: #333;
}

.kontak-logo {
  border-radius: 50%;
  width: 5rem;
  height: 5rem;
  background-color: #b9dfe9;
}
.kontak-teks {
  padding-left: 5rem;
  padding-right: 5rem;
}
#tiktok {
  font-size: 1.8rem;
  background-color: lightblue;
  color: #e9f3ff;
  padding: 1rem;
  border-radius: 50%;
}
#instagram {
  background-color: lightblue;
  color: #e9f3ff;
  padding: 1rem;
  border-radius: 50%;
}
#wa {
  font-size: 1.8rem;
  background-color: lightblue;
  color: #e9f3ff;
  padding: 1rem;
  border-radius: 50%;
}
@media (max-width: 1366px) {
  html {
    font-size: 100%;
    min-height: auto;
  }
  .tema {
    font-size: medium;
    padding-left: 5rem;
  }
  .tema h1 {
    padding-top: 12rem;
  }
  .gambar-home {
    margin-top: 7rem;
  }
  .teks-produk-kami {
    padding-left: 5rem;
  }
  .card1 {
    margin-left: 6.5rem;
  }
  .teks-category {
    padding-left: 10rem;
  }
  .list-pengiriman {
    padding-left: 10rem;
  }
  .chat-wa {
    margin-left: 7rem;
  }
}
@media (max-width: 1100px) {
  .card1 {
    margin-left: 4.5rem;
  }
  .card {
    width: 16.5rem;
    height: 19rem;
  }
  .dropdown {
    font-size: small;
  }
}
@media (max-width: 910px) {
  hamburger {
    display: inline-block;
    margin-top: 2rem;
  }
  #hamburger {
    display: inline-block;
    margin-top: 2rem;
  }
  .toggle {
    display: flex;
  }
  html {
    font-size: 85%;
    color: #333;
  }
  .navbar {
    height: 75px;
  }
  .nav {
    position: fixed;
    top: 0;
    right: -100%;
    background-color: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    display: block;
    height: 100vh;
    transition: 0.5s linear;
    border-radius: 1rem;
  }
  .logo {
    margin: 3rem;
  }
  .nav li {
    transition: 0.2s;
    display: block;
  }
  .full {
    width: 100%;
    font-size: larger;
  }
  .nav li {
    padding-top: 2rem;
  }
  .nav li a {
    color: #333;
  }
  .nav.active {
    right: 0;
  }
  .navbar ul li a:hover::after {
    transform: scale(0);
  }
}
@media (max-width: 900px) {
  html {
    font-size: 65.5%;
  }
  .isi {
    height: auto;
  }
  .tema {
    padding-left: 8.5rem;
  }
  w .tema h1 {
    padding-top: 14rem;
  }
  .gambar-home {
    margin-top: 9.5rem;
  }
  .card1 {
    margin-left: 6.5rem;
  }
  /*tentang kami*/
  .card {
    height: 23rem;
    width: 20rem;
  }
  .teks-produk-kami h2 {
    font-size: 2rem;
  }
  .teks-produk-kami p {
    font-size: 1.2rem;
  }
  /*pengiriman*/
  .category {
    height: auto;
  }
  .bagian-teks {
    font-size: 1.1rem;
  }
  .chat-wa {
    margin-left: 10rem;
    margin-top: 9rem;
  }
  .chat-container {
    height: 34.5rem;
    width: 27rem;
  }
}

@media (max-width: 840px) {
  .tema {
    padding-left: 4.5rem;
  }
  .card1 {
    margin-left: 4.5rem;
  }
  /*tentang-kita*/
  .card {
    height: 20rem;
    width: 17rem;
  }
  .teks-produk-kami {
    padding-left: 4.5rem;
  }
  /*pengantaran*/
  .list-pengiriman {
    padding-left: 5rem;
  }
  .teks-category {
    padding-left: 5rem;
  }
  .chat-wa {
    margin-left: 4.5rem;
  }
  .chat-container {
    width: 24.5rem;
  }
}

@media (max-width: 680px) {
  .card1 {
    margin-left: 1.5rem;
  }
  .teks-produk-kami {
    padding-left: 3.5rem;
  }
  .tema {
    padding-left: 3.5rem;
  }
  .list-pengiriman {
    padding-left: 3.5rem;
  }
  .teks-category {
    padding-left: 3.5rem;
  }
}
@media (max-width: 600px) {
  .home {
    flex-direction: column;
  }
  .tema {
    width: 100%;
  }
  .tema h1 {
    font-size: 3.8rem;
    padding-top: 8rem;
  }
  .tema p {
    font-size: medium;
  }
  .tema .buy {
    font-size: 1.5rem;
  }
  .teks-produk-kami {
    padding-left: 2rem;
    font-size: small;
  }
  .gambar-home {
    width: 100%;
    margin-top: 2rem;
  }
  .card-flex-home {
    justify-content: center;
  }
  .card1 {
    margin-top: 0;
    height: 24.8rem;
    margin-left: 0;
  }
  .card2 {
    margin-top: 0;
    height: 13rem;
  }
  .card {
    width: 15rem;
    height: 17rem;
  }
  .dropdown {
    font-size: 8px;
  }
  .flex-category {
    flex-direction: column;
  }
  .teks-category {
    padding-top: 7.5rem;
    padding-right: 5rem;
  }
  .list-pengiriman {
    padding-right: 5rem;
  }
  .bagian-teks {
    width: 100%;
  }
  .bagian-wa {
    width: 100%;
    justify-content: center;
  }
  .chat-wa {
    margin-left: 0rem;
    margin-top: 4rem;
  }
}
