/* Custom Stylesheet */
/**
 * Use this file to override Materialize files so you can update
 * the core Materialize files in the future
 *
 * Made By MaterializeCSS.com
 */

.progress {
  display: none;
  background-color: #0c5f9e;
}

.card {
  border-radius: 15px;
}

.card .card-image {
  border-radius: 15px 15px 0 0;
}
.card .card-action {
  border-radius: 0 0 15px 15px;
}

.card .card

.icon-block {
  padding: 0 15px;
}
.icon-block .material-icons {
	font-size: inherit;
}
.kanit-extrabold {
  font-family: "Kanit", sans-serif;
  font-weight: 800;
  font-style: normal;
}
.kanit-light {
  font-family: "Kanit", sans-serif;
  font-weight: 100;
  font-style: normal;
}
.kanit {
  font-family: "Kanit", sans-serif;
  font-weight: 400;
  font-style: normal;
}

.bg-payfoot {
  background: rgb(12,95,158);
  background: radial-gradient(circle, rgba(60,179,30,1) 0%, rgba(12,95,158,1) 100%);
}

.pass-container {
  display: flex;
  margin: auto;
  aspect-ratio: 16/9;
  align-items: center;
  justify-items: center;
  justify-content: center;
  flex-wrap: wrap;
  flex-direction: column;
  gap: 1em;
}

