@use 'colors' as *;

.premium-banner {
  color: #282828;
  flex-direction: row;
  justify-content: flex-start;
  align-items: stretch;
  font-family: Roboto, Arial;
  font-size: 1rem;
  font-weight: 400;
  line-height: 20px;
  display: flex;
  margin: 10px;

  .rectangle {
    height: 100%;
    background-color: #f3bc2d;
    border: 1px solid #fff;
    border-radius: 4px;
    flex-direction: column;
    flex-basis: 100%;
    justify-content: space-around;
    align-items: center;
    display: flex;

    .toprow {
      width: 100%;
      text-align: center;
      padding: 10px;
    }

    .expanded {

      .features {
        margin-top: 15px;
        margin-bottom: 15px;

        li {
          &.tbd {
            color: rgb(120, 120, 120);
          }
        }
      }

      .tmp-subscription {
        margin: 10px;
        font-style: italic;
        font-size: 14px;

        a {
          color: black;
          text-decoration: underline;
        }
      }

      .button {
        width: 225px;

        .via {
          display: inline;
          font-size: 8px;
          margin-left: 6px;
          margin-right: 6px;
        }
      }
    }
  }

  .dropdown {
    width: 15px;
    height: 11px;
    object-fit: cover;
    margin-top: 1px;
    margin-left: 23px;

    &.rotated {
      transform: rotate(180deg);
    }
  }

  button {
    box-shadow: 0px 5px 20px 1px rgba(0, 0, 0, 0.14);
    width: 180px;
    height: 50px;
    margin-bottom: 10px;

    background-color: $event-bg;
    color: white;
    pointer-events: all;
  }
}

.lds-roller {
  width: 40px;
  height: 40px;
}

.lds-roller div {
  animation: lds-roller 1.2s cubic-bezier(0.5, 0, 0.5, 1) infinite;
  transform-origin: 20px 20px;
}

.lds-roller div:after {
  content: " ";
  display: block;
  position: absolute;
  width: 3.5px;
  height: 3.5px;
  border-radius: 50%;
  background: #fff;
  margin: -2px 0 0 -2px;
}

.lds-roller div:nth-child(1) {
  animation-delay: -0.036s;
}

.lds-roller div:nth-child(1):after {
  top: 31.5px;
  left: 31.5px;
}

.lds-roller div:nth-child(2) {
  animation-delay: -0.072s;
}

.lds-roller div:nth-child(2):after {
  top: 34px;
  left: 28px;
}

.lds-roller div:nth-child(3) {
  animation-delay: -0.108s;
}

.lds-roller div:nth-child(3):after {
  top: 35.5px;
  left: 24px;
}

.lds-roller div:nth-child(4) {
  animation-delay: -0.144s;
}

.lds-roller div:nth-child(4):after {
  top: 36px;
  left: 20px;
}

.lds-roller div:nth-child(5) {
  animation-delay: -0.18s;
}

.lds-roller div:nth-child(5):after {
  top: 35.5px;
  left: 16px;
}

.lds-roller div:nth-child(6) {
  animation-delay: -0.216s;
}

.lds-roller div:nth-child(6):after {
  top: 34px;
  left: 12px;
}

.lds-roller div:nth-child(7) {
  animation-delay: -0.252s;
}

.lds-roller div:nth-child(7):after {
  top: 31.5px;
  left: 8.5px;
}

.lds-roller div:nth-child(8) {
  animation-delay: -0.288s;
}

.lds-roller div:nth-child(8):after {
  top: 28px;
  left: 6px;
}

@keyframes lds-roller {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}
