/* Styles for the button components 

There are two types of buttons, normal and transparent.
*/

.buttons {
  display: flex;
  justify-content: center;
}

.button {
  display: inline-flex;
  background: linear-gradient(
    150deg,
    var(--light-orange) 50%,
    var(--red) 50%,
    var(--orange) 70%
  );
  background-size: 300% 100%; /* Allows animation */
  transition: background-position var(--animation-time) ease;
  justify-content: center;
  align-items: center;
  color: white;
  border-width: 0;
  border-style: solid;
  cursor: pointer;
  user-select: none;
  text-decoration: none;
}

.button.rectangle {
  border-radius: var(--border-radius);
  padding: var(--small-margin) calc(var(--small-margin) * 2);
  margin: var(--small-margin) 0;
  text-transform: uppercase;
}

.button:hover {
  background-position-x: 100%;
  color: white;
}

.button span + span {
  margin-left: var(--small-margin);
}

.button.round {
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  padding: var(--small-margin);
}

.button.round svg {
  width: 2rem;
  height: 2rem;
}

.button.round .material-icons {
  font-size: 2rem;
}
