@font-face {
    font-family: 'mutua';
    src: url('./fonts/mutua-regular.ttf') format('truetype');
}

@font-face {
    font-family: 'mutua-stencil';
    src: url('./fonts/mutua-stencil.ttf') format('truetype');
}

:root {
    --principal-color: #0e1a1eff;
}

html {
    font-family: system-ui;
    font-family: mutua;
    scroll-behavior: smooth;

}

body {
    padding: 0;
    margin: 0;
    position: relative;
    overflow-x: hidden;
}

/*General*/
.mutua-stencil {
    font-family: mutua-stencil;
}

.wrapper {
    width: 90%;
    margin-left: auto;
    margin-right: auto;
}

.flex {
    display: flex;
    flex-wrap: wrap;
}

img {
    width: 100%;
}

section.padding,
footer.padding {
    padding: 3rem 0;
}

.center {
    text-align: center;
}
button{
        background-color: transparent;
    color: white;
    font-size: 1.1rem;
    border: 1px solid white;
    padding: 0.5rem 1rem;
    transition: 0.5s all ease-in-out;
}
button:hover{
    background-color: white;
    color: black;
    mix-blend-mode: lighten;
}
/*logo*/
.logo-composer {
    color: white;
    margin: 0;

    span {
        background-color: var(--principal-color);
        padding: 0.5rem;
    }
}

/*header*/
header {
    padding: 1rem 0;
    position: fixed;
    z-index: 1;
    width: 100%;
    transition: all 1s ease;
    color: white;

    .logo {
        flex: 1;
    }

    .menu {
        text-align: right;
        margin-left: auto;

        & ul {
            margin: 0;
            padding: 0;

            & li {
                list-style: none;
                display: inline-block;
                margin-left: 1rem;
                cursor: pointer;
            }
        }
    }


}

header.contrast {
    background-color: white;
    color: var(--principal-color);

    .logo-composer {
        color: var(--principal-color);

        span {
            color: white;
        }
    }

    .menu-button span {
        background-color: var(--principal-color);
    }
}



/*footer*/
footer {
    background-color: var(--principal-color);
    color: white;
}

/* hero */
.hero {
    height: 200lvh;

    .card-1 {
        .background {
            position: fixed;
            background: #0e1a1eff;
            /* background: linear-gradient(180deg, #252D31, #9BD0DF); */
            width: 100%;
            height: 100lvh;
            z-index: -1;
        }

        .slogan {
            position: fixed;
            top: 38%;
            left: 7%;
            color: white;
            font-size: 2rem;
            max-width: 32%;
        }

        .girl {
            position: fixed;
            bottom: 0;
            right: 4%;
            width: 60%;
            z-index: -1;
            max-height: 90lvh;

            .arm {
                position: absolute;
                top: 0;
                left: -1px;
                z-index: -2;
            }

            .four {
                position: absolute;
                top: 23%;
                left: 43%;
                width: 32%;
                z-index: -1;
            }
        }

        .logo {
            position: fixed;
            top: 21%;
            right: 7%;
            font-size: 5rem;
            opacity: 0;
            z-index: -1;
        }
    }
}

/*products overview*/
section.products-overview {
    background-color: white;

    .cards {
        display: flex;
        flex-wrap: wrap;
    }

    .card {
        width: 31%;
        margin: 1%;
        border: 1px solid var(--principal-color);

        & p {
            padding: 0 0.5rem;
        }

        .detail {
            text-align: justify;
        }

        .price {
            background-color: var(--principal-color);
            padding: 1rem 0;
            color: white;
            margin: 0;
        }
    }
}

/*lifestyle*/
section.lifestyle {
    padding: 10vw 0;
    position: relative;
    overflow: hidden;

    .info {
        width: 50%;
        box-sizing: border-box;
        padding: 1rem;
        color: white;
    }

    .background {
        position: absolute;
        width: 100%;
        height: 100%;
        background-image: url(./images/running_2x.webp);
        background-size: cover;
        z-index: -1;
        top: 0;
        background-position: right top;
    }

    .contrast {
        position: absolute;
        background: var(--principal-color);
        opacity: 0.95;
        top: -80%;
        left: -26%;
        width: 78%;
        height: 191%;
        z-index: -1;
        transform: rotate(29deg);
        color: white;
    }
}

