:valid, :invalid, :active, :focus {
	box-shadow: none;
	outline-style: none;
}

::selection, ::-moz-selection {
	color: #FFF;
	background: #0C0C26;
}

a, a:hover, a:focus {
	text-decoration: none;
	outline: none;
}

img {
	border: 0!important;
}

body {
    width: calc(100vw - 50px);
    height: auto;
	min-height: calc(100vh - 120px);
    margin: 0;
    padding: 60px 25px;
    background-color: #0C0C26;
    background-image: url('../img/background.jpg');
    background-position: center;
    background-size: cover;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    overflow: auto;
}

.moon {
    position: absolute;
    top: 16%;
    right: 15%;
    width: 54px;
    height: auto;
    filter: drop-shadow(0 0 50px rgba(255, 255, 255, 0.6));
    transition: all 2s ease;
    z-index: 2;
}

.brand {
    width: auto;
    height: 74px;
    fill: #FFFFFF;
}

h1 {
    width: 100%;
    margin: 18px 0 30px 0;
    padding: 0;
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    color: #FFFFFF;
    font-weight: 400;
    text-align: center;
    line-height: 26px;
}

h1 strong {
    font-weight: 700;
}

p {
    width: 100%;
    margin: 18px 0 30px 0;
    padding: 0;
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    color: #FFFFFF;
    font-weight: 400;
    text-align: center;
}

form {
    position: relative;
    width: 100%;
    max-width: 340px;
    z-index: 2;
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: flex-start;
	flex-wrap: wrap;
    z-index: 2;
}

input {
    width: 100%;
    margin: 8px 0;
    padding: 15px 20px 14px 54px;
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    color: #FFFFFF;
    font-weight: 500;
    letter-spacing: 0.2px;
    background-color: rgba(255, 255, 255, 0.2);
    background-image: url('../img/lock.png');
    background-position: 21px 11px;
    background-size: auto 24px;
    background-repeat: no-repeat;
    border: 0;
    border-radius: 30px;
}

input#montant {
	background-image: url('../img/montant.png');
}

input#carte {
	background-image: url('../img/carte.png');
}

input#facture {
	background-image: url('../img/facture.png');
}

input::placeholder {
	font-size: 0.8rem;
}

button, .button {
    width: 100%;
    margin: 20px 0 15px 0;
    padding: 17px 0;
    background-color: #0059FF;
    font-family: 'Inter', sans-serif;
    font-size: 0.75rem;
    color: #FFFFFF;
    font-weight: 700;
    text-align: center;
    letter-spacing: 1.3px;
    text-transform: uppercase;
    border: 0;
    border-radius: 30px;
    cursor: pointer;
}

button img {
    width: auto;
    height: 24px;
    margin: -6px 0;
    animation: rotate 2s infinite linear;
}

form #cvc { 
	width: calc(33% - 45px);
	margin-right: 6px;
	padding-left: 20px;
	padding-right: 20px;
}

form #mois {
	width: calc(33% - 45px);
	margin-left: 3px;
	margin-right: 3px;
	padding-left: 20px;
	padding-right: 20px;
}

form #annee {
	width:calc(33% - 45px);
	margin-left: 6px;
	padding-left: 20px;
	padding-right: 20px;
}

.pouce {
	width: auto;
	height: 30px;
	margin: 0 auto;
}

.payment-errors {
	width: 100%;
    margin: 6px 0 30px 0;
    padding: 0;
    font-family: 'Inter', sans-serif;
    font-size: 0.8rem;
    color: #FFFFFF;
    font-weight: 400;
    text-align: center;
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(359deg);
    }
}

@media (max-width:768px) {
    body {
        background-position: bottom left;
    }
    .moon {
        top: 12%;
        right: 12%;
        width: 44px;
    }
}