
/*home words changer*/

.Hloader {
    color: rgb(124, 124, 124);
    font-family: "Poppins", sans-serif;
    font-weight: 500;
    font-size: 25px;
    -webkit-box-sizing: content-box;
    box-sizing: content-box;
    height: 40px;
    padding: 10px 10px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    border-radius: 8px;
}

.Hwords {
    overflow: hidden;
    position: relative;
}
.Hwords::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
            var(--bg-color) 10%,
            transparent 30%,
            transparent 70%,
            var(--bg-color) 90%
    );
    z-index: 20;
}

.Hword {
    display: block;
    height: 100%;
    padding-left: 6px;
    color: #FEE715;
    animation: spin_4991 4s infinite;
}

@keyframes spin_4991 {
    0%, 20% {
        transform: translateY(0);
    }
    33%, 53% {
        transform: translateY(-100%);
    }
    66%, 86% {
        transform: translateY(-200%);
    }
    100% {
        transform: translateY(0);
    }
}

/*social icons*/


ul {
    list-style: none;
}

.socialIcons {
    display: flex;
    justify-content: center;
    align-items: center;
}
.socialIcons .icon-content {
    margin: 0px 10px;
    position: relative;
}
.socialIcons .icon-content .tooltip {
    position: absolute;
    top: -30px;
    left: 50%;
    transform: translateX(-50%);
    color: #fff;
    padding: 6px 10px;
    border-radius: 5px;
    opacity: 0;
    visibility: hidden;
    font-size: 14px;
    transition: all 0.3s ease;
}
.socialIcons .icon-content:hover .tooltip {
    opacity: 1;
    visibility: visible;
    top: -50px;
}
.socialIcons .icon-content a {
    position: relative;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    color: white;
    background-color: black;
    transition: all 0.3s ease-in-out;
}
.socialIcons .icon-content a:hover {
    box-shadow: 3px 2px 45px 0px rgb(0 0 0 / 12%);
}
.socialIcons .icon-content a svg {
    position: relative;
    z-index: 1;
    width: 30px;
    height: 30px;
}
.socialIcons .icon-content a:hover {
    color: white;
}
.socialIcons .icon-content a .filled {
    position: absolute;
    top: auto;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 0;
    background-color: #000;
    transition: all 0.3s ease-in-out;
}
.socialIcons .icon-content a:hover .filled {
    height: 100%;
}

.socialIcons .icon-content a[data-social="linkedin"] .filled,
.socialIcons .icon-content a[data-social="linkedin"] ~ .tooltip {
    background-color: #0274b3;
}

.socialIcons .icon-content a[data-social="github"] .filled,
.socialIcons .icon-content a[data-social="github"] ~ .tooltip {
    background-color: #24262a;
}
.socialIcons .icon-content a[data-social="instagram"] .filled,
.socialIcons .icon-content a[data-social="instagram"] ~ .tooltip {
    background: linear-gradient(
            45deg,
            #405de6,
            #5b51db,
            #b33ab4,
            #c135b4,
            #e1306c,
            #fd1f1f
    );
}
.socialIcons .icon-content a[data-social="youtube"] .filled,
.socialIcons .icon-content a[data-social="youtube"] ~ .tooltip {
    background-color: #ff0000;
}

/*navbutton*/

.navbutton{
    display: inline-block;
    font-size: 19px;
    color: #e1e1e1;
    font-family: inherit;
    font-weight: 800;
    cursor: pointer;
    position: relative;
    justify-content: center;
    justify-items: center;
    border: none;
    background: none;
    text-transform: uppercase;
    transition-timing-function: cubic-bezier(0.25, 0.8, 0.25, 1);
    transition-duration: 400ms;
    transition-property: color;
    margin-top: 30px;
    height: 50px;
}

.navbutton::after {
    content: "";
    position: absolute;
    bottom: 18px;
    left: 50%;
    width: 0%;
    height: 2px;
    background-color: #FEE715;
    transition: width 0.4s ease, left 0.4s ease;
}

.navbutton:hover::after {
    width: 100%;
    left: 0;
}