/*=============== GOOGLE FONTS ===============*/

@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@400;600&display=swap");

/*=============== VARIABLES CSS ===============*/

:root {
    /*========== Colors ==========*/
    /*Color mode HSL(hue, saturation, lightness)*/
    --first-color: hsl(260, 100%, 50%);
    --second-color: hsl(190, 100%, 50%);
    --third-color: hsl(54, 100%, 50%);
    --fourth-color: hsl(210, 100%, 50%);
    --button-color: hsl(260, 16%, 8%);
    --text-color: #fff;
    --body-color: var(--color-lightn);
    /*========== Font and typography ==========*/
    /*.5rem = 8px | 1rem = 16px ...*/
    --body-font: "Poppins", sans-serif;
    --normal-font-size: 1rem;
}


/*=============== BASE ===============*/

a {
    text-decoration: none;
}


/*=============== BUTTON ===============*/

.button {
    position: relative;
}

.button__content {
    position: relative;
    width: 160px;
    background-color: var(--button-color);
    padding: 1rem 3rem;
    border-radius: 4rem;
    color: var(--text-color);
    font-weight: 600;
    overflow: hidden;
}

.button__content:hover {
    background-color: rgb(220, 20, 120);
    color: red;
}

.mm {
    width: 50px;
    align-items: center;
    margin-left: 510px;
}

#git {
    color: var(--text-color);
}

.button__text {
    position: relative;
    z-index: 10;
}

.button__content div {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    position: absolute;
    inset: 0;
    margin: auto;
    filter: blur(12px);
}

.button__shape-1 {
    background-color: var(--first-color);
    transform: translate(-48px, -16px);
    animation: shape-1 6s 1s ease-out infinite;
}

.button__shape-2 {
    background-color: var(--second-color);
    transform: translate(-12px, 16px);
    animation: shape-2 6s ease-in infinite;
}

.button__shape-3 {
    background-color: var(--third-color);
    transform: translate(20px, -16px);
    animation: shape-3 6s ease-out infinite;
}

.button__shape-4 {
    background-color: var(--fourth-color);
    transform: translate(48px, 16px);
    animation: shape-4 6s 1s ease-in infinite;
}

.button__shadow {
    width: 80%;
    height: 1rem;
    background: linear-gradient(80deg, var(--first-color) 10%, var(--second-color) 30%, var(--third-color) 60%, var(--fourth-color) 90%);
    border-radius: 4rem;
    position: absolute;
    left: 0;
    right: 0;
    margin: 0 auto;
    bottom: -2px;
    z-index: -6;
    filter: blur(12px);
    opacity: 0;
    transition: opacity 0.5s;
}

.button:hover .button__shadow {
    opacity: 1;
}


/* Animate shapes */

@keyframes shape-1 {
    33% {
        transform: translate(-38px, 0);
    }
}

@keyframes shape-2 {
    33% {
        transform: translate(-38px, 28px);
    }
}

@keyframes shape-3 {
    33% {
        transform: translate(40px, 4px);
    }
}

@keyframes shape-4 {
    33% {
        transform: translate(58px, 0);
    }
}