@import './variables'; @import './globals'; body { background-color: $bg-light; } h1, h2, h3, h4, h5, h6 { text-wrap: balance; } section { display: flex; flex-direction: column; justify-content: center; align-items: center; margin: auto; border-top: 1px solid $border-color; padding-bottom: 40px; padding-top: 40px; } nav { position: fixed; height: 80px; width: 100%; z-index: 100; padding: 1rem 4rem; background-color: $bg-light; border-bottom: 1px solid $border-color; transition: all 300ms ease; display: flex; justify-content: space-between; @media (max-width: $breakpoint) { justify-content: center; } .logo-container { display: flex; gap: 16px; align-items: center; .main-logo { display: flex; align-items: center; gap: 1rem; font-size: 1.5rem; text-decoration: none; } img { height: 50px; width: auto; } .separator { width: 1px; height: 44px; background: #383941; } } .links { display: flex; align-items: center; gap: 10px; @media (max-width: $breakpoint) { display: none; } .navlink { width: 180px; height: 80px; text-decoration: none; font-weight: 700; display: flex; justify-content: center; align-items: center; } .external-link { text-decoration: none; display: flex; height: 32px; padding: 8px 16px; justify-content: center; align-items: center; gap: 10px; border-radius: 2px; img { height: 16px; } } } .login { border: 1px solid #fff; } .sign-in { border-radius: 2px; background: var( --tab_euro, radial-gradient( 105.25% 64.58% at 49.68% 70.83%, rgba(226, 137, 4, 0.5) 0%, rgba(255, 255, 255, 0) 100% ), #f1c017 ); color: $black; } } main { padding-top: 80px; } .sign-up { @include button($black, $yellow); margin: 0; border-radius: 4px; padding: 8px 24px !important; font-size: 1.25rem; justify-content: center; gap: 0.5rem; font-weight: 700; line-height: 115%; padding: 0.5rem 1rem 0.5rem 0.5rem; background: radial-gradient( 105.25% 64.58% at 49.68% 70.83%, rgba(226, 137, 4, 0.5) 0%, rgba(255, 255, 255, 0) 100% ), $yellow; } .main-cta { margin: auto; display: flex; flex-direction: row; gap: 6.875rem; justify-content: center; align-items: flex-start; flex-wrap: wrap; padding-top: 0px; border-top: none; @media (max-width: $breakpoint) { padding: 0rem 1.25rem 2rem; gap: 1rem; .illu { order: 1; } .content-txt { order: 2; } .mglLogo { order: 3; } } .content-txt { margin-top: 5rem; max-width: 700px; @media (max-width: $breakpoint) { margin-top: 0; } .left { display: flex; flex-direction: column; gap: 40px; } .yellow-blur { border-radius: 287px; opacity: 0.15; background: $fluid-color; filter: blur(75px); height: 287px; width: 287px; position: absolute; margin-left: -144px; margin-top: -68px; } h2 { margin: 0; font-weight: 700; } .button-container-cta { display: flex; align-items: center; gap: 36px; @media all and (max-width: $breakpoint) { flex-direction: column; } .sign-in { display: flex; align-items: center; gap: 12px; } } } .illu { @media (max-width: $breakpoint) { width: 100%; } } } #how-it-works { text-align: center; @media (max-width: $breakpoint) { padding: 40px 1.25rem 2rem; } .compteurs { display: flex; align-items: center; justify-content: center; margin-top: 5.5rem; .gaz-color { color: $gaz-color; } .water-color { color: $water-color; } .elec-color { color: $elec-color; } @media (max-width: $breakpoint) { flex-direction: column; & > div:not(.gaz-color) { margin-bottom: 2rem; margin-right: 0; } .text-22-white { @media (max-width: $breakpoint) { margin-bottom: 1.75rem; } } span { margin-bottom: 5rem; } } span { color: $grey; font-size: 1.1rem; } .bloc { width: 400px; height: 400px; padding: 0 0 24px 0; background: linear-gradient(180deg, #323339 0%, #25262b 100%); border: solid 1px; box-shadow: 0 4px 16px rgba(0, 0, 0, 0.55); display: flex; flex-direction: column; position: relative; transition: all 300ms ease; gap: 28px; border-radius: 20px; @media (max-width: $breakpoint) { padding-left: 2rem; padding-right: 2rem; margin-bottom: 5rem !important; height: 300px; width: 300px; } &:hover { box-shadow: 0 0 10px 0 currentColor; } h3 { color: currentColor; margin-top: 12rem; margin-bottom: -2rem; font-weight: 900; font-size: 2.5rem; @media (max-width: $breakpoint) { margin-top: 9rem; } } .compteur-img { position: absolute; top: -4.5rem; left: 0; right: 0; margin: auto; @media (max-width: $breakpoint) { min-width: 7.85rem; min-height: 12rem; } } p { padding-top: 0.5rem; } .provider-logo { display: flex; height: 45px; margin: auto; position: relative; top: -2.5rem; img { max-width: 135px; height: 45px; flex-shrink: 0; } } } .compteurs-ou { font-size: 1.5rem; margin-left: 2rem; margin-right: 2rem; @media (max-width: $breakpoint) { display: none; } } .elec-color { border-color: rgba($elec-color, 0.4); } .gaz-color { border-color: rgba($gaz-color, 0.4); } .water-color { border-color: rgba($water-color, 0.4); } } .fluid-pipes { margin-top: 1.5rem; img { @media (max-width: $breakpoint) { width: 100%; } } } } .security { border-radius: 40px; border: 2px solid $yellow; box-shadow: 0 25px 35px 0 rgba(255, 198, 0, 0.1); display: flex; position: relative; max-width: 1400px; margin-top: -1rem; padding-inline: 3rem; @media (max-width: $breakpoint) { padding-inline: 1rem; margin: auto; } .container { max-width: 1400px; margin: 0 auto; .container-img { position: absolute; z-index: 2; top: 0; left: 50%; transform: translate(-50%, -50%); @media (max-width: $breakpoint) { top: -20px; } img { width: 100%; } } .security-text { color: $grey-light; text-align: center; font-family: Lato, serif; font-size: 24px; font-style: normal; font-weight: 700; line-height: 140%; margin-top: 7.5rem; margin-bottom: 5rem; } } } .views-app { @media (max-width: $breakpoint) { padding-bottom: 0; span { margin-top: 1.5rem; } p { margin-bottom: 0; } } .content { width: 100%; margin: 0 auto; } .fluid-pipes { text-align: center; @media (max-width: $breakpoint) { display: none; } img { transform: translate(0, -25px); } } .multi-pipes { text-align: center; margin-top: -2.25rem; @media (max-width: $breakpoint) { display: none; } } .screens-container { display: flex; justify-content: center; padding-bottom: 1rem; gap: 10rem; @media (max-width: $breakpoint) { flex-direction: column; margin-top: 0.5rem; gap: 0; .screen { text-align: center; padding-top: 6rem; position: relative; @media (max-width: $breakpoint) { padding-top: 3rem; padding-bottom: 0; } &:before, &:after { content: ''; display: inline-block; height: 100px; width: 1px; background: $yellow; position: absolute; box-shadow: 0 0 25px 1px #ffc600; top: 0; z-index: 1; @media (max-width: $breakpoint) { padding-top: 0; } } &::before { left: 48%; transform: translateX(-50%); } &::after { left: 52%; transform: translateX(-50%); } .no-margin-padding-bottom { @media (max-width: $breakpoint) { padding-bottom: 0; margin-bottom: 0; } } } img { width: 90%; position: relative; z-index: 2; } p { margin: 1.5rem 0; @media (max-width: $breakpoint) { margin: 1rem; } } } .screen { &.consumption, &.ecogesture { margin-top: 0; @media (min-width: $breakpoint) { margin-top: -8rem; } } &.challenge { span { color: $light-blue; font-size: 2rem; } @media (min-width: $breakpoint) { margin-top: -4rem; } } p { font-weight: 700; line-height: 120%; margin-top: 1rem; } &.consumption { @media (min-width: $breakpoint) { margin-right: -5.5rem; } span { color: $elec-color; font-size: 2rem; } } &.ecogesture { @media (min-width: $breakpoint) { margin-left: -5.5rem; } span { color: $fluid-color; font-size: 2rem; } } } } p { line-height: 24px; font-size: 1.25rem; text-align: center; margin: 1.5rem 0; @media (min-width: $breakpoint) { margin: 2rem 0 0; } span { display: block; font-size: 1.5rem; } } } #create-account { padding: 40px 2.5rem; display: flex; flex-direction: column; align-items: center; gap: 40px; @media (max-width: $large-device) { padding-inline: 20px; } h2 { font-size: 2.25rem; font-weight: 700; text-align: center; @media (max-width: $large-device) { font-weight: 900; font-size: 1.85rem; } } .step { width: 100%; max-width: 1000px; display: flex; align-items: center; justify-content: space-between; gap: 1rem; border-radius: 40px; border: 1px solid #383941; padding: 1rem; @media all and (max-width: $large-device) { flex-direction: column; align-items: center; } .flex { display: flex; align-items: center; gap: 24px; @media (max-width: $large-device) { flex-direction: column; } .number { font-size: 4.5rem; font-weight: 900; line-height: 125%; color: $fluid-color; @media all and (max-width: $large-device) { margin-top: 0; font-size: 3rem; } } .text { display: flex; flex-direction: column; gap: 8px; .header { font-weight: 900; font-size: 1.5rem; @media all and (max-width: $large-device) { font-size: 1.2rem; } } } .content { font-size: 1rem; font-weight: 400; @media all and (max-width: $large-device) { font-size: 1rem; } } } } .steps-buttons-container { display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 24px; } } #about-us { display: flex; flex-direction: column; gap: 40px; .carousel-container { display: flex; justify-content: center; gap: 40px; margin-bottom: 40px; .carousel-prev, .carousel-next { background: transparent; border: none; cursor: pointer; .arrow-left { transform: scaleX(-1); } } .carousel-and-dots { overflow: hidden; display: flex; flex-direction: column; gap: 40px; .carousel { transition: transform 0.5s ease; .carousel-slide { display: flex; gap: 2.5rem; img { width: 200px; height: 200px; margin: 5px; border: 1px solid #7b7b7b; border-radius: 4px; padding: 1.5rem; &:hover { transition: 0.7s cubic-bezier(0.075, 0.82, 0.165, 1); border-radius: 4px; border: 1px solid $fluid-color; background: linear-gradient(180deg, #323339 0%, #25262b 100%); box-shadow: 0 0 35px 0 rgba(255, 198, 0, 0.5); } } } } .carousel-dots { display: flex; justify-content: center; gap: 16px; .carousel-dot { cursor: pointer; display: inline-block; width: 16px; height: 16px; border-radius: 50%; background: var( --fluide-multi-off, linear-gradient( 0deg, rgba(18, 18, 18, 0.75) 0%, rgba(18, 18, 18, 0.75) 100% ), #e3b82a ); &.active { background: $fluid-color; } } } } } } #about-us, #share { text-align: center; h2 { font-size: 2.5rem; font-style: normal; font-weight: 900; line-height: normal; } p { font-weight: 400; line-height: 1.463rem; font-size: 1.125rem; } .logos-container { display: flex; justify-content: center; gap: 36px; img { width: 40px; border-radius: 4px; border: 1px solid $fluid-color; } } .blur-container { position: relative; .yellow-blur { position: absolute; top: 80%; left: 50%; transform: translate(-50%, -50%); z-index: 0; border-radius: 314px; opacity: 0.15; background: $fluid-color; filter: blur(75px); width: 20rem; height: 20rem; } img { position: relative; z-index: 1; } } } #share { padding-top: 80px; display: flex; flex-direction: column; gap: 40px; } footer { background-color: $black; display: flex; align-items: center; justify-content: space-between; gap: 2rem; padding: 40px 1rem; .logos-footer { display: flex; align-items: center; gap: 1.5rem; } .legal-notice { display: flex; gap: 1rem; } .footerLink { color: $yellow; font-weight: 900; } .contact { display: flex; gap: 1rem; } .info { display: flex; align-items: center; font-weight: 700; gap: 0.5rem; a { text-decoration: none; display: flex; align-items: center; gap: 0.25rem; } } @media (max-width: $breakpoint) { flex-direction: column; padding: 2rem 1rem 1rem; .contact { order: 2; flex-direction: column; align-items: center; } .logos-footer { order: 1; flex-direction: column; } .info { order: 4; transform: scale(0.8); } .legal-notice { order: 3; } } } .accessibility { padding-top: 5rem; h2, h3, h4 { color: $yellow; margin: 0.5rem 0; } table { width: 100%; margin: 0.5rem 0; td, th { border: 1px solid #ffffff66; } } }