* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: Arial, sans-serif;
}

@media (max-width: 768px) {
  body {
    background-color: #f0f4ff;
  }

  #navbar {
    display: flex;
    height: auto;
  }

  #logo img {
    height: 80px;
  }
}

#navbar {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  background-color: #0b3d91;
  color: whitesmoke;
  height: auto;
}

#logo {
  display: flex;
  justify-self: center;
  align-items: center;
}

#logo i {
  font-size: 10vh;
  color: white;
  line-height: 1;
  padding: 10px;
}

#logo img {
  width: 200px;
  height: auto;
  min-height: 90px;
}

input {
  width: 100%;
  padding: 10px;
  max-width: 300px;
  border: 1px solid black;
  border-radius: 10px;
}

#pages {
  display: flex;
  justify-content: space-evenly;
  align-items: center;
  min-width: 500px;
}

a {
  color: white;
  text-decoration: none;
  font-size: 18px;
}

a:hover {
  text-decoration: underline;
}

#mode i {
  font-size: 5vh;
}

.opacity:active {
  opacity: 0.5;
}

#profile {
  margin-right: 20px;
}

#profile img {
  object-fit: contain;
  height: 50px;
  width: 50px;
  border-radius: 50%;
}

body {
  background-color: #f0f4ff;
}

.hidden {
  display: none !important;
}

button:hover {
  transform: scale(1.1);
  transition: 0.3s;
}

button:active {
  opacity: 0.5;
}

.hover:hover {
  cursor: pointer;
}

.darkmode {
  background-color: #121212;
  color: #f1f1f1;
}

.darkmode #navbar {
  background-color: #0d1b2a;
}

.darkmode a {
  color: white;
}

.darkmode input {
  background-color: #2a2a2a;
  color: white;
  border: 1px solid #555;
}

.darkmode #cartUl li {
  background-color: #2a2a2a;
  color: white;
  border: 1px solid #555;
}

.darkmode #coupon {
  background-color: #2a2a2a;
  color: white;
  border: 1px solid #555;
}

.darkmode #summary {
  background-color: #2a2a2a;
  color: white;
  border: 1px solid #555;
}

.darkmode #discountTotalPriceSummary {
  color: lightgreen;
}

.darkmode #summarySecure {
  background-color: #2a2a2a;
  color: white;
  border: 1px solid #555;
}

.darkmode #summaryDownload {
  background-color: #2a2a2a;
  color: white;
  border: 1px solid #555;
}

.darkmode #summarySupport {
  background-color: #2a2a2a;
  color: white;
  border: 1px solid #555;
}

.darkmode #footer {
  background-color: #0d1b2a;
}

#footer {
  background-color: #0b3d91;
  color: white;
  margin-top: 50px;
  padding: 30px 20px;
}

#footer-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}

#footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

#footer-logo i {
  font-size: 35px;
}

#footer-logo h2 {
  font-size: 28px;
}

#footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

#footer-links a {
  color: white;
  text-decoration: none;
  font-size: 16px;
}

#footer-links a:hover {
  text-decoration: underline;
}

#footer-text {
  text-align: right;
}

#footer-text p {
  margin: 5px 0;
  font-size: 15px;
}

#cartContainer {
  display: flex;
  justify-content: space-evenly;
  margin: 10px;
}

#cartSaection {
  width: 100%;
  flex: 1;
}

#cartHead {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  padding: 20px;
}

#backToCart {
  display: flex;
  border: 1px solid #0b3d91;
  padding: 20px;
  color: black;
}

#backToCart i {
  padding-right: 30px;
}

#cartUl {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  margin: 60px;
  margin-top: 30px;
  margin-bottom: 0px;
  list-style: none;
}

#cartUl li {
  height: auto;
  width: 100%;
  background-color: #f8f9fa;
  box-shadow: 0px 0px 5px gray;
  border-radius: 20px;
  margin-bottom: 20px;
}

#product {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  margin: 20px;
  align-items: center;
  border-radius: 10px;
  background-color: #f0f4ff;
  padding: 10px;
}

#itemImg {
  display: flex;
  justify-content: center;
  height: 100%;
  width: 100px;
}

