@import url("https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@500&display=swap");
/**
*
* Testing
*
**/
::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  width: 10px;
  background-color: #ffffff;
  border-left: 0 solid #ffffff;
  border-right: 0 solid #ffffff;
  margin-block: 3px;
  border-radius: 50px;
}

::-webkit-scrollbar-thumb {
  background-color: #5d54a3;
  width: 15% !important;
  height: 15% !important;
  border-radius: 50px;
}

::-webkit-scrollbar:hover {
  cursor: pointer;
}

::-moz-selection {
  /* code for firefox */
  color: #ffffff;
  background-color: #5d54a3;
}

::selection {
  /* code for firefox */
  color: #ffffff;
  background-color: #5d54a3;
}

/* end variables */
.container {
  padding-left: 15px;
  padding-right: 15px;
  margin-left: auto;
  margin-right: auto;
  /*small*/
  /* tablet */
  /* Medium */
  /* desktop  */
}
@media (min-width: 577px) {
  .container {
    width: 550px;
  }
}
@media (min-width: 768px) {
  .container {
    width: 750px;
  }
}
@media (min-width: 992px) {
  .container {
    width: 970px;
  }
}
@media (min-width: 1300px) {
  .container {
    width: 1170px;
  }
}

/*! start variables*/
/*! end variables*/
/*! start Global Rules*/
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Space Grotesk", sans-serif;
}
body::after {
  content: "";
  background-image: url(../images/bg-main-desktop.png);
  background-size: cover;
  width: 33.5%;
  height: 100vh;
  position: absolute;
  top: 0;
  left: 0;
  z-index: -100;
  transition: width 0.35s ease-in-out, height 0.35s ease-in-out;
}
@media (max-width: 768px) {
  body::after {
    background-image: url(../images/bg-main-mobile.png);
    height: 400px;
    width: 100%;
    top: 0;
    left: 0;
  }
}
@media (max-width: 445px) {
  body::after {
    height: 360px;
  }
}

.app .thank_you #btn_two button, .app form #btn_one button {
  background: #21092f;
  border: none;
  padding: 15px 20px;
  color: #ffffff;
  cursor: pointer;
  border-radius: 6px;
  font-size: 18px;
}
.app .thank_you #btn_two button:hover, .app form #btn_one button:hover {
  opacity: 0.9;
}

.error {
  border: 2px solid #ff7978 !important;
}

.error-text {
  display: flex;
  justify-content: flex-end;
  align-content: space-between;
  font-size: 12px;
  font-style: italic;
  color: #ff7978;
  margin: 10px 0px;
}
.error-text::after {
  font-family: "Font Awesome 6 Free";
  content: "!";
  font-weight: 700;
  padding: 0 6px;
}

.success {
  border: 2px solid #6448fe !important;
}

.success-text {
  display: flex;
  justify-content: flex-end;
  align-content: space-between;
  font-size: 12px;
  font-style: italic;
  margin: 10px 0px;
  color: #6448fe;
}
.success-text::after {
  font-family: "Font Awesome 6 Free";
  content: "\f00c";
  font-weight: 700;
  padding: 0 6px;
  display: none;
}

/*! end Global Rules*/
/*! start code */
.container {
  height: 100vh;
  display: flex;
  justify-content: center;
  overflow-x: clip;
  overflow-y: initial;
}

