.title {
  margin-left: 190px;
}

.title img {
  width: 300px;
}

.char {
  position: relative;
  /* margin-top: 20px; */
  margin-left: 160px;
}

.char-img {
  position: absolute;
  top: -60px;
  left: -100px;
  width: 500px;
  animation-name: float;
  animation-duration: 1s;
  animation-timing-function: ease-in-out;
  animation-iteration-count: infinite;
}

.outer-selected-items-container {
  display: flex;
  margin-top: 460px;
  /* outline: 1px solid yellow; */
  width: 590px;
}

.inner-selected-items-container {
  width: 550px;
}

.mana-algo-container {
  display: flex;
  justify-content: space-between;
  width: 500px;
  /* outline: 2px solid yellow; */
}

.mana {
  position: relative;
  /* outline: 1px solid yellow; */
}

.mana img {
  width: 140px;
}

.mana p {
  top: 12px;
  left: 20px;
  position: absolute;
  font-size: 14px;
  letter-spacing: 1.5px;
}

.btn-group.dropup {
  display: flex;
  align-items: end;
}

.btn.btn-secondary.dropdown-toggle {
  background-image: url("../img/dropup.png");
  display: flex;
  justify-content: space-between;
  background-color: transparent;
  background-size: contain;
  background-repeat: no-repeat;
  border: none !important;
  width: 260px;
  height: 40px;
  padding-left: 16px;
  font-size: 14px;
  letter-spacing: 1.5px;
  text-align: start;
}

.btn.btn-secondary.dropdown-toggle img {
  width: 16px;
  margin-bottom: 3px;
}

.btn.btn-secondary.dropdown-toggle .show {
  background-color: aquamarine;
}

.selected-items {
  position: relative;
}

.selected-items img {
  width: 500px;
}

.dropup .dropdown-toggle::after {
  display: none !important;
}

.dropdown-menu.show {
  margin: 1000px;
  transform: translateX(124px) translateY(-30px) !important;
  background-color: transparent;
}

.dropdown-item {
  background-image: url("../img/algos.png");
  background-color: transparent;
  background-size: contain;
  background-repeat: no-repeat;
  border: none !important;
  width: 180px !important;
  font-size: 12px;
  color: #fff !important;
  letter-spacing: 1.5px;
  margin-bottom: 5px;
  padding: 0;
}

.dropdown-item:hover {
  background-color: transparent !important;
  cursor: pointer;
}

.go-btn {
  display: flex;
  align-items: end;
  cursor: pointer !important;
  pointer-events: none;
  opacity: 0.5;
  transition: all 150ms;
}

.go-btn img {
  width: 80px;
  transition: all 150ms;
}

.go-btn:hover img {
  width: 84px;
  transform: translateX(2px);
  opacity: 0.8;
  transition: all 150ms;
}

.go-btn:active img {
  width: 82px;
  transform: translateX(1px);
  opacity: 0.4;
  transition: all 150ms;
}

.items-box-container {
  /* outline: 2px solid yellow; */
  padding: 0;
  width: 458px;
  display: flex;
  justify-content: space-between;
  position: absolute;
  top: 20px;
  left: 22px;
  /* border: 1px solid white; */
}

.box-container {
  position: relative;
  background-size: contain;
  width: 50px;
  height: 50px;
  margin-top: -2px;
}

.box-container:nth-child(1),
.box-container:nth-child(2) {
  background-image: url("../img/item-box-normal.png");
}

.box-container:nth-child(3),
.box-container:nth-child(4) {
  background-image: url("../img/item-box-rare.png");
}

.box-container:nth-child(5),
.box-container:nth-child(6) {
  background-image: url("../img/item-box-epic.png");
}

.box-container:nth-child(7),
.box-container:nth-child(8) {
  background-image: url("../img/item-box-legendary.png");
  box-shadow: -1px -2px 23px -3px rgba(255, 18, 18, 1);
  -webkit-box-shadow: -1px -2px 23px -3px rgba(255, 18, 18, 1);
  -moz-box-shadow: -1px -2px 23px -3px rgba(255, 18, 18, 1);
}

.box {
  position: absolute;
  background-size: contain;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  top: 1px;
  left: 2px;
  width: 47px;
  height: 47px;
  transition: all 250ms;
  /* outline: 4px solid white; */
  border-radius: 4px;
}

.box img {
  width: 78%;
}

.box:hover {
  cursor: pointer;
  background-color: rgba(0, 0, 0, 0.2);
  transition: all 150ms;
}

.delete-item-btn {
  position: absolute;
  background-color: red;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  font-size: 10px;
  text-align: center;
  line-height: 20px;
  top: -8px;
  right: -8px;
  color: #fff;
  pointer-events: none;
  transition: all 150ms;
  opacity: 0;
}

.delete-item-btn:hover {
  opacity: 0.6 !important;
}

.chosen-wrapper {
  position: absolute;
  display: flex;
  justify-content: space-between;
  column-gap: 12px;
  bottom: -420px;
  left: 56px;
}

.box-container-chosen {
  position: relative;
  background-image: url("../img/chosen-item.png");
  background-size: contain;
  width: 48px;
  height: 48px;
  opacity: 0;
  transition: 500ms;
  transform: translateY(20px);
}

.box-chosen {
  position: absolute;
  background-size: contain;
  top: 2px;
  left: 2px;
  width: 45px;
  height: 45px;
  transition: all 250ms;
  /* outline: 2px solid yellow; */
  border-radius: 4px;
}

.box-chosen img {
  width: 100%;
}

.stat-buff-container {
  position: absolute;
  top: 220px;
  right: 180px;
  transform: translateY(20px);
  opacity: 0;
  transition: all 750ms;
  animation-name: floatPlain;
  animation-timing-function: ease-in-out;
  animation-duration: 3s;
  animation-iteration-count: infinite;
  /* background-color: salmon; */
}

.stat-buff-arrow {
  position: absolute;
  top: -10px;
  left: -10px;
  animation-name: upRepeat;
  animation-timing-function: ease-in-out;
  animation-duration: 750ms;
  animation-iteration-count: infinite;
  /* background-color: salmon; */
}

.stat-buff-text {
  position: absolute;
  top: 10px;
  left: 25px;
  letter-spacing: 1.5px;
}

.go-reset-wrapper {
  /* border: 2px solid white; */
}
.reset-btn {
  cursor: pointer;
  margin-top: 5px;
  margin-bottom: 10px;
  margin-left: 4px;
  color: #fff;
  text-align: center;
  width: 40px;
  transition: all 150ms;
  visibility: hidden;
}

.reset-btn:hover {
  opacity: 0.6;
  transition: all 150ms;
}
