﻿body {
    background-image: url(/images/powerfit/site/pf-background.png);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

header.pf-home {
    height: 75px;
    width: 100%;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding: 10px 30px;
    box-sizing: border-box;
    background-color: var(--pf-white);
}

.fs-categories-container {
    background: unset;
    padding: max(25px, 2%) 1% max(30px, 4%);
    position: relative;
}


.fs-categories-wrapper {
    display: flex;
    flex-direction: row;
    width: 100%;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

a.fs-category {
    border-radius: unset !important;
    flex-direction: column;
    justify-content: space-around;
    height: 100%;
    gap: 15px;
}

img.image-cover.fs-category-image {
    border-radius: unset;
    position: unset;
    width: 65px;
}

.fs-category-section-title {
    border-radius: unset;
}

section.fs-cards-container .fs-cards-wrapper {
    grid-template-columns: repeat(3, minmax(120px, 360px));
    width: 100%;
    align-items: center;
    justify-content: center;
}

.pf-subcategory-redirection-wrapper {
    display: flex;
    flex-direction: column;
    padding: 20px 10px;
    background: #2C2C2C;
    transition: .3s;
    border: 1.37px solid var(--White, rgba(255, 255, 255, 1));
    width: clamp(175px, 12vw, 190px);
    height: clamp(175px, 12vw, 190px);
}

    .pf-subcategory-redirection-wrapper:hover {
        background: var(--pf-yellow);
        cursor: pointer;
        border: 1.37px solid var(--pf-yellow);
    }

        .pf-subcategory-redirection-wrapper:hover .fs-category-section-title {
            color: var(--pf-black);
            background-color: unset;
        }

.fs-category-section-title {
    color: var(--pf-white);
    background-color: unset;
    padding: unset;
    width: 50px;
}


.fs-flip-card-front {
    background-color: #1F1F1F;
    border-radius: 0px;
    padding: unset;
}

h3.fs-flip-card-title {
    color: var(--pf-white);
    padding: unset;
    margin-block: 5px;
    border-bottom: unset;
    margin-top: 30px;
}

.fs-flip-card-description {
    color: var(--pf-white);
    padding: 10px;
    border-top: 1px solid #CCCCCC;
}

.fs-flip-card-img img.image-cover {
    border-radius: unset;
}

.pf-flip-card-title-wrapper {
    padding: 10px;
}

.fs-flip-card-back {
    border-radius: 0px;
    background-color: var(--pf-yellow);
}

.fs-flip-card-back-key-title {
    color: var(--pf-black);
}

.fs-flip-card-back-value-title {
    color: var(--pf-black);
}


.fs-flip-card-back-list {
    list-style: none;
    margin: 0;
    padding: 0;
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.fs-flip-card-back-row {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    width: 100%;
}

.fs-flip-card-back-key-title,
.fs-flip-card-back-value-title {
    font-size: clamp(12px,1vw,17px);
    margin: 0;
}

.fs-flip-card-back-key-title {
    font-family: 'roboto-medium';
    color: var(--fp-black);
    font-weight: 700;
}

.fs-flip-card-back-value-title {
    text-align: end;
    color: var(--fp-black);
    max-width: 150px;
    font-family: 'roboto-medium';
    font-weight: 700;
}

.fs-flip-card-img {
    height: clamp(200px, 20vw, 250px);
}

section.fs-cards-container {
    padding: 0px 10%;
}

h1.fs-category-title {
    padding: unset;
    margin: unset;
    color: var(--pf-white);
}

h1.fs-sub-category-title {
    padding: unset;
    margin: unset;
    color: var(--pf-white);
}

h3.fs-categories-section-title {
    text-align: center;
    width: fit-content;
    color: var(--pf-white);
    font-style: italic;
    font-family: 'roboto-light';
}

h3.fs-cards-section-title {
    text-align: center;
    width: fit-content;
    color: var(--pf-white);
    font-style: italic;
    font-family: 'Nolan-Italic';
}

section.fs-category-filters-container button {
    filter: brightness(0) invert(1);
}


.fs-category-filters-container select {
    border-radius: unset;
    color: #797979;
    box-shadow: unset;
    font-family: 'roboto-medium';
}

input.fs-category-searchbar {
    position: absolute;
    right: 12.35%;
    width: clamp(220px, 21vw, 400px);
    border: unset;
    color: #797979;
    box-shadow: unset;
    font-family: 'roboto-medium';
    background: var(--fs-white) url(/images/powerfit/site/pf-search.svg) no-repeat 95% center;
    border-radius: unset;
    padding: 12px 16px;
}

.pf-flip-card-title-wrapper {
    position: relative;
}

.pf-subcategory-flipcard-image-wrapper {
    position: absolute;
    top: -30px;
    left: 40%;
    width: 60px;
    height: 60px;
    background-color: #1f1f1f;
    padding: 10px;
    border-radius: 50%;
}

img.pf-subcategory-flipcard-image {
    width: 100%;
    height: 100%;
}

#pf-recipe-categories-wrapper {
    width: 50%;
}

@media screen and (max-width: 1600px) {
    #pf-recipe-categories-wrapper {
        width: 70%;
    }
}

@media screen and (max-width: 1200px) {
    section.fs-cards-container .fs-cards-wrapper {
        grid-template-columns: repeat(2, minmax(120px, 360px));
    }
}

@media screen and (max-width: 868px) {
    #pf-recipe-categories-wrapper {
        width: 100%;
    }

    section.fs-cards-container .fs-cards-wrapper {
        grid-template-columns: repeat(1, minmax(120px, 360px));
    }

    input.fs-category-searchbar {
        position: unset;
    }

    .fs-category-filters-container {
        justify-content: center;
    }
}

@media screen and (max-width: 768px) {
    header.pf-home {
        background-color: unset;
        box-shadow: none;
    }

    .pf-subcategory-redirection-wrapper {
        width: clamp(100px, 20vw, 150px);
        height: clamp(110px, 20vw, 150px);
        padding: 10px 10px;
        min-height: unset;
    }

    a.fs-category {
        gap: 5px;
    }

    img.image-cover.fs-category-image {
        width: 40px;
    }

    .fs-category-section-title {
        width: 35px;
        font-size: clamp(14px, 2vw, 35px);
    }
}

@media screen and (max-width: 500px) {

    .fs-category-filters-container {
        justify-content: start;
        padding-inline-start: 10%;
    }

        .fs-category-filters-container select {
            width: clamp(140px,14vw,280px);
        }
}
