.vertical{
    width: 100%;
    flex-direction: column;
}
section > *{
    width: 50%;
    border-radius: 10px;
}
section.tipeee{
    flex-direction: column;
}
.tipeee-plugin-card-widget{
    max-width: 100% !important;
    box-shadow: 0 0 10px 5px var(--outline-color-shadow);
}
.tipeee-plugin-cart-tippers{
    display: none;
}
.tipers{
    display: grid;
    gap: .5rem;
}
section h3{
    font-size: 1.5rem;
}

/* ------------------ */
/* -- Hero Section -- */
/* ------------------ */
section.hero .paragraph{
    display: flex;
    gap: 1rem;
    flex-direction: column;
    align-items: center;
    width: 100%;
}
section.hero h2{
    position: relative;
    background-color: white;
    color: var(--accent-color);
    width: fit-content;
    box-shadow: 0 2px 10px rgba(0, 0, 0, .2);
    padding: .7rem;
}
section.hero h2.last{
    color: white;
    background-color: var(--accent-color);
    rotate: -2deg;
    translate: 0 -1.2rem;
    margin-bottom: 2rem;
}
/* section.hero h2.last:before, */
/* section.hero h2.last:after{ */
/*     content: ''; */
/*     position: absolute; */
/*     top: -5px; */
/*     right: calc(100% - 5px); */
/*     padding: 10px; */
/*     border-radius: 10px; */
/*     border: 5px solid var(--primary-color); */
/*     clip-path: polygon(30% 0, 100% 0, 100% 70%); */
/* } */
section.hero h2.last:after{
    top: -5px;
    left: calc(100% - 5px);
    clip-path: polygon(0 0, 70% 0, 0 70%);
}
section.hero p{
    font-weight: 500;
}
.paragraph {
    width: fit-content;
}
section h2{
    font-size: 2.5rem;
    white-space: nowrap;
}
.center{
    text-align: center;
}
.center h2{
    font-family: var(--accent-font);
    font-size: 3rem;
    padding-top: 0;
}
.paragraph p{
    font-size: 1.2rem;
}

section.who-am-i{
    display: flex;
    margin: 0 auto;
    height: 25rem;
    max-width: 50rem;
}
section.who-am-i img{
    width: auto;
    object-fit: cover;
    box-shadow: 0 2px 10px rgba(0, 0, 0, .5);
}
section.who-am-i .paragraph{
    display: grid;
    gap: 1rem;
}
section.who-am-i .paragraph h2{
    padding-top: 0;
}
/* ---------------------- */
/* -- Objectif Section -- */
/* ---------------------- */
section:has(.objectifs){
    max-width: 75rem;
}
.objectifs{
    display: grid;
    grid-template-columns: 1fr 1fr;
    width: 100%;
    flex-wrap: wrap;
    gap: 1.5rem;
    margin-top: 1rem;
    height: fit-content;
}
@property --color1 {
  syntax: '<color>';
  initial-value: white;
  inherits: false;
}
@property --color2 {
  syntax: '<color>';
  initial-value: white;
  inherits: false;
}
.objectif{
    --color1: white;
    --color2: hsl(0, 0%, 95%);
    display: flex;
    height: 100%;
    flex-direction: column;
    gap: 1rem;
    padding: 1.2rem;
    background: linear-gradient(150deg,var(--color1), var(--color2));
    transition: 
        --color1 .2s ease,
        --color2 .2s ease,
        all .2s ease;
    border-radius: 15px;
    box-shadow: 0 0 10px 5px var(--outline-color-shadow);
}
.objectif:hover{
    --color1: var(--primary-color-light);
    --color2: var(--primary-color);
    /* background: linear-gradient(-30deg, var(--primary-color) 20%, var(--primary-color-light)); */
    /* background: linear-gradient(150deg,white, hsl(0, 0%, 90%)); */
    scale: 1.01;
    color: white;
}
.objectif span{
    font-family: var(--accent-font);
    font-size: 1.1rem;
    text-transform: uppercase;
    /* color: var(--accent-color); */
    border-radius: 5px;
    -webkit-box-decoration-break: clone;
    box-decoration-break: clone;
}
.sub-objectif{
    font-weight: 500;
    transition: all .4s ease;
}

