@font-face {
    font-family: Caviar Dreams;
    src: url("./fonts/CaviarDreams/CaviarDreams.ttf"),
    url("./fonts/CaviarDreams/CaviarDreams_Bold.ttf"),
    url("./fonts/CaviarDreams/CaviarDreams_BoldItalic.ttf"),
    url("./fonts/CaviarDreams/CaviarDreams_Italic.ttf");
}

@font-face {
    font-family: Photoshoot;
    src: url("./fonts/photoshoot/Photoshoot.otf"),
    url("./fonts/photoshoot/Photoshoot.ttf");
}

/*--- APPROCHE MOBILE FIRST ---*/

html {
    background: linear-gradient(rgba(255, 255, 255, 0.7), rgba(255, 255, 255, 0.7)),
    url('./imgs/background-html.jpg');
    background-size: cover;
    background-position: bottom;
    overflow-y: scroll;
    overflow-x: hidden; /* empêche défilmt vers la droite */
}

body {
    font-family: Caviar Dreams;
    color: #393939;
    margin: 0 auto;
    width: 100%;
}

*::selection {
    color: #ff926e;
}

h1, h2, h3 {
    margin: 0;
    padding: 0;
    font-weight: 500;
    font-family: Photoshoot;
}
h1 {
    font-family: Caviar Dreams;
    font-weight: bold;
    font-size: 21px;
    text-transform: uppercase;
    padding-left: 40px;
    line-height: 70px;
    word-spacing: 5px;
    background: linear-gradient(rgba(235, 209, 170, 0.5), rgba(235, 209, 170, 0.5)),
    url('./imgs/5-footer/background-footer.png');
    background-position: top;
    background-size: cover;
}
h2 {
    word-spacing: 5px;
    letter-spacing: 1px;
    font-size: 16px;
    color: #ededed;
}
h3 {
    margin-bottom: 10px;
    font-family: Caviar Dreams;
    font-size: 18px;
}

ul, li {
    margin: 0;
    padding: 0;
    list-style-type: none;
}

a {
    text-decoration: none;
}

p {
    font-size: 17px;
}


/* HEADER */
.header {
    height: 12.51em;
    background: linear-gradient(rgba(85, 62, 41, 0.4), rgba(85, 62, 41, 0.4)),
    url("./imgs/0-header/background.png");
    background-size: 120%;
    background-position: 0% 55%;
    background-repeat: no-repeat;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 0 auto;
    padding: 0 30px;
}
.header div {
    text-align: center;
}

.logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: absolute;
    top: 7px;
    left: 50%;
    transform: translate(-50%,0%);
    z-index: 20;
}
.logo-img {
    width: 150px;
}    
p.slogan {
    font-family: Photoshoot;
    font-size: 13px;
    width: 310px;
    color: #ededed;
    margin-top: -6px;
    text-shadow: 0 0 5px black;
}

.item-burger {
    position: relative;
    top: -7px;
    width: 45px;
    background: transparent;
}
.ul-header {
    position: absolute;
    top: 0;
    right: 0;
    display: none;
    border-radius: 2px;
    z-index: 50;
    width: 80%;
}
.ul-header li {
    border-bottom: 1px solid wheat;
    border-left: 4px solid #FFA88C;
    background: rgba(211,96,88,0.8);
}
.ul-header li:first-child {
    border-top: 1px solid #FFA88C;
}
.ul-header a {
    color: #383838;;
    display: flex;
    font-weight: 600;
    height: 3.28em;
    line-height: 3.28em;
    padding-left: 20px;
    font-size: 20px;
}

/* est rajouté au clic sur l'item burger */
.item-search-opacity {
    opacity: 0;
}

