/*
==================================================

SET UP

==================================================
*/

/*
    JOST
*/
@font-face
{
    font-family: 'Jost-variable';
    src: url('/assets/fonts/Jost/Jost-VariableFont_wght.ttf') format('truetype');
}
@font-face
{
    font-family: 'Jost-thin';
    src: url('/assets/fonts/Jost/static/Jost-Thin.ttf') format('truetype');
}
@font-face
{
    font-family: 'Jost-extra-light';
    src: url('/assets/fonts/Jost/static/Jost-ExtraLight.ttf') format('truetype');
}
@font-face
{
    font-family: 'Jost-light';
    src: url('/assets/fonts/Jost/static/Jost-Light.ttf') format('truetype');
}
@font-face
{
    font-family: 'Jost-regular';
    src: url('/assets/fonts/Jost/static/Jost-Regular.ttf') format('truetype');
}
@font-face
{
    font-family: 'Jost-medium';
    src: url('/assets/fonts/Jost/static/Jost-Medium.ttf') format('truetype');
}
@font-face
{
    font-family: 'Jost-semi-bold';
    src: url('/assets/fonts/Jost/static/Jost-SemiBold.ttf') format('truetype');
}
@font-face
{
    font-family: 'Jost-bold';
    src: url('/assets/fonts/Jost/static/Jost-Bold.ttf') format('truetype');
}
@font-face
{
    font-family: 'Jost-extra-bold';
    src: url('/assets/fonts/Jost/static/Jost-ExtraBold.ttf') format('truetype');
}
@font-face
{
    font-family: 'Jost-black';
    src: url('/assets/fonts/Jost/static/Jost-Black.ttf') format('truetype');
}

/*
    MONTSERRAT
*/
@font-face
{
    font-family: 'Montserrat-thin';
    src: url('/assets/fonts/Montserrat/Montserrat-Thin.ttf') format('truetype');
}
@font-face
{
    font-family: 'Montserrat-extra-light';
    src: url('/assets/fonts/Montserrat/Montserrat-ExtraLight.ttf') format('truetype');
}
@font-face
{
    font-family: 'Montserrat-light';
    src: url('/assets/fonts/Montserrat/Montserrat-Light.ttf') format('truetype');
}
@font-face
{
    font-family: 'Montserrat-regular';
    src: url('/assets/fonts/Montserrat/Montserrat-Regular.ttf') format('truetype');
}
@font-face
{
    font-family: 'Montserrat-medium';
    src: url('/assets/fonts/Montserrat/Montserrat-Medium.ttf') format('truetype');
}
@font-face
{
    font-family: 'Montserrat-semi-bold';
    src: url('/assets/fonts/Montserrat/Montserrat-SemiBold.ttf') format('truetype');
}
@font-face
{
    font-family: 'Montserrat-bold';
    src: url('/assets/fonts/Montserrat/Montserrat-Bold.ttf') format('truetype');
}
@font-face
{
    font-family: 'Montserrat-extra-bold';
    src: url('/assets/fonts/Montserrat/Montserrat-ExtraBold.ttf') format('truetype');
}
@font-face
{
    font-family: 'Montserrat-black';
    src: url('/assets/fonts/Montserrat/Montserrat-Black.ttf') format('truetype');
}


/*
==================================================

VARIABLE

==================================================
*/

:root {
    --top-home: 59rem;
    --top-home-480: 61rem;
    --top-home-576: 67rem;
    --top-home-768: 31rem;
    --top-home-992: 33rem;
}

/*
==================================================

GLOBAL

==================================================
*/

h2 span {
    color: #FF7F50;
}

p span {
    font-family: 'Jost-medium', sans-serif;
}

.t-center {
    text-align: center;
}

.m-0 {
    margin: 0;
}

.top-home {
    top: var(--top-home);
}

.p-hook-l-r, .partTitle h1 {
    padding-left: 1rem;
    padding-right: 1rem;
}

.transform {
    -webkit-transition: all 0.8s ease;
    -moz-transition: all 0.8s ease;
    -o-transition: all 0.8s ease;
    -ms-transition: all 0.8s ease;
    transition: all 0.8s cubic-bezier(0.22, 0.61, 0.36, 1);
}

.mobile {
    display: block;
}
.desktop {
    display: none;
}

@media (min-width: 480px) {
    .top-home {
        top: var(--top-home-480);
    }
}

@media (min-width: 576px) {

    .top-home {
        top: var(--top-home-576);
    }

    .p-hook-l-r, .partTitle h1 {
        padding-left: 2rem;
        padding-right: 2rem;
    }

}

@media (min-width: 768px) {

    .top-home {
        top: var(--top-home-768);
    }

    .desktop {
        display: block;
    }
    .mobile {
        display: none;
    }

}

