.jumbotron { position: relative; display: flex; align-items: center; justify-content: center; .maintitle { position: absolute; max-width: 100%; color: $color-light; text-align: center; text-shadow: 0 2px 8px rgba($color-dark, 0.6); z-index: 1; .title-icon { display: flex; align-items: center; justify-content: center; background-color: $color-main; width: 120px; height: 120px; margin-left: auto; margin-right: auto; padding: 20px; border-radius: 50%; } } img { max-width: 100%; } } .form-result_confirm { background-color: #D1E7DD; border: 1px solid #badbcc; color: #0f5132; border-radius: 0.375rem; padding: 1rem; margin: 1rem 0; width: 100%; text-align: center; } .form-result_error { background-color: #f8d7da; border: 1px solid #f5c2c7; color: #842029; border-radius: 0.375rem; padding: 1rem; margin: 1rem 0; width: 100%; text-align: center; } #products, #values { display: flex; align-items: center; justify-content: center; position: relative; > img { position: absolute; top: 0; left: 0; z-index: -1; object-fit: cover; } } #products { .sectiontitle h2 { margin-bottom: 0; } .sectiontitle:after { content: ""; background-color: $color-dark; } > img { max-height: 80%; } .product-item { display: flex; align-items: center; flex: 1; margin-right: 60px; transition: transform 0.7s; /* Animation */ &:last-child { margin-right: 0; } &:hover { transform: scale(1.1); } & img { width: 265px; } } .products-list { margin-top: 20px; } } #product-food { .sectiontitle:after { content: ""; background-color: $color-dark; } } #values { .sectiontitle:after { content: ""; background-color: $color-dark; } .sectiontitle.white-line:after, .header-title.white-line:after { background-color: white; } > img { height: 110%; max-width: 100%; } ul { display: flex; justify-content: space-between; } .values-content { width: 1000px; margin-bottom: 50px; } .values-list { margin-top: 100px; .item { display: inline-flex; flex-direction: column; justify-content: flex-start; align-items: center; flex: 1; padding: 10px; font-family: $fontbarlow-bold; img { width: 70px; height: 70px; margin-bottom: 20px; object-fit: contain; } } } } #reassurances { margin-bottom: 60px; ul { display: flex; flex-wrap: wrap; } ul li { display: inline-flex; flex-direction: column; align-items: center; color: $color-blue; font-family: $fontbarlow-bold; } img { max-width: 70px; height: auto; margin-right: 10px; } .number { color: $color-second; font-size: calc(#{$globalfont} * 4); } } .video-wrapper { display: none; } .cuisto { display: none; position: absolute; left: 0; top: 0; } .plan, .phone { padding-left: 80px; p:first-of-type { font-size: calc(#{$globalfont} * 1.1); } p:nth-of-type(2) { color: #999999; font-size: calc(#{$globalfont} * 0.85); line-height: 1.5; } } .advice-img { min-width: 270px; } // .plan:before { // content: url("~@/images/icon-plan.png"); // position: absolute; // top: 0; // left: 0; // } // .phone:before { // content: url("~@/images/icon-phone.png"); // position: absolute; // top: 0; // left: 0; // } .blue { header { background-color: $color-blue; } .cta, .link { color: $color-blue; } .cta { border-color: $color-blue; &:hover { color: $color-light; background-color: $color-blue; } } #values { color: $color-light; .item:nth-of-type(even) { color: $color-second; } } .product-card { .overlay { background-color: rgba($color-blue, 0.8); span { color: $color-blue; } } } } .blue .traduction li { a { color: $color-light; } &.current a { color: $color-second; } } .blue .featured-link { color: $color-second; } .blue-bg .featured-link { background-image: url(~@/images/food-service-active.png); background-position: center top; } .best { display: flex; align-items: center; font-family: $fontbarlow-bold; } .mt50 { margin-top: 50px; } .mb50 { margin-bottom: 50px; } .has-label { position: relative; &:before { content: ""; position: absolute; right: 20px; top: unset; bottom: -280px; width: 11vw; height: 15vw; max-width: 130px; background-image: url(~@/images/Logo_MadeInFrance.jpg); background-repeat: no-repeat; background-size: contain; } } @media screen and (min-width: 800px) { .jumbotron .maintitle { font-size: calc(#{$globalfont} * 3.25); } .blue { .menu .menu__item a { color: $color-light; } } .has-label { &:before { top: 25px; bottom: unset; } } // .has-label-bis { // position: relative; // &:before { // content: url(~@/images/Logo_MadeInFrance.jpg); // position: absolute; // right: 0px; // top: -50px; // } // } // .has-labels { // padding-top: 30px; // &:after { // content: url("~@/images/title-labels.jpg"); // position: absolute; // top: 0; // width: 146px; // height: 72px; // margin-left: 20px; // } // } .has-chicken-path { position: relative; &:before { content: url(~@/images/empreintes.png); position: absolute; left: 20px; top: -20px; } } .bckg-illustration:after { content: url(~@/images/cuisinier.jpg); position: absolute; top: -110px; right: 60px; width: 300px; height: 300px; z-index: -1; } .featured-link { bottom: -63px; right: -250px; width: 280px; padding-top: 37px; padding-bottom: 35px; line-height: 1; color: $color-blue; background-image: url(~@/images/food-service.png); background-repeat: no-repeat; background-position: center 12px; // transition: background-position 0.3s ease-in-out; &:hover { background-image: url(~@/images/food-service-active.png); background-position: center top; } } .featured-link span { display: block; font-size: 12px; } #reassurances { ul { justify-content: space-between; } ul li { width: 30%; } } #values .values-list { margin-top: 100px; } .desk-mt180 { margin-top: 180px; } .desk-mr10 { margin-right: 10px; } .desk-mr18 { margin-right: 80px; } .desk-mt-n15 { margin-top: -15px; } .desk-mt-n80 { margin-top: -80px; } .desk-mt-n95 { margin-top: -95px; } .desk-ml-150 { margin-left: 150px; } .desk-mt-120 { margin-top: 120px; } .desk-mt50 { margin-top: 50px; } .desk-mb-50 { margin-bottom: 50px !important; } .desk-mb-80 { margin-bottom: 80px !important; } .best { padding-top: 100px; padding-left: 145px; &:before { content: url(~@/images/personnage.png); position: absolute; left: 0; z-index: -1; } span:first-of-type { margin-right: 10px; color: $color-second; font-size: 6vw; } span:nth-of-type(2) { margin-top: 1rem; color: $color-blue; font-size: 4vw; } } .reduice-img img { width: 65%; max-width: 65%; margin-top: -100px; } } @media screen and (min-width: 1024px) { .cuisto { display: block; } } @media screen and (min-width: 1200px) { .best { span:first-of-type { font-size: 90px; } span:nth-of-type(2) { font-size: 55px; } } } @media screen and (max-width: 799px) { .jumbotron .maintitle { font-size: calc(#{$globalfont} * 1.6); } .blue { > .menu .menu__item a { color: $color-light; } } #products .product-item { margin-right: 0; img { margin: 1rem auto; } } #values ul { flex-direction: column; align-items: center; } .has-label { // position: relative; &:before { // content: url(~@/images/Logo_MadeInFrance_mobile.jpg); // position: absolute; width: 130px; height: 190px; right: unset; left: 50%; transform: translateX(-50%); top: unset; bottom: -285px; } } // .has-label-bis { // position: relative; // &:before { // content: url(~@/images/Logo_MadeInFrance_mobile.jpg); // position: absolute; // right: 0; // left: 0; // top: 100px; // } // } // .has-labels { // padding-bottom: 80px; // &:after { // content: url("~@/images/title-labels.jpg"); // position: absolute; // bottom: 0; // left: 0; // right: 0; // width: 146px; // height: 72px; // margin-left: auto; // margin-right: auto; // } // } .featured-link { display: none; } #reassurances { ul { flex-direction: column; } } .reassurance-item:not(:first-child) { margin-top: 30px; } #values .values-list { margin-top: 50px; flex-wrap: wrap; .item { width: 50%; margin-bottom: 3em; } } .best { span:first-of-type { margin-right: 10px; color: $color-second; font-size: 45px; } span:nth-of-type(2) { color: $color-blue; font-size: 32px; } } .smrt-mb-100 { margin-bottom: 100px !important; } .smrt-mb-200 { margin-bottom: 200px !important; } .smrt-order { display: flex; flex-direction: column; align-items: flex-start; img { order: 3; } span { order: 0; } } }