.attribution {
  font-size: 15px;
  text-align: center;
  padding: 0 0 40px 0;
}
.attribution a {
  color: hsl(26, 100%, 55%);
  font-weight: bold;
}
html {
  position: relative;
}
body {
  font-family: "Kumbh Sans", sans-serif;
  margin: 0;
  height: 100%;
  padding: 0 80px;
  position: relative;
}
.menuIcon {
  display: none;
}
.menu {
  display: none;
  width: 0;
  transition: 0.3s width;
}
header {
  display: flex;
  justify-content: space-between;
  padding: 10px;
  border-bottom: 1px solid hsl(220, 14%, 75%);
}
header ul {
  list-style-type: none;
  display: flex;
  gap: 20px;
  color: hsl(219, 9%, 45%);
}
header ul li {
  position: relative;
  cursor: pointer;
}
header ul li::after {
  content: "";
  position: absolute;
  bottom: -28px;
  left: 50%;
  width: 0;
  height: 2.5px;
  background-color: hsl(26, 100%, 55%);
  transform: translate(-50%, -50%);
  transition: 0.3s;
}
ul li:hover::after {
  width: 100%;
}

nav {
  display: flex;
  align-items: center;
}
nav img {
  height: fit-content;
}
.account {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  position: relative;
}
.account > span {
  position: relative;
}
.account .avatar {
  width: 40px;
  cursor: pointer;
}
.account .cart {
  cursor: pointer;
  width: 20px;
}
.mid {
  display: flex;
  align-items: center;
  margin: 80px 0;
  gap: 100px;
}
.imageShow,
.imageModel {
  max-width: 100%;
  border-radius: 15px;
}
.thumbnails {
  display: flex;
  justify-content: space-between;
  margin-top: 20px;
}
.thumbnails div,
.imageNav div {
  max-width: 20%;
  border-radius: 9px;
  max-height: 100%;
  overflow: hidden;
  position: relative;
}
.thumbnails img,
.imageNav img {
  max-width: 100%;
  border-radius: 5px;
  display: block;
}
.right h5 {
  font-weight: bold;
  color: hsl(219, 9%, 45%);
}
.right h1 {
  color: hsl(220, 13%, 13%);
}
.right p {
  color: hsl(219, 9%, 45%);
}
.right span:first-of-type {
  font-weight: bold;
  color: hsl(220, 13%, 13%);
  font-size: 25px;
}
.right span:nth-of-type(2) {
  font-weight: bold;
  background-color: hsl(220, 13%, 13%);
  color: hsl(223, 64%, 98%);
  padding: 5px;
  border-radius: 5px;
  margin-left: 10px;
}
.right span:nth-of-type(3) {
  font-weight: bold;
  color: hsl(219, 9%, 45%);
  text-decoration: line-through;
  display: block;
  margin: 10px 0;
}
.add {
  display: flex;
  gap: 15px;
  margin-top: 20px;
}
.add .counter {
  flex: 1;
  display: flex;
  background-color: hsl(223, 64%, 98%);
  color: hsl(220, 13%, 13%);
  font-size: 10px;
  justify-content: space-between;
  align-items: center;
  padding: 0 10px;
  border-radius: 5px;
}
.add button {
  flex: 2;
  border: none;
  background-color: hsl(26, 100%, 55%);
  color: hsl(220, 13%, 13%);
  font-weight: bold;
  padding: 10px 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border-radius: 5px;
}
button img {
  width: 15px;
}
.active {
  border: 2px solid hsl(26, 100%, 55%);
  position: relative;
}
.active span {
  background-color: hsl(223, 64%, 98%, 50%);
}
.active::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  background-color: hsl(223, 64%, 98%, 50%);
  border-radius: 7px;
}

.thumbnails div:hover::after,
.imageNav div:hover::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  background-color: hsl(223, 64%, 98%, 50%);
}