@media (min-width: 992px) {

    .p-hook-l-r:not(.hookFull), .partTitle h1 {
        padding-left: 9rem;
        padding-right: 9rem;
    }

    .top-home {
        top: var(--top-home-992);
    }

}

@media (min-width: 1200px) {

    .p-hook-l-r, .partTitle h1 {
        padding-left: 12rem;
        padding-right: 12rem;
    }

    .hookFull.p-hook-l-r {
        padding-left: 5rem;
        padding-right: 5rem;
    }

}

@media (min-width: 1400px) {}

/*
==================================================

COMPONENTS

==================================================
*/

a.button {
    display: inline-block;
    border: solid #FF7F50 0.2rem;
    box-shadow: -4px 4px 2px 0.2px rgb(255 133 0);
    background: #FFFFFF;
    color: #FF7F50;
    border-radius: 100rem;
    padding: 1rem;
    width: auto;
    min-width: 50%;
    text-transform: uppercase;
    font-size: 1.2rem;
    font-family: 'Jost-bold', sans-serif;
    transition: all .3s ease;
}

a.button:hover,
a.button:active,
a.button:focus {
    color: #FF7F50;
    border: solid #FFFFFF 0.2rem;
    box-shadow: -8px 8px 2px 0.2px rgb(255 133 0);
}

@media (max-width: 360px) {
    a.button {
        font-size: 1rem;
    }
}

@media (min-width: 480px) {}

@media (min-width: 576px) {}

@media (min-width: 768px) {
    a.button {
        font-size: 1.1rem;
    }
}

@media (min-width: 992px) {}

@media (min-width: 1200px) {}

@media (min-width: 1400px) {}

/*
==================================================

STORE LOGOS

==================================================
*/

.logoStores
{
    justify-content: center;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.appStoreLogo img,
.googlePlayLogo img
{
    width: 10rem;
}

@media (max-width: 360px) {
    .appStoreLogo img,
    .googlePlayLogo img
    {
        width: 8.7rem;
    }
}

@media (min-width: 480px) {
    .logoStores
    {
        gap: 2rem;
    }
}

@media (min-width: 576px) {}

@media (min-width: 768px) {
    .appStoreLogo img,
    .googlePlayLogo img
    {
        width: 9rem;
    }
}

@media (min-width: 992px) {
    .appStoreLogo img,
    .googlePlayLogo img
    {
        width: 9.5rem;
    }
}

@media (min-width: 1200px) {}

@media (min-width: 1400px) {}

/*
==================================================

CATEGORY PAGES

==================================================
*/

.partIntro {
    text-align: center;
    padding: 4rem 0 2rem;
    /*background: linear-gradient(182deg, #ffbba2, #fff0ff, #fffef0, transparent);*/
    background: linear-gradient(149deg, #FFBBA1 6%, #fff0ff 26%, #fffef0 62%, transparent)
}

.partIntro div {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    align-items: center;
    position: relative;
    overflow: hidden;
    margin-bottom: 6rem;
    margin-top: 6rem;
}
.partIntro div:nth-of-type(2) {
    height: 24rem;
}

.partIntro h2 {
    text-transform: uppercase;
    font-size: 2.4rem;
    font-family: 'Montserrat-black', sans-serif;
    color: #FF7F50;
    line-height: 150%;
}

.partIntro p {
    font-size: 1.4rem;
    font-family: 'Jost-regular', sans-serif;
    color: #1D1D1D;
    line-height: 120%;
}

img#old-loyalty-cards {
    position: absolute;
    width: 80%;
    animation-name: disappear;
    animation-duration: 10s;
    animation-fill-mode: forwards;
}
@keyframes disappear {
    from {
        opacity: 1;
    }
    20% {
        opacity: 1;
    }
    to {
        opacity: 0;
    }
}

#gallery-scroll {
    height: 30rem;
    width: 15rem;
    border-top: solid coral 0.3rem;
    border-left: solid coral 0.3rem;
    border-right: solid coral 0.3rem;
    border-radius: 2rem 2rem 0 0;
    overflow: hidden;
    margin-left: auto;
    margin-right: auto;
    margin-top: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    animation-name: appear;
    animation-duration: 10s;
}
#gallery-scroll video {
    width: 14rem;
    animation-name: appear;
    animation-duration: 10s;
    position: absolute;
    top: -1.2rem;
}
@keyframes appear {
    from {
        opacity: 0;
    }
    20% {
        opacity: 0;
    }
    to {
        opacity: 1;
     }
}

.steps {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin-bottom: 8rem;
}

.steps .stepHeadline {
    display: flex;
    flex-direction: column;
    gap: .4rem;
}

