
body {
    background-color: black;
    font-family: Arial, sans-serif;
}

input[type="password"], input[type="text"] {
    width: calc(100% - 20px);
    padding: 10px;
    margin: 10px 0;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
}

input[type="submit"] {
    width: 95%;
    padding: 10px;
    border: none;
    border-radius: 4px;
    background-color: hsl(189, 68%, 75%);
    color: white;
    cursor: pointer;
}

input[type="submit"]:hover {
    background-color: #FFD700;
    color: black;
}

.password-form {
    position: absolute;
    top: 57%; /* Adjust this value to position the form */
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    width: 50%; /* Adjust this value to change the width of the form */
    max-width: 400px; /* Optional: sets a maximum width */
}

input:focus~label,
input:valid~label,
textarea:focus~label,
textarea:valid~label {
    top: -35px;
    font-size: 14px;
}

.form-group {
    margin-bottom: 30px;
    margin-top: 20px;
    position: relative;

}

label {
    height: 100%;
    position: absolute;
    left: 0;
    top: -20px;
    padding: 10px;
    color: white; /* Couleur du texte des labels */
    padding: 10px;
    transition: 0.2s;
}

input,
textarea {
    width: 100%;
    padding: 10px;
    outline: 0;
    border: 2px solid black; /* Augmentez l'épaisseur de la bordure selon vos préférences */
    border-radius: 10px; /* Réglez le rayon de la bordure selon vos préférences */
    color: white;
    background: transparent;
    font-size: 15px;
}
