@charset "UTF-8";
@import url("https://fonts.cdnfonts.com/css/credit-card");
html, body {
  width: 100vw;
  height: 100vh;
  margin: 0;
  padding: 0;
  border: 0;
  outline: 0;
  box-sizing: border-box;
  background: #eae2ff;
  overscroll-behavior: none;
  -webkit-user-select: none;
     -moz-user-select: none;
          user-select: none;
  font-family: sans-serif;
}

flex {
  display: flex;
}

modal {
  z-index: 20;
  position: absolute;
  display: block;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.2509803922);
  pointer-events: none;
  opacity: 0;
  transition: opacity 1s;
}
modal:target {
  opacity: 1;
  transition: opacity 1s;
  pointer-events: all;
}
modal:target #login-content {
  top: 12.5%;
}

#login-content {
  position: absolute;
  left: 20%;
  width: 60%;
  height: 75%;
  top: -100%;
  transition: top 1s;
  background: rgba(255, 255, 255, 0.5019607843);
  box-shadow: 0 0 32px 32px rgba(255, 255, 255, 0.5019607843);
  border-radius: 10px;
  overflow: hidden;
}

#close-modal {
  position: absolute;
  color: black;
  text-decoration: none;
  width: 25px;
  height: 25px;
  font-weight: bold;
  float: right;
  display: flex;
  font-size: 24px;
  align-items: center;
  justify-content: center;
}

header {
  z-index: 10;
  padding: 0 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

* {
  box-sizing: border-box;
  word-break: break-all;
}

#logo-about {
  height: 100%;
  transition: transform cubic-bezier(0.5, 0, 0.5, 1) 2s;
  align-items: center;
  justify-content: flex-start;
}

.logo, #burgor {
  width: 40px;
  height: 40px;
  border-radius: 15px;
  transition: transform cubic-bezier(0.6, 0, 0.4, 1) 2s;
}
.logo:hover, #burgor:hover {
  transform: rotate(3780deg);
  transition: transform cubic-bezier(0.6, 0, 0.4, 1) 2s;
}

.flip {
  display: inline-block;
  transform: rotateY(180deg);
  color: red;
}

notice {
  display: none;
  font-size: 12px;
  white-space: nowrap;
  transition: color 0.5s cubic-bezier(0.5, 0, 0.5, 1);
}
notice:before {
  content: "*";
}
notice.shown {
  display: block;
}

label[for=tos] {
  font-size: 12px;
  white-space: nowrap;
  transition-property: opacity, color;
  transition-duration: 0.5s;
  transition-timing-function: cubic-bezier(0.5, 0, 0.5, 1);
}
label[for=tos]:before {
  content: "*";
}

header {
  width: 100vw;
  height: 100px;
  background: #ccbaff;
  border-radius: 0 0 50px 50px;
  position: absolute;
  box-shadow: rgba(0, 0, 0, 0.5019607843) 0 0 24px 12px;
}

#main {
  position: absolute;
  top: 0;
  left: 5vw;
  width: 90vw;
  height: 100vh;
  flex-direction: column;
  align-items: center;
  justify-content: space-evenly;
}

#form {
  box-shadow: rgba(0, 0, 0, 0.5) 0 0 24px 12px;
}

.wrap {
  width: 428px;
  height: 270px;
  border-radius: 12px;
  position: relative;
  perspective: 1500px;
  transform-style: preserve-3d;
}
.wrap:has(#card):hover #card-front {
  transform: rotateY(180deg);
}
.wrap:has(#card):hover #card-back {
  transform: rotateY(360deg);
}
.wrap:has(#form).flip #form {
  transform: rotateY(180deg);
}
.wrap:has(#form).flip #confirm {
  transform: rotateY(360deg);
}

#card, #form {
  width: 428px;
  height: 270px;
  text-align: center;
  background-size: cover;
  background-position: center center;
  position: relative;
  border-radius: 12px;
  transform-style: preserve-3d;
}

#card {
  transition-property: background-image, color;
  transition-duration: 0.5s;
  transition-timing-function: linear;
  font-family: "Credit Card";
  text-transform: uppercase;
  font-size: 25px;
}

.card-side, .form-side {
  transition: transform 0.5s cubic-bezier(0.5, 0, 0.5, 1), background-image 0.5s linear, color 0.5s linear !important;
  width: 428px;
  height: 270px;
  overflow: hidden;
  position: relative;
  top: 0;
  left: 0;
  background-size: cover;
  background-position: center center;
  border-radius: 12px;
  backface-visibility: hidden;
  transform-style: preserve-3d;
  box-shadow: rgba(0, 0, 0, 0.5) 0 0 24px 12px;
}

#card-front {
  width: 428px;
  height: 270px;
  font-size: 25px;
  align-items: center;
  justify-content: center;
}

#card-back {
  transform: rotateY(180deg);
  font-size: 16px;
  text-align: left;
  position: absolute;
  top: 0;
  left: 0;
  width: 428px;
  height: 270px;
}

#confirm {
  transform: rotateY(180deg);
  text-align: center;
  position: absolute;
  top: 0;
  left: 0;
  width: 428px;
  height: 270px;
}

@keyframes cardf {
  0% {
    transform: rotateY(180deg);
  }
  50% {
    transform: rotateY(360deg);
  }
  100% {
    transform: rotateY(541deg);
  }
}
@keyframes cardb {
  0% {
    transform: rotateY(0deg);
  }
  50% {
    transform: rotateY(180deg);
  }
  100% {
    transform: rotateY(361deg);
  }
}
#exp-date {
  position: absolute;
  top: 16px;
  right: 16px;
  font-size: 16px;
}

