Newer
Older
body {
background-color: $bg-light;
h1,
h2,
h3,
h4,
h5,
h6 {
text-wrap: balance;
}
background-color: $bg-light;
border-bottom: 1px solid $border-color;
transition: all 300ms ease;
@media (max-width: $breakpoint) {
justify-content: center;
}
.logo-container {
.main-logo {
display: flex;
align-items: center;
gap: 1rem;
font-size: 1.5rem;
text-decoration: none;
}
.separator {
width: 1px;
height: 44px;
background: #383941;
}
gap: 10px;
@media (max-width: $breakpoint) {
display: none;
}
display: flex;
justify-content: center;
align-items: center;
&.active {
border-bottom: 2px solid white;
}
.external-link {
text-decoration: none;
display: flex;
height: 32px;
padding: 8px 16px;
justify-content: center;
align-items: center;
gap: 10px;
border-radius: 2px;
font-weight: 700;
border-radius: 2px;
color: white;
transition: background-color 0.2s ease;
&:hover {
background-color: rgba(255, 255, 255, 0.08);
}
.nav-sign-up {
@include button($black, $yellow);
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
);
section {
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
margin: auto;
width: 100%;
border-top: 1px solid $border-color;
padding-bottom: 40px;
padding-top: 40px;
padding-inline: 120px;
@media (max-width: $breakpoint) {
padding-inline: 20px;
}
* {
max-width: 1400px;
}
}
.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%;
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;
}
.sign-in {
display: flex;
align-items: center;
gap: 12px;
&:hover {
color: $yellow;
}
}
#service {
padding-top: 0;
}
justify-content: center;
align-items: flex-start;
flex-wrap: wrap;
padding-top: 0px;
border-top: none;
.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;
}
.button-container-cta {
display: flex;
align-items: center;
gap: 36px;
@media all and (max-width: $breakpoint) {
flex-direction: column;
display: flex;
flex: 1;
margin-inline: auto;
object {
.compteurs {
display: flex;
align-items: center;
justify-content: center;
@media (max-width: $breakpoint) {
flex-direction: column;
.text-22-white {
@media (max-width: $breakpoint) {
margin-bottom: 1.75rem;
}
}
span {
margin-bottom: 5rem;
}
}
span {
color: $grey;
font-size: 1.1rem;
}
background: linear-gradient(180deg, #323339 0%, #25262b 100%);
border: solid 1px;
box-shadow: 0 4px 16px rgba(0, 0, 0, 0.55);
gap: 28px;
border-radius: 20px;
&.elec-border {
border-color: rgba($elec-color, 0.4);
&:hover {
box-shadow: 0 0 10px 0 $elec-color;
}
}
&.gaz-border {
border-color: rgba($gaz-color, 0.4);
&:hover {
box-shadow: 0 0 10px 0 $gaz-color;
}
}
&.water-border {
border-color: rgba($water-color, 0.4);
&:hover {
box-shadow: 0 0 10px 0 $water-color;
}
}
@media (max-width: $breakpoint) {
padding-left: 2rem;
padding-right: 2rem;
height: 300px;
width: 300px;
}
.compteur-title {
margin-top: 160px;
font-size: 2.5rem;
@media (max-width: $breakpoint) {
font-size: 24px;
margin-left: 32px;
margin-right: 32px;
@media (max-width: $breakpoint) {
display: none;
}
}
img {
@media (max-width: $breakpoint) {
width: 100%;
border-radius: 40px;
border: 2px solid $yellow;
box-shadow: 0 25px 35px 0 rgba(255, 198, 0, 0.1);
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;
@media (max-width: $breakpoint) {
padding-bottom: 0;
span {
margin-top: 1.5rem;
}
p {
margin-bottom: 0;
}
@media (max-width: $breakpoint) {
display: none;
}
.multi-pipes {
text-align: center;
margin-top: -2.25rem;
@media (max-width: $breakpoint) {
display: none;
}
}
.screens-container {
display: flex;
justify-content: center;
@media (max-width: $breakpoint) {
flex-direction: column;
margin-top: 0.5rem;
.screen {
text-align: center;
padding-top: 6rem;
position: relative;
@media (max-width: $breakpoint) {
padding-top: 3rem;
padding-bottom: 0;
}
display: inline-block;
height: 100px;
width: 1px;
background: $yellow;
position: absolute;
@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;
}
@media (max-width: $breakpoint) {
margin: 1rem;
}
.screen {
&.consumption,
&.ecogesture {
margin-top: 0;
@media (min-width: $breakpoint) {
margin-top: -8rem;
}
}
@media (min-width: $breakpoint) {
margin-top: -4rem;
}
}
font-weight: 700;
line-height: 120%;
margin-top: 1rem;
@media (min-width: $breakpoint) {
margin-right: -5.5rem;
}
@media (min-width: $breakpoint) {
margin-left: -5.5rem;
}
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 {
display: flex;
flex-direction: column;
align-items: center;
gap: 40px;
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;
@media (max-width: $large-device) {
.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;
}
}
font-weight: 400;
@media all and (max-width: $large-device) {
font-size: 1rem;
}
.steps-buttons-container {
display: flex;
flex-direction: column;
align-items: center;
gap: 24px;
#about-us {
display: flex;
flex-direction: column;
@media (max-width: $breakpoint) {
padding-inline: 0;
}
.splide {
display: flex;
flex-direction: column;
margin: auto;
@media (max-width: $large-device) {
width: 100%;
.splide__track {
padding: 20px;
}
.splide__slide {
a {
width: 200px;
height: 200px;
margin-inline: auto;
background: linear-gradient(180deg, #323339 0%, #25262b 100%);
img {
border: 1px solid #7b7b7b;
border-radius: 4px;
transition: box-shadow 0.2s ease-out, border 0.2s ease-out;
width: 100%;
padding: 24px;
&:hover {
border: 1px solid $fluid-color;
box-shadow: 0px 0px 20px 0px rgba(255, 198, 0, 0.5);
}
}
.splide-nav {
width: 100%;
display: flex;
align-items: center;
justify-content: center;
gap: 8px;
margin: auto;
@media (min-width: $large-device) {
display: none;
}
.current-page {
display: flex;
align-items: center;
background-color: $border-color;
border-radius: 20px;
height: 40px;
padding-inline: 12px;
.carousel-dots {
display: flex;
justify-content: center;
.carousel-dot {
cursor: pointer;
display: inline-block;
width: 12px;
height: 12px;
border-radius: 6px;
background: #7b7b7b;
&.active {
background: $fluid-color;
#prev,
#next {
display: flex;
cursor: pointer;
width: 40px;
height: 40px;
padding: 8px;
justify-content: center;
align-items: center;
background-color: $border-color;
border: none;
border-radius: 20px;
}
#about-us,
#share {
text-align: center;
p {
font-weight: 400;
line-height: 1.463rem;
font-size: 1.125rem;
}
.logos-container {
justify-content: center;
gap: 36px;
border-radius: 4px;
border: 1px solid $fluid-color;
transition: all 0.2s ease;
svg {
width: 100%;
height: 100%;
}
&:hover {
background-color: $yellow;
box-shadow: 0 0 12px 0 $yellow;
svg {
path {
fill: $bg-light;
}
}
}
}
.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;
.logos-footer {
display: flex;
align-items: center;
gap: 1.5rem;
}
.footerLink {
color: $yellow;
font-weight: 900;
}
.contact {
display: flex;
gap: 1rem;
}
.info {
display: flex;
align-items: center;
font-weight: 700;
gap: 0.5rem;
display: flex;
align-items: center;
gap: 0.25rem;
}
}
@media (max-width: $breakpoint) {
flex-direction: column;
padding: 2rem 1rem 1rem;
.contact {
flex-direction: column;
align-items: center;
}
.logos-footer {