.base-button {
  /* font-family: var(--family-primary); */
  padding: 0.6em 1.2em;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-size: 1rem;
  transition: background 0.3s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-primary {
  background-color: var(--primary-color);
  color: #fff;
}
.btn-primary:hover {
  background-color: var(--primary-color) !important;
  /* background-color: var(--primary-color-light); */
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}
.btn-primary:active {
  background-color: var(--primary-color-lightest);
  transform: translateY(0);
  box-shadow: none;
}

.add-btn {
  color: var(--primary-color) !important;
}
.add-btn:hover {
  color: #fff !important;
}

/* start add animated button */
@import url('https://fonts.googleapis.com/css?family=Roboto');
.animated-more-bt {
    border-top: none;
    border-left: none;
    border-right: 2px solid var(--primary-color);
    border-bottom: 2px solid var(--primary-color);
    /* padding: 10px; */
    border-color: var(--primary-color);
    position: relative;
}
#wrapper.smooth section.smoothy.show {
    visibility: visible;
}

.animated-more-bt::after {
    top: 0;
    right: 0;
    width: -webkit-calc(100% - 17px);
    width: calc(100% - 17px);
    height: 2px;
}

/* ::selection {
    background: var(--primary-color);
    color: #FFFFFF;
    text-shadow: none;
} */

.animated-more-bt::after, .animated-more-bt::before {
    content: " ";
    display: block;
    background: var(--primary-color);
    position: absolute;
    -webkit-transition: .5s;
    transition: .5s;
    z-index: 10;
}

.animated-more-bt .cross {
    position: absolute;
    z-index: 15;
    width: 18px;
    height: 18px;
    top: -webkit-calc(50% - 8px);
    top: calc(50% - 8px);
    left: -webkit-calc(50% - 8px);
    left: calc(50% - 8px);
}

#wrapper.smooth section.smoothy {
    visibility: hidden;
}

.animated-more-bt .cross::before {
    width: 100%;
    height: 2px;
    top: 8px;
    left: 0px;
    -webkit-transform: translateX(50px) scaleX(0);
    -ms-transform: translateX(50px) scaleX(0);
    transform: translateX(50px) scaleX(0);
}

.animated-more-bt .cross::before,
.animated-more-bt .cross::after {
    content: " ";
    background: #fff;
    display: block;
    position: absolute;
    opacity: 0;
    -webkit-transition-duration: .3s;
    transition-duration: .3s;
    -webkit-transition-delay: 0s;
    transition-delay: 0s;
    -webkit-transition-timing-function: cubic-bezier(0.86, 0, 0.07, 1);
    transition-timing-function: cubic-bezier(0.86, 0, 0.07, 1);
}

.animated-more-bt i {
    position: absolute;
    display: block;
    top: 1px;
    left: 1px;
    -webkit-transition: .5s;
    transition: .5s;
    z-index: 10;
}

.animated-more-bt i::before {
    -webkit-transform: rotate(90deg);
    -ms-transform: rotate(90deg);
    transform: rotate(90deg);
}

.animated-more-bt i::after, .animated-more-bt i::before {
    content: " ";
    display: block;
    width: 2px;
    height: 20px;
    background: var(--primary-color);
    position: absolute;
    margin: -10px -1px;
    left: 50%;
    top: 50%;
    transition: 0.3s;
}

.animated-more-bt:hover i:after {
    content: " ";
    display: block;
    width: 2px;
    height: 20px;
    background: var(--primary-color);
    position: absolute;
    margin: 0px -1px;
    left: 50%;
    top: 50%;
}

.animated-more-bt:hover i:before {
    content: " ";
    display: block;
    width: 2px;
    height: 20px;
    background: var(--primary-color);
    position: absolute;
    margin: -10px 0px -10px 8px;
    left: 50%;
    top: 50%;
}

.animated-more-bt p {
    /* -webkit-transition: .5s;
    transition: .5s;
    position: relative; */
    z-index: 1;
}

.animated-more-bt:hover::before, .animated-more-bt::before {
    height: 100%;
}

.animated-more-bt::before {
    left: 0;
    bottom: 0;
    height: -webkit-calc(100% - 17px);
    height: calc(100% - 17px);
    width: 2px;
}

.animated-more-bt:hover .fl, .animated-more-bt .fl {
    -webkit-transition: .7s;
    transition: .7s;
}

.animated-more-bt:hover .fl, .animated-more-bt:hover .sfl, .animated-more-bt .fl, .animated-more-bt .sfl {
    -webkit-transition-delay: 0s;
    transition-delay: 0s;
    width: 100%;
}

.animated-more-bt .fl, .animated-more-bt .sfl {
    position: absolute;
    right: 0;
    height: 100%;
    width: 0;
    z-index: 2;
    background: var(--primary-color);
    top: 0;
    -webkit-transition: .5s;
    transition: .5s;
    -webkit-transition-delay: .1s;
    transition-delay: .1s;
}

.animated-more-bt:hover .sfl, .animated-more-bt. .sfl {
    -webkit-transition: .5s;
    transition: .5s;
}

.animated-more-bt:hover .fl, .animated-more-bt:hover .sfl, .animated-more-bt.hvd .fl, .animated-more-bt.hvd .sfl {
    -webkit-transition-delay: 0s;
    transition-delay: 0s;
    width: 100%;
}

