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

@keyframes pulsate {
  0% {-webkit-transform: scale(1) }
  50% { -webkit-transform: scale(1.05) }
  100% {-webkit-transform: scale(1) }
}

.file-over-dropzone {
  .animation-circle {
    animation: pulsate 0.7s ease-out;
    animation-iteration-count: 15;
    background-color: $site-primary-color-100;
    pointer-events: none;
  }

  .content-circle {
    color: $site-text-color-100;
    pointer-events: none;
  }
}

upload-dropzone {
  display: block;
  position: relative;
  width: 100%;
  height: 100%;
  border: 2px solid transparent;

  .animation-circle, .content-circle {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    margin: auto;
    width: 400px;
    height: 400px;
    min-height: 300px;
    max-width: 90%;
    max-height: 90%;
    border-radius: 50%;
    overflow: hidden;
    cursor: pointer;
  }

  .animation-circle {
    background-color: $site-bg-color-100;
    border: 1px solid $site-border-color-200;
    z-index: 1;
  }

  .content-circle {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-color: transparent;
    border-color: transparent;
    color: $site-text-color-300;
    z-index: 2;

    .main-icon {
      width: 100px;
      height: 100px;
    }

    .text {
      text-align: center;
      margin-top: 8px;
      
      .mat-icon {
        vertical-align: middle;
      }

      .primary {
        font-size: 1.8rem;
        font-weight: 500;
        margin-bottom: 5px;
      }

      .secondary {
        font-size: 1.5rem;
      }
    }
  }
}