#imgTag {
  height: 100%;
  width: 100%;
  object-fit: contain;
  border: 1px solid black;
  border-radius: 5px;
}

#productBox {
  display: flex;
  flex-direction: column;
}

#productName {
  padding: 10px;
  width: 150px;
}

#productPrice {
  padding: 10px;
  padding-top: 0px;
}

#quantityBox {
  display: flex;
  display: flex;
  align-items: center;
  padding: 10px;
  border: 1px solid black;
  border-radius: 15px;
  justify-content: space-between;
  width: auto;
  min-width: 100px;
  margin: 10px;
}

#minusBox {
  font-size: 30px;
  line-height: 1;
}

#plusBox {
  font-size: 30px;
  line-height: 1;
}

#productCancel {
  height: 40px;
  width: 40px;
  display: flex;
  justify-content: center;
  font-size: 25px;
  color: red;
}

#productCancel:hover {
  cursor: pointer;
}

#cartUl p {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  margin: 50px;
  font-size: 30px;
  font-weight: 600;
}

#coupon {
  display: flex;
  margin: 20px;
  border: 1px dashed #121212;
  border-radius: 20px;
  box-shadow: 0 0 5px gray;
  background-color: #f8f9fa;
}

#couponHead {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 20px;
}

#couponHead i {
  margin-right: 10px;
}

#couponInput {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 20px;
}

#couponText {
  margin-right: 20px;
}

#couponBtn {
  padding: 10px;
  width: 100px;
  border: 1px solid #121212;
  border-radius: 10px;
  background-color: #0b3d91;
  color: white;
}

#summary {
  display: flex;
  flex-direction: column;
  margin: 20px;
  border-radius: 10px;
  box-shadow: 0 0 5px gray;
  background-color: #f8f9fa;
  padding: 20px;
  min-width: 350px;
}

#subTotalTextSummary {
  margin: 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

#discountTotalSummary {
  margin: 10px;
  margin-top: 0px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

#subTotalPriceSummary {
  font-weight: 600;
}

#discountTotalPriceSummary {
  color: green;
}

hr {
  box-shadow: 0px 0px 5px gray;
}

#TotalSummary {
  margin: 20px;
  margin-right: 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

#totalSummary {
  font-size: 20px;
}

#totalPriceSummary {
  color: #005eff;
  font-size: 30px;
  font-weight: 600;
}

#discountMsg {
  margin: 20px;
  margin-top: 10px;
  box-shadow: 0px 0px 5px gray;
  padding: 10px;
  background-color: rgb(204, 255, 204);
  color: green;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

#discountMsg i {
  margin-right: 20px;
  font-size: 30px;
}

#checkoutBtn {
  background-color: #0b3d91;
  border-radius: 10px;
  color: white;
  display: flex;
  justify-content: center;
  padding: 10px;
  font-size: 20px;
  width: 100%;
}

#checkoutBtn i {
  padding-right: 30px;
}

#offerBtn {
  margin-top: 20px;
  margin-bottom: 20px;
  background-color: #0b3d91;
  border-radius: 10px;
  color: white;
  display: flex;
  justify-content: center;
  padding: 10px;
  font-size: 20px;
  width: 100%;
}

#offerBtn i {
  padding-right: 30px;
}

#summarySecure {
  display: flex;
  align-items: center;
  font-size: 15px;
  padding: 10px;
  background-color: #f0f4ff;
  border-radius: 10px;
  box-shadow: 0px 0px 5px gray;
}

#summarySecure i {
  padding-right: 30px;
  font-size: 30px;
}

#summaryDownload {
  display: flex;
  align-items: center;
  font-size: 15px;
  padding: 10px;
  background-color: #f0f4ff;
  border-radius: 10px;
  box-shadow: 0px 0px 5px gray;
  margin-top: 20px;
}

#summaryDownload i {
  padding-right: 30px;
  font-size: 30px;
}

#summarySupport {
  display: flex;
  align-items: center;
  font-size: 15px;
  padding: 10px;
  background-color: #f0f4ff;
  border-radius: 10px;
  box-shadow: 0px 0px 5px gray;
  margin-top: 20px;
}

#summarySupport i {
  padding-right: 30px;
  font-size: 30px;
}

