Skip to content
Snippets Groups Projects
index.css 14.2 KiB
Newer Older
Guilhem CARRON's avatar
Guilhem CARRON committed
* {
  margin: 0;
  line-height: 1;
  font-family: "Lato", sans-serif;
  color: white;
  box-sizing: border-box;
}
Guilhem CARRON's avatar
Guilhem CARRON committed

svg {
  overflow: visible;
}
Guilhem CARRON's avatar
Guilhem CARRON committed

body,
html {
  overflow-x: hidden;
  background: #121212;
}
Guilhem CARRON's avatar
Guilhem CARRON committed

.text-18-white {
  font-weight: 400;
  color: white;
  font-size: 1.125rem;
  line-height: 1.6rem;
}
Guilhem CARRON's avatar
Guilhem CARRON committed

.text-18-white-padding {
  font-weight: 400;
  padding-top: 2rem;
  color: white;
  font-size: 1.125rem;
  line-height: 1.6rem;
}
Guilhem CARRON's avatar
Guilhem CARRON committed

.text-18-black-padding {
  font-weight: 400;
  padding-top: 2rem;
  color: #121212;
  font-size: 1.125rem;
  line-height: 1.6rem;
}
Guilhem CARRON's avatar
Guilhem CARRON committed

.text-16-black-padding {
  font-weight: 400;
  padding-top: 2rem;
  color: #121212;
  font-size: 1rem;
  line-height: 1.3rem;
}
Guilhem CARRON's avatar
Guilhem CARRON committed

.text-18-black {
  font-weight: 400;
  color: #121212;
  font-size: 1.125rem;
  line-height: 1.6rem;
}

.text-26-white-bold-padding {
  font-weight: 900;
  padding-top: 2rem;
  color: white;
  font-size: 1.625rem;
  line-height: 2rem;
}
Guilhem CARRON's avatar
Guilhem CARRON committed

.text-36-white {
  font-weight: 900;
  font-size: 2.25rem;
}
Guilhem CARRON's avatar
Guilhem CARRON committed

.text-36-black {
  font-weight: 900;
  font-size: 2.25rem;
  color: #121212;
}
Guilhem CARRON's avatar
Guilhem CARRON committed

Bastien DUMONT's avatar
Bastien DUMONT committed
.yellow {
  color: #f1c017;
}

@media all and (max-width: 1200px) {
  .text-36-white,
.text-36-black {
    font-size: 1.85rem;
  }
}
.gaz-color {
  color: #45d1b8;
}

.water-color {
  color: #3a98ec;
}

.elec-color {
  color: #d87b39;
}

