* {
  padding: 0%;
  margin: 0%;
}
header {
  background-color: #ffffff;
  padding: 20px 0;
  border-bottom: #aadf78 solid 3px;
}

.container {
  max-width: 100%;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.left-section img {
  height: 80px;
}

.right-section ul {
  list-style-type: none;
  margin: 0;
  padding: 0;
}

.right-section li {
  display: inline-block;
  margin-left: 0px;
}

.right-section a {
  text-decoration: none;
  color: #333;
}

.right-section a:hover {
  text-decoration: underline;
}

/* header end */
/* credit card */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  font-family: "Open Sans", sans-serif;
  height: 100%;
  justify-content: center;
  align-items: center;
  width: 100%;
  background: linear-gradient(50deg, #ffffff, #ffffff);
}
.ccb {
  min-height: 100%;
  padding-top: 20px;
  font-family: "Open Sans", sans-serif;
  height: 100%;
  justify-content: center;
  align-items: center;
  width: 100%;
  background: linear-gradient(50deg, #ffffff, #ffffff);
}

.btn {
  display: block;
  background: #bded7d;
  color: white;
  text-decoration: none;
  margin: 20px 0;
  padding: 15px 15px;
  border-radius: 5px;
  position: relative;
}
.btn::after {
  content: "";
  position: absolute;
  z-index: 1;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  transition: all 0.2s ease-in-out;
  box-shadow: inset 0 3px 0 rgba(0, 0, 0, 0), 0 3px 3px rgba(0, 0, 0, 0.2);
  border-radius: 5px;
}
.btn:hover::after {
  background: rgba(0, 0, 0, 0.1);
  box-shadow: inset 0 3px 0 rgba(0, 0, 0, 0.2);
}

.form fieldset {
  border: none;
  padding: 0;
  padding: 10px 0;
  position: relative;
  clear: both;
}
.form fieldset.fieldset-expiration {
  float: left;
  width: 60%;
}
.form fieldset.fieldset-expiration .select {
  width: 70px;
  margin-right: 12px;
  float: left;
}
.form fieldset.fieldset-cvv {
  clear: none;
  float: right;
  width: 86px;
}
.form fieldset label {
  display: block;
  text-transform: uppercase;
  font-size: 11px;
  color: rgba(0, 0, 0, 0.6);
  margin-bottom: 5px;
  font-weight: bold;
}
.form fieldset input,
.form fieldset .select {
  border-radius: 5px;
  background: #efefef99;
  position: relative;
  -webkit-box-flex: 1;
  flex: 1 1 auto;
  width: 100%;
  margin-bottom: 0;
  border: 1px solid #ced4da;
  height: 40px;
  padding-left: 12px;
  font-size: 20px;
}
.form fieldset input.input-cart-number,
.form fieldset .select.input-cart-number {
  width: 100%;
  display: inline-block;
  margin-right: 8px;
  background: #efefef99;
}
.form fieldset input.input-cart-number:last-child,
.form fieldset .select.input-cart-number:last-child {
  margin-right: 0;
}
.form fieldset .select {
  position: relative;
}
.form fieldset .select::after {
  content: "";
  border-top: 8px solid #222;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  position: absolute;
  z-index: 2;
  top: 14px;
  right: 10px;
  pointer-events: none;
}
.form fieldset .select select {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  position: absolute;
  padding: 0;
  border: none;
  width: 100%;
  outline: none !important;
  top: 6px;
  left: 6px;
  background: none;
  height: 80%;
}
.form fieldset .select select :-moz-focusring {
  color: transparent;
  text-shadow: 0 0 0 #000;
}
.form button {
  width: 100%;
  outline: none !important;
  background: linear-gradient(135deg, #59961e, #59961e);
  text-transform: uppercase;
  font-weight: bold;
  border: none;
  box-shadow: none;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
  margin-top: 90px;
  cursor: pointer;
}
.form button .fa {
  margin-right: 6px;
}

.checkout {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 0 auto;
  position: relative;
  width: 45%;
  background: white;
  border-radius: 15px;
  padding: 60px 45px 30px;
  box-shadow: 0 10px 40px rgb(0 0 0 / 10%);
}

.credit-card-box {
  perspective: 1000;
  width: 370px;
  height: 280px;
  transform: translateX(-40%);
}
.credit-card-box:hover .flip,
.credit-card-box.hover .flip {
  transform: rotateY(180deg);
}
.credit-card-box .front,
.credit-card-box .back {
  width: 400px;
  height: 250px;
  border-radius: 15px;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  background: linear-gradient(135deg, #253646, #364655);
  position: absolute;
  color: #fff;
  top: 0;
  left: 0;
  text-shadow: 0 1px 1px rgba(0, 0, 0, 0.3);
  box-shadow: 0 1px 6px rgba(0, 0, 0, 0.3);
}
.credit-card-box .front::before,
.credit-card-box .back::before {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  background: url("http://cdn.flaticon.com/svg/44/44386.svg") no-repeat center;
  background-size: cover;
  opacity: 0.05;
}
.credit-card-box .flip {
  transition: 0.6s;
  transform-style: preserve-3d;
  position: relative;
}
.credit-card-box .logo {
  position: absolute;
  top: 9px;
  right: 20px;
  width: 60px;
}
.credit-card-box .logo svg {
  width: 100%;
  height: auto;
  fill: #fff;
}
.credit-card-box .front {
  z-index: 2;
  transform: rotateY(0deg);
}
.credit-card-box .back {
  transform: rotateY(180deg);
}
.credit-card-box .back .logo {
  top: 185px;
}
.credit-card-box .chip {
  position: absolute;
  width: 60px;
  height: 45px;
  top: 20px;
  left: 20px;
  background: linear-gradient(135deg, #eac34d 0%, #eac34d 44%, #eac34d 100%);
  border-radius: 8px;
}
.credit-card-box .chip::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  margin: auto;
  border: 4px solid rgba(128, 128, 128, 0.1);
  width: 80%;
  height: 70%;
  border-radius: 5px;
}
.credit-card-box .strip {
  background: linear-gradient(135deg, #404040, #1a1a1a);
  position: absolute;
  width: 100%;
  height: 50px;
  top: 30px;
  left: 0;
}
.credit-card-box .number {
  position: absolute;
  margin: 0 auto;
  top: 103px;
  left: 19px;
  font-size: 36px;
}
.credit-card-box label {
  font-size: 10px;
  letter-spacing: 1px;
  text-shadow: none;
  text-transform: uppercase;
  font-weight: normal;
  display: block;
  margin-bottom: 3px;
}
.credit-card-box .card-holder,
.credit-card-box .card-expiration-date {
  position: absolute;
  margin: 0 auto;
  top: 180px;
  left: 19px;
  font-size: 22px;
  text-transform: capitalize;
}
.credit-card-box .card-expiration-date {
  text-align: right;
  left: auto;
  right: 20px;
}
.credit-card-box .cvv {
  height: 36px;
  background: #fff;
  width: 91%;
  border-radius: 5px;
  top: 110px;
  left: 0;
  right: 0;
  position: absolute;
  margin: 0 auto;
  color: #000;
  text-align: right;
  padding: 10px;
}
.credit-card-box .cvv label {
  margin: -25px 0 8px;
  color: #fff;
}

@media only screen and (max-width: 1400px) and (min-width: 770px) {
  .checkout {
    width: 82%;
  }
}

@media (max-width: 769px) {
  html,
  body {
    height: auto;
  }
  .checkout {
    display: block;
    width: 95%;
    padding: 20px 15px 20px;
  }
  .credit-card-box {
    width: 97%;
    transform: unset;
    margin: 0 auto;
  }
  .credit-card-box .front,
  .credit-card-box .back {
    width: 100%;
  }
  .checkout svg {
    display: none;
  }
  .credit-card-box .number {
    font-size: 30px;
  }
  .form fieldset input.input-cart-number,
  .form fieldset .select.input-cart-number {
    width: 100%;
  }
}
input::placeholder {
  font-size: 14px;
}
/*credit card end*/
/*footer */
footer {
  color: white;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: #001e50;
  padding: 20px;
  margin-top: 20px;
  border-top: #aadf78 solid 3px;
}

.footer-logo img {
  color: white;
  margin-bottom: 10px;
  height: auto;
  width: 170px;
}

.footer-contact {
  display: flex;
  align-items: center;
}

.footer-info {
  margin-left: 10px;
}
a {
  color: white;
  text-decoration: none;
}
.footer_bro {
  padding-left: 60%;
}