.app {
  display: flex;
  min-height: 100vh;
  align-items: center;
  justify-content: center;
  justify-content: flex-start;
}
.app .image_content {
  width: 54%;
  padding: 32px;
  color: #ffffff;
}
.app .image_content .card_front_content {
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  background-image: url(../images/bg-card-front.png);
  background-repeat: no-repeat;
  background-size: 100%;
  width: 100%;
  max-width: 400px;
  min-width: 400px;
  height: 15.5rem;
  border-radius: 10px;
  position: relative;
  transform: translate(-50px, 10px);
  margin: 0 auto 32px 0px;
  padding: 32px;
}
.app .image_content .card_front_content .card_number {
  font-size: 22px;
  letter-spacing: 4px;
  margin-bottom: 25px;
}
.app .image_content .card_front_content .your {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 16px;
  text-transform: uppercase;
  word-spacing: 6px;
  font-size: 14px;
}
.app .image_content .card_front_content::after {
  content: url(../images/card-logo.svg);
  position: absolute;
  top: 27px;
  left: 27px;
}
@media (max-width: 768px) {
  .app .image_content .card_front_content {
    transform: translate(-25%, 100%);
    width: 400px;
    min-width: 360px;
    margin: 0;
  }
}
@media (max-width: 445px) {
  .app .image_content .card_front_content {
    max-width: 320px;
    min-width: 340px;
    transform: translate(-22%, 100%);
  }
  .app .image_content .card_front_content .card_number {
    font-size: 18px;
    letter-spacing: 2px;
  }
  .app .image_content .card_front_content .your {
    padding-bottom: 60px;
  }
}
@media (max-width: 375px) {
  .app .image_content .card_front_content {
    max-width: 300px;
    min-width: 302px;
    transform: translate(-16%, 100%);
  }
}
.app .image_content .card_back_content {
  background-image: url(../images/bg-card-back.png);
  background-repeat: no-repeat;
  background-size: 100%;
  width: 100%;
  max-width: 400px;
  min-width: 400px;
  height: 15.5rem;
  border-radius: 10px;
  position: relative;
  margin: 0 2rem 0 auto;
  padding: 32px;
}
.app .image_content .card_back_content span {
  position: absolute;
  right: 60px;
  top: 92px;
  font-size: 22px;
}
@media (max-width: 992px) {
  .app .image_content .card_back_content {
    width: 360px;
    min-width: 360px;
  }
  .app .image_content .card_back_content span {
    top: 80px;
  }
}
@media (max-width: 768px) {
  .app .image_content .card_back_content {
    transform: translate(-12%, -60%);
    z-index: -1;
  }
  .app .image_content .card_back_content span {
    top: 82px;
  }
}
@media (max-width: 445px) {
  .app .image_content .card_back_content {
    max-width: 320px;
    min-width: 320px;
    transform: translate(-20%, -60%);
  }
  .app .image_content .card_back_content span {
    right: 40px;
    top: 74px;
    font-size: 20px;
  }
}
@media (max-width: 375px) {
  .app .image_content .card_back_content {
    max-width: 280px;
    min-width: 280px;
    transform: translate(-12%, -48%);
  }
  .app .image_content .card_back_content span {
    top: 62px;
  }
}
@media (max-width: 992px) {
  .app .image_content {
    padding: 0;
  }
}
.app form {
  display: flex;
  flex-direction: column;
  width: 46%;
  max-width: 80%;
  margin-left: 10%;
  padding: 16px;
  font-size: 15px;
}
.app form input {
  padding: 14px;
  border-radius: 7px;
  border: 1px solid #787887;
  line-height: 1.15;
}
.app form input:hover {
  border: 1px solid #6448fe;
  cursor: pointer;
}
.app form .first_line {
  gap: 14px;
  text-transform: uppercase;
  display: flex;
  flex-direction: column;
}
.app form .second_line {
  gap: 14px;
  text-transform: uppercase;
  display: flex;
  flex-direction: column;
}
.app form .thirt_line {
  display: flex;
  margin-bottom: 26px;
  position: relative;
  align-items: baseline;
  align-content: center;
  gap: 10px;
}
.app form .thirt_line .exp {
  gap: 14px;
  display: flex;
  flex-direction: column;
}
.app form .thirt_line .exp .date {
  white-space: nowrap;
}
@media (max-width: 992px) {
  .app form .thirt_line .exp .date {
    font-size: 14px;
  }
}
.app form .thirt_line .exp .input_exp {
  display: flex;
  gap: 10px;
  text-transform: uppercase;
}
.app form .thirt_line .exp .input_exp input {
  width: 100%;
}
.app form .thirt_line .exp .input_exp span {
  display: block;
  position: absolute;
  top: 95px;
}
.app form .thirt_line .cvc {
  gap: 14px;
  display: flex;
  flex-direction: column;
  width: 50%;
}
.app form #btn_one {
  font-size: 15px;
  gap: 14px;
  text-transform: uppercase;
  display: flex;
  flex-direction: column;
}
@media (max-width: 992px) {
  .app form {
    margin-left: 0;
    width: 100%;
  }
}
.app .thank_you {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-left: 10%;
  width: 46%;
  max-width: 80%;
  padding: 16px;
  font-size: 15px;
  display: none;
}
.app .thank_you img {
  padding: 20px;
}
.app .thank_you .text {
  text-align: center;
}
.app .thank_you .text p:first-child {
  font-size: 28px;
  text-transform: uppercase;
}
.app .thank_you .text p:last-child {
  opacity: 0.8;
  font-size: 16px;
  margin-top: 10px;
  margin-bottom: 30px;
}
.app .thank_you #btn_two button {
  padding: 15px 70px;
}
@media (max-width: 768px) {
  .app .thank_you {
    margin-left: initial;
  }
}
@media (max-width: 768px) {
  .app {
    flex-direction: column;
  }
}

/*! start Attribution */
.attribution {
  position: absolute;
  bottom: 0rem;
  color: #48556a;
  font-size: 14px;
  font-weight: 700;
  padding: 20px 0;
  text-align: center;
  width: -webkit-fill-available;
}
.attribution a {
  font-size: smaller;
  text-decoration: none;
  color: #6448fe;
  text-transform: capitalize;
  font-size: 12px;
  font-weight: 400;
  white-space: nowrap;
}
.attribution a:hover::after {
  font-family: "Font Awesome 6 Free";
  font-weight: 600;
  content: "\f0a9";
  font-size: 14px;
  padding: 0 8px;
}
@media (max-width: 768px) {
  .attribution {
    bottom: -11rem;
  }
}

/*! end Attribution */
/*! end code *//*# sourceMappingURL=style.css.map */