//Prompt for small devices and mobiles

.not-enough-px-warning {
  display: none;
}

@media screen and (max-width: 890px) {
  .navbar {
    .links {
      margin-left: 3rem;
    }

    .group--undo-redo {
      display: none !important;
    }
    .nav-buttons button {
      margin-right: 1.5rem !important;
    }
    .dropdown .context-button {
      margin-right: 0 !important;
    }

    .logo .logo {
      width: 2.1rem !important;
    }

    .logo img.logo-text {
      width: 12.2rem !important;
    }

    .editable-title--container input {
      font-size: 1.7rem !important;
      top: 0.2rem !important;
    }
    .metadata-container {
      font-size: 1.3rem;
    }
  }
}

@media screen and (max-width: 710px) {
  .navbar {
    padding: 0.5rem 0.5rem 0.5rem 1rem !important;
    a {
      margin-right: 1rem !important;
    }
  }
  .metadata-container {
    font-size: 1.2rem !important;
  }
}

@media screen and (max-width: 650px) {
  .not-enough-px-warning {
    display: flex;
    align-items: center;
    flex-direction: column;
    justify-content: center;
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    background-image: radial-gradient($brand-learn 5%, #fc68ad); /*fallback*/
    background-size: 100% auto;
    .background {
      background-size: cover;
    }
    &:hover {
      text-decoration: none;
    }

    .background {
      position: absolute;
      width: 100%;
      height: 100%;
      background-image: url('../images/account-icons-bgd-mobile.png');
      background-size: 100% auto;
      opacity: 0.4;
    }

    .banner {
      display: flex;
      justify-content: center;
      align-items: center;
      flex-direction: column;
      width: 100%;
      color: $white;
      z-index: 3;

      .video-container {
        position: relative;
        width: 100%;
        padding-bottom: 56.25%;
        overflow: hidden;

        iframe {
          position: absolute;
          top: 0;
          left: 0;
          width: 100%;
          height: 100%;
        }
      }

      .warning {
        width: 90%;
        font-size: 2.5rem;
        text-align: center;
        margin-top: 1rem;
        margin-bottom: 1rem;
      }

      .detail {
        margin-top: 0.5rem;
        font-size: 1.2rem;
      }

      .action-button {
        width: 11rem;
        margin-top: 3rem;
        color: $brand-learn;
        font-weight: bold;
        &:hover {
          text-decoration: none;
          color: $white;
        }
      }
    }
  }
  .workflow-root,
  .workflows-page {
    display: none;
  }

  // letting users access signup because why not
  .accounts {
    .not-enough-px-warning {
      display: none;
    }
  }
}