.item-search {
    width: 50px;
    position: relative;
    top: -6px;
    right: 0;
    z-index: 50;
    transition: right 0.6s;
}
.input-search {
    position: absolute;
    top: 67px;
    right: 20px;
    z-index: 50;
    text-align: right;
    padding-left: 45px;
    color: #FFA88C;
    background-color: transparent;
    width: 0;
    height: 50px;
    border-radius: 20px;
    border: none;
    opacity: 0;
    font-size: 14px;
    transition: all 0.5s;
}
.input-search::placeholder {
    color: #b0b0b0;
    font-size: 14px;
    text-align: right;
}
.input-search:focus {
    outline: none;
}

/* est rajouté au clic sur l'item search */
.item-search-click {
    position: relative;
    right: 210px;
    transition: right 0.6s;
}
.input-search-click {
    opacity: 1;
    width: 250px;
    background-color: #383838;
    transition: width 0.5s;
}

.header-opacity {
    background: linear-gradient(rgba(54, 43, 34, 0.7), rgba(54, 43, 34, 0.7)),
    url("./imgs/0-header/background.png");
    background-size: 120%;
    background-position: 0% 55%;
    background-repeat: no-repeat;
}
.logo-opacity {
    opacity: 0.1;
}


/* FOOTER */
/* Pour vérifs 
footer div {
    border : 1px solid red;
}  */
footer {
    padding: 20px 0;
    background: linear-gradient(rgba(235, 209, 170, 0.5), rgba(235, 209, 170, 0.5)), 
    url('./imgs/5-footer/background-footer.png');
    background-size: cover;
    background-position: 75% 20%;
    background-repeat: no-repeat;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: #000000;
    text-align: center;
}

footer article {
    margin: 30px auto;
    line-height: 25px;
    width: 90%;
    display: flex;
    flex-direction: column-reverse;
    align-items: center;
}

.slogan-footer {
    font-family: Photoshoot;
    color: #393939;
    font-size: 14px;
}

footer p {
    padding: 0;
    margin: 0;
}

.footer-1 {
    width: 360px;
    text-align: center;
    margin-bottom: 40px;
}
.footer-1 p {
    font-size: 16px;
    margin-top: -8px;
    text-align: justify;
    font-style: italic;
}
.footer-1 img {
    width: 220px;
}

.footer-2 {
    text-align: center;
    font-size: 16px;
}
.footer-2 h3 {
    font-weight: bold;
}
.footer-2 ul {
    line-height: 40px;
}
.footer-2 a {
    color: #000000;
}

.footer-3 {
    display: none;
}

.footer-4 {
    display: flex;
    flex-direction: column;
    position: fixed;
    bottom: 50%;
    left: 0;
    padding: 10px 7px 5px 20px;
    margin-left: -2px;
    background: #d36058;
    border: 1px solid black;
    border-top-right-radius: 5px;
    border-bottom-right-radius: 5px;
    transition: padding-left 0.5s, opacity 0.5s;
}
.footer-4 img {
    width: 27px;
}
.footer-4 a:last-child img {
    width: 25px;
    margin-top: 20px;
}

footer p.infos {
    font-size: 17px;
    line-height: 27px;
}

/* Flèche de retour haut de page */
.fleche-top {
    width: 35px;
    display: none;
    position: fixed;
    bottom: 35px;
    left: 90%;
}
.fleche-top-bottom {
    position: relative;
    left: 43%;
    margin-bottom: -40px;
}


/* BANDEAU */
.bandeau {
    height: 20em;
    background-image: linear-gradient(rgba(41, 31, 22, 0.3), rgba(41,31,22, 0.3)),
    url("./imgs/1-accueil/bandeau.jpg");
    background-position: left;
    background-repeat: no-repeat;
    background-size: 120%;
    border: 1px solid #EBD1AA;
    border-right: none;
    transition: background-image 1s;
}
.bandeau-loop {
    background: linear-gradient(rgba(41,31,22, 0.5), rgba(41,31,22, 0.5)),
    url("./imgs/1-accueil/magasin.jpg");
    background-position: 50% 5%;
    background-repeat: no-repeat;
    background-size: cover;
    border: 1px solid #EBD1AA;
    border-right: none;
    transition: background-image 1s;
}

