Skip to content
Snippets Groups Projects
experimentation-page.scss 11 KiB
Newer Older
  • Learn to ignore specific revisions
  • .experimentation-page {
      li {
        list-style-type: none;
      }
      ul {
        padding: 0;
      }
      a {
        text-decoration: none;
      }
      img {
        max-width: 100%;
      }
      p {
        font-size: 1rem;
        color: rgba(#ffffff, 0.9);
        line-height: 1.5;
      }
      .green {
        color: $green;
      }
      .orange {
        color: $orange;
      }
      .pink {
        color: $pink;
      }
      .blue {
        color: $blue;
      }
      .red {
        color: $red;
      }
      .yellow {
        color: $yellow;
      }
      .purple {
        color: $purple;
      }
      .icon {
        padding-left: 0.75rem;
        &::before {
          content: "";
          display: inline-block;
          width: 17px;
          height: 17px;
        }
        &-tools::before {
          @extend .icon;
          background: url("assets/icon-tools.png") no-repeat;
          background-size: contain;
        }
        &-folded-hands::before {
          @extend .icon;
          background: url("assets/icon-folded-hands.png") no-repeat;
          background-size: contain;
        }
        &-star-struck::before {
          @extend .icon;
          background: url("assets/icon-star-struck.png") no-repeat;
          background-size: contain;
        }
        &-light-bulb::before {
          @extend .icon;
          background: url("assets/icon-lightbulb.png") no-repeat;
          background-size: contain;
        }
        &-glass::before {
          @extend .icon;
          background: url("assets/glass.svg") no-repeat;
          background-size: contain;
        }
        &-target::before {
          @extend .icon;
          background: url("assets/icon-target.png") no-repeat;
          background-size: contain;
        }
        &-speak::before {
          @extend .icon;
          background: url("assets/icon-speak.png") no-repeat;
          background-size: contain;
        }
        &-wink::before {
          @extend .icon;
          background: url("assets/icon-wink.png") no-repeat;
          background-size: contain;
        }
        &-alert::before {
          @extend .icon;
          background: url("assets/icon-alert.png") no-repeat;
          background-size: contain;
        }
        &-tree::before {
          @extend .icon;
          background: url("assets/icon-tree.png") no-repeat;
          background-size: contain;
        }
        &-note::before {
          @extend .icon;
          background: url("assets/icon-note.png") no-repeat;
          background-size: contain;
        }
        &-wrestling::before {
          @extend .icon;
          background: url("assets/icon-wrestling.png") no-repeat;
          background-size: contain;
        }
        &-microscope::before {
          @extend .icon;
          background: url("assets/icon-microscope.png") no-repeat;
          background-size: contain;
        }
        &-link::before {
          @extend .icon;
          background: url("assets/icon-link.png") no-repeat;
          background-size: contain;
        }
        &-file-cabinet::before {
          @extend .icon;
          background: url("assets/icon-file-cabinet.png") no-repeat;
          background-size: contain;
        }
      }
      h2,
      h3,
      h4 {
        color: $yellow;
        padding-bottom: 0.75rem;
        border-bottom: 1px solid rgba(#ffffff, 0.07);
      }
      h2 {
        font-size: 1.875em;
        line-height: 1.3;
        margin-bottom: 0.75rem;
      }
      h3,
      h4 {
        font-size: 1rem;
        line-height: 1.5;
        margin-bottom: 1rem;
      }
      header {
        height: calc(15vh + 75px);
        overflow: hidden;
        @media (min-width: $small-device) {
          height: calc(20vh + 75px);
        }
        @media (min-width: $large-device) {
          height: calc(30vh + 80px);
        }
      }
      .item {
        border: 1px solid rgba(#ffffff, 0.07);
        padding: 1rem;
      }
      .banner-exp {
        height: 100%;
        width: 100%;
        img {
          display: inline-block;
          object-fit: cover;
          width: 100%;
          height: 380px;
          object-position: 20% 25%;
        }
      }
      main,
      footer {
        background: rgb(47, 52, 55);
      }
      .wrapper {
        width: 100%;
        padding: 0 1rem;
        @media (min-width: $large-device) {
          max-width: 900px;
          margin: 0 auto;
          padding: 0 6rem;
        }
      }
      h1 {
        font-size: 2rem;
        padding-top: 5.2rem;
        position: relative;
    
        @media (min-width: $small-device) {
          font-size: 2.5rem;
        }
        &::before {
          content: url("assets/glass.svg");
          display: inline-block;
          width: 78px;
          position: absolute;
          top: -44px;
          left: 0;
        }
      }
      #intro {
        .title {
          color: $yellow;
          font-size: 1.25rem;
          margin-bottom: 2rem;
          font-style: italic;
          border: none;
          padding: 0;
        }
        p:not(.title) {
          margin-bottom: 0.5rem;
        }
        .list {
          margin: 2rem 0;
          li {
            display: flex;
            flex-direction: column-reverse;
            justify-content: space-between;
            padding-bottom: 1.5rem;
            @media (min-width: $small-device) {
              flex-direction: row;
              align-items: center;
            }
          }
          .item {
            flex-basis: 80%;
            color: $yellow;
            position: relative;
            padding: 1rem 1rem 1rem 3rem;
            &::before {
              position: absolute;
              left: 1rem;
              top: 1rem;
            }
          }
          .item-img {
            flex-basis: 20%;
            text-align: center;
            img {
              max-width: 72px;
            }
          }
        }
      }
      #method {
        .method-container {
          margin: 2rem 0;
        }
        .method-number {
          display: flex;
          flex-direction: column-reverse;
          justify-content: space-between;
          padding: 0.75rem 0;
          margin-bottom: 0.5rem;
          @media (min-width: $small-device) {
            flex-direction: row;
          }
          .content {
            flex-basis: 70%;
          }
          .number {
            text-align: center;
            flex-basis: 30%;
            font-size: 1.5em;
            line-height: 1.3;
            color: $yellow;
            font-weight: bold;
            margin-bottom: 0.5rem;
            @media (min-width: $small-device) {
              margin-bottom: 0;
            }
          }
        }
        .tips-frame {
          p {
            color: $yellow;
            font-weight: bold;
            padding-left: 2rem;
            position: relative;
            &::before {
              position: absolute;
              top: 0;
              left: 0;
            }
          }
        }
        .method-test {
          display: flex;
          flex-direction: column;
          justify-content: space-between;
          margin: 1rem 0;
          @media (min-width: $small-device) {
            flex-direction: row;
          }
          .container-img,
          p {
            flex-basis: 48%;
          }
          .container-img {
            margin-bottom: 0.5rem;
            @media (min-width: $small-device) {
              margin-bottom: 0;
            }
          }
        }
      }
      .tips-frame {
        padding: 1rem;
        background: rgba($grey-blue, 0.3);
      }
      #results {
        h3 {
          font-size: 1.25rem;
          line-height: 1.3;
          margin-top: 1.5rem;
        }
        .usages {
          margin: 2rem 0;
          border-bottom: 1px solid rgba(#ffffff, 0.07);
          padding-bottom: 0.5rem;
          h4 {
            margin-bottom: 0.5rem;
          }
          p {
            font-style: italic;
            color: $yellow;
          }
        }
        .list {
          margin: 0.5rem 0;
        }
        .item {
          margin-bottom: 0.5rem;
          span,
          p {
            position: relative;
            padding-left: 2rem;
            display: block;
            &:before {
              position: absolute;
              top: 0;
              left: 0;
            }
          }
        }
        .consumption {
          margin-bottom: 2.5rem;
        }
        .container-habits {
          display: flex;
          flex-direction: column;
          justify-content: space-between;
          margin: 1rem 0 4rem;
          @media (min-width: $small-device) {
            flex-direction: row;
          }
          img {
            margin: 0.5rem 0;
          }
        }
        .col-2 {
          flex-basis: 48%;
        }
        .changes {
          .icon-wink {
            margin-left: 0.5rem;
          }
        }
        .easy {
          margin: 2.5rem 0;
          .sus {
            margin-bottom: 2rem;
          }
          .sus-title {
            color: $yellow;
            margin: 2rem 0;
            font-weight: bold;
          }
          .btn-more {
            color: $orange;
            background: none;
            border: none;
            cursor: pointer;
            padding-left: 0;
            margin: 1rem 0;
            font-size: 1rem;
            &:focus {
              outline: none;
            }
            &::before {
              content: "";
              display: inline-block;
              width: 0;
              height: 0;
              border-style: solid;
              border-width: 5.5px 0 5.5px 9.5px;
              border-color: transparent transparent transparent $orange;
              margin-right: 0.5rem;
              transition: 0.3s all;
            }
            &.arrow-down::before {
              transform: rotate(90deg);
            }
          }
          .info-sus {
            display: none;
            p {
              color: $orange;
              padding-left: 1rem;
              &:first-child {
                margin-bottom: 2.5rem;
              }
            }
            &.collapsed {
              display: block;
            }
          }
        }
        .reasons {
          margin: 2rem 0 1rem;
        }
        .container-alert {
          h4,
          p {
            color: $red;
          }
        }
        .alert {
          display: flex;
          justify-content: space-between;
          & > div:first-child {
            flex-basis: 75%;
          }
          & > div:last-child {
            flex-basis: 18%;
            padding-top: 2rem;
          }
          .icon-alert {
            &:before {
              top: 5px;
            }
          }
        }
        .features {
          ul {
            margin: 3rem 0;
          }
        }
      }
      #tasks {
        .col-task {
          display: flex;
          flex-direction: column;
          justify-content: space-between;
          border-bottom: 1px solid rgba(#ffffff, 0.07);
          padding-bottom: 1rem;
          margin-bottom: 2rem;
          &:nth-of-type(1) {
            margin-top: 4rem;
          }
          .container-img {
            flex-basis: 30%;
            margin-bottom: 1rem;
            @media (min-width: $small-device) {
              margin-bottom: 0;
            }
            img {
              max-width: 60%;
              @media (min-width: $small-device) {
                max-width: 100%;
              }
            }
          }
          .task-content {
            flex-basis: 70%;
          }
          .item {
            margin-bottom: 2rem;
          }
          &:nth-child(even) {
            flex-direction: column-reverse;
            .container-img {
              padding: 0;
              text-align: center;
              @media (min-width: $small-device) {
                padding-left: 1rem;
                text-align: initial;
              }
            }
            .task-content {
              padding: 0;
              @media (min-width: $small-device) {
                padding-right: 3rem;
              }
            }
          }
          &:nth-child(odd) {
            flex-direction: column;
            .container-img {
              padding: 0;
              text-align: center;
              @media (min-width: $small-device) {
                padding-right: 1rem;
                text-align: initial;
              }
            }
            .task-content {
              padding: 0;
              @media (min-width: $small-device) {
                padding-left: 3rem;
              }
            }
          }
          @media (min-width: $small-device) {
            &:nth-child(odd),
            &:nth-child(even) {
              flex-direction: row;
            }
          }
        }
      }
      .container-team {
        margin: 3rem 0;
        .msg {
          font-weight: bold;
          margin-bottom: 1rem;
        }
        .yellow {
          margin-bottom: 2rem;
          font-weight: bold;
        }
        .text-bold {
          font-weight: bold;
          margin: 1.5rem 0 3rem;
        }
        .team {
          text-align: right;
          font-size: 1.25em;
          line-height: 1.3;
          font-weight: bold;
        }
      }
      #contact-form {
        width: 100%;
        height: 221px;
      }
    }