Skip to content
Snippets Groups Projects
index.scss 15.5 KiB
Newer Older
Bastien DUMONT's avatar
Bastien DUMONT committed
@import './variables';
@import './globals';
Bastien DUMONT's avatar
Bastien DUMONT committed

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;
Bastien DUMONT's avatar
Bastien DUMONT committed
nav {
  position: fixed;
Bastien DUMONT's avatar
Bastien DUMONT committed
  height: 80px;
  width: 100%;
Bastien DUMONT's avatar
Bastien DUMONT committed
  z-index: 100;
  padding: 1rem 4rem;
  background-color: $bg-light;
  border-bottom: 1px solid $border-color;
  transition: all 300ms ease;
Bastien DUMONT's avatar
Bastien DUMONT committed
  display: flex;
  justify-content: space-between;
  @media (max-width: $breakpoint) {
    justify-content: center;
  }

  .logo-container {
Bastien DUMONT's avatar
Bastien DUMONT committed
    display: flex;
    gap: 16px;
Bastien DUMONT's avatar
Bastien DUMONT committed
    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;
    }
Bastien DUMONT's avatar
Bastien DUMONT committed
  }
Bastien DUMONT's avatar
Bastien DUMONT committed
  .links {
    display: flex;
    align-items: center;
    gap: 10px;
    @media (max-width: $breakpoint) {
      display: none;
    }
Bastien DUMONT's avatar
Bastien DUMONT committed

    .navlink {
      width: 180px;
      height: 80px;
Bastien DUMONT's avatar
Bastien DUMONT committed
      text-decoration: none;
      font-weight: 700;
      display: flex;
      justify-content: center;
      align-items: center;
Bastien DUMONT's avatar
Bastien DUMONT committed
    }

    .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;
}

Bastien DUMONT's avatar
Bastien DUMONT committed
.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;
Bastien DUMONT's avatar
Bastien DUMONT committed
    @media (max-width: $breakpoint) {
      margin-top: 0;
Bastien DUMONT's avatar
Bastien DUMONT committed
    }

    .left {
      display: flex;
      flex-direction: column;
      gap: 40px;
Bastien DUMONT's avatar
Bastien DUMONT committed
    }

    .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;
