SAE_S1.05_S1.06/css/styles.css

166 lines
2.5 KiB
CSS
Raw Normal View History

body {
margin: 0;
padding: 0;
font-family: 'Arial', sans-serif;
2024-01-12 23:13:50 +01:00
background-color: #F2F2F2;
}
2024-01-12 21:09:55 +01:00
.navbar {
background-color: #4A305A;
2024-01-12 21:09:55 +01:00
padding: 10px;
display: flex;
justify-content: space-between;
align-items: center;
}
2024-01-12 21:09:55 +01:00
.logo img {
2024-01-12 23:13:50 +01:00
width: 4.7cm;
height: 1.7cm;
2024-01-12 21:09:55 +01:00
margin-left: 2cm;
}
2024-01-12 21:09:55 +01:00
.nav-links {
display: flex;
align-items: center;
}
2024-01-12 21:09:55 +01:00
.nav-link {
color: white;
text-decoration: none;
margin: 0 15px;
2024-01-12 23:13:50 +01:00
transition: color 0.3s ease;
}
2024-01-12 21:09:55 +01:00
.reserve-btn {
background-color: #FFB039;
padding: 10px 20px;
border-radius: 10px;
2024-01-12 23:13:50 +01:00
color: #4A305A;
}
2024-01-12 21:09:55 +01:00
.burger-menu {
display: none;
cursor: pointer;
}
2024-01-12 21:09:55 +01:00
.burger-menu div {
width: 25px;
height: 3px;
background-color: white;
margin: 6px 0;
}
2024-01-12 23:13:50 +01:00
.nav-link:hover {
color: #87CEEB;
}
@media screen and (max-width: 768px) {
2024-01-12 21:09:55 +01:00
.nav-links {
display: none;
2024-01-12 21:09:55 +01:00
flex-direction: column;
align-items: center;
position: absolute;
top: 60px;
left: 0;
2024-01-12 21:09:55 +01:00
width: 100%;
background-color: #4A305A;
z-index: 1;
}
2024-01-12 21:09:55 +01:00
.nav-links.show {
display: flex;
}
2024-01-12 21:09:55 +01:00
.nav-link {
margin: 10px 0;
}
2024-01-12 21:09:55 +01:00
.burger-menu {
display: block;
}
}
2024-01-12 23:13:50 +01:00
.content {
max-width: 1380px;
margin: 15px auto;
padding: 0 20px;
background-color: white;
border-radius: 10px;
box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
}
.chef-section {
text-align: center;
padding: 20px 0;
}
.chef-container {
display: flex;
flex-wrap: wrap;
justify-content: center;
}
.chef {
flex: 1;
max-width: 300px;
margin: 10px;
text-align: center;
background-color: #FFFFFF;
border-radius: 8px;
box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
padding: 15px;
}
.chef img {
max-width: 100%;
border-radius: 8px;
margin-bottom: 10px;
}
.chef h3 {
margin-top: 10px;
color: #4A305A;
}
.chef p {
color: #333;
font-size: 16px;
line-height: 1.5;
}
.voir-plus {
text-align: center;
margin-top: 20px;
}
.voir-plus a.voir-plus-btn {
display: inline-block;
background-color: #FFB039;
padding: 10px 20px;
border-radius: 10px;
color: white;
text-decoration: none;
margin-top: 10px;
}
h2 {
color: #4A305A;
text-align: center;
}
p {
color: #333;
font-size: 16px;
line-height: 1.5;
}
.welcome-section {
margin-top: 20px;
text-align: center;
}
.welcome-video {
width: 90%; /* largeur de la fenêtre de la vidéo */
max-height: 400px;
margin-bottom: 20px;
}