html {
  font-family: 'Roboto', sans-serif;
  height: 100%;
}

body {
  height: 100%;
  margin: 0;
}

body > section.content {
  margin: auto;
  display: flex;
  height: 100%;
  justify-content: center;
  align-items: center;
}

.shapes {
  position: fixed;
}

.shape-1 {
  width: 100px;
  top: 50px;
  left: calc(35vw);
}

.shape-2 {
  left: 0;
  bottom: calc(50vh);
}

.shape-3 {
  top: calc(32vh);
  right: 20%;
}

.shape-4 {
  top: 45px;
  right: 0;
}

.bg-one {
  width: 100%;
  position: absolute;
  top: 0;
  height: 50vh;
  background-color: #21232A;
  z-index: 0;
}

img.logo {
  width: 160px;
  z-index: 1;
  margin-top: 1rem;
  margin-bottom: 1rem;
}

div.selector {
  margin-top: 1rem;
  z-index: 1;
  background-color: #fff;
  color: #21232A;
  padding: 2rem;
  width: 100%;
  max-width: 500px;
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  filter: drop-shadow(0 20px 13px rgb(0 0 0 / 0.03)) drop-shadow(0 8px 5px rgb(0 0 0 / 0.08));
  align-items: center;
  text-align: center;
}

div.selector > p {
  border-top: 1px solid #DCDFE5;
  padding-top: 2rem;
}

div.selector > a.card {
  border-top: 1px dashed #DCDFE5;
  margin-top: 1rem;
  padding-top: 1rem;
  width: 100%;
  display: flex;
  text-decoration: none;
  align-items: center;
}

div.selector > a.card > div.image > img.event {
  border-radius: 10px;
  object-fit: cover;
  width: 100px;
  height: 140px;
}

div.details {
  width: 100%;
}

div.selector > a.card > div.details {
  text-decoration: none;
  color: #21232A;
}

div.selector > a.card > div.details > p {
  font-size: .75rem;
  line-height: 1.5;
}

@media only screen and (max-width: 600px) {
  div.selector {
    max-width: 100%;
    border-radius: 0;
    padding: 1rem;
  }

  div.selector > a.card > div.image > img.event {
    height: 120px;
    width: 100px;
  }
}

[name="card-container"] {
    position: relative;
    width: 100%;
    padding-top: 15px;
    padding-bottom: 15px;
}
[name="card-container"] label {
    position: absolute;
    top: 0%;
    left: 0%;
    font-size: .8rem;
    color: #308cbd;
    font-weight: 400;
    cursor: text;
    pointer-events: none;
    transition: all .2s linear;
}
#card {
    height: 40px;
    width: 100%;
    padding-right: 50px;
    padding-left: 10px;
    box-sizing: border-box;
    border: none;
    border-bottom: 1px solid #91b7de;
}
/* #card:focus ~ .card-label {
    font-size: .8rem;
    color: #308cbd;
    font-weight: 400;
    top: 0%;
}
#card:active ~ .card-label {
    top: 0%;
} */
#logo {
    width: 46px;
    height: 30px;
    position: absolute;
    top: 17px;
    right: 3px;
}
.validcard {
    border-bottom: 1px dashed #67bea3 !important;
    color: #67bea3 !important;
}
.error {
    border-bottom: 1px dashed rgb(248, 86, 88) !important;
}
.visa {
    background: url("https://jscardvalidator-mpccmwdwqf.now.sh/cards_sprite_compressed_30.jpg")
        0 0 no-repeat;
}
.mastercard {
    background: url("https://jscardvalidator-mpccmwdwqf.now.sh/cards_sprite_compressed_30.jpg")
        0 -30px no-repeat;
}
.amex {
    background: url("https://jscardvalidator-mpccmwdwqf.now.sh/cards_sprite_compressed_30.jpg")
        0 -60px no-repeat;
}
.diners {
    background: url("https://jscardvalidator-mpccmwdwqf.now.sh/cards_sprite_compressed_30.jpg")
        0 -90px no-repeat;
}
.discover {
    background: url("https://jscardvalidator-mpccmwdwqf.now.sh/cards_sprite_compressed_30.jpg")
        0 -120px no-repeat;
}
.shopping {
    background: url("https://jscardvalidator-mpccmwdwqf.now.sh/cards_sprite_compressed_30.jpg")
        0 -150px no-repeat;
}
.naranja {
    background: url("https://jscardvalidator-mpccmwdwqf.now.sh/cards_sprite_compressed_30.jpg")
        0 -180px no-repeat;
}
.qida {
    background: url("https://jscardvalidator-mpccmwdwqf.now.sh/cards_sprite_compressed_30.jpg")
        0 -210px no-repeat;
}
.clubdia {
    background: url("https://jscardvalidator-mpccmwdwqf.now.sh/cards_sprite_compressed_30.jpg")
        0 -240px no-repeat;
}
.musicred {
    background: url("https://jscardvalidator-mpccmwdwqf.now.sh/cards_sprite_compressed_30.jpg")
        0 -270px no-repeat;
}
.nevada {
    background: url("https://jscardvalidator-mpccmwdwqf.now.sh/cards_sprite_compressed_30.jpg")
        0 -300px no-repeat;
}
.tuya {
    background: url("https://jscardvalidator-mpccmwdwqf.now.sh/cards_sprite_compressed_30.jpg")
        0 -330px no-repeat;
}
.laanonima {
    background: url("https://jscardvalidator-mpccmwdwqf.now.sh/cards_sprite_compressed_30.jpg")
        0 -360px no-repeat;
}
.crediguia {
    background: url("https://jscardvalidator-mpccmwdwqf.now.sh/cards_sprite_compressed_30.jpg")
        0 -390px no-repeat;
}
.patagonia {
    background: url("https://jscardvalidator-mpccmwdwqf.now.sh/cards_sprite_compressed_30.jpg")
        0 -410px no-repeat;
}
.sol {
    background: url("https://jscardvalidator-mpccmwdwqf.now.sh/cards_sprite_compressed_30.jpg")
        0 -440px no-repeat;
}
.cabal {
    background: url("https://jscardvalidator-mpccmwdwqf.now.sh/cards_sprite_compressed_30.jpg")
        0 -470px no-repeat;
}
.cencosud {
    background: url("https://jscardvalidator-mpccmwdwqf.now.sh/cards_sprite_compressed_30.jpg")
        0 -500px no-repeat;
}
.credimas {
    background: url("https://jscardvalidator-mpccmwdwqf.now.sh/cards_sprite_compressed_30.jpg")
        0 -530px no-repeat;
}
.carrefour {
    background: url("https://jscardvalidator-mpccmwdwqf.now.sh/cards_sprite_compressed_30.jpg")
        0 -560px no-repeat;
}
.grupar {
    background: url("https://jscardvalidator-mpccmwdwqf.now.sh/cards_sprite_compressed_30.jpg")
        0 -590px no-repeat;
}
.wishgift {
    background: url("https://jscardvalidator-mpccmwdwqf.now.sh/cards_sprite_compressed_30.jpg")
        0 -610px no-repeat;
}
.unknown {
    background: url("https://jscardvalidator-mpccmwdwqf.now.sh/cards_sprite_compressed_30.jpg")
        0 -640px no-repeat;
}

.submit-card {
  width: 100%;
  min-height: 35px;
  margin-bottom: 20px;
}

.submit-card:disabled {
  background-color: #cccccc;
  color: #666666;
  min-height: 35px;
}

#error {
  display: none;
  color: #21232A;
}