:root {
    /*default*/
    --pulse-rgb: 27, 179, 196;
}

html {
    scroll-behavior: smooth;
}

.pulseBtn {
    animation: pulse 1.5s infinite;
    box-shadow: 0 0 0 0 rgba(var(--pulse-rgb), 0.5);
}
.pulseBtn--white{
    --pulse-rgb: 255, 255, 255;
}

.pulseBtn--purple {
    --pulse-rgb: 108, 68, 163;
}

/*link hover animation*/
a.main-link {
    background-image: linear-gradient(
            to right,
            #FFDC00,
            #FFDC00 50%,
            #FFF 50%
    );
    background-size: 200% 100%;
    background-position: -100%;
    display: inline-block;
    padding: 5px 0;
    position: relative;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    transition: all 0.3s ease-in-out;
}

a.main-link:before {
    content: '';
    background: #FFDC00;
    display: block;
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 0;
    height: 3px;
    transition: all 0.3s ease-in-out;
}

a.main-link:hover {
    background-position: 0;
}

a.main-link:hover::before {
    width:100%;
}
@media only screen and (max-width: 360px) {
    .nav-links {
        flex-direction: column !important;
        gap: 0px !important;
    }
}

/*parallax*/
.slide-up {
    transform: translateY(125px);
    opacity: 0;
    width: 100%;
    height: 100%;
    transition: all 0.7s ease-out;
}

.slide-up.show {
    transform: translateY(0);
    opacity: 1;
}


/*animations*/
@keyframes pulse {
    0% {
        transform:scale(.9);
    }
    70% {
        transform:scale(1);
        box-shadow: 0 0 0 35px rgba(var(--pulse-rgb), 0);
    }
    100% {
        transform:scale(.9);
        box-shadow: 0 0 0 0 rgba(var(--pulse-rgb), 0);
    }
}