.icons-slideshow {
    display: flex;
    flex-direction: column;
    float: right;
    position: relative;
    bottom: -14em;
    right: 10px;
}
.icons-slideshow img {
    margin: 0.4em;
    width: 2em;
}

.txt-bandeau p {
    margin: 0;
    margin-top: 20px;
}
.bandeau-1 {
    position: relative;
    top: 4em;
    left: 5%;
    color: #eb9578;
    text-align: right;
    text-shadow: 0 0 5px black;
    font-size: 21px;
    width: 210px;
    line-height: 35px;
}
.bandeau-2 {
    display: none;
    position: relative;
    top: 4em;
    left: 53%;
    transform: translate(-50%, 0%);
    color: #eddcc0;
    font-size: 23px;
    text-shadow: 0 0 5px black;
    width: 100%;
    text-align: center;
    line-height: 45px;
}


/* TEXTE PRESENTATION*/
.txt-presentation {
    margin: 0 auto;
    text-align: center;
    padding-top: 60px;
    padding-bottom: 100px;
    border-right: 2px solid #EBD1AA;
}

.txt-presentation article {
    width: 90%;    
    text-align: justify;
    text-align-last: center;
    line-height: 31px;
    margin: 0 auto;
}

.Photoshoot {
    font-family: Photoshoot;
    font-size: 90%;
}

.citation {
    font-family: Photoshoot;
    margin-top: 50px;
}


/* SERVICES */
.services article {
    height: 230px;
    width: 100%;
}

.service1 {
    background: url("./imgs/1-accueil/bouquet-1.jpg");
    background-size: cover;
    background-position: right;
    border-top: 2px solid #EBD1AA;
    border-left: 2px solid #EBD1AA;
}

.service2 {
    background: url("./imgs/1-accueil/bouquet-2.jpg");
    background-size: cover;
    background-position: bottom center;
    border-top: 2px solid #EBD1AA;
    border-right: 2px solid #EBD1AA;
}

.service3 {
    background: url("./imgs/1-accueil/bouquet-3.jpg");
    background-size: cover;
    background-position: center;
    border-top: 2px solid #EBD1AA;
    border-left: 2px solid #EBD1AA;
}

.services h2 {
    width: 50%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    word-spacing: 5px;
    letter-spacing: 1px;
    background-color: rgba(79, 69, 61, 0.9);
}

.service1 h2, .service3 h2 {
    float: right;
}

.avant-actu {
    padding-bottom: 100px;
    border-left: 2px solid #EBD1AA;
}


/*ACTUALITES*/
.actualites {
    height: 20em;
    color: #ededed;
    background-image: linear-gradient(rgba(60,55,51, 0.6), rgba(60,55,51, 0.6)),
    url("./imgs/1-accueil/actualites.jpg");
    background-size: cover;
    background-position:center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    border-left: 2px solid #EBD1AA;   
}
.actualites-h1 {
    padding-left: 100px;
    width: 160px;
}
.actualites p {
    width: 80%;
}
.actualites p:nth-child(1) {
    font-family: Photoshoot;
}
.actualites p:nth-child(2) {
    font-weight: 600;
    line-height: 1.8em;
}










