/* Global Styles */

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #fff;
  background-color: #1a1a1a;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: bold;
  color: #fff;
}

p {
  margin-bottom: 20px;
}

a {
  text-decoration: none;
  color: #337ab7;
}

a:hover {
  color: #23527c;
}

/* Header Styles */
header {
  background-color: #1a1a1a;
  padding: 20px;
  text-align: center;
}

.logo {
  margin: 20px;
}

.logo img {
  width: 150px;
  height: 150px;
  bottom: 50px;
  border-radius: 100%;
  border: 2px solid #F7DC6F;
  box-shadow: 0 0 15px rgba(255, 215, 0, 0.8);
}

nav ul {
  list-style: none;
  display: flex;
  justify-content: space-between;
}

nav li {
  margin-right: 20px;
}

nav a {
  color: #fff;
}

.popup {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 1000;
}

.popup-content {
  background-color: #fff;
  margin: 15% auto;
  padding: 20px;
  border: 1px solid #ddd;
  width: 80%; /* Adjusted width to 80% */
  max-width: 400px; /* Added max-width for mobile devices */
  border-radius: 5px;
  position: relative;
  overflow-y: auto; /* Added overflow-y to enable scrolling */
  max-height: 80vh; /* Added max-height to limit the height */
}

.close-button {
  position: absolute;
  top: 10px;
  right: 15px;
  border: none;
  background-color: transparent;
  cursor: pointer;
  font-size: 18px;
}

.popup-content {
  transition: opacity 0.5s;
}

.popup-content.show {
  animation: fadeIn 1s;
}

@keyframes fadeIn {
  0% { opacity: 0; }
  100% { opacity: 1; }
}
#syarat-dan-ketentuanPopup {
  display: none;
  position: center;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  margin-top: 100px;
  margin-left: 18px;
  padding: 20px;
  border: none;
  border-radius: 10px;
  background-color: transparent; /* Change background color to red */
}


/* Hero Section Styles */
.hero {
  background-color: #1a1a1a;
  border-radius: 10px;
  padding: 10px;
  text-align: center;
  color: #fff;
  border: 1px solid #ffc170;
  box-shadow: 0 0 15px rgba(255, 215, 0, 0.5);
}

.hero h1 {
  font-size: 36px;
  margin-bottom: 10px;
}

.hero p {
  font-size: 18px;
  margin-bottom: 20px;
}

.hero button {
  background-color: #337ab7;
  border-radius: 10px;
  color: #fff;
  border: none;
  padding: 10px 20px;
  font-size: 18px;
  cursor: pointer;
}

.hero button:hover {
  background-color: #23527c;
}

/* Product Section Styles */
.products {
  padding: 20px;
}

.product-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}

.product {
  width: 250px;
  margin: 20px;
  background-color: #1a1a1a;
  border-radius: 10px;
  border: 1px solid #fff;
  padding: 20px;
  box-shadow: 0 0 15px rgba(255, 215, 0, 0.5);
}

.product img {
  width: 100%;
  height: 150px;
  object-fit: cover;
  margin-bottom: 20px;
}

.product h3 {
  font-size: 18px;
  margin-bottom: 10px;
}

.product p {
  font-size: 14px;
  color: #fff;
  border-radius: 10px;
}

.product button {
  background-color: #337ab7;
  border-radius: 10px;
  color: #fff;
  border: none;
  padding: 10px 10px;
  font-size: 18px;
  cursor: pointer;
}

.product button:hover {
  background-color: #23527c;
}

/* Add this to your CSS file */
.website-status {
  text-align: center; /* Add this to center the entire container */
  font-size: 20px;
  color: #fff;
  margin-bottom: 10px;
}

.dot {
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  margin-right: 5px;
}
.status-text {
  font-weight: bold;
  text-align: center; /* Add this to center the text */
  background-color: #007bff; /* Warna biru */
  border-radius: 10px;
  border: 1px solid #ffc170;
  box-shadow: 0 0 15px rgba(255, 215, 0, 0.5);
  padding: 2px 10px; /* Adjust the padding to get the desired spacing */
  border-radius: 2px;
  margin-right: 10px;
 
}
.status-label {
  font-weight: normal;
}
/* Cart Section Styles */
.cart {
  width: 500px; /* tambahkan width untuk memperlebar kolom cart */
  background-color: #1a1a1a;
  border-radius: 10px;
  padding: 20px;
  border: 1px solid #fcc170;
  margin-top: 20px;
  margin-bottom: 20px;
  margin-left: 20px;
  margin-right: 20px;
  box-shadow: 0 0 15px rgba(255, 215, 0, 0.5);
}


.cart h2 {
  margin-top: 0;
}

#cart-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

#cart-list li {
  padding: 10px;
  border-bottom: 1px solid #fff;
  position: relative;
}

#cart-list li:last-child {
  border-bottom: none;
}

