/* Reset some default styles */
body, h1, h2, h3, p, ul, li {
    margin: 0;
    padding: 0;
}

/* Basic styling for the body */
body {
    font-family: Arial, sans-serif;
    background-image: url("motif4.png");
}

/* Style for the navigation menu */
ul.nav {
    list-style-type: none;
    margin: 0;
    padding: 0;
    overflow: hidden;
    background-color: #333;
}

ul.nav li {
    float: left;
}

ul.nav li a {
    display: block;
    color: white;
    text-align: center;
    padding: 14px 16px;
    text-decoration: none;
}

ul.nav li a:hover {
    background-color: #555;
}

/* Style for the form */
form.login-form {
    width: 300px;
    margin: 50px auto;
    background: #f2f2f2;
    padding: 20px;
    border-radius: 5px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    position: relative;
    top: 200px;
}

form.login-form input {
    margin-bottom: 10px;
    padding: 8px;
    width: 100%;
    box-sizing: border-box;
}

form.login-form input[type="submit"] {
    background-color: #4caf50;
    color: white;
    cursor: pointer;
}

form.login-form input[type="submit"]:hover {
    background-color: #45a049;
}

form.login-form a {
    text-decoration: none;
    color: #007bff;
    margin-left: 10px;
}

form.login-form a:hover {
    text-decoration: underline;
    color: #0056b3;
}

/* Style for the profile modification form */
form.profile-form {
    width: 400px;
    margin: 50px auto;
}

form.profile-form div {
    margin-bottom: 15px;
}

form.profile-form input {
    padding: 8px;
    width: 100%;
    box-sizing: border-box;
}

form.profile-form input[type="submit"] {
    background-color: #007bff;
    color: white;
    cursor: pointer;
}

form.profile-form input[type="submit"]:hover {
    background-color: #0056b3;
}

/* Style for the table */
table {
    border-collapse: collapse;
    width: 50%;
    margin: 20px auto;
}

table, th, td {
    border: 1px solid black;
}

th, td {
    padding: 10px;
    text-align: center;
}

/* Style for the logout button */
button {
    background-color: #f44336;
    color: white;
    padding: 10px 15px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    
}

.buttondeco {
    position: relative;
    left: 1800px;
    top: -72px;

}

button:hover {
    background-color: #d32f2f;
}

/* Style for the profile information */
div.profile-info {
    width: 300px;
    margin: 50px auto;
    background: #f2f2f2;
    padding: 20px;
    border-radius: 5px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

div.profile-info p {
    margin-bottom: 10px;
}

/* Style for the compte rendu form */
form.cr-form {
    width: 400px;
    margin: 50px auto;
    background: #f2f2f2;
    padding: 20px;
    border-radius: 5px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

form.cr-form div {
    margin-bottom: 15px;
}

form.cr-form input, form.cr-form textarea {
    padding: 8px;
    width: 100%;
    box-sizing: border-box;
}

form.cr-form button {
    background-color: #007bff;
    color: white;
    padding: 10px 15px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

form.cr-form button:hover {
    background-color: #0056b3;
}

.buttonEnvoyerPerso{
    position: relative;
    left: 900;
}
.buttondecoProf{
     position: relative;
    left: 1800px;
    top: -19px;

}

.form_creer{
    text-align: center;
position: relative;   
 bottom: -180px;
}

.button_creer{
    
position: relative;   
 bottom: -20px;
}

.form_modifier{
    text-align: center;
position: relative;   
 bottom: -180px;
}

.button_modifier{
    
position: relative;   
 bottom: -20px;
}

.listeEleve {
    position: relative;
    text-align: center;
    bottom: -200px;

}

.affiche_perso{
    position: relative;
    text-align: center;
    bottom: -300px;

}