.card-container {
  overflow: hidden;
  filter: drop-shadow(46px 36px 24px #0B5F9E) drop-shadow(-55px -40px 25px #0B5F9E);
  animation: blinkShadowsFilter 8s ease-in infinite;
  margin: 3em 0;
}

.pass-content {
  display: grid;
  align-content: center;
  justify-items: center;
  align-items: center;
  padding: 1em;
  grid-template-rows: 0.1fr 0.7fr 0.25fr;
  background-color: hsl(108, 71%, 41%);
  width: 22em;
  aspect-ratio: 9/16;
  -webkit-clip-path: polygon(0 0, 85% 0, 100% 14%, 100% 60%, 92% 65%, 93% 77%, 99% 80%, 99% 90%, 89% 100%, 0 100%);
  clip-path: polygon(0 0, 85% 0, 100% 14%, 100% 60%, 92% 65%, 93% 77%, 99% 80%, 99% 90%, 89% 100%, 0 100%);
}

.pass-content::before {
  content: "";
  position: absolute;
  overflow: hidden;
  width: 250%;
  aspect-ratio: 1/1;
  transform-origin: center;
  background: linear-gradient(to bottom, transparent, transparent, #3cb31e, #3cb31e, #0c5f9e, #0c5f9e, transparent, transparent), linear-gradient(to left, transparent, transparent, #3cb31e, #3cb31e, #0c5f9e, #0c5f9e, transparent, transparent);
  animation: rotate 5s infinite linear;
}

.pass-content::after {
  content: "";
  position: absolute;
  overflow: hidden;
  top: 1%;
  left: 1%;
  width: 98%;
  height: 98%;
  background: repeating-linear-gradient(to bottom, transparent 0%, rgba(64, 144, 181, 0.6) 1px, rgb(0, 0, 0) 3px, rgba(64, 144, 181, 0.3019607843) 5px, #153544 4px, transparent 0.5%), repeating-linear-gradient(to left, hsl(295, 60%, 12%) 100%, hsla(295, 60%, 12%, 0.99) 100%);
  box-shadow: inset 0px 0px 30px 40px hsl(296, 59%, 10%);
  -webkit-clip-path: polygon(0 0, 85% 0, 100% 14%, 100% 60%, 92% 65%, 93% 77%, 99% 80%, 99% 90%, 89% 100%, 0 100%);
  clip-path: polygon(0 0, 85% 0, 100% 14%, 100% 60%, 92% 65%, 93% 77%, 99% 80%, 99% 90%, 89% 100%, 0 100%);
  animation: backglitch 94ms linear infinite;
}

.pass-title {
  z-index: 80;
  -webkit-clip-path: polygon(90% 0, 100% 100%, 0% 100%, 0% 0%);
  clip-path: polygon(90% 0, 100% 100%, 0% 100%, 0% 0%);
  background: linear-gradient(90deg, rgba(255, 254, 250, 0) 0%, rgba(102, 224, 255, 0.3) 27%, rgba(102, 224, 255, 0.3) 63%, rgba(255, 255, 255, 0) 100%), linear-gradient(0deg, rgba(102, 224, 255, 0.3) 0%, rgba(255, 255, 255, 0) 10%, rgba(255, 255, 255, 0) 96%, rgba(102, 224, 255, 0.3) 100%);
  width: 98%;
  font-size: 2em;
  text-align: center;
}

.title {
  width: 100%;
  height: 100%;
  text-align: right;
  position: relative;
  z-index: 2;
  color: hsl(192, 100%, 88%);
  font-size: 1em;
  transition: all ease-in-out 2s linear;
}

.pass-body {
  padding-block: 1.5em;
  padding-inline: 1em;
  z-index: 80;
  display: flow;
  gap: 1em;
  flex-wrap: wrap;
  justify-content: space-around;
  align-items: center;
  align-content: center;
}

.pass-footer {
  padding-inline: 1em;
}

@keyframes backglitch {
  0% {
    box-shadow: inset 0px 20px 30px 40px hsl(296, 59%, 10%);
  }

  50% {
    box-shadow: inset 0px -20px 30px 40px hsl(296, 59%, 10.2%);
  }

  to {
    box-shadow: inset 0px 20px 30px 40px hsl(296, 59%, 10%);
  }
}

@keyframes rotate {
  0% {
    transform: rotate(0deg) translate(-50%, 20%);
  }

  50% {
    transform: rotate(180deg) translate(40%, 10%);
  }

  to {
    transform: rotate(360deg) translate(-50%, 20%);
  }
}

@keyframes blinkShadowsFilter {
  0% {
    filter: drop-shadow(46px 36px 28px rgba(11,95,158, 0.3411764706)) drop-shadow(-55px -40px 28px #3cb31e);
  }

  25% {
    filter: drop-shadow(46px -36px 24px rgba(11,95,158, 0.8980392157)) drop-shadow(-55px 40px 24px #3cb31e);
  }

  50% {
    filter: drop-shadow(46px 36px 30px rgba(11,95,158, 0.8980392157)) drop-shadow(-55px 40px 30px rgba(100,255,218, 0.2941176471));
  }

  75% {
    filter: drop-shadow(20px -18px 25px rgba(11,95,158, 0.8980392157)) drop-shadow(-20px 20px 25px rgba(100,255,218, 0.2941176471));
  }

  to {
    filter: drop-shadow(46px 36px 28px rgba(11,95,158, 0.3411764706)) drop-shadow(-55px -40px 28px #3cb31e);
  }
}/*# sourceMappingURL=style.css.map */


.material-tooltip {
	border: 2px dashed #3cb31e;
}


.bg-bastia {
  background: rgb(2,0,36);
  background: radial-gradient(circle, rgba(2,0,36,1) 0%, rgba(0,83,161,1) 100%);
}

.blue-payfoot {
  background: #0c5f9e;
}

.blue-payfoot-text {
  color: #0c5f9e;
}

.green-payfoot {
  background: #3cb31e;
}

.green-payfoot-text {
  color: #3cb31e;
}

.blue-bastia {
  background: #0053a1;
}
.text-blue-bastia {
  text-color: #0053a1;
}

.typo-bastia {
  font-family: "Oswald", sans-serif;
  font-optical-sizing: auto;
  font-weight: 800;
  font-style: normal;
}

.mastercard,
.mastercard__chip {
  overflow: hidden;
  position: relative;
}

.mastercard,
.mastercard__chip-texture,
.mastercard__texture {
  animation-duration: 3s;
  animation-timing-function: ease-in-out;
  animation-iteration-count: infinite;
}

.mastercard {
  animation-name: rotate_500;
  background-color: var(--primary);
  background-image: radial-gradient(circle at 100% 0%,hsla(0,0%,100%,0.08) 29.5%,hsla(0,0%,100%,0) 30%),
        radial-gradient(circle at 100% 0%,hsla(0,0%,100%,0.08) 39.5%,hsla(0,0%,100%,0) 40%),
        radial-gradient(circle at 100% 0%,hsla(0,0%,100%,0.08) 49.5%,hsla(0,0%,100%,0) 50%);
  border-radius: 0.5em;
  box-shadow: 0 0 0 hsl(0,0%,80%),
        0 0 0 hsl(0,0%,100%),
        -0.2rem 0 0.75rem 0 hsla(0,0%,0%,0.3);
  color: hsl(0,0%,100%);
  width: 10.3em;
  height: 6.8em;
  transform: translate3d(0,0,0);
}

.mastercard__info,
.mastercard__chip-texture,
.mastercard__texture {
  position: absolute;
}

.mastercard__chip-texture,
.mastercard__texture {
  animation-name: texture;
  top: 0;
  left: 0;
  width: 200%;
  height: 100%;
}

.mastercard__info {
  font: 0.75em/1 "DM Sans", sans-serif;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  padding: 0.75rem;
  inset: 0;
}

.mastercard__logo,
.mastercard__number {
  width: 100%;
}

.mastercard__logo {
  font-weight: bold;
  font-style: italic;
}

.mastercard__chip {
  background-image: linear-gradient(hsl(0,0%,70%),hsl(0,0%,80%));
  border-radius: 0.2rem;
  box-shadow: 0 0 0 0.05rem hsla(0,0%,0%,0.5) inset;
  width: 1.25rem;
  height: 1.25rem;
  transform: translate3d(0,0,0);
}

.mastercard__chip-lines {
  width: 100%;
  height: auto;
}

.mastercard__chip-texture {
  background-image: linear-gradient(-80deg,hsla(0,0%,100%,0),hsla(0,0%,100%,0.6) 48% 52%,hsla(0,0%,100%,0));
}

.mastercard__type {
  align-self: flex-end;
  margin-left: auto;
}

.mastercard__digit-group,
.mastercard__exp-date,
.mastercard__name {
  background: linear-gradient(hsl(0,0%,100%),hsl(0,0%,85%) 15% 55%,hsl(0,0%,70%) 70%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-family: "Courier Prime", monospace;
  filter: drop-shadow(0 0.05rem hsla(0,0%,0%,0.3));
}

.mastercard__number {
  font-size: 0.8rem;
  display: flex;
  justify-content: space-between;
}

.mastercard__valid-thru,
.mastercard__name {
  text-transform: uppercase;
}

.mastercard__valid-thru,
.mastercard__exp-date {
  margin-bottom: 0.25rem;
  width: 50%;
}

.mastercard__valid-thru {
  font-size: 0.3rem;
  padding-right: 0.25rem;
  text-align: right;
}

.mastercard__exp-date,
.mastercard__name {
  font-size: 0.6rem;
}

.mastercard__exp-date {
  padding-left: 0.25rem;
}

.mastercard__name {
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  width: 6.25rem;
}

.mastercard__vendor,
.mastercard__vendor:before,
.mastercard__vendor:after {
  position: absolute;
}

.mastercard__vendor {
  right: 0.375rem;
  bottom: 0.375rem;
  width: 2.55rem;
  height: 1.5rem;
}

.mastercard__vendor:before,
.mastercard__vendor:after {
  border-radius: 50%;
  content: "";
  display: block;
  top: 0;
  width: 1.5rem;
  height: 1.5rem;
}

.mastercard__vendor:before {
  background-color: #0c5f9e;
  left: 0;
}

.mastercard__vendor:after {
  background-color: #228a74;
  box-shadow: -1.05rem 0 0 #38b54a inset;
  right: 0;
}

.mastercard__vendor-sr {
  clip: rect(1px,1px,1px,1px);
  overflow: hidden;
  position: absolute;
  width: 1px;
  height: 1px;
}

.mastercard__texture {
  animation-name: texture;
  background-image: linear-gradient(-80deg,hsla(0,0%,100%,0.3) 25%,hsla(0,0%,100%,0) 45%);
}
 
/* Dark theme */
@media (prefers-color-scheme: dark) {
  :root {
    --bg: hsl(var(--hue),10%,30%);
    --fg: hsl(var(--hue),10%,90%);
  }
}

/* Animation */
@keyframes rotate_500 {
  from,
    to {
    animation-timing-function: ease-in;
    box-shadow: 0 0 0 hsl(0,0%,80%),
            0.1rem 0 0 hsl(0,0%,100%),
            -0.2rem 0 0.75rem 0 hsla(0,0%,0%,0.3);
    transform: rotateY(-10deg);
  }

  25%,
    75% {
    animation-timing-function: ease-out;
    box-shadow: 0 0 0 hsl(0,0%,80%),
            0 0 0 hsl(0,0%,100%),
            -0.25rem -0.05rem 1rem 0.15rem hsla(0,0%,0%,0.3);
    transform: rotateY(0deg);
  }

  50% {
    animation-timing-function: ease-in;
    box-shadow: -0.1rem 0 0 hsl(0,0%,80%),
            0 0 0 hsl(0,0%,100%),
            -0.3rem -0.1rem 1.5rem 0.3rem hsla(0,0%,0%,0.3);
    transform: rotateY(10deg);
  }
}

@keyframes texture {
  from,
    to {
    transform: translate3d(0,0,0);
  }

  50% {
    transform: translate3d(-50%,0,0);
  }
}

.hand {
  cursor: pointer;
}