.steps h3 {
    font-size: 1.35rem;
    font-family: 'Jost-regular', sans-serif;
    color: #1D1D1D;
    line-height: 160%;
    text-align: center;
}

.steps span {
    font-size: 3rem;
    font-family: 'Jost-black', sans-serif;
    color: #FF7F50;
    line-height: 120%;
}

.steps p {
    font-size: 1.15rem;
    font-family: 'Jost-light', sans-serif;
    color: #1D1D1D;
    line-height: 130%;
}

.advantages {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.advantages > div {
    display: flex;
    flex-direction: row;
    gap: 2rem;
    margin: 0;
    align-items: start;
}

.advantages > div p:first-of-type {
    font-family: 'Jost-light', sans-serif;
    font-size: 1.5rem;
    color: #1D1D1D;
    line-height: 100%;
}

.advantages > div p:nth-of-type(2) {
    font-family: 'Jost-regular', sans-serif;
    font-size: 1.3rem;
    color: #1D1D1D;
    line-height: 140%;
}

.partTitle {
    text-align: center;
    margin: 10rem 0 4rem;
}
.partIntro + .partTitle {
    margin: 4rem 0 6rem;
}

.partTitle h1 {
    font-size: 2rem;
    font-family: 'Montserrat-black', sans-serif;
    color: #FF7F50;
    line-height: 150%;
}
.partTitle h3 {
    font-size: 1.2rem;
    font-family: 'Montserrat-medium', sans-serif;
    color: #FF7F50;
    line-height: 120%;
}

.partTopic {
    overflow: hidden;
    margin-top: 6rem
}

.partTopic > div {
    display: flex;
    flex-direction: column;
    margin-bottom: 4rem;
    gap: 1rem;
}

.partTopic h2 {
    font-size: 2rem;
    font-family: 'Jost-medium', sans-serif;
    color: #1D1D1D;
    line-height: 120%;
    margin-bottom: 1rem;
}

.partTopic p {
    font-size: 1.3rem;
    font-family: 'Jost-light', sans-serif;
    color: #1D1D1D;
    line-height: 140%;
}

.partTuto {
    background: linear-gradient(180deg,
    rgba(255,255,255,1) 0%,
    rgba(255,245,242,1) 6%,
    rgba(255,245,242,1) 80%,
    rgba(255,255,255,1) 100%);
    padding-top: 2rem;
    padding-bottom: 2rem;
    overflow: hidden;
}

@media (max-width: 360px) {
    .partIntro h2 {
        font-size: 2.2rem;
    }
}

@media (min-width: 480px) {
    .partIntro img {
        width: 70%;
    }
    img#old-loyalty-cards {
        height: 100%;
        width: auto;
    }
    .partTuto.p-hook-l-r {
        padding-left: 3rem;
        padding-right: 3rem;
    }
}

@media (min-width: 576px) {
    .partIntro img {
        width: 55%;
    }

    .partTuto.p-hook-l-r {
        padding-left: 4rem;
        padding-right: 4rem;
    }
}

@media (min-width: 768px) {

    .partIntro div {
        margin-bottom: 8rem;
    }

    .partIntro img {
        width: 60%;
        margin-top: 2rem;
    }
    img#old-loyalty-cards {
        margin-top: 0;
    }

    .steps {
        padding: 0 1.2rem;
    }
    .steps h3 {
        font-size: 1.25rem;
    }
    .steps p {
        font-size: 1rem;
    }

    .partTopic p {
        font-size: 1.15rem;
    }

    .advantages > div p:nth-of-type(2) {
        font-size: 1.15rem;
    }

    .partTuto.p-hook-l-r {
        padding-left: 1rem;
        padding-right: 1rem;
    }
}

@media (min-width: 992px) {

    .partIntro {
        padding: 8rem 5rem 2rem;
    }
    .partIntro img {
        width: 55%;
    }

    .steps {
        padding: 0 3rem;
    }

    .partTuto.p-hook-l-r {
        padding-left: 2rem;
        padding-right: 2rem;
    }
}

@media (min-width: 1200px) {
    .partIntro {
        padding: 8rem 6rem 2rem;
    }
    .partIntro img {
        width: 50%;
    }
    #gallery-scroll {
        height: 26rem;
        width: 14rem;
    }
    #gallery-scroll video {
        width: 13rem;
    }

    .steps {
        padding: 0 3rem;
    }
    .steps h3 {
        font-size: 1.2rem;
    }
    .partTuto.p-hook-l-r {
        padding-left: 3rem;
        padding-right: 3rem;
    }
}

@media (min-width: 1400px) {

    .partTuto.p-hook-l-r {
        padding-left: 5rem;
        padding-right: 5rem;
    }
}
