@import "../../../assets/scss/variables";

.apps-container {
  //margin-bottom: 7.1rem;

  .apps-title {
    font-size: 2.5rem;
    font-weight: bold;
    color: #040059;
    letter-spacing: -0.25px;
    margin-bottom: 2rem;
    margin-left: 2.4rem;
  }

  .style {
    display: flex;
    align-items: center;
    box-sizing: border-box;
    flex-grow: 1;
    justify-content: space-evenly;
    min-height: 82px;
    background-color: #e9f0f9;
    padding: 1.5rem 2.2rem;
    border-radius: .4rem;
    transition: 0.4s;
    width: 100%;
    flex-wrap: nowrap;
    @container content (max-width: 1400px) and (min-width:1250px) {
      flex-wrap: wrap;

      .app--title-arrow {
        flex-basis: 100%;
      }
    }

    .svg-dashboard-icons {
      flex: 0 0 55px;
      text-align: center;
      height: 46px;
    }
  }

  .app {

    &--title-arrow {
      display: flex;
      justify-content: center;
      align-items: center;
      flex: 0 0 195px;
    }

    & p {
      font-size: 1.4rem;
      font-weight: bold;
      color: #040059;
      letter-spacing: 0.28px;
      margin: 0rem 1.35rem 0 .5rem;
      white-space: nowrap;
    }

    .app-arrow-dark {
      margin-top: 0.1rem;
    }

    &:hover {
      background-color: #1a73e8;

      p {
        color: #fff;
      }

      .svg-dashboard-icons,
      .app-arrow-dark {

        svg {
          fill: #fff;
        }
      }

      #dpass-logo-svg {
        .circle {
          fill: #fff;
        }

        .inner {
          fill: $secondary-color;
        }
      }
    }
  }

  .all-apps {
    height: 102px;
    width: 278px;
    padding: 1.5rem 1.4rem;
    flex-shrink: 1;


    .all-apps-btn {
      font-size: 1.3rem;
      background-color: #040059;
      color: #fff;
      letter-spacing: 0px;
      padding: 1.2rem 2.9rem;
      margin-left: 1.86rem;
      border-radius: 10px;
      transition: 0.5s;
      white-space: nowrap;
    }

    &:hover {

      .all-apps-btn {
        background-color: #1a73e8;
      }

      svg {
        fill: #1a73e8;
        transition: fill 0.5s;
      }

    }
  }

  @container content (max-width: 1250px) {
    .apps-row > .col {
      flex: 0 0 50%;
    }

    .apps-row > .col-auto {
      flex: 0 0 50%;
    }

    .style {
      width: 100%;
      height: 102px;
    }

  }

  @container content (max-width: 850px) {
    .apps-row > .col {
      flex: 0 0 100%;
    }

    .apps-row > .col-auto {
      flex: 0 0 100%;
    }
  }
}

