html, body {
    height: 100%;
    width: 100%;
    margin: 0;
    padding: 0;
    overflow: hidden;
    box-sizing: border-box;
}
.page-wrapper {
    height: 100vh; 
    width: 100vw;
    display: flex;
    flex-direction: column;
}
body, h1 {
    margin: 0;
    font-family: 'montserrat', sans-serif;
    color: white;
    font-weight: 600;
    font-size: 1.1vw;
}
.header {
	display: flex;
	justify-content: space-between;
    background-color: #112142;
	align-items: center;
	width: 100%;
	padding: 20px 0;
	position: absolute;
	top: 0;
	z-index: 3;

}
.header .logo-container {
	display: flex;
	align-items: center;
	margin-left: 25px;
}
.header .logo-container img {
	height: 50px;
	margin-right: 10px;
}
.header .logo {
	font-size: 17px;
	font-weight: bold;
}
.nav {
	display: flex;
	gap: 80px;
	margin-right: 25px;
}
.nav a {
	text-decoration: none;
	color: white;
	font-weight: bold;
	font-size: 15px;
}
.nav a:hover {
	color: #ffa500;
}

.page-wrapper {
    height: 100vh; 
    width: 100vw;
    display: flex;
    flex-direction: column;
    background: url('../ressources/map-anim.gif') no-repeat center center;
    background-size: cover;
}

.main-container {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    padding: 20px;
    width: 100%;
    height: 100%;
}

.contact-form {
    background-color: #d9d9d9c1;
    padding: 35px;
    border-radius: 40px;
    width: 300px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    width: 20%;
    margin-right: 150px;
    gap: 30px;
}

.contact-form h2 {
    color: #333;
    margin-top: 0px;
}

.contact-form p{
    margin-top: -20px;
    color: #333;
    font-size: 0.7em;
}

.contact-form label {
    font-size: 14px;
    color: #666;
    margin-top: 10px;
    margin-bottom: 4px;
    display: block;
}

.contact-form form {
    display: flex;
    flex-direction: column;
}

.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form textarea {
    padding: 10px;
    margin-bottom: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
}

.contact-form button {
    background-color: #ffa500;
    color: white;
    border: none;
    padding: 10px 15px;
    cursor: pointer;
    border-radius: 10px;
    width: 100%; 
    height: 50px;
    font-weight: bold;
    margin-top: 10px;
    margin-bottom: 0px;
}

.hamburger-menu{
    display: none;
}

@media (max-width: 768px) {
    .main-nav .nav-link {
        font-size: 13px!important;  
        padding: 10px 5px; 
    }
    
    html, body {
        overflow: auto;  
        height: auto;  
        overflow-x: hidden;
    }

    .header-container img.logo {
        width: 40px; 
    }

    .logo-and-title h1 {
        font-size: 18px; 
    }

    #main-title {
        font-size: 42px;  
        margin: 10px 0; 
    }

    .main-nav {
        display: none; 
        flex-direction: column;
        position: fixed;  
        top: 80px;  
        margin: 0 10px;  
        border-radius: 20px;
        left: 0; 
        right: 0; 
        background-color: #1d2b5e;
        width: calc(100% - 20px); 
        box-shadow: 0 8px 16px rgba(0,0,0,0.15);  
        z-index: 999;  
    }
    .main-nav.is-active {
        display: flex; 
    }

    .hamburger-menu {
        display: block;  
        cursor: pointer;
        z-index: 1000;  
    }

    .page-wrapper {
        background: url('../ressources/map-anim.gif') no-repeat center center; 
        background-size: cover;
    }

    .contact-form {
        width: 70%; 
        margin:  auto;  
        border-radius: 20px;
        padding-left: 40px;
        padding-right: 40px;
        display: flex;
        flex-direction: column;
        align-items: center; 
    }
    .main-container{
        padding: 0px;
        padding-top: 10px;

    }
    .contact-form h2{
        font-size: 25px;
        margin-top: -20px;
    }
    .contact-form p{
        font-size: 15px;
        margin-top: -35px;
        margin-bottom: -10px;

    }
    .contact-form button {
        margin-bottom: -20px;
        height: 40px;
    }
}


.contact-details {
    display: flex;
    flex-direction: column; /* Aligne les lignes verticalement */
    gap: 15px; /* Ajoute un espacement constant entre les éléments */
    margin-top: 20px;
}

.contact-details p {
    font-size: 16px;
    color: #333;
    display: flex;
    align-items: center; /* Centre verticalement les icônes avec le texte */
    line-height: 1.5; /* Ajoute de l'espace entre les lignes */
    margin: 0; /* Évite les marges inutiles qui peuvent causer des chevauchements */
}

.contact-details .icon {
    margin-right: 10px; /* Espace entre l'icône et le texte */
    color: #011355; /* Couleur des icônes */
    font-size: 18px; /* Taille des icônes */
}

.contact-button {
    display: inline-block;
    background-color: #ffa500;
    color: white;
    font-size: 16px;
    font-weight: bold;
    padding: 12px 20px;
    border-radius: 8px;
    text-decoration: none;
    text-align: center;
    margin-top: 20px;
}

.contact-button:hover {
    background-color: #ff8800;
}


.hamburger {
	display: none;
	font-size: 24px;
	cursor: pointer;
	color: white;
	z-index: 5;
	margin-right: 25px;
}


@media (max-width: 1024px) {
	.nav {
		position: absolute;
		top: 70px;
		right: 0;
		background-color: rgba(17, 33, 66, 0.98);
		flex-direction: column;
		align-items: flex-end;
		padding: 20px;
		gap: 40px;
		display: none;
		width: auto;
		border-radius: 10px;
	}

	.nav.show {
		display: flex;
	}

	.hamburger {
		display: block;
	}
	.header .logo {
		font-size: 13px;
		font-weight: bold;
	}

	.header .logo-container img {
		height: 35px;
		margin-right: 10px;
	}

	.content h1 {
		font-size: 55px;
		font-weight: bold;
		line-height: 1.2;
	}

	.footer .top {
		font-size: 25px;
	}

	.footer .subtitle {
		font-size: 10px;
	}

	.footer-content {
		display: flex;
		flex-direction: column;
		justify-content: center!important;
		gap: 30px;
		flex-wrap: wrap;
		width: 90%;
		margin: 0 auto;
		text-align: left;
	}
}

.logo-container {
    text-decoration: none;
    color: inherit;
}