@font-face {
  font-family: "Bourgeois W00 Light1448548";
  src: url("/assets/fonts/1448548/ebdd3c8a-23f7-4ba7-920a-192f5fff79ad.eot?#iefix");
  src: url("/assets/fonts/1448548/ebdd3c8a-23f7-4ba7-920a-192f5fff79ad.eot?#iefix") format("eot"), url("/assets/fonts/1448548/a721c060-d630-4e45-8c03-2ad734ce0f61.woff2") format("woff2"), url("/assets/fonts/1448548/3b567af5-cc8f-450c-8d6e-51cc1544f0b4.woff") format("woff"), url("/assets/fonts/1448548/dbe779a8-48e0-4765-84a9-f87c9ec520fb.ttf") format("truetype"), url("/assets/fonts/1448548/ea7cb327-0ebe-4499-a34a-91166c9701d5.svg#ea7cb327-0ebe-4499-a34a-91166c9701d5") format("svg");
}
@font-face {
  font-family: "Bourgeois W00 Book";
  src: url("/assets/fonts/1448553/bf9e54b6-d204-4632-a369-3d05675bc374.eot?#iefix");
  src: url("/assets/fonts/1448553/bf9e54b6-d204-4632-a369-3d05675bc374.eot?#iefix") format("eot"), url("/assets/fonts/1448553/a77a42da-4201-4999-87c1-475b607a14b5.woff2") format("woff2"), url("/assets/fonts/1448553/b36e8b10-feed-41f1-8af5-f69cd1490aff.woff") format("woff"), url("/assets/fonts/1448553/d1f1213d-ff34-49ef-90ba-868cb3c63503.ttf") format("truetype"), url("/assets/fonts/1448553/fc9c20e0-6d2c-461a-bf7d-5712c178dd17.svg#fc9c20e0-6d2c-461a-bf7d-5712c178dd17") format("svg");
}

body {
  margin: 0;
  background-image: url("img/bg.png");
  background-repeat: no-repeat;
  background-size: cover;
}

body:after {
  content: '';
  position: absolute;
  height: 100vh;
  width: 100%;
  top: 0;
  left: 0;
  z-index: -1;
  background-image: url("img/champcrate1.png");
  background-repeat: no-repeat;
  background-position: 100px 0px;
  background-size: 40%;
  opacity: 0.5;
}

.wheel {
  background-color: rgba(000, 000, 000, 0.35);
  background-color: #072646;
  overflow: hidden;
  position: relative;
}

.wheel:before,
.wheelouter:before {
  content: '';
  width: 100%;
  height: 150px;
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  background: -moz-linear-gradient(top,  rgba(0,33,66,0.9) 17%, rgba(6,37,71,0) 100%);
  background: -webkit-linear-gradient(top,  rgba(0,33,66,0.9) 17%,rgba(6,37,71,0) 100%);
  background: linear-gradient(to bottom,  rgba(0,33,66,0.9) 17%,rgba(6,37,71,0) 100%);
  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#e6002142', endColorstr='#00062547',GradientType=0 );
  z-index: 1000;
}

.wheel:after,
.wheelouter:after {
  content: '';
  width: 100%;
  height: 150px;
  display: block;
  position: absolute;
  bottom: 0;
  left: 0;
  background: -moz-linear-gradient(top,  rgba(6,37,71,0) 0%, rgba(0,33,66,0.9) 83%);
  background: -webkit-linear-gradient(top,  rgba(6,37,71,0) 0%,rgba(0,33,66,0.9) 83%);
  background: linear-gradient(to bottom,  rgba(6,37,71,0) 0%,rgba(0,33,66,0.9) 83%);
  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#00062547', endColorstr='#e6002142',GradientType=0 );
  z-index: 1000;
}

.wheel,
.inviswheel {
  height: 100vh;
  width: 262px;
  margin: 0 auto;
  display: block;
}

