@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap');

body{
   font-size: 16px;
   font-family: "Inter", sans-serif;;
}

section.main-content > .container{
   opacity: 0;
trnasition:opacity 2s;
}
section.main-content > .container.show{
   opacity: 1;
   trnasition:opacity 2s;
}
#confettiCanvas{
/*   z-index: 9999;*/
   position: absolute;
   width:100%;
}
.modal-backdrop.show {
    opacity: 0.7;
}
.modal-open .modal{
   padding-right:0 !important;
/*   overflow-y: hidden ;*/
}
#scratchCard .modal-header{
   border-bottom: unset;
}
#scratchCard button.close{
      right: -30px;
    position: absolute;
    background: #fff;
    padding: 0 5px 0px 10px;
    top: 0;
    opacity: 1;
    border-radius: 0 3px 3px 0;
    font-size: 2.2rem;
    font-weight: 900;
    opacity: 0;
    transition: opacity 0.5s;
        z-index: -2;
/*     display: none; */
}
#scratchCard button.close.visible{
   opacity: 1;
   z-index: 9999999999;
   transition: opacity 0.5s;
/*   display: inline-block;*/
}

#scratchCard.modalMobile .sc__wrapper{
   height: 300px;
   max-width: 300px;
}
#scratchCard.modalMobile .sc__container{
   height: 300px;
   max-width: 300px;

}
#scratchCard.modalDesktop .sc__wrapper{
   height: 400;
   max-width: 600px;
}
#scratchCard.modalDesktop .sc__container{
   height: 400;
   max-width: 600px;

}
#scratchCard .modal-dialog{
   display: grid;
   justify-content: center;
   align-items: center;
}
.modal-dialog-centered {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-align: center;
    align-items: center;
    min-height: calc(100% - 1rem);
}
.sc__inner {
   position: relative;
   top: 0;
   left: 0;
   width: 100%;
   height: 100%;
}
.sc__wrapper {
   display: block;
   width: 100%;
/*   height: 300px;*/
/*   max-width: 300px;*/
   margin: 0 auto;
   border: 5px solid white;
}

.sc__container {
   position: relative;
   overflow: hidden;
/*   height: 300px;*/
   width:100%;
/*   max-width: 300px;*/
}

.sc__container > img {
   position: relative;
   top: 0;
   left: 0;
   width: 100%;
   height: auto;
}

.sc__container canvas {
   position: absolute;
   top: 0;
   left: 0;
   width: 100%;
   height: auto;
}

.sc__infos {
   text-align: center;
   height: 40px;
   line-height: 40px;
   margin-top: 5px;
   font-weight: bold;
   font-size: 18px;
}
#scratchCard{
 &.animate {
    animation: pop-out-in cubic-bezier(.65, 1.35, .5, 1) 1s;
  }
}
.shimmer {
  color: grey;
  display:inline-block;
  -webkit-mask:linear-gradient(-60deg,#000 30%,#0005,#000 70%) right/300% 100%;
  background-repeat: no-repeat;
  animation: shimmer 2.5s infinite;
  font-size: 50px;
  max-width:200px;
}

@keyframes shimmer {
  100% {-webkit-mask-position:left}
}

@keyframes pop-out-in {
  36% {
    transform: scale(1.125);
  }
  100% {
    transform: scale(1);
  }
}