.c-c-f-c {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-line-pack: center;
    align-content: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
  }
  
  .c-c-f-c .form-container {
    max-width: 100%;
    display: grid;
    grid-gap: 15px;
    grid-template-columns: auto auto;
    grid-template-areas: "name name" "number number" "expiration security";
    padding: 20px;
    color: #707070;
  }
  
  .c-c-f-c .form-container .input-box:first-of-type {
    grid-area: name;
  }
  
  .c-c-f-c .form-container .input-box:nth-of-type(2) {
    grid-area: number;
  }
  
  .c-c-f-c .form-container .input-box:nth-of-type(3) {
    grid-area: expiration;
  }
  
  .c-c-f-c .form-container .input-box:nth-of-type(4) {
    grid-area: security;
  }
  
  .c-c-f-c .form-container .input-box .ccicon {
    height: 38px;
    /* make disappear if active */
    position: absolute;
    right: 6px;
    top: 50%;
    transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    width: 60px;
  }
  
  .c-c-f-c .creditcard-container {
    z-index: 1;
    width: 100%;
    padding: 20px;
    padding-bottom: 10px;
    perspective: 1000px;
  }
  
  .c-c-f-c .creditcard-container .creditcard #ccsingle {
    position: absolute;
    right: 15px;
    top: 20px;
  }
  
  .c-c-f-c .creditcard-container .creditcard #ccsingle svg {
    width: 100px;
    max-height: 60px;
  }
  
  .c-c-f-c .creditcard-container .creditcard svg#cardfront,
  .c-c-f-c .creditcard-container .creditcard svg#cardback {
    width: 100%;
    -webkit-box-shadow: 1px 5px 6px 0px black;
    box-shadow: 1px 5px 6px 0px black;
    border-radius: 22px;
  }
  
  .c-c-f-c .creditcard-container .creditcard .lightcolor,
  .c-c-f-c .creditcard-container .creditcard .darkcolor {
    -webkit-transition: fill 0.5s;
    transition: fill 0.5s;
  }
  
  .c-c-f-c .creditcard-container .creditcard .lightblue {
    fill: #03a9f4;
  }
  
  .c-c-f-c .creditcard-container .creditcard .lightbluedark {
    fill: #0288d1;
  }
  
  .c-c-f-c .creditcard-container .creditcard .purple {
    fill: #572c7f;
  }
  
  .c-c-f-c .creditcard-container .creditcard .purpledark {
    fill: #572c7f;
  }
  
  .c-c-f-c .creditcard-container .creditcard .grey {
    /* fill: #bdbdbd; */
    /* fill: #eaf6fda8; */
    fill: #2a3135e8;
  }
  
  .c-c-f-c .creditcard-container .creditcard .greydark {
    /* fill: #616161; */
    fill: #0088d1;
  }
  
  .c-c-f-c .creditcard-container .creditcard #svgname {
    text-transform: uppercase;
  }
  
  .c-c-f-c .creditcard-container .creditcard #cardfront .st2 {
    fill: #ffffff;
  }
  
  .c-c-f-c .creditcard-container .creditcard #cardfront .st3 {
    font-family: "Source Code Pro", monospace;
    font-weight: 600;
  }
  
  .c-c-f-c .creditcard-container .creditcard #cardfront .st4 {
    font-size: 54.7817px;
  }
  
  .c-c-f-c .creditcard-container .creditcard #cardfront .st5 {
    font-family: "Source Code Pro", monospace;
    font-weight: 400;
  }
  
  .c-c-f-c .creditcard-container .creditcard #cardfront .st6 {
    font-size: 33.1112px;
  }
  
  .c-c-f-c .creditcard-container .creditcard #cardfront .st7 {
    opacity: 0.6;
    fill: #ffffff;
  }
  
  .c-c-f-c .creditcard-container .creditcard #cardfront .st8 {
    font-size: 24px;
  }
  
  .c-c-f-c .creditcard-container .creditcard #cardfront .st9 {
    font-size: 36.5498px;
  }
  
  .c-c-f-c .creditcard-container .creditcard #cardfront .st10 {
    font-family: "Source Code Pro", monospace;
    font-weight: 300;
  }
  
  .c-c-f-c .creditcard-container .creditcard #cardfront .st11 {
    font-size: 16.1716px;
  }
  
  .c-c-f-c .creditcard-container .creditcard #cardfront .st12 {
    fill: #4c4c4c;
  }
  
  .c-c-f-c .creditcard-container .creditcard #cardback .st0 {
    fill: none;
    stroke: #0f0f0f;
    stroke-miterlimit: 10;
  }
  
  .c-c-f-c .creditcard-container .creditcard #cardback .st2 {
    fill: #111111;
  }
  
  .c-c-f-c .creditcard-container .creditcard #cardback .st3 {
    fill: #f2f2f2;
  }
  
  .c-c-f-c .creditcard-container .creditcard #cardback .st4 {
    fill: #d8d2db;
  }
  
  .c-c-f-c .creditcard-container .creditcard #cardback .st5 {
    fill: #c4c4c4;
  }
  
  .c-c-f-c .creditcard-container .creditcard #cardback .st6 {
    font-family: "Source Code Pro", monospace;
    font-weight: 400;
  }
  
  .c-c-f-c .creditcard-container .creditcard #cardback .st7 {
    font-size: 27px;
  }
  
  .c-c-f-c .creditcard-container .creditcard #cardback .st8 {
    opacity: 0.6;
  }
  
  .c-c-f-c .creditcard-container .creditcard #cardback .st9 {
    fill: #ffffff;
  }
  
  .c-c-f-c .creditcard-container .creditcard #cardback .st10 {
    font-size: 24px;
  }
  
  .c-c-f-c .creditcard-container .creditcard #cardback .st11 {
    fill: #eaeaea;
  }
  
  .c-c-f-c .creditcard-container .creditcard #cardback .st12 {
    font-family: "Rock Salt", cursive;
  }
  
  .c-c-f-c .creditcard-container .creditcard #cardback .st13 {
    font-size: 37.769px;
  }
  
  .c-c-f-c .creditcard-container .creditcard {
    width: 100%;
    -webkit-transform-style: preserve-3d;
    transform-style: preserve-3d;
    transition: -webkit-transform 0.6s;
    -webkit-transition: -webkit-transform 0.6s;
    transition: transform 0.6s;
    transition: transform 0.6s, -webkit-transform 0.6s;
    cursor: pointer;
  }
  
  .c-c-f-c .creditcard-container .creditcard .overlay,
  .c-c-f-c .creditcard-container .creditcard .overlay img {
    opacity: 0;
    display: flex;
    width: 100%;
  }
  
  .c-c-f-c .creditcard-container .creditcard .overlay img {
    height: auto;
  }
  
  .c-c-f-c .creditcard-container .creditcard .front,
  .c-c-f-c .creditcard-container .creditcard .back {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    -webkit-font-smoothing: antialiased;
    color: #47525d;
  }
  
  .c-c-f-c .creditcard-container .creditcard .back {
    -webkit-transform: rotateY(180deg);
    transform: rotateY(180deg);
  }
  
  .c-c-f-c .creditcard-container .creditcard.flipped {
    -webkit-transform: rotateY(180deg);
    transform: rotateY(180deg);
  }
  
  @-webkit-keyframes imageAnimation {
    0% {
      -webkit-animation-timing-function: ease-in;
    }
  
    8% {
      -webkit-animation-timing-function: ease-out;
    }
  
    22% {
      -webkit-transform: translateY(-7.5%);
    }
  }
  
  @keyframes imageAnimation {
    0% {
      animation-timing-function: ease-in;
    }
  
    8% {
      animation-timing-function: ease-out;
    }
  
    22% {
      transform: translateY(-7.5%);
    }
  }
  
  @-webkit-keyframes spin {
    0% {
      -webkit-transform: translate(-50%, -50%) rotate(0deg);
    }
  
    100% {
      -webkit-transform: translate(-50%, -50%) rotate(360deg);
    }
  }
  
  @keyframes spin {
    0% {
      transform: translate(-50%, -50%) rotate(0deg);
    }
  
    100% {
      transform: translate(-50%, -50%) rotate(360deg);
    }
  }
  
  @-webkit-keyframes mainLoader {
    0% {
      grid-template-rows: 1fr;
    }
  
    50% {
      grid-template-rows: 0fr;
    }
  
    75% {
      grid-template-rows: 1fr;
    }
  }
  
  @keyframes mainLoader {
    0% {
      grid-template-rows: 1fr;
    }
  
    50% {
      grid-template-rows: 0fr;
    }
  
    75% {
      grid-template-rows: 1fr;
    }
  }
  
  @-webkit-keyframes widthFill {
    from {
      width: 0;
    }
  
    to {
      width: 100%;
    }
  }
  
  @keyframes widthFill {
    from {
      width: 0;
    }
  
    to {
      width: 100%;
    }
  }
  .input-counter {
    padding: 0;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    border: none;
    border-radius: 25px;
    overflow: hidden;
    box-shadow: rgba(100, 100, 111, 0.2) 0px 7px 29px 0px;
  }
  
  .input-counter .minus,
  .input-counter .plus {
    padding: 7.5px 10px;
    cursor: pointer;
    display: flex;
    vertical-align: middle;
    text-align: center;
    font-size: 23px;
    line-height: 1;
    font-weight: 600;
    color: #ffffff;
    background-color: #06529a;
    transition: background 0.5s;
  }
  
  .input-counter .minus:hover,
  .input-counter .plus:hover {
    background-color: #ef3d42;
  }
  
  .input-counter input {
    width: 50px;
    outline: none;
    display: flex;
    background: none;
    min-width: 0;
    padding: 0;
    text-align: center;
    font-size: 18px;
    font-weight: 600;
    line-height: 1;
    border: none;
    vertical-align: middle;
    color: #071833;
  }
  
  .input-box {
    margin: 15px 0;
    width: 100%;
    position: relative;
  }
  
  .input-box .arrow {
    z-index: -1;
    padding: 0 15px;
    position: absolute;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
    color: #737373;
    font-size: 14px;
    border-left: 1px solid rgb(217, 217, 217);
  }
  
  .input-box.half-width.mt-3 {
    margin-top: 15px !important;
  }
  
  .input-box.third-width.my-3 {
    margin: 15px 0 !important;
  }
  
  .input-box .input-label {
    position: absolute;
    color: #eaf6fd;
    font-size: 16px;
    font-weight: 400;
    max-width: calc(100% - (2 * 8px));
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    left: 8px;
    top: 13px;
    padding: 0 8px;
    transition: 250ms;
    user-select: none;
    pointer-events: none;
  }
  .input-box::placeholder {
    position: absolute;
    color: #80868b;
    font-size: 16px;
    font-weight: 400;
    max-width: calc(100% - (2 * 8px));
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    left: 8px;
    top: 13px;
    padding: 0 8px;
    transition: 250ms;
    user-select: none;
    pointer-events: none;
  }
  
  .input-box .input-label svg {
    position: relative;
    width: 15px;
    height: 15px;
    top: 2px;
    transition: 250ms;
  }
  
  .input-box .input {
    font-size: 16px;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    height: 50px;
    width: 100%;
    border-radius: 5px;
    color: #eaf6fd;
    background-color: transparent;
    border: 1px solid #dadce0;
    padding: 13px 15px;
    transition: 250ms;
  }
  
  .input-box select.input {
    -moz-appearance: none;
    -webkit-appearance: none;
  }
  
  .input-box select.input::-ms-expand {
    display: none;
  }
  
  .input-box .input:focus {
    outline: none;
    border: 2px solid #eaf6fd;
    transition: 250ms;
  }
  
  .input-box.error .input-label {
    color: #f44336;
    top: -8px;
    background: #fff;
    font-size: 11px;
    transition: 250ms;
  }
  
  .input-box.error .input {
    border: 2px solid #f44336;
  }
  
  .input-box.focus .input-label,
  .input-box.active .input-label {
    color: #eaf6fd;
    top: -8px;
    background: #589ec5;
    font-size: 11px;
    transition: 250ms;
  }
  
  .input-box.focus .input-label svg,
  .input-box.active .input-label svg {
    position: relative;
    width: 11px;
    height: 11px;
    top: 2px;
    transition: 250ms;
  }
  
  .input-box.active .input {
    border: 2px solid #06529a;
  }