.wheel .needle {
  position: absolute;
  display: block;
  height: 3px;
  background-color: #ddecf8;
  width: 85%;
  top: 50%;
  -webkit-transform: translateY(-50%);
  -ms-transform: translateY(-50%);
  transform: translateY(-50%);
  z-index: 998;
  box-shadow: 0px 0px 7px 2px rgba(82, 175, 255, 0.75);
  transition: opacity 0.3s ease;
  margin: 0 auto;
  left: 0;
  right: 0;
}

.inviswheel {
  background-color: transparent;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
}

.inviswheel .arrow {
  top: 50%;
  -webkit-transform: translateY(-50%);
  -ms-transform: translateY(-50%);
  transform: translateY(-50%);
  z-index: 999;
  transition: opacity 0.3s ease;

  background-image: url("img/needlearrow.png");
  background-repeat: no-repeat;
  background-position: center center;
  background-size: contain;
  display: block;
  position: absolute;
  height: 256px;
  width: 128px;
}

.inviswheel .arrow.left {
  left: -60px;
}

.inviswheel .arrow.right {
  right: -60px;
  transform: rotateZ(180deg);
  top: calc(50% - 128px);
}

.items {
  height: 100%;
  width: 100%;
  position: absolute;
  transition: opacity 0.3s ease;
}

.wheel.stopped .items,
.wheel.stopped .needle,
.inviswheel.stopped .arrow {
  opacity: 0;
}

.item,
.itemdummy {
  width: 246px;
  height: 281px;
  border-radius: 10px;
  background-color: #000000;
  background-repeat: no-repeat;
  background-size: contain;
  background-position: top center;
  margin: 5px auto;
  position: relative;
  overflow: hidden;
  transition: all 0.4s ease;
  filter: brightness(100%);
  -webkit-box-shadow: 0px 0px 12px 1px rgba(0,0,0,0.75);
  -moz-box-shadow: 0px 0px 12px 1px rgba(0,0,0,0.75);
  box-shadow: 0px 0px 12px 1px rgba(0,0,0,0.75);
}

.item.needlehover:after {
  content: '';
  position: absolute;
  height: 100%;
  width: 100%;
  background-color: transparent;
  background-image: url("img/productglow.png");
  background-repeat: no-repeat;
  background-position: left;
  background-size: contain;
  display: block;
  top: 0;
  left: 0;
  z-index: 1003;
}

.item.selected {
  position: absolute;
  z-index: 999;
  margin: 0 auto;
  left: 0;
  right: 0;
  transition: all 0.4s ease;
}

.item.selected.scale {
  opacity: 0.93;
  filter: brightness(117%);
  top: 50% !important;
  -webkit-transform: translateY(-50%) scale(1.55);
  -ms-transform: translateY(-50%) scale(1.55);
  transform: translateY(-50%) scale(1.55);
  -webkit-box-shadow: 0px 0px 12px 2px rgba(0,0,0,1);
  -moz-box-shadow: 0px 0px 12px 2px rgba(0,0,0,1);
  box-shadow: 0px 0px 12px 2px rgba(0,0,0,1);
}

.item:before,
.itemdummy:before {
  content: '';
  height: 100%;
  width: 100%;
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  box-shadow: inset 0px 0px 15px 2px rgba(000, 000, 000, 1);
}

.item.selected.scale:before {
  box-shadow: inset 0px 0px 12px 2px rgba(000, 000, 000, 1);
}

.item span,
.itemdummy span {
  color: #ffffff;
  font-family: 'Roboto', sans-serif;
  font-size: 19px;
  display: block;
  position: absolute;
  bottom: 20px;
  width: 100%;
  text-align: center;
  text-shadow: 0px 0px 6px rgba(0, 0, 0, 1);
}

.item.is--import span,
.itemdummy.is--import span {
  color: #B25D60;
}

