* {
  box-sizing: border-box;
  padding: 0;
  max-width: 1440px;
  font-family: "Kumbh Sans";
  margin: 0 auto;
}
body {
  font-family: "Kumbh Sans";
}

nav {
  display: flex;
  width: 100%;
  padding: 30px 0;
  justify-content: space-between;
  align-items: center;
  box-shadow: 0 0.2px 0px 0 gray;
  margin-bottom: 60px;
}

.image_menu {
  display: flex;
  align-items: center;
  gap: 20px;
}

.image_menu ul {
  display: flex;
  gap: 40px;
  list-style-type: none;
  margin-left: 40px;
  color: hsl(219, 9%, 45%);
}
.cart_profile {
  display: flex;
  align-items: center;
  gap: 20px;
}
.cart_profile .avatar {
  width: 40px;
  margin-left: 30px;
}
main {
  height: 70vh;
  display: flex;
  align-items: center;
  margin: 0 auto;
  padding: 0 10px 0 100px;
}
.imageView {
  display: flex;
  width: 400px;
  flex-direction: column;
  gap: 25px;
  margin-left: 120px;
  align-self: flex-start;
}
.imageView > img {
  width: 400px;
  border-radius: 15px;
}
.otherImages {
  width: 400px;
  height: 80px;
  padding: 0;
  margin: 0;
}
.imageView > div > img {
  width: 18%;
  border-radius: 8px;
  margin: 0;
}
.textView {
  padding-top: 50px;
  width: 450px;
  margin-right: 250px;
  height: 100%;
}

.minor {
  margin-bottom: 20px;
  color: hsl(219, 9%, 45%);
  letter-spacing: 3px;
  font-size: small;
  font-weight: 700;
}
.main-text {
  font-size: 3rem;
  line-height: 1;
  margin-bottom: 40px;
}
.info {
  line-height: 1.5;
  color: hsl(219, 9%, 45%);
  font-size: 16px;
  margin-bottom: 25px;
}
.percent {
  background-color: black;
  border-radius: 5px;
  color: white;
  font-size: 16px;
  margin-left: 10px;
  padding: 3px 9px;
}
h2 {
  margin-bottom: 20px;
  display: inline-block;
}

.deleted {
  color: hsl(219, 9%, 45%);
  font-weight: 800;
  margin-bottom: 20px;
}

.buttons {
  width: 100%;
  height: 50px;
  display: flex;
  justify-content: space-between;
  gap: 10px;
}
.cartBtn {
  flex-basis: 64%;
  outline: none;
  border: none;
  background-color: hsl(26, 100%, 55%);
  color: hsl(220, 13%, 13%);
  font-size: 16px;
  font-weight: bolder;
  padding-bottom: 5px;
  border-radius: 7px;
}
.cartBtn svg {
  fill: hsl(220, 13%, 13%);
  transform: translateY(3px);
  scale: 80%;
  margin-right: 5px;
}
.AddBtn {
  flex-basis: 34%;
  border: none;
  outline: none;
  background-color: hsl(223, 64%, 98%);
  border-radius: 7px;
  display: flex;
  align-items: center;
  font-size: 18px;
  font-weight: bold;
}

.value {
  font-size: 21px;
}
.plus,
.minus {
  font-size: 30px;
  cursor: pointer;
  color: hsl(26, 100%, 55%);
  padding-bottom: 5px;
}
.plus {
  transform: translateX(-10px);
}
.minus {
  transform: translateX(10px);
}

.imagecont {
  width: 20%;
  display: inline-block;
  border-radius: 12px;
  cursor: pointer;
  padding: 0;
  margin: 0;
  height: 80px;
  /* margin-right: 25px; */
}
.imagecont img {
  width: 100%;
  border-radius: 10px;
  padding: 0;
  height: 100%;
  margin: 0;
}
.container-active {
  border: 3px solid hsl(26, 100%, 55%);
  width: 20%;
  height: 100%;
  margin: 0;
}
.container-active img {
  opacity: 0.4;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
}
.imagecont:not(:last-of-type) {
  margin-right: 22.5px;
}

footer {
  text-align: center;
  margin: 20px 0;
}
/* For small devices like phones (up to 600px wide) */
@media screen and (max-width: 600px) {
  main {
    flex-direction: column;
    height: auto;
    padding: 0 20px;
    margin: 0;
  }

  .imageView {
    margin-left: 0;
    width: 100%;
    align-self: center;
  }

  .imageView > img {
    width: 100%;
  }

  .otherImages {
    width: 100%;
  }

  .textView {
    padding-top: 20px;
    width: 100%;
    margin-right: 0;
    text-align: center;
  }

  .buttons {
    flex-direction: column;
    gap: 10px;
  }

  .cartBtn,
  .AddBtn {
    flex-basis: 100%;
    width: 100%;
  }
}

/* For medium devices like tablets (601px to 1024px wide) */
@media screen and (min-width: 601px) and (max-width: 1024px) {
  main {
    flex-direction: column;
    height: auto;
    padding: 0 30px;
    margin: 0;
  }

  .imageView {
    margin-left: 0;
    width: 100%;
    align-self: center;
  }

  .imageView > img {
    width: 100%;
  }

  .otherImages {
    width: 100%;
  }

  .textView {
    padding-top: 30px;
    width: 100%;
    text-align: center;
  }

  .buttons {
    flex-direction: row;
    justify-content: space-between;
    gap: 20px;
  }

  .cartBtn,
  .AddBtn {
    flex-basis: 48%;
  }
}

/* For larger screens (above 1024px) */
@media screen and (min-width: 1025px) {
  main {
    flex-direction: row;
    padding: 0 100px;
    height: 70vh;
    gap: 40px;
  }

  .imageView {
    margin-left: 120px;
    width: 400px;
  }

  .textView {
    padding-top: 50px;
    width: 450px;
    margin-right: 150px;
    text-align: left;
  }

  .buttons {
    flex-direction: row;
    justify-content: space-between;
    gap: 10px;
  }

  .cartBtn,
  .AddBtn {
    flex-basis: 64%;
  }
}
