/* Importation de Bootstrap */
@import url('https://cdn.jsdelivr.net/npm/bootstrap@5.3.0/dist/css/bootstrap.min.css');

/* Mise en page générale */
html, body {
    height: 100%;
    margin: 0;
    display: flex;
    flex-direction: column;
}

/* Assurer que le contenu prend toute la hauteur et le footer reste en bas */
.body-form {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

/* Style global avec image de fond */
body {
    background: url('cover.jpg') no-repeat center center;
    background-size: cover;  /* Assure que l'image couvre tout sans déformation */
    background-attachment: fixed;  /* Fixe l'image pour un effet plus fluide */
    font-family: 'Arial', sans-serif;
    height: 100vh; /* Assure que l'image couvre toute la hauteur de l'écran */
    margin: 0;
    display: flex;
    flex-direction: column;
}

/* Style du formulaire */
form {
    background: rgba(255, 255, 255, 0.9);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.2);
    width: 100%;
    max-width: 500px;
}

form h2 {
    text-align: center;
    margin-bottom: 20px;
    font-size: 22px;
    color: #333;
}

.form-group {
    margin-bottom: 15px;
}

label {
    font-weight: bold;
    margin-bottom: 5px;
    display: block;
}

input, select {
    width: 100%;
    padding: 10px;
    border-radius: 5px;
    border: 1px solid #ccc;
}

input:focus, select:focus {
    outline: none;
    border-color: #007bff;
    box-shadow: 0 0 5px rgba(0, 123, 255, 0.5);
}

.submit-btn input {
    background: #007bff;
    color: white;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s;
    border: none;
    padding: 10px;
    width: 100%;
    border-radius: 5px;
}

.submit-btn input:hover {
    background: #0056b3;
}

/* Footer bien positionné en bas */
.footer {
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 20px;
    text-align: left;
    width: 100%;
}

/* Organisation du footer */
.footer-row {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
}

.footer-col {
    flex: 1;
    min-width: 200px;
    padding: 10px;
}

.footer-col h4 {
    border-bottom: 2px solid #007bff;
    padding-bottom: 10px;
}

.footer-col ul {
    list-style: none;
    padding: 0;
}

.footer-col ul li {
    margin: 10px 0;
}

.footer-col ul li a {
    text-decoration: none;
    color: white;
    transition: 0.3s;
}

.footer-col ul li a:hover {
    color: #007bff;
}