.item.is--import:before,
.itemdummy.is--import:before {
  background: linear-gradient(to bottom,rgba(227,90,82,.15) 0,rgba(227,90,82,.20) 80%);
}

.item.is--very-rare span,
.itemdummy.is--very-rare span {
  color: #8067d7;
}

.item.is--very-rare:before,
.itemdummy.is--very-rare:before {
  background: linear-gradient(to bottom,rgba(158,124,252,.15) 0,rgba(158,124,252,.20) 80%);
}

.item.is--blackmarket span,
.itemdummy.is--blackmarket span {
  color: #D752C5;
}

.item.is--blackmarket:before,
.itemdummy.is--blackmarket:before {
  background: linear-gradient(to bottom,rgba(255,0,255,.15) 0,rgba(255,0,255,.20) 80%);
}

.item.is--exotic span,
.itemdummy.is--exotic span {
  color: #dce390;
}

.item.is--exotic:before,
.itemdummy.is--exotic:before {
  background: linear-gradient(to bottom,rgba(236,219,108,.15) 0,rgba(236,219,108,.20) 80%);
}


.flipcontainer {
  position: absolute;
  margin: 10px auto;
  width: 100%;
  height: 100vh;
  z-index: 1;
  perspective: 1000;
  perspective: 1000px;
  z-index: 999;
  margin: 0 auto;
  left: 0;
  right: 0;
}

.flipcontainer .item {
  transform-style: preserve-3d;
  filter: none !important;
  overflow: visible !important;
}

.flipcontainer .item span {
  color: #D752C5;
}

.flipcontainer .item:before {
  border-radius: 10px;
}

.flipcontainer .item .front:before,
.flipcontainer .item .back:before,
.items .item .front:before,
.items .itemdummy .front:before {
  content: '';
  height: 100%;
  width: 100%;
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  border-radius: 10px;
  box-shadow: inset 0px 0px 15px 2px rgba(000, 000, 000, 1);
  background: linear-gradient(to bottom,rgba(255,0,255,.15) 0,rgba(255,0,255,.20) 80%);
}

.flipcontainer .item .front,
.flipcontainer .item .back {
  background-color: #000000;
  border-radius: 10px;
  position: absolute;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
  background-repeat: no-repeat;
  background-position: top;
  background-size: contain;
}

.items .item .front,
.items .itemdummy .front {
  background-color: #000000;
  border-radius: 10px;
  position: absolute;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
  background-repeat: no-repeat;
  background-position: top;
  background-size: contain;
}

.items .item .back,
.items .itemdummy .back {
  display: none;
}

.flipcontainer .item .back {
  display: block;
  transform: rotateY(180deg);
}

.item.flipscale {
  top: 50% !important;
  -webkit-transform: translateY(-50%) scale(1.55) rotateY(180deg);
  -ms-transform: translateY(-50%) scale(1.55) rotateY(180deg);
  transform: translateY(-50%) scale(1.55) rotateY(180deg);
  -webkit-box-shadow: 0px 0px 12px 2px rgba(0,0,0,1);
  -moz-box-shadow: 0px 0px 12px 2px rgba(0,0,0,1);
  box-shadow: 0px 0px 12px 2px rgba(0,0,0,1);
}

.wheelouter {
  position: absolute;
  height: 100vh;
  width: calc(262px + (46px*2));
  margin: 0 auto;
  display: block;
  left: 0;
  right: 0;
  background: transparent;
  z-index: 9;
}

.wheelouter .linesleft {
  background-image: url("img/lines.png");
  background-repeat: repeat-y;
  background-position: right;
  background-size: contain;
  width: 46px;
  height: 100%;
  float: left;
}

.wheelouter .linesright {
  background-image: url("img/lines.png");
  background-repeat: repeat-y;
  background-position: right;
  background-size: contain;
  width: 46px;
  height: 100%;
  float: right;
  transform: rotateY(180deg);
}


