* {
  margin: 0;
  padding: 0;
}

body {
  background-color: darkslategrey;
  font-family: "Readex Pro", sans-serif;
  height: 100vh;
}

.content {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  height: 100%;
}

.back {
  position: absolute;
  top: 0;
  left: 0;
  height: 4.25rem;
  width: 8.5rem;
  background-color: #0d3131;
  color: antiquewhite;
  border-bottom-right-radius: 2rem;
  cursor: pointer;
}

.back a {
  height: 100%;
  width: calc(100% - 1.5rem);
  padding-left: 1.5rem;
  text-decoration: none;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}

.back a:link,
.back a:visited {
  color: antiquewhite;
}

.intro {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  margin-top: 20vh;
  color: seashell;
  text-align: center;
  width: 90%;
}

.intro h2 {
  margin-top: 1.25rem;
}

.intro h5 {
  margin-top: 2rem;
  font-weight: 400;
}

.card-number {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
      -ms-flex-direction: row;
          flex-direction: row;
  -ms-flex-pack: distribute;
      justify-content: space-around;
  width: 80%;
  margin-top: 4vh;
  width: -webkit-fit-content;
  width: -moz-fit-content;
  width: fit-content;
}

.card-number input {
  height: 3rem;
  width: 2.25rem;
  text-align: center;
  border: none;
  outline: none;
  border-radius: 6px;
  margin-right: 0.5rem;
  font-size: 1.5rem;
  font-weight: 300;
  font-family: "Readex Pro", sans-serif;
  -webkit-transition: 0.1s;
  transition: 0.1s;
}

.card-number input:nth-of-type(4), .card-number input:nth-of-type(8), .card-number input:nth-of-type(12) {
  margin-right: 2rem;
}

.card-number input:last-of-type {
  margin-right: 0;
}

.card-number input:focus-within {
  outline: 3px solid #619292;
}

/* Chrome, Safari, Edge, Opera */
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

/* Firefox */
input[type="number"] {
  -moz-appearance: textfield;
}

.bottom {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  margin-top: 3rem;
}

.bottom button {
  border: none;
  width: 7rem;
  height: 2.5rem;
  font-family: "Readex Pro", sans-serif;
  font-size: 1rem;
  background-color: #f7e9e0;
  border-radius: 8px;
  cursor: pointer;
  -webkit-transition: 0.3s;
  transition: 0.3s;
  color: #202020;
}

.bottom button:first-of-type {
  margin-right: 1.75rem;
  background-color: #ffcaa3;
}

.bottom button:hover {
  background-color: #a35a26;
}

.bottom #result {
  color: whitesmoke;
  margin-top: 1.5rem;
}

footer {
  position: relative;
  height: 5rem;
  margin-top: auto;
  width: 100%;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  color: whitesmoke;
}

footer a:link {
  color: #aadae5;
}

footer a:visited {
  color: #59828b;
}

footer span {
  height: -webkit-fit-content;
  height: -moz-fit-content;
  height: fit-content;
}

footer span:first-of-type {
  margin-right: 0.3rem;
}

@media screen and (max-width: 880px) {
  :root {
    font-size: 90%;
  }
}

@media screen and (max-width: 770px) {
  :root {
    font-size: 80%;
  }
}

@media screen and (max-width: 660px) {
  :root {
    font-size: 70%;
  }
  .card-number input {
    height: 3rem;
    width: 2.25rem;
    text-align: center;
    border: none;
    outline: none;
    border-radius: 0px;
    margin-right: 0rem;
  }
  .card-number input:nth-of-type(1), .card-number input:nth-of-type(5), .card-number input:nth-of-type(9), .card-number input:nth-of-type(13) {
    padding-left: 0.5rem;
    border-radius: 6px 0 0 6px;
  }
  .card-number input:nth-of-type(4), .card-number input:nth-of-type(8), .card-number input:nth-of-type(12) {
    margin-right: 1rem;
    padding-right: 0.5rem;
    border-radius: 0 6px 6px 0;
  }
  .card-number input:nth-of-type(16) {
    border-radius: 0 6px 6px 0;
    padding-right: 0.5rem;
  }
  .card-number input:focus-within {
    outline: none;
  }
  .bottom {
    width: 100%;
  }
  .bottom .action {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    gap: 1.5rem;
    width: 100%;
  }
  .bottom .action button {
    font-size: 1.25rem;
    margin: 0;
    width: 70%;
    height: 4rem;
  }
}

@media screen and (max-width: 488px) {
  .card-number input {
    height: 3rem;
    width: 2rem;
    font-size: 1.25rem;
    font-weight: 300;
  }
  .card-number input:nth-of-type(5), .card-number input:nth-of-type(9), .card-number input:nth-of-type(13) {
    border-radius: 0;
    padding-left: 0.25rem;
  }
  .card-number input:nth-of-type(4), .card-number input:nth-of-type(8), .card-number input:nth-of-type(12) {
    margin-right: 0;
    padding-right: 0.25rem;
    border-radius: 0;
  }
  .card-number input:nth-of-type(16) {
    border-radius: 0 6px 6px 0;
  }
  .bottom .action button {
    width: 80%;
  }
}

@media screen and (max-width: 420px) {
  .card-number input {
    height: 3rem;
    width: 1.5rem;
    font-size: 1.25rem;
  }
  .bottom .action button {
    width: 90%;
  }
  footer {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
  }
  footer span {
    width: 100%;
    text-align: center;
  }
}

@media screen and (max-width: 346px) {
  .card-number input {
    font-size: 1.25rem;
  }
  .card-number input:nth-of-type(1) {
    padding-left: 0.25rem;
  }
  .card-number input:nth-of-type(16) {
    padding-right: 0.25rem;
  }
}
/*# sourceMappingURL=ccv.css.map */