/* TABLETTES */
@media screen and (min-width:768px) and (max-width:1279px) {
    
    h1 {
        line-height: 80px;
    }
    
    h2 {
        font-size: 18px;
    }
    
    /* HEADER */
    .header {
        height: 14.5em;
        background-size: cover;
        background-position: center;
    }
    .logo-img {
        width: 180px;
    }
    p.slogan {
        margin-top: -4px;
        font-size: 14px;
        width: 100%;
    }
    .item-burger {
        width: 50px;
    }
    .ul-header li {
        display: inline-block;
        border: 1px solid wheat;
        margin-left: -7px;
    }
    .ul-header a {
        color: #383838;;
        display: inline-block;
        font-weight: 600;
        font-size: 24px;
        height: 9.6em;
        line-height: 9.6em;
        width: 200px;
        padding-left: 0;
        
        text-align: center;
    }
    .item-search {
        width: 52px;
    }
    .input-search {
        top: 83px;
        right: 30px;
        font-size: 15px;
        transition: all 0.65s;
    }
    .input-search::placeholder {
        font-size: 15px;
    }
    /* est rajouté au clic sur l'item search */
    .item-search-click {
        right: 300px;
    }
    .input-search-click {
        width: 350px;
        transition: width 0.65s;
    }
    
    /* FOOTER */
    footer article {
        flex-direction: row;
        justify-content: space-evenly;
        align-items: flex-start;
    }
    .slogan-footer {
        font-size: medium;
    }
    .footer-1 {
        margin-top: 50px;
        position: relative;
        left: -50px;
        display: flex;
        align-items: center;
        width: 450px;
        text-align: left;
    }
    .footer-1 img {
        width: 180px;
        margin-right: 5px;
    }
    .footer-2 {
        margin-bottom: 0;
        text-align: right;
    }
    
    .fleche-top {
        left: 92%;
    }
    .fleche-top-bottom {
        left: 44%;
    }
    
    /* BANDEAU */
    .bandeau {
        height: 25em;
        background-size: cover;
    }
    .icons-slideshow, .txt-bandeau {
        margin-top: 50px;
    }
    .icons-slideshow {
        position: relative;
        bottom: -16em;
        right: 20px;
    }
    .icons-slideshow img {
        opacity: 0.9;
    }
    .bandeau-1 {
        top: 3em;
        left: 5%;
        font-size: 28px;
        width: 280px;
        line-height: 45px;
    }
    .bandeau-2 {
        font-size: 30px;
        line-height: 50px;
    }
    .display-block {
        display: block;
    }
    .display-none {
        display: none;
    }
    
    /* TEXTE RPESENTATION */
    .txt-presentation article {
        width: 600px;
        line-height: 30px;
    }
    .citation {
        font-size: 16px;
    }
    
    /* SERVICES */
    .services article {
        height: 300px;
    }
    .services h2 {
        word-spacing: 10px;
        letter-spacing: 1px;
    }
    .avant-actu {
        padding-bottom: 150px;
    }
    
    /* ACTUALITES */
    .actualites-h1 {
        padding-left: 200px;
        width: 150px;
    }
    .actualites p {
        width: 70%;
    }
    
}









