 *{
    box-sizing: border-box;
}
head {
    font-family: 'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Verdana, sans-serif;
}
header {
    margin:0;
    display:flex;
    justify-content: center;
    align-items: center;
    flex-direction: row;
    height: 60px;
}
h1 {
    position: absolute;
    box-sizing: content-box;
    margin:0;
    width: 130px;
    height: 130px;
    border: 5px solid white;
    border-radius: 100px;
    background: #4A9B9B;
    text-align: center;
    color: white;
    display: flex;
    align-items: center;
    top:-3px;
    z-index: 1;
}
main {
    position:relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-family: sans-serif;
}
#cardForm{
    background: #a1e0dd;
    width: 30em;
    max-width: 80%;
    padding: 0 2em 0.5em;
    border-radius: 1em;
}
.card-image{
    height: 8em;
    width: 50%;
    background-image: url(./img/bg-tarjeta/bg-tarjeta-01.jpg);
    margin: 2% 25% 0;
    box-shadow: 1px black;
    border-radius: 1em;
    display: flex;
    padding: 32px 13px 8px;
    flex-direction: column;
    box-shadow: 0px 0px 4px 0px rgba(0,0,0,.3);
}
.card-image .logo{
    position: relative;
    width: 27%;
    background-image: url(./img/logos/something.png);
    border-radius: 2px;
    left: 136px;
    bottom: 30px;
    z-index: 1;
}
.card-image .chip{
    width: 20%;
    height: 30%;
    border-radius: 2px;
    margin-bottom: 4px;
}
.card-image .imageCardNumber{
    height: 10px;
    margin: 2px 0;
    color: #8d7475;
}
.card-image .imageDate{
    height: fit-content;
    width: 50%;
    color: #8d7475;
    font-size: 0.85em;
    margin-left: 56px;
    margin-top: 20px;
}
.form-group {
    display: block;
    height: 100px; 
}
#inputBoxNumber {
    position: relative;
}
.form-validation-estate{
    position: absolute;
    opacity: 0;
    z-index: 1;
    font-size: 1.5em;
    color: #BBBBBB;
}
#validationIcon {
    opacity: 1;
    right: 10px;
    top: 11px;
}
.form-validation-estate:hover{
    color: #255050;
}
.input-box{
    background-color: white;
    border-radius: 5px;
    border: 3px solid transparent;
    height: 2.9em;
    line-height: 2.9em;
    font-size: 1em;
    width: 100%;
    transition: .3s ease all;
    color: #255050;
    padding-left: 0.5em;
    font-family: sans-serif;
}
.input-box:focus {
    border: 3px solid #3f8585;
    outline: none;
}
.label-style {
    cursor: pointer;
    font-size: 1em;
    color: #255050;
    font-family: sans-serif;
}
.form-group-two-columns {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1em;
}
.form-errorMessage {
    position: relative;
    display: none;
    font-size:0.8em;
    margin-bottom: 0;
    margin-top: 0;
    padding-left: 0.5em;
    padding-top: 0.1em;
    color: red;
}
#payButton{
    background: blue;
    color:white;
    border-radius: 8px;
    border:none;
    font-size: 1.5em;
    width: 200px;
    height: 50px;
    cursor: pointer;
    margin: 0 25%;
    box-shadow: 2px 2px 8px 2px rgba(0,0,0,.3);;
}
.over-lay{
    background: rgba(0,0,0,.3);
    position: fixed;
    top: 0;
    bottom: 0;
    right: 0;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
    visibility: hidden;
}
.over-lay.active{
    visibility: visible;
}
.popUp{
    background: white;
    box-shadow: 0px 0px 4px 0px rgba(0,0,0,.3);
    border: 1px solid #4A9B9B;
    border-radius: 10px;
    font-family: 'Times New Roman', Times, serif;
    padding: 0px 10px 10px;
    text-align: center;
    width: 600px;
    display: flex;
    flex-direction: column;
    transition: .3s ease all;
    transition: scale(0.7);
    opacity: 0;
}
.popUp.active{
    opacity: 1;
    transform: scale(1);
}
.popUp .btnCerrarPopUp {
    font-size: 1.5em;
    line-height: 1.5em;
    display: block;
    text-align: right;
    color: #BBBBBB;
    transition: .3s ease all;
}
.popUp .btnCerrarPopUp:hover {
    color: #255050;
}
.popUp h3 {
    font-size: 1.2em;
    font-weight: 600;
    margin:10px;
    opacity: 0;
    color: #4A9B9B;
}
.popUp.active h3{
    animation: entryMaskify .3s ease .5s forwards;
}
@keyframes entryMaskify {
    from {
        transform: translateY(-25px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}
.popUp h4 {
    display: block;
    text-align: center;
    font-size: 1.3em;
    font-weight: 600;
    height: 20px;
    width: 50%;
    line-height: 20px;
    background:transparent;
    margin: 10px 25%;
    opacity: 0;  
}
.popUp.active h4{
    animation: entryisValid .3s ease .5s forwards;
}
@keyframes entryisValid {
    from {
        transform: translateY(25px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}
.popUp .buy{
    font-size: 1.1em;
    color:#4A9B9B;
    margin: 10px;
}
footer{
    display: flex;
    justify-content: center;
    height: 1em;
    margin-top: 15px;
}
#author {
margin: 0;
}

