body {
    margin: 0;
    padding: 0;
	min-height: 100vh;
    display: flex;
	flex-direction: column;
    background-image: url('images/background.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
	font-family: 'Segoe UI', sans-serif;
}

.header {
	background-color: rgba(252, 252, 252, 0.7);
    color: #474747;
    padding: 10px 100px 10px 250px;
    display: flex;
    justify-content: space-between;
    align-items: center;
	font-family: 'Segoe UI', sans-serif;
	flex-wrap: wrap;
}

.contenu-principal {
    flex: 1;
    display: flex;
    justify-content: left;
    align-items: left;
}

.image-container {
    width: 25%; /* Ajustez la largeur selon vos besoins */
    text-align: left; /* Aligne l'image à gauche */
	margin-left: 15%;
	margin-top: 100px;
}

.image-container img {
    max-width: 100%;
    height: auto;
}

.footer {
    background-color: rgba(252, 252, 252, 0.7);
    color: #474747;
    padding: 10px;
    text-align: center;

}

/* base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    list-style: none;
    text-decoration: none;
}

a {
    color: #474747;
}
a:visited {
    color: #474747;
}
a:hover {
    color: #ec0d59;
}

body {
    background-color: rgb(97, 80, 65);
    font-family: sans-serif;
}



/* off-screen-menu */
.off-screen-menu {
    background-color:  rgba(252, 252, 252, 0.7);
    height: 100vh;
    width: 100%;
    max-width: 250px;
    position: fixed;
    top: 0;
    right: -250px;
    display: flex;
    flex-direction: column;
    align-items: center;    
    justify-content: center;
    text-align: center;
    font-size: 2rem;
    transition: .3s ease;
}
.off-screen-menu.active {
    right: 0;
}

/* nav */
nav {
    padding: 1rem;
    display: flex;
    background-color: rgba(34, 37, 49, 0);
}

/* ham menu */
.ham-menu {
    height: 50px;
    width: 40px;
    margin-left: auto;
    position: relative;
}
.ham-menu span {
    height: 5px;
    width: 100%;
    background-color: #1f2422;
    border-radius: 25px;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    transition: .3s ease;
}
.ham-menu span:nth-child(1) {
    top: 25%;
}
.ham-menu span:nth-child(3) {
    top: 75%;
}
.ham-menu.active span {
    background-color: #474747;
}
.ham-menu.active span:nth-child(1) {
    top: 50%;
    transform: translate(-50%, -50%) rotate(45deg);
}
.ham-menu.active span:nth-child(2) {
    opacity: 0;
}
.ham-menu.active span:nth-child(3) {
    top: 50%;
    transform: translate(-50%, -50%) rotate(-45deg);
}

/* ------------ Responsive Design ------------ */
@media (max-width: 768px) {

	body {
		background-image: url('images/background_resized.jpg'); /* image adaptée */
        background-size: cover;
        background-position: center top;
    }

    .header {
        padding: 10px 20px;
    }
	
	.header h1 {
        font-size: 1.5rem; /* taille mobile plus compacte */
        text-align: center;
    }

    nav ul {
        justify-content: center;
        flex-direction: column;
        gap: 2px;
    }

    nav ul li {
        margin-left: 0;
    }

    .contenu-principal {
        flex-direction: column;
        align-items: left;
        justify-content: left;
    }

    .image-container {
        width: 40%;
        margin: 40px 0 0 40px;
        text-align: left;
    }
}