/* button */
.btn {
    padding: 12px 24px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    position: relative;
    line-height: 1.5;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.btn-primary {
    background-color: var(--primary);
    color: #fff;
    border: 1px solid var(--primary);
}
.btn-white {
    background-color: #fff;
    border: 1px solid #fff;
}
.btn-md {
    padding: 15px 30px;
    font-weight: 500;
    font-size: 16px;
    line-height: 25px;
}
.btn-outline {
    border: 1px solid var(--primary);
}
.btn-outline-secondary {
    color: var(--secondary);
    border: 1px solid var(--secondary);
}
.btn-hover-1 {
    overflow: hidden;
    z-index: 1;
}
.btn-hover-1:before {
    width: 120%;
    height: 0;
    padding-bottom: 120%;
    top: -110%;
    left: -10%;
    border-radius: 50%;
    transform: translate3d(0, 68%, 0) scale3d(0, 0, 0);
}
.btn-hover-1:after {
    width: 90%;
    top: 0;
    left: 0;
    transform: translate3d(0, -100%, 0);
    transition: transform 0.4s cubic-bezier(0.1, 0, 0.3, 1);
}
.btn-hover-1::before, .btn-hover-1::after {
    background: #fff;
    content: '';
    position: absolute;
}
.btn-hover-1.btn-white::before {
    background: var(--primary);
}
.btn-hover-1:focus.btn-white span, .btn-hover-1:active.btn-white span, .btn-hover-1:hover.btn-white span {
    color: #fff;
}
.btn-hover-1:focus::before, .btn-hover-1:active::before, .btn-hover-1:hover::before {
    transform: translate3d(0, 0, 0) scale3d(1.2, 1, 1);
    transition: transform 0.4s cubic-bezier(0.1, 0, 0.3, 1);
}
.btn-hover-1:focus::after, .btn-hover-1:active::after, .btn-hover-1:hover::after {
    transform: translate3d(0, 0, 0);
    transition-duration: 0.05s;
    transition-delay: 0.4s;
    transition-timing-function: linear;
}
.btn-hover-1:focus span, .btn-hover-1:active span, .btn-hover-1:hover span {
    animation: MoveScaleUpInitial 0.3s forwards, MoveScaleUpEnd 0.3s forwards 0.3s;
    color: var(--primary);
}
.btn-hover-2 {
    color: rgba(0, 0, 0, 0) !important;
    transition: all 0.3s ease !important;
    text-shadow: 0 0 0 #fff, 500px 0 0 #fff;
    overflow: hidden;
}
.btn-hover-2:hover {
    text-shadow: -600px 0 0 #fff, 0 0 0 #fff;
}
.btn-hover-2.btn-gray {
    text-shadow: 0 0 0 #000, 500px 0 0 #000;
}
.btn-hover-2:hover.btn-gray {
    text-shadow: -600px 0 0 #fff, 0 0 0 #fff;
}
.btn-outline-secondary:hover {
    border-color: var(--secondary);
    background-color: var(--secondary);
    color: #fff;
}
.btn-outline-secondary:hover > span {
    color: var(--secondary);
}
.btn-hover-3 {
    overflow: hidden;
}
.btn-hover-3 .btn-text {
    transition: opacity 0.5s, transform 0.8s;
    transition-timing-function: cubic-bezier(0.12, 0.8, 0.3, 1);
}
.btn-hover-3 .btn-text:before {
    content: attr(data-text);
    position: absolute;
    white-space: nowrap;
    display: inline-block;
    top: 50%;
    left: 50%;
    opacity: 0;
    transform: translate(-50%, 100%);
    transition: opacity 0.5s, transform 0.8s;
    transition-timing-function: cubic-bezier(0.12, 0.8, 0.3, 1);
}
.btn-hover-3:hover .btn-text {
    transform: translateY(-200%);
}
.btn-hover-3:hover .btn-text:before {
    transform: translate(-50%, 150%);
    opacity: 1;
}
.btn-next, .btn-prev {
    position: static;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    color: #fff;
    background: var(--primary);
    font-size: 15px;
    z-index: 1;
    text-align: center;
    margin: 0 10px;
    box-shadow: 0px 10px 30px 0px var(--primary-light);
    display: flex;
    align-items: center;
    justify-content: center;
}
@media only screen and (max-width: 1024px) {
    .btn-next, .btn-prev {
        width: 40px;
        height: 40px;
    }
}
@media only screen and (max-width: 991px) {
    .btn-md {
        padding: 15px 20px !important;
    }
}
@media only screen and (max-width: 575px) {
    .btn-next, .btn-prev {
        width: 30px;
        height: 30px;
        margin: 0 6px 2px;
    }
    .btn {
        font-size: 14px !important;
        padding: 12px 24px !important;
    }
}
