/* General styles */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    line-height: 1.6;
    background-color: white;
}

/* Header container */
header {
    position: relative;
    height: 100vh; /* Full viewport height */
    width: 100%;
    overflow: hidden; /* Ensure the video doesn't overflow */
	margin-bottom: 20px; /* Space below the header */
}

/* Background video styling */
.background-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover; /* Ensures the video covers the full container */
    z-index: -1; /* Put the video behind everything */
}

/* Top menu styling */
.top-menu {
    position: fixed; /* Make the menu stay at the top when scrolling */
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(0, 0, 0, 0.5); /* Semi-transparent black background */
	backdrop-filter: blur(6px); /* Apply a blur effect */
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 20px; /* Add some padding */
    z-index: 2; /* Ensure it is above the video */
    box-sizing: border-box;
}

/* Logo styling */
.logo {
    height: 60px; /* Adjust logo height */
    max-height: 100%; /* Ensure it fits within the container */
}


/* Header text styling */
.header-text {
    position: absolute;
    bottom: 20%;
    text-align: center;
    color: white;
    width: 100%;
    z-index: 1; /* Ensure it is above the video but below the top menu */
    font-size: 2.5rem; /* Adjust font size */
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .top-menu {
        flex-direction: column; /* Stack elements vertically */
        align-items: center; /* Center align content */
    }

    .language-menu {
        margin-top: 10px; /* Add spacing */
    }

    .header-text {
        font-size: 1.5rem; /* Adjust font size for smaller screens */
    }
}
/* Main content styling */
main {
    padding: 20px;
    margin-top: 10px; /* Ensure enough space for fixed header */
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 900px;
    margin: 120px auto; /* Center content on larger screens */
    color: #444; /* Adjusted for better readability */
}

#containerPage {
    width: 100%; /* Utiliser toute la largeur disponible */
    max-width: 400px; /* Ajuste cette valeur si nécessaire */
    margin: 0 auto; /* Centrer horizontalement */
    padding: 20px; /* Espacement intérieur pour respirer */
    box-sizing: border-box; /* Assure que les marges ne dépassent pas la largeur */
}

.contact-container {
    background: #f9f9f9;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    margin-top: 10px;
    width: 100%; /* Utiliser toute la largeur disponible */
    max-width: 600px; /* Limiter à une largeur agréable à lire */
    box-sizing: border-box;
}

.contact-container h2 {
    text-align: center;
    margin-bottom: 20px;
    color: #061b3d;
}

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

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

input,
textarea {
    width: 100%; /* Utiliser toute la largeur disponible sans calcul */
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
}

textarea {
    resize: vertical;
}

label span.asterisk {
    color: violet; /* Définit la couleur de l'astérisque en bleu */
}

.form-buttons {
    display: flex;
    justify-content: space-between;
    margin-top: 20px;
}

button {
    background-color: #007bff;
    color: white;
    padding: 10px 15px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    width: 48%; /* Ajustez la largeur pour laisser de l'espace entre les boutons */
}

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

button[type="reset"] {
    background-color: #ccc;
}

button[type="reset"]:hover {
    background-color: #bbb;
}



footer {
    text-align: center;
    padding: 20px 10px;
    background: #061b3d;
    color: white;
}

.footer-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    margin-bottom: 15px;
}
.footer-left {
    margin-left: 20px;
}

.footer-right {
    text-align: right;
    margin-right: 20px;
}

.footer-logo {
    width: 180px;
    height: auto;
	
}

.footer-link, .email-link {
    color: #1e90ff;
    text-decoration: none;
    margin-left: 15px;
    transition: color 0.3s ease;
}

.footer-link:hover, .email-link:hover{
    color: #7FFFD4;
    text-decoration: underline;
}

.footer-divider {
    border-top: 1px solid #ffffff;
    margin: 15px 20px;
}
