* {
  margin: 0;
  box-sizing: border-box;
}

body {
  font-family: "Roboto", sans-serif;
  background: #f7f6ff;
}

.select-box {
  display: flex;
  width: 180px;
  padding-bottom:0px;
  flex-direction: column;
}

.select-box .options-container {
  background: #2f3640;
  color: #f5f6fa;
  max-height: 0;
  width: 100%;
  opacity: 0;
  transition: all 0.4s;
  border-radius: 8px;
  overflow: hidden;
  order: 1;
}

.selected {
  height:50px;
  background: #2f3640;
  border-radius: 8px;
  padding: 40px;
  color: red;
  font-size:16px;font-weight:bold;
  position: relative;
  order: 0;
}

.select-box .options-container.active {
  max-height: 440px;
  opacity: 1;
  border:red dotted 2px;
}

.select-box .options-container.active + .selected.select-arrow:before {
  transform: rotateX(180deg);
      top: 23px;
 
}
.select-box .options-container.active + .selected.select-arrow:after{
  transform: rotateX(180deg);
  top: 26px;
}

.select-box .options-container::-webkit-scrollbar {
  width: 8px;
  background: #0d141f;
  border-radius: 0 8px 8px 0;
}

.select-box .options-container::-webkit-scrollbar-thumb {
  background: #525861;
  border-radius: 0 8px 8px 0;

}

.select-box .option,
.selected {
  padding: 14px 26px 5px 12px;
  cursor: pointer;
  border:yellow 0px solid;
}

.select-box .option:hover {
  background: #414b57;
}

.select-box label {
  cursor: pointer;
}

.select-box .option .radio {
  display: none;
}

.select-arrow select {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

.select-arrow {
    position: relative;
}

.select-arrow:before {
    content: "";
    position: absolute;
    right: 10px;
    top: 44px;
    width: 0;
    height: 0;
    border-left: 7px solid transparent;
    border-right: 7px solid transparent;
    border-top: 7px solid #ed3833;
}

.select-arrow:after {
    content: "";
    position: absolute;
    right: 10px ;
    top: 41px ;
    width: 0;
    height: 0;
    border-left: 7px solid transparent;
    border-right: 7px solid transparent;
    border-top: 7px solid #2f3640;
}

.selected.select-arrow:before{
    top: 24px;
}

.selected.select-arrow:after{
    top: 21px;
}

.select-arrow select:focus-visible, button.dex-btn:focus {
    outline: none;
}

@media only screen and (max-width: 1366px) {
  .superhero-title {
    padding-right: 0;
  }
}

@media only screen and (max-width: 1024px) {
  .drag-container > .powers-img {
    bottom: 150px;
    left: 200px;
  }
}

@media(max-width:991px){
  .superhero-title{
      font-size: 40px !important;
  }
  .ui-droppable {
    width: 100% !important;
    max-width: 100%;
  }
  ::-webkit-scrollbar {
      width: 16px;
  }
}

@media only screen and (max-width: 768px) {
  .drag-container > .powers-img {
    bottom: 220px;
    left: 290px;
  }
}

@media(max-width:768px){
  .superheroes-div { max-height: 75vh !important;}
  .superhero-list{ max-height: 36vh !important;}
  .background-list { max-height: 60vh !important;}
  .powers-list { max-height: 50vh !important; }
}
@media(max-width:575px){
  .superhero-title{ font-size: 30px !important; }
  .superheroes-div { max-height: 70vh !important;  }
  .superhero-list { max-height: 40vh !important; }
 .background-list { max-height: 44vh !important;}
}
@media(max-width:420px){
  .container.powers-list{ grid-template-columns: repeat(auto-fit, minmax(75px, 1fr)) !important; }
}

