@import url('https://fonts.googleapis.com/css2?family=Archivo+Black&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Archivo+Black&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

html,body {
    background-color: rgb(56, 59, 71);
    font-family: "Archivo Black", sans-serif;
    height: 100%;
}

body {
    display: flex;
    justify-content: center;
    align-items: center;
}

.container {
    color: white;
    width: 40%;
    background-color: black;
    border-radius: 24px;
    display: flex;
    flex-direction: column;
}

.entete {
    display: flex;
    align-items: center;
    padding: 20px;
}

.back-button {
    background: none;
    border: none;
    cursor: pointer;
}

h1 {
    flex: 1;
    text-align: center;
    margin: 0;
    font-weight: 100;
}

form {
    display: flex;
    flex-direction: column;
    margin: 20px 80px;
}

label {    
    font-family: "Poppins", sans-serif;
    font-weight: 700;
    margin-top: 10px;
    color: rgb(112, 115, 127);
}

label[for="rester-connecte"] {    
    font-family: "Poppins", sans-serif;
    font-weight: 400;
    margin-top: 10px;
    color: white;
}

input {
    color: white;
    font-size: 16px;
    background-color: black;
    padding: 8px 8px;
    border: 1px solid rgb(112, 115, 127);
    border-radius: 6px;
}


input[type="checkbox"] {
    width: 18px;
    height: 18px;
}

p {    
    font-family: "Poppins", sans-serif;
    margin-bottom: 20px;
    text-align: center;
}

.nom-prenom {
    display: flex;
    gap: 4px;
}

.nom-prenom input {
    width: 100%;
    box-sizing: border-box;
}

#name {
    flex: 1;
}

.checkbox {
    margin: 16px 0;
    display: inline;
    justify-content: center;
}

#signup-buton {
    color: white;
    text-decoration: underline;
}

#login-button {
    font-family: "Poppins", sans-serif;
    font-weight: 600;
    font-size: 18px;
    background-color: white;
    border: none;
    border-radius: 90px;
    padding: 6px 36px;
    margin-top: 10px;
}

#login-button:hover {
    background-color: rgb(181, 181, 181);
    transition: background-color 200ms;
}

#error {
    display:none;
    background-color: rgb(207, 50, 50);
    border-radius: 9px;
    padding: 8px 0;
    text-align: left;
    padding-left: 16px;
    font-size:  13px;
}