#Center
{
    position: absolute;
    top: 50%;
    left: 50%;
    background-color: white;
    padding: 20px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.19), 0 6px 6px rgba(0,0,0,0.23);
    
    /* ANIMATION */
    animation: fadeInUp 1s;
    animation-fill-mode: both;
}

@keyframes fadeInUp
{
    0% {opacity: 0;
        transform: translate(-50%, -40%);
    }
    100% {opacity: 1;
    transform: translate(-50%, -60%);
    }
}

#img
{
    max-height: 100px;
}

#submitButton
{
    padding: 7px 17px;
    font-size: 20px;
    border-radius: 2px;
    transition-duration: 0.3s;
    box-shadow: 0 1px 4px rgba(0, 0, 0, .6);
    border: 0px;
    transition: all 0.3s cubic-bezier(.25,.8,.25,1);
}

#submitButton:hover
{
    background-color: rgba(225,33,33);
    color: white;
    box-shadow: 0 1px 4px rgba(0, 0, 0, .6);
}

#submitButton:active /* Animation du clic du bouton */
{
    padding: 7px 25px; /* agrandissement de la largeur */
    transform: translateY(2px); /* effet d'appui */
}

.inputBox
{
    position:relative;
}

.inputBox input
{
    width:100%;
    padding: 3%;
    border: 1px solid grey;
    border-radius:2px;
    outline:none;
    font-size:14pt;
    transition:0.4s;
}

.inputBox span
{
    position:absolute;
    left:0;
    pointer-events: none;
    font-size: 14pt;
    color: lightgrey;
    text-transform: uppercase;
    transition:0.3s;
    transform: translate(20%, 30%); /* possitionnement des textes dans les box */
}

.inputBox input:valid ~ span,
.inputBox input:focus ~ span
{
    color:rgb(255,33,33); /* couleur en haut */
    transform: translate(15%, -50%); /* position en hauteur */
    font-size:10pt;
    padding: 0px 5px;
    background : white;
    letter-spacing:0.2em;
}

.inputBox:nth-child(3) input:valid ~ span,
.inputBox:nth-child(3) input:focus ~ span
{
    background: rgb(255,33,33);
    color: rgb(220,220,220);
    border-radius:5px;
    transition:0.3s;
}

.inputBox input:valid,
.inputBox input:focus
{
    border: 1px solid rgb(255,33,33);
}


/*AUTOCOMPLETE CHROME */
input:-webkit-autofill,
input:-webkit-autofill:hover, 
input:-webkit-autofill:focus,
textarea:-webkit-autofill,
textarea:-webkit-autofill:hover,
textarea:-webkit-autofill:focus,
select:-webkit-autofill,
select:-webkit-autofill:hover,
select:-webkit-autofill:focus {
  -webkit-box-shadow: 0 0 0px 1000px #FFFFFF inset;
  transition: background-color 5000s ease-in-out 0s;
}

.mdcheckbox
{
    padding: 0.25em;
    border-radius: 0.125em;
}