@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@300;400;500;700&display=swap');
*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-size: 18px;
    font-family: 'Space Grotesk', sans-serif;
}
.body{
    height: 100vh;
    background-image: url(./images/bg-main-desktop.png);
    background-repeat: no-repeat;
    background-size: 40%;
}
.esquerda{
    width: 100%;
    gap: 2rem;
}
.frente, .verso{
    color: white;
    padding: 2rem;
    border-radius: 1rem;
    width: 600px;
    height: 350px;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}
.frente{
    background-image: url(./images/bg-card-front.png);
    position: relative;
    right: 3rem
}
.verso{
    background-image: url(./images/bg-card-back.png);
    padding-right: 3.5rem;
}
.CVV{
    letter-spacing: 0.1rem;
    font-weight: 400;
    font-size: 1.5rem;
}
.numeroCard{
    margin-top: 3rem;
    font-size: 2.4rem;
    font-weight: 400;
    letter-spacing: 0.15rem;
}
.nameCard, .dataCard{
    font-size: 1rem;
    letter-spacing: 0.2rem;
}
.direita{
    height: 100%;
}
.form{
    gap: 2rem;
}
.inputsCima{
    gap: 2rem;
}

.inputs{
    display: flex;
    flex-direction: column;
}
.inputs label{
    font-weight: bold;
}
.inputs input{
    padding: 1rem;
    border-radius: 0.5rem;
}
.inputs input::placeholder{
    font-weight: bold;
}

.inputsData{
    gap: 1rem;
}
#mesForm, #anoForm{
    width: 50%;
}
.botao{
    padding: 1rem;
    background-color: hsl(278, 68%, 11%);
    color: white;
    border-radius: 0.5rem;
}
.error{
    border-color: red;
}
.msgErro{
    color: red;
}

@media (max-width: 990px){
    *{
        font-size: 9px;
    }
    .body{
        height: 100%;
        background-image: url(./images/bg-main-mobile.png);
        background-size:contain
    }
    .esquerda{
        height: 100%;
        width: 100%;
        gap: 0;
        position: relative;
        top: 3rem;
    }
    .frente, .verso{
        color: white;
        padding: 2rem;
        border-radius: 1rem;
        width: 300px;
        height: 175px;
        background-repeat: no-repeat;
        background-size: cover;
        background-position: center;
    }
    .frente{
        position: relative;
        right: 1rem;
        bottom: 8.5rem;
        z-index: 1;
    }
    .verso{
        background-image: url(./images/bg-card-back.png);
        padding-right: 3.5rem;
        position: relative;
        left: 5rem;
    }
    .form, .inputs label, .inputs input::placeholder, .inputs input,.msgErro{
        font-size: 2rem;
    }
}