/* products preview */
.products-preview {
    background-color: white;
    padding: 0rem 0;

    .wrapper {
        width: 100%;
    }

    .product-card {
        position: relative;
        display: flex;
        width: 100%;

        &:nth-child(1) {
            background-color: rgb(33, 31, 41);
        }

        &:nth-child(2) {
            background-color: rgb(249, 92, 207);
        }

        &:nth-child(3) {
            background-color: rgb(75, 240, 255);
        }

        &:nth-child(4) {
            background-color: rgb(23, 31, 35);
        }

        & video {
            width: 50%;
        }
    }

    & h1 {
        position: absolute;
        color: white;
        width: 100%;
        top: 0;
        text-shadow: 0px 0px 10px rgba(0, 0, 0, 0.5);
    }

    & video {
        width: 50%;
    }

    .creatina-full {
        /* height: 110lvh; */
        background-color: rgb(33, 31, 41);
        color: white;
        position: sticky;
        top: 0;
    }
    .colageno-full {
        /* height: 110lvh; */
        background-color: rgb(249, 92, 207);
        color: white;
        position: sticky;
        top: 0;
    }
    .proteina-full {
        /* height: 110lvh; */
        background-color: rgb(23, 31, 35);
        color: white;
        position: sticky;
        top: 0;
    }
    .omega-full {
        /* height: 110lvh; */
        background-color: rgb(0, 189, 251);
        color: white;
        position: sticky;
        top: 0;
        color: var(--principal-color);
        & button{
            color: var(--principal-color);
            border: 1px solid var(--principal-color);
        }
        & button:hover{
            color: white;
            background-color: var(--principal-color);
            mix-blend-mode: initial;
        }
    }
    
        .product {
            display: flex;
            flex-wrap: wrap;
            padding: 6rem 0;

            & .illustration,
            .info {
                width: 50%;
            }
            .illustration{
                text-align: center;
                & img{
                    max-width: 65%;
                }
            }
            .info {
                box-sizing: border-box;
                padding: 5rem 1rem;
                & h3 {
                    text-align: center;
                    font-size: 3rem;
                    margin: 0;
                }
                & p{
                    text-align: justify;
                    font-size: 1.3rem;
                }
            }
        }
    
}
/* banner section */
section.banner{
    height: 130lvh;
    position: relative;
    overflow: hidden;
    & .background{
        width: 100%;
        height: 100%;
        & img{
            width: auto;
            height: 100%;
        }
    }
    & .filter{
        background-color: rgb(33, 31, 41);
        width: 100%;
        height: 100%;
        color: white;
        text-align: center;
        mix-blend-mode: multiply;
        position: absolute;
        top: 0;
        left: 0;
        display: table;
        & h3{
            font-size: 4rem;
            width: 70%;
            margin-left: auto;
            margin-right: auto;
            /* transform: translateY(40lvh); */
            display: table-cell;
            vertical-align: middle;
        }
    }
}
/*Mobile style*/
@media only screen and (max-width: 600px),
(orientation: portrait) {
    .hero .card-1 .girl {
        position: fixed;
        top: 33lvh;
        right: -32%;
        width: 125%;
        z-index: -1;
    }

    .hero .card-1 .slogan {
        top: 18%;
    }

    .hero .card-1 .logo {
        text-align: center;
        position: fixed;
            top: 21%;
            right: 5%;
            font-size: 5rem;
            opacity: 0;
            z-index: -1;
            width: 90%;
        
    }

    .products-overview .cards .card {
        width: 98%;
    }

    section.lifestyle .contrast {
        position: absolute;
        background: var(--principal-color);
        opacity: 0.95;
        top: -64%;
        left: -9%;
        width: 83%;
        height: 171%;
        z-index: -1;
        transform: rotate(11deg);
        color: white;
    }

    section.lifestyle {
        .background {
            background-position: -90% 1rem;
        }
    }

    /*menu*/
    header {
        padding: 2rem 0;

        .menu {
            & ul {
                height: 0;
                overflow: hidden;
                transition: all 1s ease;

                & li {
                    display: list-item;
                    margin: 1rem 0;
                }
            }
        }

    }

    header.show {
        ul {
            height: 9rem;
        }

        .menu-button {
            & span {
                transform: rotate(45deg);
                margin: 2px 0 2px 0;

            }

            & span:nth-child(2) {
                transform: rotate(-45deg);
                margin: -4px 0 0 0;
            }
        }

    }

    .menu-button {
        width: 2rem;
        margin-left: auto;
        height: 2rem;

        & span {
            transition: 1s all ease;
            display: block;
            width: 100%;
            height: 2px;
            background-color: white;
            margin-bottom: 1rem;
        }
    }
    .products-preview {

            & .product {
                padding: 0 0;
                & .illustration, .info {
                    width: 100%;
                    text-align: center;
                }
                & img {
                    max-width: 55%;
                }
            }

    }
    section.banner {
        & .background {
            & img {
                width: auto;
                height: 100%;
                text-align: center;
                margin-left: -124%;
            }
        }
    }
    .products-preview {
    & .product {
        & .info {
            & p {
                text-align: justify;
                font-size: 1rem;
            }
        }
    }
}
}