Guilhem CARRON's avatar
Guilhem CARRON committed
nav {
  height: 80px;
  width: 100%;
  position: fixed;
  z-index: 100;
  background: radial-gradient(74.83% 76.97% at 50% 13.64%, #343641 0%, #1b1c22 100%);
Bastien DUMONT's avatar
Bastien DUMONT committed
  padding: 1rem 4rem;
  display: flex;
  justify-content: space-between;
  transition: all 300ms ease;
}
@media all and (max-width: 1200px) {
  nav {
    height: 75px;
  }
}
nav .main-logo {
  display: flex;
  align-items: center;
Bastien DUMONT's avatar
Bastien DUMONT committed
  gap: 1rem;
  font-size: 1.5rem;
  text-decoration: none;
}
nav .links {
  display: flex;
  align-items: center;
Bastien DUMONT's avatar
Bastien DUMONT committed
  gap: 3.5rem;
}
nav .links .navlink {
  text-decoration: none;
  font-weight: 700;
}
Bastien DUMONT's avatar
Bastien DUMONT committed
@media (max-width: 1200px) {
  nav .main-logo {
    margin: auto;
  }
  nav .links {
    display: none;
  }
  padding: 0 1rem;
}
@media (min-width: 1200px) {
  .container {
    padding: 0;
  }
}
Guilhem CARRON's avatar
Guilhem CARRON committed

.main-cta {
  margin: auto;
  display: flex;
Bastien DUMONT's avatar
Bastien DUMONT committed
  gap: 1rem;
  justify-content: center;
Bastien DUMONT's avatar
Bastien DUMONT committed
  align-items: flex-start;
  flex-wrap: wrap;
  padding: 5rem 2rem 5rem 8rem;
Bastien DUMONT's avatar
Bastien DUMONT committed
@media (max-width: 1200px) {
  .main-cta {
    padding-top: 4rem;
    padding-bottom: 2rem;
    padding-left: 2rem;
    gap: 1rem;
  }
  .main-cta .illu {
    order: 1;
  }
  .main-cta .content-txt {
    order: 2;
  }
  .main-cta .mglLogo {
    order: 3;
Bastien DUMONT's avatar
Bastien DUMONT committed
}
.main-cta .content-txt {
Bastien DUMONT's avatar
Bastien DUMONT committed
  margin-top: 5rem;
  max-width: 700px;
Bastien DUMONT's avatar
Bastien DUMONT committed
}
@media (max-width: 1200px) {
  .main-cta .content-txt {
Bastien DUMONT's avatar
Bastien DUMONT committed
    margin-top: 0rem;
.main-cta .content-txt h2 {
Bastien DUMONT's avatar
Bastien DUMONT committed
  margin-top: 1.5rem;
  font-weight: 700;
}
.main-cta .content-txt ul {
Bastien DUMONT's avatar
Bastien DUMONT committed
  padding-top: 1rem;
}
.main-cta .content-txt ul li {
Bastien DUMONT's avatar
Bastien DUMONT committed
  margin-bottom: 0.5rem;
}
.main-cta .content-txt .button {
Bastien DUMONT's avatar
Bastien DUMONT committed
  margin: 2rem 0;
  cursor: pointer;
  display: flex;
  text-decoration: none;
  align-items: center;
  justify-content: space-between;
  background: #f1c017;
  color: #121212;
  border-radius: 2px;
  width: 100%;
  height: 56px;
  max-width: fit-content;
  padding: 1rem;
  margin: 2rem 0;
  border: 0;
  transition: all 400ms ease;
  font-size: 1.25rem;
  text-align: center;
  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%), #f1c017;
}
@media all and (min-width: 1200px) {
  .main-cta .content-txt .button > div:not(:last-child) {
    margin-right: 1rem;
  }
}
.main-cta .content-txt .button:hover {
  box-shadow: 0px 0px 20px 0px #f1c017;
}
.main-cta .content-txt .button span {
  font-weight: 900;
}
Bastien DUMONT's avatar
Bastien DUMONT committed
@media (max-width: 1200px) {
  .main-cta .content-txt .button {
Bastien DUMONT's avatar
Bastien DUMONT committed
    margin: 1.5rem auto;
.main-cta .content-txt .button img {
  transform: translate(0, 2px);
Bastien DUMONT's avatar
Bastien DUMONT committed
@media (max-width: 1200px) {
  .main-cta .illu {
Bastien DUMONT's avatar
Bastien DUMONT committed
    width: 100%;
Bastien DUMONT's avatar
Bastien DUMONT committed
.main-cta .mglLogo {
  display: flex;
Bastien DUMONT's avatar
Bastien DUMONT committed
  padding: 0.5rem 1rem;
  border: 1px solid white;
  border-radius: 6px;
  margin-top: 5rem;
@media (max-width: 1200px) {
  .main-cta .mglLogo {
    margin-top: 0;
  }
}
Guilhem CARRON's avatar
Guilhem CARRON committed
.explanation {
  background: #1b1c22;
  text-align: center;
Bastien DUMONT's avatar
Bastien DUMONT committed
  padding-top: 5rem;
Bastien DUMONT's avatar
Bastien DUMONT committed
@media (max-width: 1200px) {
  .explanation {
    padding: 2rem 1rem;
Bastien DUMONT's avatar
Bastien DUMONT committed
.explanation .compteurs {
  display: flex;
  align-items: center;
  justify-content: center;
Bastien DUMONT's avatar
Bastien DUMONT committed
  margin-top: 7rem;
Bastien DUMONT's avatar
Bastien DUMONT committed
.explanation .compteurs > *:not(:last-child) {
  margin-right: 0.8rem;
}
@media (max-width: 1200px) {
  .explanation .compteurs {
    flex-direction: column;
  }
  .explanation .compteurs > div:not(.gaz-color) {
    margin-bottom: 2rem;
    margin-right: 0;
Bastien DUMONT's avatar
Bastien DUMONT committed
  }
  .explanation .compteurs span {
    margin-bottom: 5rem;
Bastien DUMONT's avatar
Bastien DUMONT committed
.explanation .compteurs span {
  color: #a0a0a0;
  font-size: 1.1rem;
}
Bastien DUMONT's avatar
Bastien DUMONT committed
.explanation .compteurs .bloc {
  width: 280px;
  height: 280px;
Bastien DUMONT's avatar
Bastien DUMONT committed
  padding: 0.5rem;
  background: linear-gradient(180deg, #323339 0%, #25262b 100%);
Bastien DUMONT's avatar
Bastien DUMONT committed
  border: solid 1px;
  border-radius: 4px;
Bastien DUMONT's avatar
Bastien DUMONT committed
  box-shadow: 0px 4px 16px rgba(0, 0, 0, 0.55);
  display: flex;
  flex-direction: column;
  position: relative;
Bastien DUMONT's avatar
Bastien DUMONT committed
  transition: all 300ms ease;
}
.explanation .compteurs .bloc:hover {
  box-shadow: 0 0 10px 0 currentColor;
Bastien DUMONT's avatar
Bastien DUMONT committed
.explanation .compteurs .bloc h3 {
  color: currentColor;
  margin-top: 8rem;
  font-weight: 900;
  font-size: 2rem;
}
Bastien DUMONT's avatar
Bastien DUMONT committed
.explanation .compteurs .bloc .compteur-img {
  position: absolute;
Bastien DUMONT's avatar
Bastien DUMONT committed
  top: -6rem;
  left: 0;
  right: 0;
  margin: auto;
}
Bastien DUMONT's avatar
Bastien DUMONT committed
.explanation .compteurs .bloc p {
  padding-top: 0.5rem;
}
Bastien DUMONT's avatar
Bastien DUMONT committed
.explanation .compteurs .bloc .provider-logo {
  margin-top: auto;
  display: flex;
  height: 35px;
}
Bastien DUMONT's avatar
Bastien DUMONT committed
.explanation .compteurs .bloc .provider-logo img {
  margin: auto;
}
Bastien DUMONT's avatar
Bastien DUMONT committed
.explanation .compteurs .elec-color {
  border-color: rgba(216, 123, 57, 0.4);
Bastien DUMONT's avatar
Bastien DUMONT committed
.explanation .compteurs .gaz-color {
  border-color: rgba(69, 209, 184, 0.4);
Bastien DUMONT's avatar
Bastien DUMONT committed
.explanation .compteurs .water-color {
  border-color: rgba(58, 152, 236, 0.4);
Bastien DUMONT's avatar
Bastien DUMONT committed
.explanation .fluid-pipes {
  margin-top: 1.5rem;
}
@media (max-width: 1200px) {
Bastien DUMONT's avatar
Bastien DUMONT committed
  .explanation .fluid-pipes img {
Guilhem CARRON's avatar
Guilhem CARRON committed
.security {
Bastien DUMONT's avatar
Bastien DUMONT committed
  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%), #f1c017;
Guilhem CARRON's avatar
Guilhem CARRON committed
  display: flex;
  margin-top: -1rem;
  position: relative;
}
.security:before, .security::after {
  content: "";
  display: inline-block;
  position: absolute;
  width: 100%;
  height: 10px;
  left: 0;
  background-image: url("assets/pattern-dot.svg");
  background-color: #b97715;
  background-repeat: repeat-x;
  background-position: center;
  z-index: 1;
}
.security::before {
  top: -0.5rem;
}
.security:after {
  bottom: -0.5rem;
}
.security .container {
Bastien DUMONT's avatar
Bastien DUMONT committed
  max-width: 1400px;
  margin: 0 auto;
}
.security .container-cloud {
  display: flex;
  position: relative;
  padding: 7rem 0 2rem;
  justify-content: space-between;
  align-items: center;
}
@media (min-width: 1200px) {
  .security .container-cloud {
    padding: 3rem 0;
  }
}
.security p {
  color: #121212;
  font-size: 1.5rem;
  font-weight: 700;
  flex-basis: 40%;
}
.security p:nth-of-type(1) {
  text-align: right;
}
Bastien DUMONT's avatar
Bastien DUMONT committed
.security a {
  color: #121212;
}
.security .xs-text {
  display: block;
  flex-basis: 100%;
  text-align: center;
}
@media (min-width: 1200px) {
  .security .xs-text {
    display: none;
  }
}
.security .xl-text {
  display: none;
Bastien DUMONT's avatar
Bastien DUMONT committed
  line-height: 140%;
}
@media (min-width: 1200px) {
  .security .xl-text {
    display: block;
  }
}
.security .container-img {
  position: absolute;
  z-index: 2;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}
@media (max-width: 1200px) {
  .security .container-img {
    top: -70px;
    transform: translateX(-50%);
    width: 45%;
  }
}
.security .container-img img {
  width: 100%;
}
  background: #1b1c22;
  padding-bottom: 2rem;
}
@media (max-width: 1200px) {
  .views-app {
    padding-bottom: 0;
  }
}
.views-app .content {
  max-width: 945px;
  width: 100%;
  margin: 0 auto;
}
.views-app .fluid-pipes {
  text-align: center;
}
@media (max-width: 1200px) {
  .views-app .fluid-pipes {
    display: none;
  }
}
Bastien DUMONT's avatar
Bastien DUMONT committed
.views-app .fluid-pipes img {
  transform: translate(0, -25px);
}
.views-app .screens-container {
  display: flex;
  justify-content: center;
  padding-bottom: 1rem;
}
@media (max-width: 1200px) {
  .views-app .screens-container {
    flex-direction: column;
    margin-top: 0.5rem;
  }
  .views-app .screens-container .screen {
    text-align: center;
    padding-top: 6rem;
    position: relative;
  }
  .views-app .screens-container .screen:before, .views-app .screens-container .screen:after {
    content: "";
    display: inline-block;
    height: 100px;
    width: 1px;
    background: #f1c017;
    position: absolute;
    box-shadow: 0px 0px 25px 1px #ffc600;
    top: 0;
    z-index: 1;
  }
  .views-app .screens-container .screen::before {
    left: 48%;
    transform: translateX(-50%);
  }
  .views-app .screens-container .screen::after {
    left: 52%;
    transform: translateX(-50%);
  }
  .views-app .screens-container img {
    width: 90%;
    position: relative;
    z-index: 2;
  }
  .views-app .screens-container p {
    margin: 1.5rem 0;
  }
}
Bastien DUMONT's avatar
Bastien DUMONT committed
.views-app .screens-container .screen.consumption, .views-app .screens-container .screen.ecogesture {
  margin-top: 0;
}
@media (min-width: 1200px) {
Bastien DUMONT's avatar
Bastien DUMONT committed
  .views-app .screens-container .screen.consumption, .views-app .screens-container .screen.ecogesture {
    margin-top: -8rem;
  }
}
@media (min-width: 1200px) {
  .views-app .screens-container .screen.challenge {
    margin-top: -4rem;
  }
}
Bastien DUMONT's avatar
Bastien DUMONT committed
.views-app .screens-container .screen p {
  font-weight: 700;
  line-height: 120%;
  margin-top: 1rem;
}
@media (min-width: 1200px) {
  .views-app .screens-container .screen.consumption {
    margin-right: -5.5rem;
  }
}
.views-app .screens-container .screen.consumption span {
Bastien DUMONT's avatar
Bastien DUMONT committed
  color: #d87b39;
}
.views-app .screens-container .screen.challenge span {
  color: #61f0f2;
}
@media (min-width: 1200px) {
  .views-app .screens-container .screen.ecogesture {
    margin-left: -5.5rem;
  }
}
.views-app .screens-container .screen.ecogesture span {
Bastien DUMONT's avatar
Bastien DUMONT committed
  color: #e3b82a;
}
.views-app p {
  line-height: 24px;
  font-size: 1.25rem;
  text-align: center;
  margin: 1.5rem 0;
}
@media (min-width: 1200px) {
  .views-app p {
    margin: 2rem 0 0;
  }
}
.views-app p span {
  display: block;
  font-size: 1.5rem;
}
Bastien DUMONT's avatar
Bastien DUMONT committed
.create-account {
  background-color: #121212;
  padding: 2.5rem 0;
.create-account h2 {
  font-size: 2.25rem;
  text-align: center;
}
.create-account .containerSteps {
  padding: 2rem 1rem 3rem;
  max-width: 1000px;
  margin: auto;
}
.create-account .containerSteps .step {
  display: flex;
  align-items: center;
Bastien DUMONT's avatar
Bastien DUMONT committed
  gap: 1rem;
}
.create-account .containerSteps .step:not(:last-child) {
  margin: 2.5rem 0;
}
@media all and (max-width: 1200px) {
  .create-account .containerSteps .step {
    flex-direction: column;
Bastien DUMONT's avatar
Bastien DUMONT committed
    align-items: center;
.create-account .containerSteps .step .flex {
  display: flex;
  align-items: center;
Bastien DUMONT's avatar
Bastien DUMONT committed
  gap: 1rem;
.create-account .containerSteps .number {
  font-size: 5rem;
}
@media all and (max-width: 1200px) {
  .create-account .containerSteps .number {
    margin-top: 0;
    font-size: 3rem;
  }
}
@media all and (max-width: 1200px) {
  .create-account .containerSteps .content {
    font-size: 1rem;
  }
}
.create-account .containerSteps .header {
  font-weight: 900;
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}
@media all and (max-width: 1200px) {
  .create-account .containerSteps .header {
    font-size: 1.2rem;
  }
}
.create-account .containerSteps .content {
  font-size: 1.2rem;
Bastien DUMONT's avatar
Bastien DUMONT committed
  font-weight: 400;
.create-account .createAccountButton {
  cursor: pointer;
  display: flex;
  text-decoration: none;
  align-items: center;
  justify-content: space-between;
  background: #f1c017;
  color: #121212;
  border-radius: 2px;
  width: 100%;
  height: 56px;
  max-width: fit-content;
  padding: 1rem;
  margin: 2rem 0;
  border: 0;
  transition: all 400ms ease;
  margin: auto;
  font-size: 1.5rem;
  text-align: center;
  justify-content: center;
  font-weight: 700;
  padding: 2rem 3rem;
  border-radius: 4px;
  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%), #f1c017;
}
@media all and (min-width: 1200px) {
  .create-account .createAccountButton > div:not(:last-child) {
    margin-right: 1rem;
  }
}
.create-account .createAccountButton:hover {
  box-shadow: 0px 0px 20px 0px #f1c017;
}
.create-account .createAccountButton span {
  font-weight: 900;
}
Guilhem CARRON's avatar
Guilhem CARRON committed

  padding: 2rem 1rem 2.5rem;
  background: #1b1c22;
Bastien DUMONT's avatar
Bastien DUMONT committed
  color: white;
}
.cloud-gl .text-content {
  max-width: 689px;
  text-align: center;
  margin: 0 auto;
}
.cloud-gl h2 {
  font-size: 1.75rem;
  font-weight: 900;
Bastien DUMONT's avatar
Bastien DUMONT committed
  margin: 1rem;
}
.cloud-gl p {
  line-height: 1.463rem;
  padding: 0;
}
.cloud-gl .button {
  display: inline-block;
  background: #ff0101;
  text-align: center;
  border-radius: 4px;
Bastien DUMONT's avatar
Bastien DUMONT committed
  padding: 12px 16px;
  margin-top: 1.25rem;
  text-decoration: none;
  max-width: 221px;
  font-size: 1.125rem;
  font-weight: 700;
  line-height: 1.238rem;
  transition: all 0.4s;
}
.cloud-gl .button:hover {
  box-shadow: 0px 0px 10px 0px #ff0101;
}
Guilhem CARRON's avatar
Guilhem CARRON committed
footer {
Bastien DUMONT's avatar
Bastien DUMONT committed
  background-color: #121212;
  display: flex;
  align-items: center;
  justify-content: space-between;
Bastien DUMONT's avatar
Bastien DUMONT committed
  gap: 2rem;
  padding: 1rem 2rem;
Bastien DUMONT's avatar
Bastien DUMONT committed
  padding-top: 5rem;
Bastien DUMONT's avatar
Bastien DUMONT committed
footer .logos-footer {
  display: flex;
  align-items: center;
Bastien DUMONT's avatar
Bastien DUMONT committed
  gap: 1.5rem;
footer .legal-notice {
  display: flex;
  gap: 0.5rem;
}
Bastien DUMONT's avatar
Bastien DUMONT committed
footer .footerLink {
  color: #f1c017;
  font-weight: 900;
}
Bastien DUMONT's avatar
Bastien DUMONT committed
footer .contact {
  display: flex;
  gap: 1rem;
Bastien DUMONT's avatar
Bastien DUMONT committed
footer .info {
  display: flex;
  align-items: center;
Bastien DUMONT's avatar
Bastien DUMONT committed
  font-weight: 700;
  gap: 0.5rem;
Bastien DUMONT's avatar
Bastien DUMONT committed
footer .info a {
  text-decoration: none;
}
Bastien DUMONT's avatar
Bastien DUMONT committed
@media (max-width: 1200px) {
  footer {
    flex-direction: column;
Bastien DUMONT's avatar
Bastien DUMONT committed
    padding: 2rem 1rem 1rem;
Bastien DUMONT's avatar
Bastien DUMONT committed
  footer .contact {
    order: 1;
Bastien DUMONT's avatar
Bastien DUMONT committed
    flex-direction: column;
    align-items: center;
Bastien DUMONT's avatar
Bastien DUMONT committed
  footer .logos-footer {
    order: 2;
Bastien DUMONT's avatar
Bastien DUMONT committed
    flex-direction: column;
Bastien DUMONT's avatar
Bastien DUMONT committed
  footer .info {
    order: 4;
    transform: scale(0.8);
  }
Bastien DUMONT's avatar
Bastien DUMONT committed
  footer .legal-notice {
    order: 3;
  }
}

.accessibility h2,
.accessibility h3,
.accessibility h4 {
  color: #f1c017;
}
.accessibility h2,
.accessibility h3,
.accessibility h4 {
  margin: 0.5rem 0;
}
.accessibility table {
  width: 100%;
  margin: 0.5rem 0;
}
.accessibility table td,
.accessibility table th {
  border: 1px solid rgba(255, 255, 255, 0.4);
}

Bastien DUMONT's avatar
Bastien DUMONT committed
/*# sourceMappingURL=index.css.map */