.section-background {
background-size: cover;
background-position: center;
height: 500px;
margin-bottom: 20px;
}
.content-img {
display: grid;
grid-template-columns: repeat(12, 1fr);
gap: 32px;
padding: 10px 50px 0 50px;
}
.content-text, .content-text2 {
display: grid;
grid-template-columns: repeat(12, 1fr);
gap: 32px;
padding: 0px 50px 0 50px;
}
.image-pres {
display: flex;
flex-direction: column;
justify-content: center;
grid-column: 3 / span 8;
}
.btn-arriere-container {
display: grid;
grid-template-columns: repeat(12, 1fr);
gap: 32px;
margin-bottom: 20px;
margin-top: 80px;
padding: 0 50px;
} .btn-arriere {
position: relative;
display: flex;
flex-direction: column;
color: black;
text-decoration: none;
grid-column: 1 / span 2;
font-family: "georgiapro", serif;
font-size: 16px;
font-weight: 500;
padding-left: 20px; }
.btn-arriere::before {
content: "";
position: absolute;
left: 0;
top: 50%;
transform: translateY(-50%);
width: 8px;
height: 8px;
background-color: #58709A; }
.section1{
display: flex;
flex-direction: column;
justify-content: center;
grid-column: 4 / span 6;
}
.section1 h2{
text-align: center;
margin-bottom:20px;
margin-top:80px;
font-family: "georgiapro", sans-serif;
font-size: 36px;
}
.section1 p{
font-family: "georgiapro", sans-serif;
font-size: 16px;
}
.video-pres {
grid-column: 3 / span 8;
margin-top: 30px;
}
.video-pres video {
width: 100%;
height: auto;
} .slider-grid-container {
margin-top:80px;
display: grid;
grid-template-columns: repeat(12, 1fr);
gap: 20px;
padding: 0 50px;
margin-bottom: 40px;
} .slider-wrapper {
position: relative;
grid-column: 1 / span 12;
} .slider-nav {
position: absolute;
top: -30px;
right: 0;
display: flex;
gap: 10px;
}
.slider-nav button {
display: flex;
align-items: center;
justify-content: center;
width: 35px; height: 35px; padding: 0; border: 1px solid #000;
background-color: #fff;
cursor: pointer;
}
.slider-nav button img {
width: 9px; height: 14px;
display: block;
object-fit: contain;
}
.galerie-projets {
column-count: 3; column-gap: 20px;
padding: 0 50px;
margin-top:80px;
}
.galerie-item {
break-inside: avoid;
margin-bottom: 20px;
width: 100%;
position: relative;
}
.galerie-item img {
width: 100%;
height: auto; object-fit: cover;
display: block;
position: relative;
} .taille-grande img {
height: 543px;
}
.taille-petite img {
height: 279px;
}
.wrapper-img7 img{
height:578px;
} @media (max-width: 1024px) {
.section-background {
height: 450px;
}
.btn-arriere-container {
grid-template-columns: repeat(12, 1fr);
padding: 0 30px;
gap: 24px;
}
.btn-arriere {
font-size: 15px;
grid-column: 1/span 3;
}
.content-img,
.content-text {
grid-template-columns: repeat(12, 1fr);
padding: 0 30px;
gap: 24px;
}
.image-pres,
.video-pres {
grid-column: 2 / span 10;
}
.section1 {
grid-column: 3 / span 8;
}
.section1 h2 {
font-size: 30px;
margin-top: 60px;
}
.galerie-projets {
column-count: 2;
column-gap: 16px;
padding: 0 30px;
}
.taille-grande img {
height: 440px;
}
.taille-petite img {
height: 240px;
}
.wrapper-img7 img {
height: 480px;
}
.slider-grid-container {
padding: 0 30px;
}
.slider-nav {
top: -26px;
}
} @media (max-width: 768px) {
.section-background {
height: 350px;
margin-bottom:0;
}
.btn-arriere-container {
display: flex;
justify-content: center;
padding: 0 20px;
margin-bottom: 30px;
}
.btn-arriere {
font-size: 14px;
padding-left: 16px;
}
.btn-arriere::before {
width: 6px;
height: 6px;
}
.content-img,
.content-text {
display: flex;
flex-direction: column;
padding: 0 20px;
gap: 20px;
}
.image-pres,
.video-pres {
grid-column: auto;
width: 100%;
}
.section1 {
grid-column: auto;
width: 100%;
}
.section1 h2 {
font-size: 26px;
margin-top: 40px;
text-align: center;
}
.section1 p {
font-size: 15px;
line-height: 1.5;
text-align: justify;
}
.galerie-projets {
column-count: 1;
padding: 0 20px;
}
.taille-grande img,
.taille-petite img,
.wrapper-img7 img {
height: auto;
}
.slider-grid-container {
padding: 0 20px;
margin-top: 60px;
}
.slider-nav {
top: -24px;
right: 0;
}
.slider-nav button {
width: 30px;
height: 30px;
}
.slider-nav button img {
width: 8px;
height: 12px;
}
} @media (max-width: 480px) {
.section1 h2 {
font-size: 22px;
}
.btn-arriere-container{
margin-bottom:0px;
}
.btn-arriere-container {
display: grid;
grid-template-columns: repeat(12, 1fr);
gap: 32px;
padding: 0 50px;
} .btn-arriere {
position: relative;
display: flex;
flex-direction: column;
color: black;
text-decoration: none;
grid-column: 1 / span 5;
font-family: "georgiapro", serif;
font-size: 14px;
font-weight: 500;
padding-left: 20px; }
.section1 p {
font-size: 14px;
}
.btn-arriere {
font-size: 14px;
}
.slider-nav {
top: -20px;
}
.slider-nav button {
width: 26px;
height: 26px;
}
.slider-nav button img {
width: 7px;
height: 11px;
}
}