body{
  user-select: none;
  scroll-behavior: smooth;
}
.rolle{
  animation: rollin 1s infinite;
}

@keyframes rollin{
  0%{
    margin-left: 40px;
    opacity: 1;
  }
  50%{
    margin-left: -10px;
    opacity: 0;
  }
  100%{
    margin-left: 40px;
    opacity: 0;
  }
}

.rolle2{
  animation: rollin1 1s infinite;
}
@keyframes rollin1{
  0%{
    margin-left: 5px;
    opacity: 1;
  }
  50%{
    margin-left: -10px;
    opacity: 0;
  }
  100%{
    margin-left: 5px;
    opacity: 0;
  }
}

.rolle3{
  animation: rollin2 1s infinite;
}
@keyframes rollin2{
  0%{
    margin-left: 3px;
    opacity: 1;
  }
  50%{
    margin-left: -9px;
    opacity: 0.7;
  }
  100%{
    margin-left: 3px;
    opacity: 0;
  }
}

/* ///////////////////// */
#miModal{
  margin-top: 50%;
  margin-bottom: 50%;
}

/* //////////////////////// */
* {
  box-sizing: border-box;
}


#wrapper {
  /* width: 100%; */
  /* min-height: 100vh; */
  display: flex;
  justify-content: center;
  align-items: center;
  perspective: 1000px;
}

.credit_card_layout {
  display: grid;
  grid-template-columns: 8fr 4fr;
  grid-template-rows: repeat(4, auto);
  grid-column-gap: 0px;
  grid-row-gap: 0px;
}
.credit_card_layout .div1 {
  grid-area: 1/1/2/2;
}
.credit_card_layout .div2 {
  grid-area: 1/2/2/3;
}
.credit_card_layout .div3 {
  grid-area: 2/1/3/2;
}
.credit_card_layout .div4 {
  grid-area: 3/2/4/3;
}
.credit_card_layout .div5 {
  grid-area: 4/1/5/2;
}
.credit_card_layout .div6 {
  grid-area: 4/2/5/3;
}
@media screen and (min-width: 600px) {
  .credit_card_layout {
    grid-template-columns: 7fr 5fr;
  }
}

.card_info_layout {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-template-rows: repeat(3, auto);
  grid-column-gap: 0px;
  grid-row-gap: 0px;
}
.card_info_layout .div1 {
  grid-area: 1/1/2/3;
}
.card_info_layout .div2 {
  grid-area: 2/1/3/2;
}
.card_info_layout .div3 {
  grid-area: 2/2/3/3;
}
.card_info_layout .div4 {
  grid-area: 3/1/4/3;
}

.credit_card {
  width: 339px;
  height: 235px;
  max-width: 95%;
  border-radius: 10px;
  padding: 15px 12px;
  position: relative;
  z-index: 2;
  /* overflow: hidden; */
  color: #fff;
  background: linear-gradient(270deg, #5abd3d, #df4f4f, #50d9a4, #9a72db, #eecf27);
  border: 1px solid rgba(255, 255, 255, 0.3);
  background-size: 1000% 1000%;
  animation: backgroundAnim 30s ease infinite;
}

@keyframes backgroundAnim {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}
.credit_card:before {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  border-radius: 10px;
  background: linear-gradient(110.59deg, rgba(255, 255, 255, 0.2) 1.41%, rgba(0, 0, 0, 0.3) 100%);
  background-blend-mode: multiply;
  mix-blend-mode: normal;
  box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(20px);
  z-index: -1;
}
@media screen and (min-width: 600px) {
  .credit_card {
    width: 550px;
    height: 340px;
    padding: 30px 24px;
  }
}
.credit_card .title {
  padding-bottom: 15px;
  font-size: 1rem;
}
@media screen and (min-width: 600px) {
  .credit_card .title {
    padding-bottom: 30px;
    font-size: 1.25rem;
  }
}
.credit_card .bank_name {
  display: flex;
  justify-content: flex-end;
  font-size: 1rem;
}
@media screen and (min-width: 600px) {
  .credit_card .bank_name {
    font-size: 1.25rem;
  }
}
.credit_card .chip img {
  transform: scale(0.7);
  transform-origin: left;
}
@media screen and (min-width: 600px) {
  .credit_card .chip img {
    transform: none;
  }
}
.credit_card .nfc {
  display: flex;
  justify-content: flex-end;
}
.credit_card .nfc img {
  transform: scale(0.7);
  transform-origin: right;
}
@media screen and (min-width: 600px) {
  .credit_card .nfc img {
    transform: none;
  }
}
.credit_card .card_info .card_no {
  padding-bottom: 15px;
  display: flex;
  justify-content: space-between;
  font-size: 1.25rem;
}
@media screen and (min-width: 600px) {
  .credit_card .card_info .card_no {
    padding-bottom: 30px;
    font-size: 1.5rem;
  }
}
.credit_card .card_info .valid {
  font-size: 0.8rem;
}
@media screen and (min-width: 600px) {
  .credit_card .card_info .valid {
    font-size: 1rem;
  }
}
.credit_card .card_info .valid_date {
  display: flex;
  justify-content: flex-end;
  font-size: 0.8rem;
}
@media screen and (min-width: 600px) {
  .credit_card .card_info .valid_date {
    font-size: 1rem;
  }
}
.credit_card .card_info .name {
  padding-top: 8px;
  display: flex;
  align-items: flex-end;
  font-size: 1rem;
}
@media screen and (min-width: 600px) {
  .credit_card .card_info .name {
    padding-top: 15px;
    font-size: 1.25rem;
  }
}
.credit_card .vendor {
  display: flex;
  justify-content: flex-end;
  align-items: flex-end;
}
.credit_card .vendor img {
  transform: scale(0.7);
  transform-origin: bottom right;
}
@media screen and (min-width: 600px) {
  .credit_card .vendor img {
    transform: none;
  }
}

.dummy_object {
  position: absolute;
}
.dummy_object.circle {
  left: 60vw;
  top: 55vh;
  width: 20vw;
  height: 20vw;
  border-radius: calc(20vw / 2);
  background: #40fffb;
  background: linear-gradient(90deg, #40fffb 0%, #91fc45 100%);
}