* {
  color: #101010;
  font-family: monospace;
}

p {
  text-align: center;
}

ul, ol {
  padding-left: 32px;
  margin-left: 18px;
  transition: .5s;
  overflow-y: clip;
}

i[class="ri-mail-fill"]:hover {
  cursor: pointer;
}

hr {
  margin: 8px;
  border: 1px solid #101010
}

li {
  padding-right: 16px;
  user-select: none;
  -webkit-user-select: none;
}

li:hover {
  background-color: #aaa;
  cursor: pointer;
}

li:hover::before {
  content: "";
  display: inline-block;
  height: 15px;
  width: 16px;
  position: absolute;

  margin-left: -16px;

  z-index: -2;
  background-color: #aaa;
}

.selected:hover, .selected {
  z-index: -1;
  background-color: #9966ff;
}

.selected::before {
  content: "";
  display: inline-block;
  height: 15px;
  width: 16px;
  position: absolute;

  margin-left: -16px;

  z-index: -1;
  background-color: #9966ff !important;
}

body {
  margin: 0;
  padding: 8px;
  background-color: #ddd;

  display: flex;
  flex-direction: column;
  align-items: center;

  gap: 8px;
}

button, input, textarea {
  background-color: #ddd;
  padding: 6px;
  outline: none;
  border: 2px solid #101010;
  font-weight: normal;
  
  margin: 0;
  
  width: calc(7 * 15px);
  height: 16px;
}

button {
  font-weight: bold;
  height: 32px;
}

button:hover {
  background-color: #aaa;
  cursor: pointer;
}

input {
  width: calc(218px - 16px);
  font-weight: bold;
}

input::placeholder {
  font-weight: bold;
  color: #101010;
}

input:hover {
  background-color: #aaa;
}

#notifications {
  display: block;
  position: absolute;
  right: 6px;
}

#cart {
  min-height: calc(8 * 15px);
}

.price-add, .price-remove {
  position: absolute;
  margin-top: -28px;
  margin-left: calc(124px + 13px * 4);
}

.price-add {
  animation: slide-up 1s;
}

.price-remove {
  animation: slide-down 1s;
}

@keyframes slide-up {
  0% {
    opacity: 1;
    transform: translateY(0);
  }
  100% {
    opacity: 0;
    transform: translateY(-13px);
  }
}

@keyframes slide-down {
  0% {
    opacity: 1;
    transform: translateY(0);
  }
  100% {
    opacity: 0;
    transform: translateY(13px);
  }
}

.images {
  display: flex;
  height: 64px;
  justify-content: space-between;
}

img {
  margin: 3px;
  border-radius: 5px;
}

.notification {
  overflow: hidden;
  transition: 1s;
  animation: 1s normal notification-add;
  
  border: 2px solid blue;
  border-radius: 2px;
    
  background-color: rgba(37, 37, 206, .25);
  color: blue;
  
  padding: 0 8px;
  margin-bottom: 8px;

  cursor: pointer;
}

@keyframes notification-add {
  0% { 
    opacity: 0;
    height: 16px;
    transform: translateX(100%);
  }
  100% {
    opacity: 1;
    height: 16px;
    transform: translateY(0);
  }
}

@keyframes notification-remove {
  0% {
    opacity: 1;
    height: 16px;
    transform: translateY(0);
  }
  90% {
    opacity: 0;
    height: 16px;
    padding: 0 8px;
    margin-bottom: 8px;
    transform: translateX(100%);
  }
  100% {
    opacity: 0;
    height: 0;
    margin: 0;
    padding: 0;
  }
}

.choices {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 32px;
}

input[type="range"] {
  appearance: none;
  height: 4px;
  padding: 0;
  margin: 4px;

  background-color: #aaa;
  border: none;
}

input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  
  width: 8px;
  height: 16px;

  background: #101010;
  cursor: pointer;
}