/* DESKTOP */
@media screen and (min-width:1279px) {
    
    h1 {
        font-size: 28px;
        line-height: 100px;
        padding-left: 100px;
    }
    h2 {
        font-size: 24px;
    }
    h3 {
        font-size: 18px;
    }
    
    p {
        font-size: 18px;
    }
    
    /* HEADER */
    .header {
        background-size: cover;
        background-position: 50% 45%;
        height: 16.5em;
        justify-content: center;
    }
    .header:hover {
        background: linear-gradient(rgba(54, 43, 34, 0.7), rgba(54, 43, 34, 0.7)),
        url("./imgs/0-header/background.png");
        background-size: cover;
        background-position: 50% 45%;
    }
    .header:hover a  {
        color: #FFBC7B;
        text-shadow: none;
    }
    .header:hover p.slogan {
        color: #ededed;
    }
    .logo-img {
        width: 200px;
    }
    p.slogan {
        color: #FFBC7B;
        font-size: 15px;
        width: 100%;
    }
    
    .item-burger {
        display: none;
    }
    .ul-header {
        display: block;
        position: relative;
        top: -15px;
        left: 30px;
        border-radius: 0;
        list-style-type: none;
        width: 1250px;
    }
    .ul-header a {
        color: #ffffff;
        text-shadow: 0 0 2px black;
        font-size: 30px;
        line-height: 0;
        padding-left: 0;
        height: 100%;
        line-height: auto;
        padding-left: 0;
        margin: 0 auto;
    }
    .ul-header li {
        border: none;
        background: transparent;
    }
    .ul-header li:first-child {
        border-top: none;
        position: relative;
        left: 0%;
    }
    .ul-header li:nth-child(2) {
        position: relative;
        left: 270px;
    }
    .ul-header li:nth-child(3){
        position: relative;
        left: 760px;
    }
    .item-search {
        position: absolute;
        top: 93px;
        right: 50px;
    }
    .input-search {
        top: 95px;
        right: 50px;
        width: 0;
        height: 45px;
        padding-left: 50px;
        font-size: 17px;
    }
    .input-search::placeholder {
        font-size: 17px;
    }
    /* Au clic sur item-search */
    .item-search-click {
        right: 250px;
    }
    .input-search-click {
        width: 250px;
        transition: width 0.65s;
    }
    .logo-opacity {
        opacity: 1;
    }
    
    /* FOOTER */
    footer {
        padding: 20px 0;
        padding-top: 30px;
        align-items: center;
    }
    footer article {
        line-height: 26px;
        margin: 50px auto;
        width: 1300px;
        flex-direction: row;
        justify-content: space-evenly;
        align-items: center;
    }
    .slogan-footer {
        font-size: medium;
    }
    .footer-1 {
        order: 1;
        width: 450px;
        display: flex;
        flex-direction: row;
        align-items: center;
        text-align: left;
    }
    .footer-1 p {
        font-size: 16px;
    }
    .footer-1 img {
        width: 190px;
        margin-right: 5px;
    }
    .footer-2 {
        order: 2;
        font-size: 16px;
        margin: 0;
    }   
    .footer-2 ul {
        line-height: 30px;
    }
    .footer-3 {
        display: block;
        order: 3;
        width: 230px;
        text-align: right;
    }
    .footer-3 p {
        font-size: 16px;
        text-align: right;
    }
    .footer-4 {
        bottom: 47%;
        padding-bottom: 2px;
    }
    .footer-4:hover {
        padding-left: 35px;
    }
    footer p.infos {
        margin-top: -20px;
        font-size: 17px;
    }
    
    .fleche-top {
        bottom: 40px;
        left: 95%;
    }
    .fleche-top-bottom {
        margin-top: -5px;
        left: 46%;
    }
    
    /* BANDEAU */
    .bandeau {
        height: 30em;
        background-size: cover;
    }
    .txt-bandeau {
        margin-top: 50px;
    }
    .icons-slideshow {
        position: relative;
        bottom: -22.5em;
        right: 20px;
    }
    .icons-slideshow img {
        width: 40px;
        opacity: 0.8;
    }
    .bandeau-1 {
        top: 3.5em;
        left: 5em;
        font-size: 35px;
        width: 350px;
        line-height: 50px;
    }
    .bandeau-2 {
        top: 4em;
        font-size: 37px;
        line-height: 50px;
    }   
    .display-block {
        display: block;
    }
    .display-none {
        display: none;
    }
    
    /* TEXTE RPESENTATION */
    .txt-presentation {
        padding-top: 120px;
        padding-bottom: 250px;
    }
    .txt-presentation article {
        width: 590px;
        line-height: 35px;
    }
    
    /* SERVICES */
    .services article {
        height: 450px;
    }
    .services h2 {
        word-spacing: 20px;
        letter-spacing: 2px;
    }
    .avant-actu {
        padding-bottom: 200px;
        border-left: 2px solid #EBD1AA;
    }
    
    /* ACTUALITES */
    .actualites-h1 {
        padding-left: 250px;
        width: 200px;
    }
    .actualites {
        height: 27em;
    }
    .actualites p {
        width: 50%;
        font-size: 24px;
    } 
    
}