body {
font-family: 'REM', sans-serif;
margin: 0;
padding: 0;
background-color: transparent;
color: #333;
position: relative;
overflow-x: hidden;
}
body::before {
content: "";
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
background-image: url('../img/fond.jpg');
background-size: cover;
background-position: center;
background-repeat: no-repeat;
background-attachment: fixed;
opacity: 0.2;
z-index: -1;
}
.hero-banner {
width: auto;
height: 230px;
background-image: url('../img/bandeau5.jpg');
background-size: cover;
background-position: center 45%;
background-repeat: no-repeat;
position: relative;
display: flex;
align-items: center;
justify-content: flex-start;
text-align: left;
padding: 20px;
padding-left: 15%;
color: #222;
margin-top: 75px;
box-shadow: inset 0px 10px 12px -10px rgba(0, 0, 0, 0.3);
border-top: 1px solid #ccc;
border-bottom: 1px solid #ccc;
overflow: hidden;
}
.hero-banner::before {
content: "";
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
background: rgba(255, 255, 255, 0.8);
backdrop-filter: blur(0px);
z-index: 1;
}
.hero-content {
position: relative;
z-index: 3;
max-width: 900px;
width: 80%;
animation: fadeInUp 0.8s ease-out forwards;
}
@keyframes fadeInUp {
from {
opacity: 0;
transform: translateY(30px);
}
to {
opacity: 1;
transform: translateY(0);
}
}
@keyframes fadeInUpShifted {
from {
opacity: 0;
transform: translate(-50px, 30px);
}
to {
opacity: 1;
transform: translate(-50px, 0);
}
}
.hero-content h1 {
font-size: 2rem;
font-weight: 600;
margin-bottom: 15px;
color: #333;
text-transform: uppercase;
font-family: 'REM';
line-height: 1.4;
white-space: nowrap;
}
.hero-content p {
font-size: 1rem;
font-weight: 400;
line-height: 1.6;
color: #333;
font-family: 'REM';
}
.separator {
width: 150px;
height: 3px;
background: #c19a5f;
border-radius: 2px;
}
.section-header{
font-family: 'REM', sans-serif;
width: 900px;
margin: 0 auto;
}
.section-header h2 {
font-size: 1.7rem;
font-weight: 400;
color: #333;
margin: 0;
margin-top: 50px;
margin-bottom: 30px;
position: relative;
text-align: center;
}
.section-header h2::after {
content: '';
display: block;
width: 100px;
height: 2px;
background-color: #c19a5f;
margin: 30px auto 0;
}
.section-header p {
font-size: 1rem;
font-weight: 400;
color: #555;
margin-top: 15px;
margin-bottom: 10px;
text-align: center;
}
.team-container {
display: flex;
flex-direction: column;
align-items: center;
text-align: center;
padding: 80px 20px;
margin-top: -10px;
}
.team-wrapper {
display: flex;
justify-content: center;
align-items: flex-start;
max-width: 1000px;
width: 100%;
margin: 0 auto;
gap: 100px;
}
.team-member-container {
display: flex;
flex-direction: column;
align-items: center;
max-width: 400px;
width: 100%;
}
.team-member {
text-align: center;
background: #ffffff63;
padding: 20px;
border-radius: 5px;
box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
width: 100%;
}
.team-member h2 {
font-size: 1.8rem;
color: #222;
margin-top: 50px;
font-weight: 500;
}
.team-member h3 {
font-size: 1.1rem;
color: #444;
margin-bottom: 20px;
font-weight: 500;
}
.team-member p {
font-size: 0.9rem;
color: #333;
text-align: justify;
font-weight: 300;
}
.team-img {
width: 200px;
height: 200px;
border-radius: 50%;
margin-bottom: -50px;
box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
z-index: 50;
object-fit: cover;
}
.mission {
text-align: center;
padding: 30px 20px;
padding-bottom: 70px;
background-color: #c19a5f2c;
}
.mission h2 {
font-size: 1.8rem;
color: #222;
margin-bottom: 25px;
}
.mission p {
font-size: 1rem;
color: #555;
max-width: 800px;
margin: auto;
line-height: 1.6;
}
.mission-title {
font-size: 1.2rem;
font-weight: 500;
text-align: center;
position: relative;
display: inline-block;
}
.mission-underline {
width: 80px;
height: 2px;
background-color: #c19a5f;
margin: 5px auto 0;
border-radius: 2px;
margin-bottom: 30px;
}
@media (max-width: 768px) {
.team-wrapper {
flex-direction: column;
align-items: center;
}
.section-header {
padding: 40px 15px;
max-width: 90%;
margin-top: -30px;
margin-bottom: -70px;
}
.section-header h2 {
font-size: 1.8rem;
}
.section-header p {
font-size: 1rem;
}
}
@media (max-width: 1100px) {
.section-header {
padding: 40px 15px;
max-width: 90%;
}
.hero-content {
width: 90%;
animation: fadeInUpShifted 0.8s ease-out forwards;
}
.hero-content h1 {
font-size: 1.8rem;
}
.hero-content p {
font-size: 1rem;
}
}
@media (max-width: 600px) {
.hero-banner {
width: 80%;
}
.hero-content {
width: 90%;
margin-left: 20px;
}
.hero-content p {
width: 90%;
padding-right: 10px;
}
.mission {
padding: 30px 10px;
max-width: 95%;
}
.mission-underline {
width: 100px;
}
.mission p {
font-size: 0.95rem;
line-height: 1.5;
}
.mission h2 {
font-size: 1.4rem;
}
.mission p {
font-size: 0.9rem;
}
.team-member-container{
width: 80%;
}
.hero-content h1 {
font-size: 1.4rem;
}
.hero-content p {
font-size: 0.9rem;
}
.section-header h2 {
font-size: 1.4rem;
}
}
@media screen and (max-width: 768px) {
body::before {
background-size: auto 100vh;
background-position: center;
background-attachment: scroll;
}
}