.remove-button {
  border: none;
  font-size: 18px;
  cursor: pointer;
  position: absolute;
  top: 30px;
  right: 0px;
   left: 40px;
  color: #FF0000;
}

#cart-total {
  font-weight: bold;
  font-size: 18px;
  margin-top: 20px;
}

#checkout-button {
  background-color: #337ab7;
  border-radius: 10px;
  color: #fff;
  border: none;
  padding: 10px 20px;
  font-size: 18px;
  cursor: pointer;
}

#checkout-button:hover {
  background-color: #23527c;
}

#clear-cart-button {
  background-color: #d9534f;
  border-radius: 10px;
  color: #fff;
  border: none;
  padding: 10px 20px;
  font-size: 18px;
  cursor: pointer;
}

#clear-cart-button:hover {
  background-color: #c9302c;
}


footer {
  background-color: #333;
  color: #fff;
  padding: 20px;
  text-align: center;
}

footer nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  justify-content: space-between;
}

footer nav li {
  margin-right: 20px;
}

footer nav a {
  color: #fff;
  text-decoration: none;
}

/* Page Styles */
#page1, #page2, #page3 {
  padding: 20px;
  text-align: center;
}

.about-us {
  padding: 20px;
  margin-top: 40px;
}

.about-us-bg {
  background-color: #1a1a1a;
  border-radius: 10px;
  padding: 20px;
  text-align: center;
  border: 1px solid #fcc170;
}

.about-us-bg h4 {
  color: #fff;
}

.about-us-bg p {
  color: #fff;
}

.logo-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}

.logo-kecil {
  width: 40px;
  height: 40px;
  margin: 5px;
  border-radius: 50%;
}

.logo-kecil img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.popup-content {
  background-color: #000000;
  padding: 10px;
  border-radius: 10px;
  box-shadow: 0 0 15px rgba(255, 215, 0, 0.8);
  border: 1px solid #fcc170;
  text-align: center;
  margin: 20px;
}

.popup-content h2 {
  margin-top: 10px;
  margin-bottom: 10px;
  margin-right: 40px;
  margin-left: 40px;
  background-color: #778899;
  margin-bottom: 20px;
  padding: 2px;
  border-radius: 10px;
  box-shadow: 0 0 15px rgba(255, 215, 0, 0.8);
}

.copyright {
  text-align: center;
  margin-top: 20px;
}
/* Confirmation Pop-up Styles */
#confirmationPopup {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  margin-top: 100px;
  margin-left: 18px;
  padding: 20px;
  border: none;
  border-radius: 10px;
  background-color: transparent; /* Change background color to red */
}

#confirmationPopup .popup-content {
  background-color: #00BFFF;
  padding: 10px;
  border-radius: 10px;
  box-shadow: 0 0 15px rgba(255, 215, 0, 0.8);
  border: 1px solid #fcc170;
  text-align: center;
  margin: 20px;
  color: #000; /* Change text color to black */
}

#confirmationPopup .popup-content h2 {
  margin-top: 10px;
  margin-bottom: 10px;
  margin-right: 40px;
  margin-left: 40px;
  background-color: #FF0000;
  margin-bottom: 20px;
  padding: 2px;
  border-radius: 10px;
  box-shadow: 0 0 15px rgba(255, 215, 0, 0.8);
  color: #000; /* Change text color to black */
}
.name-input {
  width: 250px; /* adjust the width to your liking */
  height: 30px; /* adjust the height to your liking */
  font-size: 18px; /* adjust the font size to your liking */
  padding: 10px; /* add some padding for better usability */
  border: 1px solid #ccc; /* add a border for better visibility */
  border-radius: 5px; /* add a border radius for a smoother look */
}
.choose-config{
  width: 200px; /* adjust the width to your liking */
  height: 50px; /* adjust the height to your liking */
  font-size: 18px; /* adjust the font size to your liking */
  padding: 10px; /* add some padding for better usability */
  border: 1px solid #ccc; /* add a border for better visibility */
  border-radius: 5px; /* add a border radius for a smoother look */
}

#confirmationPopup #yes-btn, #confirmationPopup #no-btn {
  font-size: 18px;
  padding: 10px 20px;
  border-radius: 10px;
  cursor: pointer;
  color: #000000; /* Change text color to white */
}

#confirmationPopup #yes-btn:hover, #confirmationPopup #no-btn:hover {
  background-color: #fff;
  color: #000000;
}

#confirmationPopup #no-btn {
  background-color: #c9302c; /* Change background color to dark red */
}

#confirmationPopup #no-btn:hover {
  background-color: #c9302c;
  color: #fff;
}

#yes-btn, #no-btn {
  font-size: 18px;
  padding: 10px 20px;
  border-radius: 10px;
  cursor: pointer;
}


#yes-btn:hover, #no-btn:hover {
  background-color: #337ab7;
  color: #fff;
}