.item .flash,
.itemdummy .flash {
  position: absolute;
  top: 50% !important;
  -webkit-transform: translateY(-50%) scale(0);
  -ms-transform: translateY(-50%) scale(0);
  transform: translateY(-50%) scale(0);
  margin: 0 auto;
  left: 0;
  right: 0;
  height: 128px;
  width: 128px;
  background-image: url("img/flash.png");
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  opacity: 0;
  filter: blur(10px);
  transition: all 0.4s ease;
  z-index: 1001;
}

.item .flash.active
.itemdummy .flash.active {
  /*transform: translateY(-50%) scale(2);*/
  animation: flash 0.4s linear;
}

@keyframes flash {
    0%   {opacity: 0; transform: translateY(-50%) scale(0);}
    25%  {opacity: 0.1;}
    50%  {opacity: 0.4;}
    75%  {opacity: 0.5;}
    80%  {opacity: 0.2;}
    100% {opacity: 0; transform: translateY(-50%) scale(2.5);}
}



.wheelouter .glow {
  position: absolute;
  top: 50% !important;
  -webkit-transform: translateY(-50%) scale(3.3);
  -ms-transform: translateY(-50%) scale(3.3);
  transform: translateY(-50%) scale(3.3);
  margin: 0 auto;
  left: 0;
  right: 0;
  height: 256px;
  width: 256px;
  background-image: url("img/glow.png");
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  opacity: 0;
  display: none;
  transition: all 0.4s ease;
  z-index: 1002;
}

.wheelouter .glow.is--import {
  background-image: url("img/glow_colored.png");
  -webkit-filter: brightness(150%);
  filter: brightness(150%);
}

#itemnameglow.is--import {
  -webkit-filter: brightness(150%);
  filter: brightness(150%);
}

.wheelouter .glow.is--very-rare {
  background-image: url("img/glow_colored.png");
  -webkit-filter: brightness(150%) hue-rotate(270deg);
  filter: brightness(150%) hue-rotate(270deg);
}

#itemnameglow.is--very-rare {
  -webkit-filter: brightness(150%) hue-rotate(270deg);
  filter: brightness(150%) hue-rotate(270deg);
}

.wheelouter .glow.is--exotic {
  background-image: url("img/glow_colored.png");
  -webkit-filter: brightness(150%) hue-rotate(90deg);
  filter: brightness(150%) hue-rotate(90deg);
}

#itemnameglow.is--exotic {
  -webkit-filter: brightness(150%) hue-rotate(90deg);
  filter: brightness(150%) hue-rotate(90deg);
}

.wheelouter .glow.is--blackmarket {
  background-image: url("img/glow_colored.png");
  -webkit-filter: brightness(100%) hue-rotate(340deg) contrast(240%);
  filter: brightness(100%) hue-rotate(340deg) contrast(240%);
}

#itemnameglow.is--blackmarket {
  -webkit-filter: brightness(100%) hue-rotate(340deg) contrast(240%);
  filter: brightness(100%) hue-rotate(340deg) contrast(240%);
}

.wheelouter .glow.active {
  -webkit-animation: pulsating 1.5s ease-in-out infinite alternate;
  -moz-animation: pulsating 1.5s ease-in-out infinite alternate;
  animation: pulsating 1.5s ease-in-out infinite alternate;
}

/* webkit */
@-webkit-keyframes pulsating {
  from {
    opacity: 0.6;
  }
  to {
    opacity: 0.9;
  }
}

/* mozilla */
@-moz-keyframes pulsating {
  from {
    opacity: 0.6;
  }
  to {
    opacity: 0.9;
  }
}

/* everything else */
@keyframes pulsating {
  from {
    opacity: 0.6;
  }
  to {
    opacity: 0.9;
  }
}

#lefttext {
  position: absolute;
  top: 50% !important;
  -webkit-transform: translateY(-50%);
  -ms-transform: translateY(-50%);
  transform: translateY(-50%);
  height: 140px;
  width: calc(50% - 220px);
  text-align: right;
  text-transform: uppercase;
}

