/* ---------- STYLE GLOBAL ---------- */

body{
font-family: 'Poppins', sans-serif;
margin:0;
background:#ecb63d;
color:#333;
}

/* ---------- HEADER ---------- */

header{
background:#222;
color:white;
padding:20px;
text-align:center;
}

nav ul{
display:flex;
justify-content:center;
gap:30px;
list-style:none;
padding:0;
}

nav a{
color:white;
text-decoration:none;
font-weight:bold;
}

nav a:hover{
color:#ecb63d;
}

/* ---------- HERO ---------- */

.hero{
display:flex;
align-items:center;
justify-content:center;
gap:40px;
padding:40px;
background:white;
}

.hero img{
width:350px;
border-radius:10px;
}

.hero-text{
max-width:500px;
}

.bouton{
display:inline-block;
padding:10px 20px;
background:#ecb63d;
color:white;
text-decoration:none;
border-radius:5px;
margin-top:15px;
}

/* ---------- SECTION ---------- */

section{
padding:40px;
text-align:center;
}

/* ---------- GALERIE GRID ---------- */

.galerie{
display:grid;
grid-template-columns:repeat(auto-fit,minmax(200px,1fr));
gap:20px;
}

.galerie img{
width:100%;
border-radius:10px;
}

.galerie article{
background:white;
padding:10px;
border-radius:10px;
}

/* ---------- TABLE ---------- */

table{
margin:auto;
border-collapse:collapse;
width:70%;
}

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

th{
background:#222;
color:white;
}

/* ---------- FORMULAIRE ---------- */

form{
display:flex;
flex-direction:column;
max-width:400px;
margin:auto;
gap:10px;
}

input,textarea,button{
padding:10px;
border-radius:5px;
border:1px solid #ccc;
}

button{
background:#222;
color:white;
cursor:pointer;
}

/* ---------- A PROPOS ---------- */

.apropos{
display:flex;
align-items:center;
justify-content:center;
gap:40px;
flex-wrap:wrap;
}

.apropos img{
width:250px;
border-radius:10px;
}

/* ---------- FOOTER ---------- */

footer{
background:#222;
color:white;
text-align:center;
padding:20px;
margin-top:40px;
}

/* ---------- RESPONSIVE ---------- */

@media (max-width:768px){

.hero{
flex-direction:column;
}

nav ul{
flex-direction:column;
gap:10px;
}

table{
width:100%;
}

}