.animated-more-bt .sfl {
    z-index: 1;
    background: var(--primary-color);
    -webkit-transition: .7s;
    transition: .7s;
}

.animated-more-bt:hover .cross::before,
.animated-more-bt .cross::before {
    -webkit-transition-duration: .5s;
    transition-duration: .5s;
}

.animated-more-bt:hover .cross::after,
.animated-more-bt:hover .cross::before {
    -webkit-transform: none;
    -ms-transform: none;
    transform: none;
    opacity: 1;
    -webkit-transition-delay: .2s;
    transition-delay: .2s;
}

.animated-more-bt .cross::after {
    width: 2px;
    height: 100%;
    left: 8px;
    top: 0;
    -webkit-transform: translateY(20px) scaleY(0);
    -ms-transform: translateY(20px) scaleY(0);
    transform: translateY(20px) scaleY(0);
    -webkit-transition-duration: .4s;
    transition-duration: .4s;
}

.animated-more-bt:hover .cross::after, .animated-more-bt:hover .cross::before, .animated-more-bt.hvd .cross::after, .animated-more-bt.hvd .cross::before {
    -webkit-transform: none;
    -ms-transform: none;
    transform: none;
    opacity: 1;
    -webkit-transition-delay: .2s;
    transition-delay: .2s;
}

.animated-more-bt:hover .cross::after, .animated-more-bt.hvd .cross::after {
    -webkit-transition-duration: .6s;
    transition-duration: .6s;
}

.animated-more-bt > p {
  width: 100%;
  display: grid;
  place-items: center;
  height: 50%;
}

/* end add animated button */

/* start delete animated button */

.animated-delete-bt {
  border-top: none;
  border-left: none;
  border-right: 2px solid var(--primary-color);
  border-bottom: 2px solid var(--primary-color);
  /* padding: 10px; */
  border-color: var(--primary-color);
  position: relative;
}
.animated-delete-bt::before {
  bottom: 0;
  left: 0;
  width: 2px;
  height: calc(100% - 17px);
}
.animated-delete-bt::after {
  top: 0;
  right: 0;
  width: calc(100% - 17px);
  height: 2px;
}
.animated-delete-bt::after, .animated-delete-bt::before {
  content: " ";
  display: block;
  background: var(--primary-color);
  position: absolute;
  transition: .5s;
  z-index: 10;
}
.animated-delete-bt:hover::before, .animated-delete-bt::before {
  height: 100%;
}

.animated-delete-bt i {
  position: absolute;
  display: block;
  top: 1px;
  left: 1px;
  transition: .5s;
  z-index: 10;
}
.animated-delete-bt i::before {
  transform: rotate(-45deg);
}
.animated-delete-bt i::after {
  transform: rotate(45deg);
}
.animated-delete-bt i::after, .animated-delete-bt i::before {
  content: " ";
  display: block;
  width: 2px;
  height: 20px;
  background: var(--primary-color);
  position: absolute;
  margin: -10px -1px;
  left: 50%;
  top: 50%;
  transition: 0.3s;
}
.animated-delete-bt:hover i:after {
  transform: none;
  margin: 0px -1px;
}
.animated-delete-bt:hover i:before {
  transform: rotate(-90deg);
  margin: -10px 0px -10px 8px;
}

.animated-delete-bt svg {
  position: absolute;
  width: 50%;
  height: 100%;
  top: 50%;
  left: 0;
  transform: translateY(50px) scaleX(0);
  display: grid;
  place-items: center;
  transition-timing-function: cubic-bezier(0.86, 0, 0.07, 1);
  z-index: 15;
  fill: var(--secondary-color-lightest);
}
.animated-delete-bt:hover svg {
  transform: none;
  opacity: 1;
  transition-delay: .2s;
}

.animated-delete-bt:hover .fl, 
.animated-delete-bt .fl {
  transition-delay: 0s;
  width: 100%;
  transition: .7s;
}
.animated-delete-bt .fl {
  position: absolute;
  top: 0;
  right: 0;
  height: 100%;
  width: 0;
  z-index: 2;
  background: var(--primary-color);
  transition: .7s;
  transition-delay: .1s;
}

.animated-delete-bt p {
  transition: .5s;
  position: relative;
  z-index: 1;
}

/* end delete animated button */


.btn-secondary {
  background-color: var(--secondary-color);
  color: #fff;
}
.btn-secondary:hover {
  background-color: var(--secondary-color-light);
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}
.btn-secondary:active {
  background-color: var(--secondary-color-lightest);
  transform: translateY(0);
  box-shadow: none;
}

.btn-outline-primary {
  background-color: transparent;
  border: 2px solid var(--primary-color);
  color: var(--primary-color);
}
.btn-outline-primary:hover {
  background-color: var(--primary-color);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.btn-outline-secondary {
  background-color: transparent;
  border: 2px solid var(--secondary-color);
  color: var(--secondary-color);
}
.btn-outline-secondary:hover {
  background-color: var(--secondary-color);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.btn-pill {
  /* background: var(--primary-color); */
  /* background: rgba(84,44,26,0.9); */
  background: var(--primary-color-lightest);
  color: #fff !important;
  border-radius: 50px;
}
.btn-pill:hover {
  background: var(--secondary-color);
  color: var(--primary-color) !important;
}
