/* 
** style.css
*/
/* ========================================================================== */
/*                                    #base                                   */
/* ========================================================================== */

body {
    font-family: "Vazirmatn", sans-serif;
    font-optical-sizing: auto;
    font-weight: normal;
    font-size: normal;
}

.btn {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
}

img {
    max-width: 100%;
}

/* ========================================================================== */
/*                                 #components                                */
/* ========================================================================== */

/* ================================ #readable =============================== */
.readable {
    max-width: 70ch;
    line-height: 2;
}

/* ================================ #gradient =============================== */
.gradientText {
    background: radial-gradient(circle at 100%,
            #4338ca,
            #9333ea 50%,
            #5b21b6 75%,
            #4338ca);
    background-size: 200% auto;
    color: #000;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: animatedTextGradient 3s linear infinite;
}

@keyframes animatedTextGradient {
    to {
        background-position: 200% center;
    }
}

/* ========================================================================== */
/*                                  #layouts                                  */
/* ========================================================================== */

header {
    /* From https://css.glass */
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

#hero {
    overflow: hidden;
    background-size: cover;
    background-position: center center;
    background-image: url(../images/demo-bg.jpg);
}