body {
    background-color: #303030;
    background-size: cover;
    padding: 0; margin-left: 0; margin-top: 0;
    text-align: center;
    width: 100%;
    height: 98vh;
    font-family: 'Roboto';
}

header {
    background-color: #181818;
    height: auto;
}


header h1 {
    color: white;
    margin: 0;
    font-weight: normal;
    margin-block-end: 1%;
}


header hr {
    margin: 0;
}

.container {
    display: flex; /* contexte sur le parent */
    flex-direction: column; /* direction d'affichage verticale */
    justify-content: center; /* alignement vertical */
    height: 90%;
    color: white;
}

.formulaire h1 {
    margin: 0;
}

.form {
    margin: auto;
}

.form label {
    font-size: 25px;
}

input[type=text], input[type=email], input[type=password] {
    background-color: #121212;
    border: 1px solid #303030;
    border-radius: 4px;
    width: 260px;
    height: 32px;
    color: white;
    font-size: 20px;
} 

input[type=submit] {
    color: white;
    background-color: #121212;
    border: 1px solid #303030;
    border-radius: 8px;
    width: 180px;
    height: 32px;
    font-size: 20px;
}

input[type=text]:focus, input[type="email"]:focus, input[type="password"]:focus, input[type=submit]:focus {
    outline:none;
    border: 1px solid white;
}

input[type=submit]:hover, input[type="email"]:hover, input[type=text]:hover, input[type="password"]:hover {
    border: 1px solid white;
}

#text {
    font-size: 14px;
    margin-top: 2%;
    margin-block-end: 0;
    color: rgb(255, 53, 53);
}


@media (min-width: 300px) and (max-width: 600px) {

    body {
        height: 85vh;
    }
    
    header h1 {
        color: white;
        margin: 0;
        font-weight: normal;
        margin-block-end: 3%;
        font-size: 20px;
    }

    #user {
        font-size: 23px;
    }

    .container h1 {
        font-size: 30px;
    }

    #name {
        font-size:20px;
    }

    #mail {
        font-size:20px;
        margin-block-end:15%;
    }

    #panel {
        display: none;
    }
    .container {
        height: 90%;
    }
    
    #previous {
        font-size: 36px;
        color :white;
        position: absolute;
        left: 15px;
        top: 60px;
    }
}