﻿html {
    background-image: url(/images/powerfit/site/pf-background.png);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

body {
    background-image: url(/images/powerfit/site/pf-background-polygon.png);
    background-repeat: no-repeat;
    min-width: 100vw;
    background-position: top -320px left calc(100% - -155px);
    background-size: unset;
    background-attachment: unset;
}

html[dir="rtl"] body {
    background: unset;
    position: relative;
    overflow-x: hidden;
}

    html[dir="rtl"] body::before {
        content: "";
        position: absolute;
        inset: 0;
        background-image: url(/images/powerfit/site/pf-background-polygon.png);
        background-repeat: no-repeat;
        background-position: top -335px right -235px;
        background-size: unset;
        transform: rotateY(180deg);
        transform-origin: center;
        z-index: -1;
    }

.fs-lang-arrow img {
    filter: brightness(0) invert(1);
}

.fs-navbar-user {
    background-color: unset;
}

.pf-categories-container-2 {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: start;
    gap: 35px;
    padding: 15px;
    align-items: center;
}

.pf-category-bg-wrapper {
    width: 280px;
    height: 230px;
    overflow: hidden;
    position: relative;
}

.pf-category-bg {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    filter: grayscale(100%);
    transition: transform 0.4s ease, filter 0.4s ease;
}

.pf-category-redirection:hover .pf-category-bg {
    transform: scale(1.3);
    filter: grayscale(0%);
}

#pf-power-session-category {
    background-image: url(/images/powerfit/site/categories/pf-power-session-category-image-colored.png);
}

#pf-meal-ideas-category {
    background-image: url(/images/powerfit/site/categories/pf-meal-ideas-category-image-colored.png);
}

#pf-smart-meals-category {
    background-image: url(/images/powerfit/site/categories/pf-smart-meals-category-image-colored.png);
}

#pf-training-sets-category {
    background-image: url(/images/powerfit/site/categories/pf-training-sets-category-image-colored.png);
}

.pf-home-user-info-wrapper .fs-navbar-user .fs-navbar-user-info-wrapper .fs-navbar-user-wrapper .fs-navbar-welcome-text {
    color: var(--pf-black);
    font-family: 'roboto-bold';
    font-size: clamp(20px, 1.3vw, 24px);
}

.pf-home-user-info-wrapper .fs-navbar-user .fs-navbar-user-info-wrapper .fs-navbar-user-wrapper .fs-navbar-user-name {
    color: var(--pf-white);
    font-family: 'roboto-bold';
    font-size: clamp(20px, 1.3vw, 24px);
}

a.pf-category-redirection {
    position: relative;
    color: var(--pf-white);
    font-size: clamp(28px, 2vw, 32px);
}

    a.pf-category-redirection:hover {
        color: var(--pf-yellow);
    }

p.pf-category-title {
    position: absolute;
    font-style: italic;
    transition: .4s;
    font-family: 'Nolan-HeavyItalic';
    padding-inline: 45px;
}

.pf-category-redirection:hover p.pf-category-title {
    transform: scale(1.05)
}

.pf-categories-wrapper-container {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 15px;
    width: 100%;
    flex-wrap: wrap;
}

.pf-categories-container-2-bg {
    position: absolute;
    z-index: -1;
    left: calc(100% - 720px);
    top: 45px;
    right: 155px;
    width: 615px;
    height: 720px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

    .pf-categories-container-2-bg img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }


button.pf-nav-signin-btn {
    background-color: var(--pf-black);
    border: unset;
    margin: unset;
    color: var(--pf-white);
    padding: 5px 15px;
    font-style: italic;
    font-family: 'Nolan-HeavyItalic';
}

header.pf-home {
    height: 60px;
    width: 100%;
    display: flex;
    flex-direction: row;
    align-items: center;
    padding: 10px 30px;
    box-sizing: border-box;
    background-color: unset;
    box-shadow: unset;
}

button#fs-lang-menu-btn {
    color: var(--pf-white);
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 5px;
}

.pf-categories-media {
    width: 150px;
}

.pf-categories-items h2 {
    margin: unset;
    font-size: clamp(20px, 3vw, 35px);
    max-width: 500px;
    font-family: 'Nolan-Heavy';
}

.pf-categories-description {
    max-width: 500px;
    font-weight: 400;
    color: var(--pf-white);
    font-size: clamp(16px, 1.5vw, 22px);
    font-family: 'roboto-light';
}

.pf-primary-btn {
    background-color: var(--pf-yellow);
    width: fit-content;
    color: var(--pf-black);
    padding: 5px 15px;
    font-style: italic;
    font-size: clamp(16px, 1.2vw, 22px);
}

    .pf-primary-btn:hover {
        cursor: pointer;
    }

.pf-hero-wrapper {
    padding: 0pc 3vw;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: start;
    gap: 20px;
}

.pf-categories-items {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

#span-powerful {
    font-size: clamp(35px, 6vw, 65px);
}

footer.pf-footer-wrapper {
    min-height: 30vh;
    background-color: var(--pf-black);
    color: var(--pf-white);
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 25px;
    justify-content: center;
    padding-bottom: 5vw;
}

.app-links-wrapper {
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-inline: 30px;
    margin-top: 10px;
    padding: 15px;
}


.pf-app-links {
    max-width: 235px;
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

p.pf-app-links-title.pf-primary-span {
    font-size: clamp(16px, 1.2vw, 22px);
}

.pf-app-link:hover {
    cursor: pointer;
}

p.pf-footer-p {
    font-size: clamp(30px, 5vw, 80px);
    font-style: italic;
    font-family: 'Nolan-HeavyItalic';
    max-width: 800px;
}

a.pf-primary-btn {
    font-family: 'Nolan-HeavyItalic';
}

@media screen and (max-width: 768px) {
    html[dir="rtl"] body::before {
        background-position: top -360px right -345px;
    }

    .pf-categories-description {
        max-width: 300px;
        margin-top: 10px;
    }

    body {
        background-position: top -249px left calc(100% - -300px);
    }

    header.pf-home {
        justify-content: space-between;
    }


    .fs-lang-menu-container {
        display: unset;
    }

    button.pf-nav-signin-btn {
        background-color: var(--pf-yellow);
        color: var(--pf-black);
    }

    .pf-categories-container-2-bg {
        display: none;
        top: 80px;
        left: calc(100% - 330px);
        width: 300px;
        height: 400px;
    }

        .pf-categories-container-2-bg img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }

    p.pf-footer-p {
        text-align: center;
    }
}


@media screen and (max-width: 500px) {
    .pf-categories-media {
        width: 150px;
    }

        .pf-categories-media img {
            width: 100%;
        }

    .pf-categories-container-2-bg {
        top: 85px;
        width: 265px;
        height: 340px;
    }

    p.pf-category-title {
        padding-inline: 45px;
    }
}
