/* ==============================
Buttons
=================================*/

.button_list {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
}

.btn-common {
  position: relative;
  display: inline-block;
  width: auto;
  height: auto;
  background-color: transparent;
  border: none;
  font-family: var(--btn-font-family);
  cursor: pointer;
  min-width: 150px;
  line-height: 1;
  z-index: 1;
}
.btn-common span {
  position: relative;
  display: flex;
  top: 0;
  left: 0;
  width: 100%;
  padding: 14px 40px;
  transition: 0.3s;
}

.btn-common::before {
  position: absolute;
  content: "";
  bottom: 0;
  left: 0;
  right: 0;
  height: 100%;
  width: 100%;
}

.btn-common:hover::before {
  height: 0%;
}

/* Primary Button */

.primary-btn {
  background-color: var(--color-secondary);
  color: var(--color-white);
}

.primary-btn::before {
  background-color: var(--color-primary);
  transition: 0.3s ease-out;
}
.primary-btn span {
  color: var(--color-white);
  border: 1px solid transparent;
  transition: 0.2s 0.1s;
}
.primary-btn span:hover {
  transition: 0.2s 0.1s;
}

/* Primary Outline Button */

.primary-btn-outline {
  background-color: transparent;
  color: var(--color-primary);
  border: 1px solid var(--color-primary);
}

.primary-btn-outline::before {
  background-color: var(--color-primary);
  top: 0;
  height: 0%;
  transition: 0.3s ease-out;
  z-index: -1;
}

.primary-btn-outline:hover::before {
  height: 100%;
}

.primary-btn-outline:hover {
  color: var(--color-white);
}

/* Secondary Button */

.secondary-btn {
  background-color: var(--color-primary);
  color: var(--color-white);
}

.secondary-btn::before {
  background-color: var(--color-secondary);
  transition: 0.3s ease-out;
}
.secondary-btn span {
  color: var(--color-white);
  border: 1px solid transparent;
  transition: 0.2s 0.1s;
}
.secondary-btn span:hover {
  transition: 0.2s 0.1s;
}

/* Secondary Outline Button */

.secondary-btn-outline {
  background-color: transparent;
  color: var(--color-secondary);
  border: 1px solid var(--color-secondary);
}

.secondary-btn-outline::before {
  background-color: var(--color-secondary);
  top: 0;
  height: 0%;
  transition: all 0.3s ease-out;
  z-index: -1;
}

.secondary-btn-outline:hover::before {
  height: 100%;
}

.secondary-btn-outline:hover {
  color: var(--color-white);
}

/* Button bg white */

.btn-bg-white {
  background-color: var(--color-white);
  color: var(--color-primary);
}

.btn-bg-white::before {
  background-color: var(--color-default2);
  top: 0;
  height: 0%;
  transition: 0.3s ease-out;
}

.btn-bg-white:hover::before {
  height: 100%;
}

.btn-bg-white:hover {
  color: var(--color-white);
}

/* Button Plain */

.btn-plain {
  color: var(--color-primary);
  text-decoration: underline;
  text-underline-offset: 8px;
}

.btn-plain:hover {
  color: var(--color-primary);
  text-decoration: none;
}

/* Play Button */

.btn-play {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background-color: var(--color-white);
  padding: 0;
  position: relative;
  z-index: 1;
  min-width: auto !important;
}

.btn-play:before {
  width: 60px;
  height: 60px;
  background-color: var(--color-white);
  box-shadow: 0px 1px 10px rgba(0, 0, 0, 0.2);
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(1);
  border-radius: 50%;
  z-index: -1;
}

.btn-play:hover:before {
  transform: translate(-50%, -50%) scale(1);
}

.btn-play::after {
  width: 60px;
  height: 60px;
  background-color: var(--color-white);
  box-shadow: 0px 1px 10px rgba(0, 0, 0, 0.2);
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(1);
  border-radius: 50%;
  animation: blinkingPlay 2s infinite;
  z-index: -1;
}

.btn-play:hover:after {
  transform: translate(-50%, -50%) scale(1);
}

.btn-play span {
  padding: 14px !important;
}

@keyframes blinkingPlay {
  0% {
    transform: translate(-50%, -50%) scale(1);
    opacity: 0.6;
  }

  100% {
    transform: translate(-50%, -50%) scale(2);
    opacity: 0;
  }
}

/* Button */

.global-btn-style {
  /* rounded */
  /* border-radius: 30px; */

  /* Rectangle */
  /* border-radius: 0; */

  /* Rounded and Rectangle */
  border-radius: 5px;
}

/* ==============================
    Buttons End
=================================*/