/* ------------------- */
/* -- Offer Section -- */
/* ------------------- */
.offers{
    display: grid;
    grid-template-columns: 1fr 1fr;
    width: 100%;
    gap: 1rem;
    margin: 0 50%;
    translate: -50% 0;
}
.offer{
    perspective: max(100vw, 1500px);
    position: relative;
    width: 100%;
    min-width: 15rem;
    min-height: 26rem;
}
.offer:active .front,
.offer:hover .front{
    transform: rotateY(-180deg);
}
.offer:active .back,
.offer:hover .back{
    transform: rotateY(0);
}
.offer .front,
.offer .back{
    position: absolute;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    width: 100%;
    height: 100%;
    overflow: hidden;
    background-color: white;
    box-shadow: 0 0 10px 5px var(--outline-color-shadow);
    border-radius: 12px;
    backface-visibility: hidden;
    transform-style: preserve-3d;
    transform: rotateY(0);
    transition: all .4s ease;
}
.offer .front{
    gap: 0;
    align-items: center;
    text-align: center;
    justify-content: end;
}
.offer .front img{
    position: absolute;
    top: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
}
.offer .back{
    padding: 1rem;
    transform: rotateY(180deg);
}
.offer h4{
    font-size: clamp(1rem, 1.5rem, 2rem);
    max-width: 75%;
    font-size: 1.2rem;
    text-transform: uppercase;
}
.offer .description{
    color: grey;
}
ul{
    flex: 100%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: .5rem;
}
ul .line{
    display: flex;
    gap: .5rem;
    align-items: start;
}
ul i{
    margin-top: .2rem;
    color: var(--accent-color);
}
.offer .price-info{
    display: grid;
    gap: .3rem;
}
.offer .price-info .line{
    gap: .5rem;
}
.price{
    font-size: 1.5rem;
    font-weight: 700;
}
.starting, .quantity{
    font-size: 1rem;
    font-weight: initial;
    opacity: .8;
}
.back button{
    --button-color: var(--accent-color);
    width: 100%;
}
.research{
    font-size: .8rem;
    color: grey;
}
.tipers{
    width: 100% !important;
}

/* -- Responsive -- */
@media screen and (min-width: 1000px) {
    .tipeee-plugins-widget img,
    .tipeee-plugins-widget a{
        min-width: 100px;
    }
    .tipeee-plugin-card-avatar{
        min-height: 100px;
    }
    .tipeee-plugins-widget{
        display: flex;
    }
    .tipeee-plugin-card-caption{
        font-size: 1.2rem;
    }
}

@media screen and (max-width: 1000px) {
    section{
        width: 100vw !important;
    }
    section h2{
        font-size: 6vw;
        width: 100%;
        text-align: center;
    }
    /* Hero Section */
    section.hero h2{
        font-size: 6vw !important;
    }
    /* Who Am I Section */
    section.who-am-i{
        height: fit-content;
        position: relative;
        align-items: center;
        flex-direction: column;
    }
    section.who-am-i img{
        height: 25rem;
        left: .5rem;
    }
    section.who-am-i .paragraph{
        display: grid;
        gap: 1rem;
        text-align: center;
    }
    section.who-am-i .paragraph p{
        font-size: 1rem;
    }
    /* Objectives Section */
    section:has(.objectifs){
        text-align: center;
    }
    section:has(.objectifs) h2{
        white-space: wrap;
    }
    section .objectifs{
        place-items: center;
        grid-template-columns: 1fr;
    }
    section .objectif{
        max-width: 25rem;
    }
    /* Offers Section */
    section .offers{
        grid-template-columns: 1fr;
        place-items: center;
    }
    section .offer{
        max-width: 25rem;
    }
    /* Tipeee Section */
    .tipeee-plugin-card-caption{
        font-size: 1rem;
    }
    .tipers{
        width: 100%;
    }
}
