* {
  box-sizing: border-box;
  outline: none;
  padding: 0;
  margin: 0;
  text-decoration: none;
  border: none;
}
html {
  scroll-behavior: smooth;
}
body {
  font-family: "Poppins", sans-serif;
  background-color: #010101;
  color: #fff;
}
/* Navbar */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.4rem 7%;
  background: rgba(1, 1, 1, 1);
  border-bottom: 1px solid #b6895b;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 9999;
}
.navbar .navbar-logo {
  font-size: 2rem;
  font-weight: 700;
  color: #fff;
  font-style: italic;
}

.navbar .navbar-logo span {
  color: #b6895b;
}
.navbar .navbar-nav a {
  color: #fff;
  display: inline-block;
  font-size: 1.3rem;
  margin: 0 1rem;
}
.navbar .navbar-nav a:hover {
  color: #b6895b;
}
.navbar .navbar-nav a::after {
  content: "";
  display: block;
  padding-bottom: 0.5rem;
  border-bottom: 0.1rem solid #b6895b;
  transition: 0.2s linear;
  transform: scaleX(0);
}
.navbar .navbar-nav a:hover::after {
  transform: scaleX(0.5);
}
.navbar .navbar-extra a {
  color: #fff;
  margin: 0 0.5rem;
}
.navbar .navbar-extra a:hover {
  color: #b6895b;
}
#hamburger-menu {
  display: none;
}
.navbar .search-form {
  background-color: #fff;
  width: 50rem;
  height: 5rem;
  display: flex;
  align-items: center;
  position: absolute;
  top: 100%;
  right: 7%;
  transform: scaleY(0);
  transform-origin: top;
  transition: 0.3s;
}
.navbar .search-form.active {
  transform: scaleY(1);
}
.navbar .search-form input {
  height: 100%;
  width: 100%;
  font-size: 1.6rem;
  color: #010101;
  padding: 1rem;
}
.navbar .search-form label {
  cursor: pointer;
  margin-right: 1.5rem;
  font-size: 2rem;
  color: #010101;
}
.shopping-cart {
  position: absolute;
  top: 100%;
  right: -100%;
  background-color: #fff;
  width: 35rem;
  height: 100vh;
  transition: 0.3s;
  padding: 0 1.5rem;
  color: #010101;
}
.shopping-cart.active {
  right: 0;
}
.shopping-cart .cart-item {
  margin: 2rem 0;
  padding-bottom: 1rem;
  align-items: center;
  display: flex;
  gap: 1.5rem;
  border-bottom: 1px dashed #666;
  position: relative;
}
.shopping-cart img {
  height: 6rem;
  border-radius: 50%;
}
.shopping-cart h3 {
  font-size: 1.6rem;
  padding-bottom: 0.5rem;
}
.shopping-cart .item-price {
  font-size: 1.2rem;
}
.shopping-cart .remove-item {
  position: absolute;
  right: 1rem;
  cursor: pointer;
}
.shopping-cart .remove-item:hover {
  color: #b6895b;
}
.navbar .widget {
  height: 4rem;
  width: 16rem;
  background-color: #18a22f;
  border-radius: 1rem;
  position: fixed;
  margin-left: 70%;
  margin-bottom: -160vh;
}
.navbar .widget a {
  font-size: 1.4rem;
  cursor: pointer;
  height: 100%;
  width: 100%;
  color: #fff;
  text-shadow: 1px 1px 3px rgba(1, 1, 3, 0.5);
  display: flex;
  justify-content: center;
  align-items: center;
}
.navbar .widget img {
  padding: 0.5rem;
  width: 18%;
}
/* Hero section */
.hero {
  min-height: 100vh;
  width: 100vw;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.hero .content {
  position: absolute;
  padding: 1.4rem 3%;
  padding-right: 20%;
  width: 100%;
}
.hero .content h1 {
  font-size: 5em;
  color: #fff;
  text-shadow: 1px 1px 3px rgba(1, 1, 3, 0.5);
  line-height: 1;
}
.hero .content h1 span {
  color: #b6895b;
}
.hero .content p {
  font-size: 1.6rem;
  margin-top: 1rem;
  line-height: 1;
  font-weight: 300;
  text-shadow: 1px 1px 3px rgba(1, 1, 3, 0.5);
  /* mix-blend-mode: difference; */
}
.hero .content .cta {
  margin-top: 1rem;
  display: inline-block;
  padding: 1rem 3rem;
  font-size: 1.4rem;
  color: #fff;
  background-color: #b6895b;
  border-radius: 0.5rem;
  text-shadow: 1px 1px 3px rgba(1, 1, 3, 0.5);
}
.hero::after {
  display: block;
  content: "";
  width: 100vw;
  height: 65px;
  bottom: 0;
  margin-bottom: -65px;
  position: absolute;
  background: linear-gradient(
    0deg,
    rgba(1, 1, 3, 1) 20%,
    rgba(255, 255, 255, 0) 100%
  );
}
.slider {
  width: 100vw;
  height: 700px;
  border-radius: 10px;
  overflow: hidden;
}
.slides {
  width: 500%;
  height: 700px;
  display: flex;
}
.slides input {
  display: none;
}
.slide {
  width: 20%;
  transition: 2s;
}
.slide img {
  width: 100vw;
  height: 700px;
}

/* navigasi-manual */
.navigasi-manual {
  position: absolute;
  width: 100vw;
  margin-top: -100px;
  display: flex;
  justify-content: center;
}
.manual-btn {
  border: 2px solid #010101;
  padding: 8px;
  border-radius: 10px;
  cursor: pointer;
  transition: 1s;
}
.manual-btn:not(:last-child) {
  margin-right: 15px;
}
.manual-btn:hover {
  background: #010101;
}
#radio1:checked ~ .first {
  margin-left: 0;
}
#radio2:checked ~ .first {
  margin-left: -20%;
}
#radio3:checked ~ .first {
  margin-left: -40%;
}
#radio4:checked ~ .first {
  margin-left: -60%;
}
#radio5:checked ~ .first {
  margin-left: -80%;
}
/* automatis slider */
.navigasi-auto {
  position: absolute;
  justify-content: center;
  display: flex;
  width: 100vw;
  margin-top: 600px;
}
.navigasi-auto div {
  border: 2px solid #010101;
  padding: 8px;
  border-radius: 10px;
  transition: 1s;
}
.navigasi-auto div:not(:last-child) {
  margin-right: 15px;
}
#radio1:checked ~ .navigasi-auto .auto-btn1 {
  background: #010101;
}
#radio2:checked ~ .navigasi-auto .auto-btn2 {
  background: #010101;
}
#radio3:checked ~ .navigasi-auto .auto-btn3 {
  background: #010101;
}
#radio4:checked ~ .navigasi-auto .auto-btn4 {
  background: #010101;
}
#radio5:checked ~ .navigasi-auto .auto-btn5 {
  background: #010101;
}

