@import "./variables";

.experimentation-winter-2022 {
  nav {
    background: white;
    align-items: center;
    grid-template-columns: 0fr 3fr 0fr;
  }
  .text-36-white {
    font-size: 2rem;
    line-height: 2.6rem;
    color: white;
    font-weight: bold;
  }
  a.button-gl-nav,
  .button-gl {
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    display: block;
    color: white;
    background: $gl-red;
    border-radius: 2px;
    text-align: center;
    padding: 0.4rem 1rem;
    max-width: 160px;
  }
  a.button-gl {
    padding: 0.6rem;
    margin: 3rem 0 1rem 0;
    font-size: 1.2rem;
    max-width: 200px;
  }
  .content-txt {
    display: flex;
    flex-direction: column;
    .text-36-white {
      @media all and(max-width:$large-device) {
        font-size: 1.5rem;
        line-height: 2rem;
      }
    }
    .button-gl {
      @media all and(max-width:$large-device) {
        display: none;
      }
    }
    .content-img {
      order: 2;
    }
  }
  .explanation {
    background: $grey-dark;
    max-height: 500px;
    @media all and(max-width:$large-device) {
      max-height: 550px;
      min-height: 300px;
    }
    .content {
      padding-top: 0;
      .text-18-white-padding {
        font-weight: 900;
        font-size: 1.3rem;
        text-align: center;
        @media all and(max-width:$large-device) {
          br {
            display: none;
          }
        }
      }

      .compteurs {
        .prefix {
          display: contents;
        }
        @media all and(max-width:$large-device) {
          flex-direction: row;
          align-items: baseline;
          .prefix,
          span {
            display: none;
          }
          .bloc {
            height: 160px;
            h3 {
              margin-top: 3rem;
              font-size: 1.3rem;
            }
            &.elec-color,
            &.water-color {
              margin-right: 0.5rem;
            }
            span {
              display: none;
            }
            .provider-logo {
              margin-top: 0.5rem;
            }
            .gazpar,
            .linky {
              width: 60%;
            }
            .teleo {
              width: 90%;
              margin-top: 1rem;
            }
            .gazpar {
              margin-top: 1rem;
            }
          }
        }
      }
    }
  }
  .inscription {
    background: white;
    .banner {
      background: $gl-red;
      padding: 1rem;
      text-align: center;
      height: 108px;
      display: flex;
      align-items: center;
      justify-content: center;
      flex-direction: column;
      h2 {
        font-size: 2rem;
        margin-bottom: 0.5rem;
        @media all and(max-width:$large-device) {
          font-size: 1.4rem;
        }
      }
      .hint {
        font-style: italic;
      }
    }
    .container {
      padding: 5rem 1rem;
      max-width: 1000px;
      margin: auto;
      .step {
        display: flex;
        justify-content: center;
        align-items: start;
        margin: auto;
        margin: 2.5rem 0;
        @media all and(max-width:$large-device) {
          flex-direction: column;
        }
        .flex {
          display: flex;
        }
      }
      .number {
        font-size: 5rem;
        margin-top: -0.5rem;
        margin-right: 1.5rem;
        @media all and(max-width:$large-device) {
          margin-top: 0;
          font-size: 3rem;
        }
      }
      .text > p {
        color: black;
      }
      .content {
        @media all and(max-width:$large-device) {
          font-size: 1rem;
        }
      }
      .header {
        font-weight: 900;
        font-size: 1.6rem;
        margin-bottom: 0.5rem;
        @media all and(max-width:$large-device) {
          font-size: 1.2rem;
        }
      }
      .content {
        font-size: 1.2rem;
      }
      .gaz-color {
        color: $gaz-color;
      }
      .water-color {
        color: $water-color;
      }
      .elec-color {
        color: $elec-color;
      }
      .gl-color {
        color: $gl-red;
      }
      .question {
        font-size: 1.8rem;
        color: black;
        text-align: center;
        margin-top: 8rem;
        margin-bottom: 2rem;
      }
      .go {
        display: block;
        margin: auto;
        height: 60px;
        display: flex;
        font-size: 1.5rem;
        font-weight: bold;
        max-width: 223px;
      }
    }
  }
}