﻿@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;1,900&display=swap');
/* Header */
.header {
    position: relative;
    text-align: center;
    background-image: linear-gradient(90deg, rgba(229,150,0,0.4) 38%, rgba(198, 204, 207,0.4) 100%),url('../../Img/Malaxeur/malaxeur EE.jpg');
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    margin-bottom: 150px;
    margin-top: 35px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 1.7em;
    font-weight: 800;
    color: white;
}

    .header .logo {
        width: 300px;
        fill: white;
        padding-right: 15px;
        display: inline-block;
        vertical-align: middle;
    }

    .header .inner-header {
        height: 45vh;
        width: 100%;
        margin: 0;
        padding: 0;
    }

    .header .flex { /*Flexbox for containers*/
        display: flex;
        justify-content: center;
        align-items: center;
        text-align: center;
    }

    .header .waves {
        position: relative;
        width: 100%;
        height: 15vh;
        margin-bottom: -9px; /*Fix for safari gap*/
        min-height: 100px;
        max-height: 150px;
    }

    .header .content {
        position: relative;
        height: 20vh;
        text-align: center;
        background-color: transparent;
    }

/* Animation */

.parallax > use {
    animation: move-forever 25s cubic-bezier(.55,.5,.45,.5) infinite;
}

    .parallax > use:nth-child(1) {
        animation-delay: -2s;
        animation-duration: 7s;
    }

    .parallax > use:nth-child(2) {
        animation-delay: -3s;
        animation-duration: 10s;
    }

    .parallax > use:nth-child(3) {
        animation-delay: -4s;
        animation-duration: 13s;
    }

    .parallax > use:nth-child(4) {
        animation-delay: -5s;
        animation-duration: 20s;
    }

@keyframes move-forever {
    0% {
        transform: translate3d(-90px,0,0);
    }

    100% {
        transform: translate3d(85px,0,0);
    }
}
/*Shrinking for mobile*/
@media (max-width: 768px) {
    .waves {
        height: 40px;
        min-height: 40px;
    }

    .content {
        height: 30vh;
    }

    h1 {
        font-size: 24px;
    }
}



/* ENd waves */



.ContainerALL {
    margin-bottom: 30px;
    font-family: 'Roboto', sans-serif;
}
    .ContainerALL img {
        border-radius: 8px;
    }


.CMheadercontainter {
    width: 100%;
    height: 400px;
    background-image: linear-gradient(90deg, rgba(236, 162, 0,0.9) 2%, rgba(238,238,230,0.3)),url('../../img/centralefixe/background.jpg');
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    position: relative;
    margin: auto;
    margin-bottom: 90px;
}

.SMcheadercontent {
    font-size: 3.6em;
    font-weight: bold;
    color: white;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    text-shadow: -1px 0 black, 0 1px black, 1px 0 black, 0 -1px black;
}

.COntainerHeaderText {
   
    margin-bottom: 50px;
}
.HeadTitleYell {
    color: #e59600;
}


.HeaderText {
    display: flex;
    align-content: center;
    justify-content: center;
}

    .HeaderText p {
        font-family: "Roboto" ;
        font-weight: 900 ;
        font-size: 2.6em;
        font-style :normal; 
    }

.ImgHeaderContainer{
    margin-bottom: 50px ;
}


.ImgContainer {
    display: flex;
    align-content: center;
    justify-content: center;
}


.COntainerSpecMalax {
    margin-bottom: 50px;
}

.SpecMalaxText {
    display: flex;
    align-content: center;
    justify-content: center
}

.SpecMalaxText ul  {
    font-size: 1.1em;
    max-width : 900px ; 
    line-height : 2.2em; 
    margin-bottom : 50px ; 
}


    .SpecMalaxText h1 {
        font-size: 1.1em;
        max-width: 900px;
        line-height: 2.2em;
       
    }


    .SpecMalaxText ul li {
        margin-left: 30px;
    }


.Gallery {
    /*background-color: rgba(231, 227, 227,0.4);*/
    width: 80%;
    margin: auto;
    margin-top: 50px;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    column-gap: 20px;
    grid-row-gap: 40px;
    justify-items: center;
}

@media (max-width: 1400px) {
    .Gallery {
        grid-template-columns: 1fr 1fr;
        width: 95%;
        margin: auto;
    }
}

@media (max-width: 860px) {
    .Gallery {
        grid-template-columns: 1fr;
        width: 95%;
        margin: auto;
    }
}