.basket {
  padding: 10px;
  width: 300px;
  position: absolute;
  top: 50px;
  left: 50%;
  transform: translateX(-50%);
  background: white;
  box-shadow: 0px 3px 12px 0px #c2bfbf;
  min-height: 200px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  display: none;
}
.basket h4 {
  border-bottom: 1px solid #888;
  margin-bottom: 0;
  padding-bottom: 15px;
  margin-top: 15px;
}
.basket p {
  text-align: center;
  color: hsl(219, 9%, 45%);
  font-weight: bold;
}
.basket .cartContent {
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.cont {
  position: relative;
  display: block;
  width: fit-content;
}
.cont::after {
  content: "";
  background-color: #8b1d1d;
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  z-index: 1;
}
.basket .box {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
}
.basket .box img {
  width: 50px;
  height: fit-content;
}
.basket .box img:last-of-type {
  width: 15px;
}
.basket .box p {
  margin: 0 0 5px 0;
  font-weight: normal;
}
.basket .box span:not(:last-of-type) {
  margin-right: 10px;
  color: hsl(219, 9%, 45%);
}
.basket .box span:last-of-type {
  font-weight: bold;
}
.basket button {
  border: none;
  background-color: hsl(26, 100%, 55%);
  color: hsl(220, 13%, 13%);
  font-weight: bold;
  padding: 15px 0;
  display: block;
  border-radius: 10px;
}
.account > span > div:first-of-type {
  position: relative;
}
.account .cartCount {
  position: absolute;
  top: 0;
  right: 0;
  transform: translate(50%, -50%);
  background-color: hsl(26, 100%, 55%);
  color: white;
  border-radius: 40%;
  width: 19px;
  height: 12px;
  font-size: 10px;
  font-weight: bold;
  align-items: center;
  justify-content: center;
  display: none;
}
.account .avatar:hover {
  border: 2px solid hsl(26, 100%, 55%);
  border-radius: 50%;
}
.icon:hover {
  fill: orange;
}
.close:hover {
  filter: brightness(1.2) sepia(1) hue-rotate(-10deg) saturate(500%);
}
.arrow {
  display: none;
}
body > .box {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  background-color: hsl(0, 0%, 0%, 75%);
}
.box .next {
  position: absolute;
  top: 50%;
  right: 0;
  transform: translate(50%, -50%);
  background-color: white;
  padding: 10px 12.5px;
  border-radius: 50%;
}
.box .prev {
  position: absolute;
  top: 50%;
  left: 0;
  transform: translate(-50%, -50%);
  background-color: white;
  padding: 10px 12.5px;
  border-radius: 50%;
}
.box .close {
  position: absolute;
  top: 0;
  right: 0;
  transform: translateY(-120%);
}
.box .imageNav {
  display: flex;
  justify-content: space-between;
  margin-top: 20px;
}
body > .box > div {
  position: absolute;
  width: 500px;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}
@media (width<400px) {
  header ul {
    display: none;
  }
  body {
    padding: 0;
    margin: 0;
  }
  .account .avatar {
    width: 25px;
  }
  .mid {
    flex-direction: column;
    margin: 0;
    gap: 10px;
  }
  .left .imageShow {
    border-radius: 0px;
  }
  .thumbnails {
    display: none;
  }
  .right {
    padding: 0 20px;
  }
  .right span:nth-of-type(3) {
    display: inline;
    float: right;
  }
  .add {
    flex-direction: column;
    margin-bottom: 20px;
  }
  .menuIcon {
    display: block;
    margin-right: 10px;
  }
  .menu {
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    width: 60%;
    background-color: hsl(223, 64%, 98%);
    height: 100%;
    padding: 0 20px;
    transition: 0.3s;
    z-index: 2;
    transform: scaleX(0);
    transform-origin: left center;
  }
  .menu img {
    margin-top: 20px;
  }
  .darkLayer {
    display: none;
    position: absolute;
    content: "";
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    background-color: rgba(0, 0, 0, 0.75);
    z-index: 2;
  }
  .menu ul {
    list-style-type: none;
    padding-left: 0;
  }
  .menu ul li {
    font-weight: bold;
    margin-bottom: 15px;
  }
  .basket {
    margin: 0 auto;
    position: fixed;
    box-shadow: none;
    border-radius: 10px;
    z-index: 3;
  }
  .arrow {
    display: block;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: hsl(223, 64%, 98%);
    width: 10px;
    height: 10px;
    padding: 10px;
    border-radius: 50%;
  }
  .left > div {
    position: relative;
  }
  .arrow.next {
    right: 20px;
  }
  .arrow.prev {
    left: 20px;
  }
}
