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

body {
  background-color: green;
  color: #fff;
  font-family: "Roboto", sans-serif;
  font-size: 16px;
}

.raffle-container {
  width: 80vw;
  margin: 0 auto;
  margin-top: 100px;
}

.raffle-inner {
  overflow: hidden;
  border-radius: 2px;
  border: 1px solid #3c3759;
  height: 215px;
  position: relative;
  background: #1a1a1a;
}

.roller-container {
  display: flex;
  /*   transition: all 15s cubic-bezier(0.08, 0.6, 0, 1) 0s;
 */
  transition: all 8s cubic-bezier(0.08, 0.6, 0, 1) 0s;
}

.raffle-element {
  margin: 6px 0px 5px 5px;
  width: 150px;
  height: 200px;
  border: 1px solid #70677c;
  background-size: 100%;
  background-repeat: no-repeat;
  background-position: center;
  flex: 0 0 150px;
  position: relative;
}

.raffle-element img {
  width: 100%;
  height: 70%;
  object-fit: contain;
  padding: 20px 15px;
  padding-bottom: 0;
}

.raffle-element p {
  text-align: center;
  margin-top: 15px;
  position: relative;
  font-weight: bold;
}

.raffle-inner:before {
  content: "";
  position: absolute;
  border: none;
  z-index: 12222225;
  width: 5px;
  height: 100%;
  left: 50%;
  background: white;
  transform: translateX(-50%);
  border-radius: 100%;
}

#open-case-button,
#refresh-case {
  background-color: rgb(36, 36, 232);
  border: none;
  color: white;
  padding: 15px 32px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  font-size: 16px;
  margin: 4px 2px;
  cursor: pointer;
  border-radius: 12px;
  margin-top: 20px;
  transition: background-color 0.3s;
  display: block;
  margin: 0 auto;
  margin-top: 25px;
}

#open-case-button:hover {
  background-color: #002aff;
}

.item-gradient {
  position: absolute;
  width: 100%;
  height: 100%;
}

.gold .item-gradient {
  background-image: linear-gradient(transparent 40%, rgb(255 215 0 / 100%));
}

.red .item-gradient {
  background-image: linear-gradient(transparent 40%, rgb(235 75 75 / 100%));
}

.purple .item-gradient {
  background-image: linear-gradient(transparent 40%, rgb(136 71 255 / 100%));
}

.pink .item-gradient {
  background-image: linear-gradient(transparent 40%, rgb(211 44 230 / 100%));
}

.blue .item-gradient {
  background-image: linear-gradient(transparent 40%, rgb(75, 105, 255));
}

.white .item-gradient {
  background-image: linear-gradient(transparent 40%, rgb(235 235 235 / 100%));
}

.black .item-gradient {
  background-image: linear-gradient(transparent 40%, rgb(0 0 0 / 100%));
}

.denied {
  width: fit-content;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}