#card-name {
  position: absolute;
  bottom: 24px;
  left: 32px;
  font-size: 25px;
  white-space: nowrap;
}
#card-name.placeholder {
  color: hsla(0, 0%, 50%, 0.5);
}
#card-name.placeholder:before {
  content: "John Doe";
}
#card-name.ellipsis:after {
  content: "…";
}

#chip {
  width: 75px;
  border-radius: 7.5px;
  position: absolute;
  top: 24px;
  left: 24px;
}

#backside-stripe {
  background: hsl(0, 0%, 5%);
  width: 100%;
  height: 20%;
  margin: 12px 0;
}

#cvv-rect {
  background-image: linear-gradient(to bottom, #fdfdfd 50%, #c0c0c0 50%, #c0c0c0 100%);
  background-size: 10px 25%;
  background-repeat: repeat;
  width: 80%;
  height: 14%;
  position: relative;
  left: 10%;
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

#cvv {
  width: 20%;
  height: 100%;
  background: white;
  font-style: italic;
  color: black !important;
  display: flex;
  align-items: center;
  justify-content: center;
}

#confirm-header, #confirm-text {
  font-weight: bold;
}

#bototm-text {
  margin-left: 10%;
  margin-top: 16px;
}

#card-num {
  word-spacing: 16px;
  letter-spacing: -1px;
}

.card-date {
  font-size: 10px;
}

.date {
  width: 1.75em;
  text-align: center;
}

/* https://www.w3schools.com/howto/howto_css_hide_arrow_number.asp */
input:not([type=checkbox]) {
  outline: none;
  border: lightgray 1px solid;
  border-radius: 2px;
  background: rgba(0, 0, 0, 0);
  transition: color 0.5s cubic-bezier(0.5, 0, 0.5, 1);
  font-family: monospace;
}

input:disabled {
  border: #404040 1px solid;
  opacity: 0.25;
}

input::-webkit-outer-spin-button, input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

input[type=number] {
  -webkit-appearance: textfield;
     -moz-appearance: textfield;
          appearance: textfield;
}

input:enabled.error {
  border-color: #ff8080 !important;
}

input:enabled.error:not(:focus) {
  border-color: #ff8080 !important;
}

#submit {
  display: block;
  margin: 0 auto;
}

#full-name {
  border-color: transparent;
  overflow: hidden;
}

.toggle {
  display: block;
  outline: 0;
  border: 0;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: linear-gradient(to right, #ccbaff 49.5%, #393447 50.5%);
  transition: transform 0.5s cubic-bezier(0.5, 0, 0.5, 1);
  cursor: pointer;
}

body:has(#tos:checked) label[for=tos] {
  opacity: 0.5;
}

#toggle {
  width: 50px;
  height: 50px;
}

modal notice {
  color: #804040;
}

body:not(:has(#toggle:checked)):has(#tos:checked) label[for=tos] {
  color: white !important;
}
body:not(:has(#toggle:checked)) #form notice, body:not(:has(#toggle:checked)) label[for=tos] {
  color: #ffc0c0;
}
body:not(:has(#toggle:checked)) #form, body:not(:has(#toggle:checked)) #confirm {
  background-image: url("./img/dark.png");
  color: white;
  transition-property: background-image, color;
  transition-duration: 0.5s;
  transition-timing-function: linear;
}
body:not(:has(#toggle:checked)) #card {
  color: black;
  transition-property: background-image, color;
  transition-duration: 0.5s;
  transition-timing-function: linear;
  transition-duration: 0.5s, 0.25s;
}
body:not(:has(#toggle:checked)) .card-side {
  background-image: url("./img/light.png");
  transition-duration: 0.5s, 0.25s;
}
body:not(:has(#toggle:checked)) #form input {
  color: white;
  caret-color: white;
}

body:has(#toggle:checked):has(#tos:checked) label[for=tos] {
  color: black !important;
}
body:has(#toggle:checked) #form notice, body:has(#toggle:checked) label[for=tos] {
  color: #804040;
}
body:has(#toggle:checked) .toggle {
  transform: rotate(180deg);
}
body:has(#toggle:checked) #form, body:has(#toggle:checked) #confirm {
  background-image: url("./img/light.png");
  color: black;
  transition-property: background-image, color;
  transition-duration: 0.5s;
  transition-timing-function: linear;
}
body:has(#toggle:checked) #card {
  color: white;
  transition-property: background-image, color;
  transition-duration: 0.5s;
  transition-timing-function: linear;
  transition-duration: 0.5s, 0.25s;
}
body:has(#toggle:checked) .card-side {
  background-image: url("./img/dark.png");
  transition-duration: 0.5s, 0.25s;
}

#toggle.le {
  transform: rotate(180deg);
}

body:has(label[for=tos]:not(.uncheckde)) #send {
  top: 0;
}

body:has(.error, form notice.shown) #submit {
  top: 200px;
}

#send, #submit {
  display: block;
  position: relative;
  top: 200px;
  transition: all 0.5s cubic-bezier(0.5, 0, 0.5, 1);
  margin: 15px auto 0;
}

#submit {
  top: 0;
}

#close {
  position: absolute;
  right: 0;
  top: 0;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  cursor: pointer;
}

#sub-main {
  align-items: center;
  justify-content: space-evenly;
  width: 100%;
}

#mobile-header {
  display: none;
}

@media (max-width: 1080px) {
  #sub-main {
    flex-direction: column;
    height: 80%;
  }
  header {
    background: none;
    box-shadow: none;
    z-index: 1;
    margin: 0;
    padding: 36px;
  }
}/*# sourceMappingURL=sty.css.map */