Bastien DUMONT's avatar
Bastien DUMONT committed
    }
      font-weight: 700;
    }

    .button-container-cta {
      display: flex;
      align-items: center;
      gap: 36px;

      @media all and (max-width: $breakpoint) {
        flex-direction: column;
Bastien DUMONT's avatar
Bastien DUMONT committed
      }

      .sign-in {
        display: flex;
        align-items: center;
        gap: 12px;
  .illu {
    @media (max-width: $breakpoint) {
      width: 100%;
#how-it-works {
Bastien DUMONT's avatar
Bastien DUMONT committed
  text-align: center;
Bastien DUMONT's avatar
Bastien DUMONT committed
  @media (max-width: $breakpoint) {
    padding: 40px 1.25rem 2rem;
Bastien DUMONT's avatar
Bastien DUMONT committed
  }

  .compteurs {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 5.5rem;
Bastien DUMONT's avatar
Bastien DUMONT committed

    .gaz-color {
      color: $gaz-color;
    }
    .water-color {
      color: $water-color;
    }
    .elec-color {
      color: $elec-color;
Bastien DUMONT's avatar
Bastien DUMONT committed
    }

    @media (max-width: $breakpoint) {
      flex-direction: column;
Bastien DUMONT's avatar
Bastien DUMONT committed
      & > div:not(.gaz-color) {
        margin-bottom: 2rem;
        margin-right: 0;
Bastien DUMONT's avatar
Bastien DUMONT committed
      }

      .text-22-white {
        @media (max-width: $breakpoint) {
          margin-bottom: 1.75rem;
        }
      }

Bastien DUMONT's avatar
Bastien DUMONT committed
      span {
        margin-bottom: 5rem;
      }
    }

    span {
      color: $grey;
      font-size: 1.1rem;
    }
Bastien DUMONT's avatar
Bastien DUMONT committed
    .bloc {
      width: 400px;
      height: 400px;
      padding: 0 0 24px 0;
Bastien DUMONT's avatar
Bastien DUMONT committed
      background: linear-gradient(180deg, #323339 0%, #25262b 100%);
      border: solid 1px;
      box-shadow: 0 4px 16px rgba(0, 0, 0, 0.55);
Bastien DUMONT's avatar
Bastien DUMONT committed
      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;
      }

Bastien DUMONT's avatar
Bastien DUMONT committed
      &:hover {
        box-shadow: 0 0 10px 0 currentColor;
      }
Bastien DUMONT's avatar
Bastien DUMONT committed
      h3 {
        color: currentColor;
        margin-top: 12rem;
        margin-bottom: -2rem;
Bastien DUMONT's avatar
Bastien DUMONT committed
        font-weight: 900;
        font-size: 2.5rem;

        @media (max-width: $breakpoint) {
          margin-top: 9rem;
        }
Bastien DUMONT's avatar
Bastien DUMONT committed
      }
Bastien DUMONT's avatar
Bastien DUMONT committed
      .compteur-img {
        position: absolute;
        top: -4.5rem;
Bastien DUMONT's avatar
Bastien DUMONT committed
        left: 0;
        right: 0;
        margin: auto;
        @media (max-width: $breakpoint) {
          min-width: 7.85rem;
          min-height: 12rem;
        }
Bastien DUMONT's avatar
Bastien DUMONT committed
      }
Bastien DUMONT's avatar
Bastien DUMONT committed
      p {
        padding-top: 0.5rem;
      }
Bastien DUMONT's avatar
Bastien DUMONT committed
      .provider-logo {
        display: flex;
        height: 45px;
        margin: auto;
        position: relative;
        top: -2.5rem;

Bastien DUMONT's avatar
Bastien DUMONT committed
        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;
      }
    }

Bastien DUMONT's avatar
Bastien DUMONT committed
    .elec-color {
      border-color: rgba($elec-color, 0.4);
    }
Bastien DUMONT's avatar
Bastien DUMONT committed
    .gaz-color {
      border-color: rgba($gaz-color, 0.4);
    }
Bastien DUMONT's avatar
Bastien DUMONT committed
    .water-color {
      border-color: rgba($water-color, 0.4);
    }
  }
Bastien DUMONT's avatar
Bastien DUMONT committed
  .fluid-pipes {
    margin-top: 1.5rem;
Bastien DUMONT's avatar
Bastien DUMONT committed
    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);
Bastien DUMONT's avatar
Bastien DUMONT committed
  display: flex;
  position: relative;
  max-width: 1400px;
  margin-top: -1rem;
  padding-inline: 3rem;

  @media (max-width: $breakpoint) {
    padding-inline: 1rem;
    margin: auto;
Bastien DUMONT's avatar
Bastien DUMONT committed
  }
Bastien DUMONT's avatar
Bastien DUMONT committed
  .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%;
      }
Bastien DUMONT's avatar
Bastien DUMONT committed
    }

    .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;
Bastien DUMONT's avatar
Bastien DUMONT committed
.views-app {
  @media (max-width: $breakpoint) {
    padding-bottom: 0;

    span {
      margin-top: 1.5rem;
    }

    p {
      margin-bottom: 0;
    }
Bastien DUMONT's avatar
Bastien DUMONT committed
  .content {
    width: 100%;
    margin: 0 auto;
  }
Bastien DUMONT's avatar
Bastien DUMONT committed
  .fluid-pipes {
    text-align: center;
Bastien DUMONT's avatar
Bastien DUMONT committed
    @media (max-width: $breakpoint) {
      display: none;
    }
Bastien DUMONT's avatar
Bastien DUMONT committed
    img {
      transform: translate(0, -25px);
    }
  }

  .multi-pipes {
    text-align: center;
    margin-top: -2.25rem;
    @media (max-width: $breakpoint) {
      display: none;
    }
  }

Bastien DUMONT's avatar
Bastien DUMONT committed
  .screens-container {
    display: flex;
    justify-content: center;
    padding-bottom: 1rem;
Bastien DUMONT's avatar
Bastien DUMONT committed
    @media (max-width: $breakpoint) {
      flex-direction: column;
      margin-top: 0.5rem;
Bastien DUMONT's avatar
Bastien DUMONT committed
      .screen {
        text-align: center;
        padding-top: 6rem;
        position: relative;

        @media (max-width: $breakpoint) {
          padding-top: 3rem;
          padding-bottom: 0;
        }

Bastien DUMONT's avatar
Bastien DUMONT committed
        &:before,
        &:after {
Bastien DUMONT's avatar
Bastien DUMONT committed
          content: '';
Bastien DUMONT's avatar
Bastien DUMONT committed
          display: inline-block;
          height: 100px;
          width: 1px;
          background: $yellow;
          position: absolute;
          box-shadow: 0 0 25px 1px #ffc600;
Bastien DUMONT's avatar
Bastien DUMONT committed
          top: 0;
          z-index: 1;
          @media (max-width: $breakpoint) {
            padding-top: 0;
          }
Bastien DUMONT's avatar
Bastien DUMONT committed
        }
Bastien DUMONT's avatar
Bastien DUMONT committed
        &::before {
          left: 48%;
          transform: translateX(-50%);
        }
Bastien DUMONT's avatar
Bastien DUMONT committed
        &::after {
          left: 52%;
          transform: translateX(-50%);
        }

        .no-margin-padding-bottom {
          @media (max-width: $breakpoint) {
            padding-bottom: 0;
            margin-bottom: 0;
          }
        }
Bastien DUMONT's avatar
Bastien DUMONT committed
      }
Bastien DUMONT's avatar
Bastien DUMONT committed
      img {
        width: 90%;
        position: relative;
        z-index: 2;
      }
Bastien DUMONT's avatar
Bastien DUMONT committed
      p {
        margin: 1.5rem 0;
        @media (max-width: $breakpoint) {
          margin: 1rem;
        }
Bastien DUMONT's avatar
Bastien DUMONT committed
      }
    }
Bastien DUMONT's avatar
Bastien DUMONT committed
    .screen {
      &.consumption,
      &.ecogesture {
        margin-top: 0;
Bastien DUMONT's avatar
Bastien DUMONT committed
        @media (min-width: $breakpoint) {
          margin-top: -8rem;
        }
      }
Bastien DUMONT's avatar
Bastien DUMONT committed
      &.challenge {
        span {
          color: $light-blue;
          font-size: 2rem;
Bastien DUMONT's avatar
Bastien DUMONT committed
        @media (min-width: $breakpoint) {
          margin-top: -4rem;
        }
      }
Bastien DUMONT's avatar
Bastien DUMONT committed
      p {
        font-weight: 700;
        line-height: 120%;
        margin-top: 1rem;
      }
Bastien DUMONT's avatar
Bastien DUMONT committed
      &.consumption {
        @media (min-width: $breakpoint) {
          margin-right: -5.5rem;
        }
Bastien DUMONT's avatar
Bastien DUMONT committed
        span {
          color: $elec-color;
          font-size: 2rem;
Bastien DUMONT's avatar
Bastien DUMONT committed
        }
      }
Bastien DUMONT's avatar
Bastien DUMONT committed
      &.ecogesture {
        @media (min-width: $breakpoint) {
          margin-left: -5.5rem;
        }
Bastien DUMONT's avatar
Bastien DUMONT committed
        span {
          color: $fluid-color;
          font-size: 2rem;
Bastien DUMONT's avatar
Bastien DUMONT committed
  p {
    line-height: 24px;
    font-size: 1.25rem;
    text-align: center;
    margin: 1.5rem 0;
Bastien DUMONT's avatar
Bastien DUMONT committed
    @media (min-width: $breakpoint) {
      margin: 2rem 0 0;
    }
Bastien DUMONT's avatar
Bastien DUMONT committed
    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;
  }
Bastien DUMONT's avatar
Bastien DUMONT committed

  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%;
Bastien DUMONT's avatar
Bastien DUMONT committed
    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 {
Bastien DUMONT's avatar
Bastien DUMONT committed
      display: flex;
      align-items: center;
      gap: 24px;
      @media (max-width: $large-device) {
Bastien DUMONT's avatar
Bastien DUMONT committed
        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;
        }
Bastien DUMONT's avatar
Bastien DUMONT committed
      }
      .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;
          }
        }
Bastien DUMONT's avatar
Bastien DUMONT committed
      }
Bastien DUMONT's avatar
Bastien DUMONT committed
        font-size: 1rem;
        font-weight: 400;
        @media all and (max-width: $large-device) {
          font-size: 1rem;
        }
Bastien DUMONT's avatar
Bastien DUMONT committed
      }
    }

  .steps-buttons-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 24px;
Bastien DUMONT's avatar
Bastien DUMONT committed
  }
}
#about-us {
  display: flex;
  flex-direction: column;
  gap: 40px;
Bastien DUMONT's avatar
Bastien DUMONT committed

  .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 {
    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;
}

Bastien DUMONT's avatar
Bastien DUMONT committed
footer {
  background-color: $black;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding: 40px 1rem;
Bastien DUMONT's avatar
Bastien DUMONT committed

  .logos-footer {
    display: flex;
    align-items: center;
    gap: 1.5rem;
  }

  .legal-notice {
    display: flex;
    gap: 1rem;
Bastien DUMONT's avatar
Bastien DUMONT committed
  .footerLink {
    color: $yellow;
    font-weight: 900;
  }
Bastien DUMONT's avatar
Bastien DUMONT committed
  .contact {
    display: flex;
    gap: 1rem;
  }

  .info {
    display: flex;
    align-items: center;
    font-weight: 700;
    gap: 0.5rem;
Bastien DUMONT's avatar
Bastien DUMONT committed
    a {
      text-decoration: none;
Bastien DUMONT's avatar
Bastien DUMONT committed
      display: flex;
      align-items: center;
      gap: 0.25rem;
Bastien DUMONT's avatar
Bastien DUMONT committed
    }
  }

  @media (max-width: $breakpoint) {
    flex-direction: column;
    padding: 2rem 1rem 1rem;
    .contact {
Bastien DUMONT's avatar
Bastien DUMONT committed
      flex-direction: column;
      align-items: center;
    }
    .logos-footer {
Bastien DUMONT's avatar
Bastien DUMONT committed
      flex-direction: column;
    }
    .info {
      order: 4;
      transform: scale(0.8);
    }
    .legal-notice {
      order: 3;
    }
  }
}

.accessibility {
Bastien DUMONT's avatar
Bastien DUMONT committed
  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;
    }
  }
}