#opening {
  font-family: 'Bourgeois W00 Light1448548', sans-serif;
  font-size: 128px;
  color: #2c628b;
  font-weight: lighter;
  display: block;
  height: 100px;
}

#cratetitle {
  font-family: 'Bourgeois W00 Book' ,sans-serif;
  font-size: 48px;
  color: #fbffff;
  font-weight: normal;
  text-shadow: 0px 0px 9px rgba(86, 179, 244, 1);
  display: block;
  margin-right: 7px;
}

#righttext {
  position: absolute;
  top: 50% !important;
  -webkit-transform: translateY(-50%);
  -ms-transform: translateY(-50%);
  transform: translateY(-50%);
  height: 90px;
  width: calc(50% - 220px);
  right: 0;
  text-align: left;
  text-transform: uppercase;
  display: none;
}

#itemname {
  font-family: 'Bourgeois W00 Light1448548', sans-serif;
  font-size: 62px;
  color: #ebf4ff;
  text-shadow: 0px 0px 20px rgba(126, 121, 210, 1);
  font-weight: lighter;
  display: block;
  height: 60px;
}

#itemtype {
  font-family: 'Bourgeois W00 Book' ,sans-serif;
  font-size: 25px;
  color: #9fa2fc;
  text-shadow: 0px 0px 20px rgba(126, 121, 210, 1);
  font-weight: 400;
  display: block;
  margin-left: 3px;
}

#righttext.is--very-rare #itemname {
  color: #d0d4ff;
  text-shadow: 0px 0px 20px rgba(126, 121, 210, 1);
}

#righttext.is--very-rare #itemtype {
  color: #9fa2fc;
  text-shadow: 0px 0px 20px rgba(126, 121, 210, 1);
}

#righttext.is--import #itemname {
  color: #e7b7cd;
  text-shadow: 0px 0px 20px rgba(255, 69, 110, 1);
}

#righttext.is--import #itemtype {
  color: #c3587d;
  text-shadow: 0px 0px 20px rgba(188, 69, 110, 1);
}

#righttext.is--exotic #itemname {
  color: #fff5e8;
  text-shadow: 0px 0px 20px rgba(236,219,108, 1);
}

#righttext.is--exotic #itemtype {
  color: #dfd68e;
  text-shadow: 0px 0px 20px rgba(236,219,108, 1);
}

#righttext.is--blackmarket #itemname {
  color: #e1b0f5;
  text-shadow: 0px 0px 20px rgba(255,0,255, 1);
}

#righttext.is--blackmarket #itemtype {
  color: #d920d8;
  text-shadow: 0px 0px 20px rgba(255,0,255, 1);
}

.glare {
  position: relative;
  overflow: hidden;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  background-color: transparent;
  border-radius: 10px;
  transition: opacity 0.4s ease;
}

.glare:after {
  content: '';
  position: absolute;
  top: -110%;
  left: -210%;
  width: 200%;
  height: 200%;
  opacity: 0;
  transform: rotate(30deg);

  background: rgba(255, 255, 255, 0.13);
  background: linear-gradient(
    to right,
    rgba(255, 255, 255, 0.13) 0%,
    rgba(255, 255, 255, 0.13) 77%,
    rgba(255, 255, 255, 0.5) 92%,
    rgba(255, 255, 255, 0.0) 100%
  );
}

.glare.active:after {
  opacity: 1;
  top: -30%;
  left: -30%;
  transition-property: left, top, opacity;
  transition-duration: 0.7s, 0.7s, 0.15s;
  transition-timing-function: ease;
}

.left-glow {
  position: absolute;
  top: 0;
  left: calc(-30vw + 50px);
  height: 100vh;
  width: 30vw;
  background-image: url("img/left_glow.png");
  background-position: right;
  background-repeat: no-repeat;
  background-size: contain;
}