/* About section */
.about,
.menu,
.products,
.contact {
  padding: 8rem 7% 1.4rem;
}
.about h2,
.menu h2,
.products h2,
.contact h2 {
  text-align: center;
  font-size: 2.6rem;
  margin-bottom: 3rem;
}
.about h2 span,
.menu h2 span,
.products h2 span,
.contact h2 span,
.about .row .content h3 span {
  color: #b6895b;
}
.about .row {
  display: flex;
}
.about .row .about-img {
  flex: 1 1 45rem;
}
.about .row .about-img img {
  width: 100%;
  border-radius: 1rem;
}
.about .row .content {
  flex: 1 1 35rem;
  padding: 0 1rem;
}
.about .row .content h3 {
  font-size: 1.8rem;
  margin-bottom: 1rem;
}
.about .row .content p {
  margin-bottom: 0.8rem;
  font-size: 1.3rem;
  font-weight: 300;
  line-height: 1.6;
}
/* Menu Section */
.menu h2,
.contact h2 {
  margin-bottom: 1rem;
}
.menu p,
.products p,
.contact p {
  text-align: center;
  max-width: 40%;
  margin: auto;
  font-weight: 300;
  line-height: 1.6rem;
}
.menu .row {
  display: flex;
  flex-wrap: wrap;
  margin-top: 5rem;
  justify-content: center;
}
.menu .row .menu-card {
  text-align: center;
  padding-bottom: 3rem;
}
.menu .row .menu-card img {
  border-radius: 50%;
  width: 60%;
}
.menu .row .menu-card .menu-card-title {
  margin: 1rem auto 0.5rem;
}
/* Produk section */
.products .row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(30rem, 1fr));
  gap: 1.5rem;
  margin-top: 4rem;
}
.products .product-card {
  text-align: center;
  border: 1px solid #666;
  border-radius: 0.4rem;
  padding: 2rem;
}
.products .product-icon {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
}
.products .product-icon a {
  height: 4rem;
  width: 4rem;
  border: 1px solid #666;
  color: #fff;
  margin: 0.3rem;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
}
.products .product-icon a:hover {
  color: #b6895b;
  border: 1px solid #b6895b;
}
.products .product-image {
  padding: 1rem 0;
}
.products .product-image img {
  height: 25rem;
  border-radius: 0.4rem;
}
.products .product-content {
  font-size: 2rem;
}
.products .product-stars {
  font-size: 1.7rem;
  padding: 0.8rem;
  color: #b6895b;
}
.products .product-stars .star-full {
  fill: #b6895b;
}
.products .product-price {
  font-size: 1.3rem;
  font-weight: bold;
}
.products .product-price span {
  text-decoration: line-through;
  font-weight: lighter;
  font-size: 1rem;
}
/* Contact section */
.contact .row {
  display: flex;
  margin-top: 2rem;
  background-color: #222;
}
.contact .row .map {
  flex: 1 1 45rem;
  width: 100%;
  object-fit: cover;
}
.contact .row form {
  flex: 1 1 45rem;
  padding: 5rem 2rem;
  text-align: center;
}
.contact .row form .input-group {
  display: flex;
  align-items: center;
  margin-top: 2rem;
  border-radius: 0.4rem;
  background-color: #010101;
  border: 1px solid #eee;
  padding-left: 2rem;
}
.contact .row form .input-group input {
  background: none;
  padding: 1.5rem;
  width: 100%;
  font-size: 1.7rem;
  color: #fff;
}
.contact .row form .btn-pesan {
  margin-top: 3rem;
  display: inline-block;
  color: #fff;
  background-color: #b6895b;
  font-size: 1.7rem;
  padding: 1rem 3rem;
  cursor: pointer;
}
/* Footer */
footer {
  background-color: #b6895b;
  margin-top: 3rem;
  padding: 1rem 0;
  text-align: center;
  padding-bottom: 3rem;
}
footer .socials {
  padding: 1rem 0;
}
footer .socials a {
  color: #fff;
  margin: 1rem;
}
footer .socials a:hover,
footer .links a:hover {
  color: #010101;
}
footer .links {
  margin-bottom: 1.4rem;
}
footer .links a {
  color: #fff;
  padding: 0.7rem 1rem;
}
footer .credit {
  font-size: 0.8rem;
}
footer .credit a {
  color: #010101;
  font-weight: 700;
}
/* Modal Box */
/* Item Detail */
.modal {
  display: none;
  position: fixed;
  z-index: 9999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(1, 1, 3, 0.7);
}
.modal-container {
  position: relative;
  background-color: #fefefe;
  color: #010101;
  margin: 15% auto;
  padding: 1.2rem;
  border: 1px solid #666;
  width: 80%;
  animation: animateModal 0.5s;
}
/* animation modal*/
@keyframes animateModal {
  from {
    top: -300px;
    opacity: 0;
  }
  to {
    top: 0;
    opacity: 1;
  }
}
.modal-container .close-icon {
  position: absolute;
  right: 1rem;
}
.modal-content {
  display: flex;
  flex-wrap: nowrap;
}
.modal-content img {
  height: 17rem;
  margin-right: 2rem;
  border-radius: 0.4rem;
  margin-bottom: 2rem;
}
.modal-content p {
  line-height: 1.8rem;
  margin-top: 1.2rem;
  font-size: 1.2rem;
}
.modal-content a {
  display: flex;
  gap: 1rem;
  width: 12rem;
  background-color: #b6895b;
  color: #fff;
  margin-top: 1rem;
  padding: 1rem 1.6rem;
  border-radius: 0.4rem;
}
/* Media Queries */

