
/*projects heading*/
.button {
    margin: 0;
    height: auto;
    background: transparent;
    padding: 0;
    border: none;
    cursor: pointer;
}

/* button styling */
.proj-button {
    --border-right: 6px;
    --text-stroke-color: rgba(255,255,255,0.6);
    --animation-color: #FEE715;
    --fs-size: 2em;
    letter-spacing: 3px;
    text-decoration: none;
    font-size: var(--fs-size);
    font-family: "Arial";
    position: relative;
    text-transform: uppercase;
    color: transparent;
    -webkit-text-stroke: 1px var(--text-stroke-color);
}

/* this is the text, when you hover on button */
.proj-hover-text {
    position: absolute;
    box-sizing: border-box;
    content: attr(data-text);
    color: var(--animation-color);
    width: 0%;
    inset: 0;
    border-right: var(--border-right) solid var(--animation-color);
    overflow: hidden;
    transition: 0.5s;
    -webkit-text-stroke: 1px var(--animation-color);
}
/* hover */
.proj-button:hover .proj-hover-text {
    width: 100%;
    filter: drop-shadow(0 0 23px var(--animation-color))
}



@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

@keyframes pulse-glow {
    0%, 100% { box-shadow: 0 0 20px rgba(147, 51, 234, 0.3); }
    50% { box-shadow: 0 0 30px rgba(147, 51, 234, 0.6); }
}

@keyframes slide-up {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.float-animation { animation: float 3s ease-in-out infinite; }
.pulse-glow { animation: pulse-glow 2s ease-in-out infinite; }
.slide-up { animation: slide-up 0.6s ease-out forwards; }

.project-card {
    opacity: 0;
    transform: translateY(30px);
}

.project-card:nth-child(1) { animation-delay: 0.1s; }
.project-card:nth-child(2) { animation-delay: 0.2s; }
.project-card:nth-child(3) { animation-delay: 0.3s; }

.gradient-border {
    background: linear-gradient(45deg, #FEE715, #000000, #FEE715);
    background-size: 200% 200%;
    animation: gradient-shift 3s ease infinite;
}

@keyframes gradient-shift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.tech-tag {
    transition: all 0.3s ease;
}

.tech-tag:hover {
    transform: scale(1.1);
    background: linear-gradient(45deg, #ffe746, #FEE715);
    color: #000000;
}

/*view in gitub button*/

.git-button-icon {
    display: flex;
    border: 3px #E0E0E0 solid;
    width: fit-content;
    height: fit-content;
    cursor: pointer;
    overflow: hidden;
}

.git-icon {
    background-color: #E0E0E0;
    padding: 10px 10px 5px 10px;
}

.git-icon svg {
    width: 25px;
    height: 25px;
}

.git-cube {
    transition: all 0.4s;
    transform-style: preserve-3d;
    width: 200px;
    height: 20px;
    position: relative;
}

.button-icon:hover {
    /*border-color: #9333ea;*/
}

.git-button-icon:hover .git-cube {
    transform: rotateX(90deg);
}

.git-side {
    position: absolute;
    height: 47px;
    width: 200px;
    display: flex;
    font-size: 0.8em;
    justify-content: center;
    align-items: center;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: bold;
}

.git-top {
    color: #E0E0E0;
    transform: rotateX(-90deg) translate3d(0, 13.5px, 2em);
}

.git-front {
    background: #222229;
    color: #E0E0E0;
    transform: translate3d(0, 0, 1em);
    margin-bottom: 3px;
}