#itemnameglow {
  position: absolute;
  top: 0;
  left: 150px;
  height: 100vh;
  width: 30vw;
  background-image: url("img/name_glow.png");
  background-position: left;
  background-repeat: no-repeat;
  background-size: contain;
  -webkit-filter: brightness(150%) hue-rotate(270deg);
  filter: brightness(150%) hue-rotate(270deg);
  opacity: 0;
  transition: filter 0.2s linear, opacity 0.2s ease;
}

.rlg-btn-secondary.rlg-btn-secondary-pink {
  color: #e65e9b;
  border-color: #e65e9b;
}

.rlg-btn-secondary {
  font-size: 16px;
  font-size: 1rem;
  font-family: "Bourgeois W00 Book",Helvetica,sans-serif;
  font-style: normal;
  border-radius: 2px;
  box-shadow: 0 1px 2px #f9f9f9;
  height: 41px;
  letter-spacing: 2px;
  outline: 0;
  padding: 10px 12px 9px 15px;
  position: relative;
  text-transform: uppercase;
  transition: box-shadow .2s ease-in-out;
  background: 0 0;
  border-style: solid;
  border-width: 1px;
  border-color: #00A3FF;
  color: #00A3FF;
  padding-top: 9px;
  padding-bottom: 8px;
}

.cc-dismiss, .rlg-btn-primary, .rlg-btn-secondary, .rlg-input-file:not(.NFI-current) div {
  -webkit-appearance: none;
  -moz-appearance: none;
  -ms-appearance: none;
  -o-appearance: none;
  appearance: none;
}

.cc-dismiss.rlg-btn-primary-pink, .rlg-btn-primary.rlg-btn-primary-midnightblue {
  background-color: #00142d;
}

.cc-dismiss, .rlg-btn-primary {
  font-size: 16px;
  font-size: 1rem;
  font-family: "Bourgeois W00 Book",Helvetica,sans-serif;
  font-style: normal;
  border-radius: 2px;
  box-shadow: 0 1px 2px #001129;
  height: 41px;
  letter-spacing: 2px;
  outline: 0;
  padding: 10px 12px 9px 15px;
  position: relative;
  text-transform: uppercase;
  transition: box-shadow .2s ease-in-out;
  background: #00A3FF;
  border: 0;
  color: #fff;
  transition: color .3s ease-in-out;
  cursor: pointer;
}

#claimbtn {
  text-decoration: none;
  -webkit-text-decoration-skip: objects;
  font-size: 1.5rem;
}

#claimitem {
  position: absolute;
  margin: 0 auto;
  left: 0;
  right: 0;
  text-align: center;
  z-index: 99999;
  bottom: 20%;
  display: none;
  opacity: 0;
  transition: opacity 0.2s ease;
}

#logocontainer {
  position: absolute;
  width: 88%;
  max-width: 1600px;
  margin: 0 auto;
  left: 0;
  right: 0;
  text-align: left;
  z-index: 99999;
  top: 10%;
}

#logo {
  height: 75px;
  width: 75px;
  background-color: transparent;
  background-image: url("/assets/images/logos/rocket-league-garage-footer.svg");
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  position: relative;
  opacity: 0.4;
  display: block;
  transition: all 0.2s ease;
}

#logo:hover {
  opacity: 1;
  transform: scale(1.1);
}

#logo:before {
  content: '';
  position: absolute;
  top: -15px;
  left: -12px;
  background: rgb(215, 97, 162);
  width: 100px;
  height: 100px;
  z-index: -1;
  -webkit-filter: blur(32px);
  filter: blur(32px);
  opacity: .3;
  border-radius: 50%;
}

@media (max-width: 1260px) {
  #lefttext {
    display: none;
  }

  #righttext {
    display: none !important;
  }

  #itemnameglow {
    display: none;
  }
}

@media (max-width: 730px) {
  #logocontainer {
    display: none;
  }
}