/* Laptop */
@media (max-width: 1366px) {
  html {
    font-size: 75%;
  }
}

/* Tablet */
@media (max-width: 768px) {
  html {
    font-size: 62.5%;
  }
  #hamburger-menu {
    display: inline-block;
  }
  .navbar .navbar-nav {
    position: absolute;
    top: 100%;
    right: -100%;
    background-color: #fff;
    width: 25rem;
    height: 100vh;
    transition: 0.3s;
  }
  .navbar .navbar-nav.active {
    right: 0;
  }
  .navbar .navbar-nav a {
    color: #010101;
    display: block;
    margin: 1.5rem;
    padding: 0.5rem;
    font-size: 2rem;
  }
  .navbar .navbar-nav a::after {
    transform-origin: 0 0;
  }
  .navbar .navbar-nav a:hover::after {
    transform: scaleX(0.2);
  }
  .navbar .search-form {
    width: 90%;
    right: 2rem;
  }
  .hero .content {
    padding-right: 10%;
  }
  .about .row {
    flex-wrap: wrap;
  }
  .about .row .about-img img {
    height: 24rem;
    object-fit: cover;
    object-position: center;
  }
  .about .row .content {
    padding: 0;
  }
  .about .row .content h3 {
    margin-top: 1rem;
    font-size: 2rem;
  }
  .about .row .content p {
    font-size: 1.6rem;
  }
  .menu p {
    font-size: 1.2rem;
  }
  .contact .row {
    flex-wrap: wrap;
  }
  .contact .row .map {
    height: 30rem;
  }
  .contact .row form {
    padding-top: 0;
  }
  .modal-content {
    flex-wrap: wrap;
  }
  .navbar .widget {
    margin-left: 50%;
    width: 20rem;
    height: 5rem;
  }
  .navbar .widget a {
    font-size: 1.7rem;
  }
}

/* Handphone */
@media (max-width: 450px) {
  html {
    font-size: 50%;
  }
}
