* {
    box-sizing: border-box;
    padding: 0;
    margin: 0;
    scrollbar-width: none;
    -webkit-tap-highlight-color: transparent;
    font-family: "Poppins", sans-serif;
}

h1,
h2,
h3 {
    font-family: "Radio Canada Big", sans-serif;
}

a,
button {
    font-family: "Poppins", sans-serif;
    cursor: pointer;
    text-decoration: none;
}

a {
    color: var(--links-color);
}

body {
    height: 100vh;
    width: 100vw;
    overflow-y: scroll;
    overflow-x: hidden;
    background-color: var(--slide-background);
}

#palworldPriceCard button {
    background-color: rgb(255, 88, 88);
    padding: 5px 15px;
}

:root {

    /* Colors */
    --links-color: rgb(44, 100, 255);
    --slide-background: rgb(240, 240, 240);
    --basic-text-color: rgb(85, 85, 85);
    --items-background: rgb(255, 255, 255);
    --footer-background: rgb(42, 73, 129);
    --text-gardient: linear-gradient(to right top, orange, rgb(255, 86, 114), rgb(231, 45, 206));

    /* Border radius */
    --laptop-border-radius: 2rem;
    --mobile-border-radius: 1.5rem;

    /* Margins & paddings */
    --laptop-section-padding: 0 25px;
    --laptop-card-padding: 30px;
    --laptop-btw-section-margin: 4rem;
    --mobile-card-padding: 18px;

    /* Font sizes */
    --tablet-title-2-size: 1.2rem;
    --tablet-basic-text-size: .9rem;
}

@media screen and (orientation: landscape) and (min-width: 1440px) {

    main {
        display: flex;
        flex-direction: column;
        gap: 5rem;
        margin-bottom: 5rem;
    }

    .title-1 {
        font-size: 3.5rem;
        color: var(--links-color);
        text-align: start;
        padding-bottom: 2rem;
        padding-left: 25px;
    }

    .slider-section .title-1 {
        padding-left: max(calc((100% - 1440px)/2 + 25px), 25px);
    }

    button {
        padding: 7px 17px 7px 22px;
        border-radius: 5rem;
        border: none;
        font-size: 1rem;
        background: var(--links-color);
        color: white;
        display: flex;
        align-items: center;
        gap: 7px;
    }

    button svg {
        width: 1.1rem;
        height: 1.1rem;
        fill: white;
    }

    .card button {
        position: absolute;
        bottom: 30px;
        left: 30px;
    }

    .card {
        background: var(--items-background);
        display: flex;
        flex-direction: column;
        align-items: start;
        border-radius: var(--laptop-border-radius);
        gap: .5rem;
        position: relative;
        height: 100%;
        width: 100%;
        padding: var(--laptop-card-padding);
        overflow: hidden;
    }

    .title-2 {
        font-size: 1.5rem;
        font-weight: 600;
        background: var(--text-gardient);
        background-clip: text;
        color: transparent;
    }


    section {
        width: 1440px;
        margin: auto;
        padding-top: var(--laptop-btw-section-margin);
    }

    .slider-section {
        width: 100%;
    }

    .navbar-mobile,
    #navbar-mobile-navlinks-container {
        display: none;
    }

    .navbar-desktop {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 10px 8rem;
        width: 100%;
        position: fixed;
        top: 0;
        left: 0;
        z-index: 300;
        background: rgb(255, 255, 255, .1);
        backdrop-filter: blur(50px);
        height: 45px;
    }

    .navbar-desktop img {
        width: 20px;
        height: 20px;
    }

    .navbar-desktop ul {
        list-style: none;
        display: flex;
        align-items: center;
        gap: 2rem;
        font-size: 1rem;
        font-weight: 400;
    }

    .navbar-desktop ul li a {
        text-decoration: none;
        color: rgb(87, 87, 87);
        font-size: .9rem;
    }

    .navbar-desktop ul li a svg {
        text-decoration: none;
        fill: var(--links-color);
    }

    .navbar-desktop button {
        padding: 7px 20px;
        font-size: .9rem;
        font-weight: 500;
        border: none;
        border-radius: 5rem;
        background: var(--links-color);
        color: white;
    }


    #homeSection {
        display: flex;
        align-items: center;
        justify-content: center;
        height: 100vh;
        width: 90%;
    }

    #homeSection .text-part {
        width: 100%;
        display: flex;
        flex-direction: column;
        gap: 4rem;
        align-items: center;
        text-align: center;
    }

    #homeSection .text-part h2 {
        font-size: 2.5rem;
        font-weight: 500;
        color: var(--links-color);
    }

    #homeSection .text-part h1 {
        font-size: 5.5rem;
        color: var(--basic-text-color);
    }

    #homeSection .text-part p {
        font-size: 2rem;
        background: var(--text-gardient);
        background-clip: text;
        color: var(--basic-text-color);
        width: 80%;
    }

    #homeSection .text-part tocolor {
        color: transparent;
        background: var(--text-gardient);
        background-clip: text;
    }

    #homeSection .text-part p strong {
        font-size: 2rem;
        color: transparent;

    }

    #homeSection .text-part .login-register-links {
        display: flex;
        gap: 2rem;
        font-size: 1.2rem;
    }

    #homeSection .text-part button {
        padding: 8px 22px;
        border-radius: 5rem;
        border: none;
        font-size: 1.3rem;
        background: var(--links-color);
        color: white;
    }

    .login-link {
        display: flex;
        align-items: center;
        gap: .5rem;
        text-decoration: none;
        font-size: 1.5rem;
        color: var(--links-color);
    }

    #homeSection .text-part a svg {
        height: 1rem;
        width: 1rem;
        fill: var(--links-color);
    }


    #serviceSection .cards-container {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        grid-template-rows: repeat(4, 350px);
        width: auto;
        gap: 30px;
        margin: 0 auto;
        padding: var(--laptop-section-padding);
        grid-template-areas:
            "specCard1 specCard2 specCard3"
            "specCard1 specCard2 specCard3"
            "specCard4 specCard4 specCard4"
            "specCard5 specCard5 specCard6";
    }


    #specCard1 {
        grid-area: specCard1;
    }

    #specCard2 {
        grid-area: specCard2;
    }

    #specCard3 {
        grid-area: specCard3;
    }

    #specCard4 {
        grid-area: specCard4;
    }

    #specCard5 {
        grid-area: specCard5;
    }

    #specCard6 {
        grid-area: specCard6;
    }

    #serviceSection .card .text-part {
        display: flex;
        gap: .5rem;
        flex-direction: column;
        align-items: start;
        font-size: 1.1rem;
    }


    .cards-container .demo-card-iphone-framed img {
        position: absolute;
        bottom: -200px;
        right: 50%;
        height: 688px;
        transform: translateX(50%);
        width: 340px;
        z-index: 3;
    }

    .cards-container .demo-card-iphone-framed-images {
        position: absolute;
        bottom: -195px;
        right: 50%;
        width: 340px;
        transform: translateX(50%);
        z-index: 2;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .demo-card-iphone-framed-images .iphone-status-bar-img {
        width: 100%;
        object-fit: cover;
    }

    .cards-container .demo-card-iphone-framed-images img {
        width: 100%;
        padding: 0 20px;
    }

    .cards-container .demo-card-ipad-framed img {
        position: absolute;
        top: 30px;
        right: -50px;
        height: 440px;
        z-index: 3;
    }

    .cards-container .demo-card-ipad-framed-images {
        position: absolute;
        top: 15px;
        right: -50px;
        height: 440px;
        width: 617px;
        z-index: 2;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .cards-container .demo-card-ipad-framed-images img {
        width: 100%;
        padding: 40px 15px;
    }

    #specCard5 .demo-card-iphone-framed img {
        position: absolute;
        top: 20px;
        right: 50px;
        width: 260px;
        height: auto;
        transform: translateX(0%);
    }

    #specCard5 .demo-card-iphone-framed-images {
        position: absolute;
        top: 40px;
        right: 50px;
        width: 260px;
        transform: translateX(0%);
        z-index: 2;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    #specCard5 .demo-card-iphone-framed-images .iphone-status-bar-img {
        width: 100%;
        object-fit: cover;
    }

    #specCard5 .demo-card-iphone-framed-images img {
        width: 100%;
    }

    #specCard4 .lateral-card-text {
        width: 50%;
    }

    #specCard5 .lateral-card-text {
        width: 60%;
    }


    .prices-section-grid {
        padding: var(--laptop-section-padding);
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        grid-template-rows: repeat(2, 323px);
        width: 100%;
        gap: 2rem;
        grid-template-areas:
            "tile tile NmbOfUsers NmbOfServers"
            "tile tile upTime NmbRegions";
    }

    #custom-made-server-card {
        grid-area: tile;
    }

    #pricesSection .demo-card-iphone-framed img {
        position: absolute;
        bottom: -250px;
        right: 50%;
        height: 688px;
        transform: translateX(50%);
        width: 340px;
        z-index: 3;
    }

    #pricesSection .demo-card-iphone-framed-images {
        position: absolute;
        bottom: -224px;
        right: 50%;
        width: 340px;
        transform: translateX(50%);
        z-index: 2;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    #pricesSection .demo-card-iphone-framed-images .iphone-status-bar-img {
        width: 100%;
        object-fit: cover;
    }

    #pricesSection .demo-card-iphone-framed-images img {
        width: 100%;
        padding: 0 20px;
    }





    #reviewSection .slider-card {
        height: 350px;
    }

    .user-comment {
        color: var(--basic-text-color);
        font-size: 1.2;
        margin-top: 12px;
    }

    .rating {
        display: flex;
        position: absolute;
        content: "";
        bottom: 20px;
        left: 20px;
    }



    .FAQ-answer {
        margin-top: 18px;
        font-size: 1.1rem;
    }


    footer {
        width: 1390px;
        padding: 25px 25px 60px 25px;
        margin: auto;
        display: flex;
        flex-direction: column;
        gap: 1.5rem;
        background: var(--footer-background);
        border-radius: 2rem 2rem 0 0;
    }

    .head-footer img {
        height: 60px;
        width: 60px;
        object-fit: cover;
    }

    .board-footer {
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        gap: 15px;
        padding: 0 12px;
    }

    .board-footer ul {
        list-style: none;
    }

    .board-footer ul a {
        text-decoration: none;
        color: var(--basic-text-color);
        color: lightgray;
    }





    .slider-container {
        position: relative;
        padding: 0 0 100px;
        width: 100%;
        overflow: hidden;
    }

    .carousel {
        display: flex;
        gap: 24px;
        overflow-x: auto;
        /* permet le scroll manuel */
        scroll-behavior: smooth;
        scroll-snap-type: x mandatory;
        /* snap à chaque carte */
        padding-left: max(calc((100% - 1440px)/2 + 25px), 25px);
        padding-right: 40px;
        /* ou ce que tu veux pour l’espacement à droite */
        width: 100%;
        padding-bottom: 40px;
    }

    .carousel::-webkit-scrollbar {
        display: none;
    }

    .slider-card {
        flex: 0 0 auto;
        width: 300px;
        border-radius: 20px;
        position: relative;
        background: #fff;
        overflow: hidden;
        display: flex;
        flex-direction: column;
        height: 480px;
    }

    .slider-card .image {
        height: 360px;
        flex: 0 0 auto;
        background-position: center;
        background-size: cover;
        border-radius: 20px;
        position: relative;
        transition: .3s ease;
    }

    #reviewSection .slider-card .image {
        height: 150px;
    }

    .slider-card .text {
        padding: 20px;
        font-size: 20px;
        line-height: 1.2;
    }

    .slider-card .title {
        font-size: 1.25rem;
        font-weight: 600;
        margin: 0 0 6px;
    }

    .slider-card .topic {
        font-size: 0.9rem;
        font-weight: 600;
        margin-bottom: 6px;
        text-transform: uppercase;
        color: var(--basic-text-color);
    }

    .slider-buttons {
        position: absolute;
        right: max(calc((100% - 1440px)/2 + 25px), 25px);
        bottom: 18px;
        display: flex;
        gap: 10px;
    }

    .slider-buttons button {
        background: #fff;
        border: none;
        aspect-ratio: 1/1;
        border-radius: 50%;
        cursor: pointer;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 16px;
        padding: 5px 12px 5px 16px;
        transition: background .2s, transform .1s;
    }

    .slider-buttons button svg {
        fill: black;
        height: 20px;
        width: 20px;
    }

    .slider-buttons button:disabled {
        opacity: .3;
        cursor: default;
    }

    .slider-buttons button:not(:disabled):hover {
        background: #f0f0f5;
    }

    .nav-btn:focus-visible {
        outline: 2px solid #0071e3;
        outline-offset: 2px;
    }

    .join-discord-tag {
        font-size: 1rem;
        margin-top: 8px;
    }

    .slider-card button {
        position: absolute;
        bottom: 20px;
        left: 20px;
        padding-left: 18px;
    }

    .slider-card:hover {
        .image {
            flex: 0 0 auto;
            height: 0px;
        }
    }


    /* 
        @media (max-width: 800px) {
            .carousel {
                padding: 0 16px;
            }

            .card {
                min-height: 420px;
            }
        } */

}

@media screen and (orientation: portrait) and (max-width: 574px) {

    body {
        max-width: 100vw;
        overflow-x: hidden;
    }

    main {
        padding-bottom: 1px;
        display: flex;
        flex-direction: column;
        gap: 5rem;
    }

    .title-1 {
        font-size: 2.1rem;
        color: var(--links-color);
        text-align: start;
        padding-bottom: 1rem;
    }

    .slider-section .title-1 {
        padding-left: max(calc((100% - 1440px)/2 + 25px), 25px);
    }

    button {
        padding: 5px 7px 5px 15px;
        border-radius: 5rem;
        border: none;
        font-size: 1rem;
        background: var(--links-color);
        color: white;
        display: flex;
        align-items: center;
        gap: 7px;
    }

    button svg {
        width: 1.1rem;
        height: 1.1rem;
        fill: white;
    }

    .card button {
        position: absolute;
        bottom: 18px;
        left: 18px;
    }

    .card {
        background: var(--items-background);
        display: flex;
        flex-direction: column;
        align-items: start;
        border-radius: var(--mobile-border-radius);
        gap: .5rem;
        position: relative;
        height: 100%;
        width: 100%;
        padding: var(--mobile-card-padding);
        overflow: hidden;
    }

    .title-2 {
        font-size: 1.3rem;
        font-weight: 600;
        background: var(--text-gardient);
        background-clip: text;
        color: transparent;
    }


    .navbar-desktop {
        display: none;
    }

    .navbar-mobile {
        display: flex;
        align-items: center;
        justify-content: space-between;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        max-width: 100%;
        height: 50px;
        backdrop-filter: blur(25px);
        --webkit-backdrop-filter: blur(25px);
        padding: 10px 25px;
        z-index: 300;
    }

    .navbar-mobile svg,
    .navbar-mobile img {
        height: 30px;
    }

    #navbar-mobile-navlinks-container {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background-color: white;
        padding: 2rem 2.5rem;
        z-index: 301;
        overflow-y: auto;
        border-radius: 0 0 1rem 1rem;

        /* transition smooth */
        opacity: 1;
        transform: translateY(-100%);
        transition: all 0.8s cubic-bezier(0.25, 1, 0.5, 1);
        pointer-events: none;
        /* désactive les clics quand fermé */
    }

    /* Quand le menu est ouvert */
    #navbar-mobile-navlinks-container.show {
        opacity: 1;
        transform: translateY(0);
        pointer-events: auto;
    }

    /* Animation keyframes */
    @keyframes fadeSlideUp {
        from {
            opacity: 0;
            transform: translateY(-40px);
        }

        to {
            opacity: 1;
            transform: translateY(0);
        }
    }

    /* Cible tous les li.nav-link à l'intérieur du menu */
    #navbar-mobile-navlinks-container.show .nav-link {
        opacity: 0;
        animation: fadeSlideUp 0.5s ease forwards;
    }

    /* Delais d'apparition progressifs */
    #navbar-mobile-navlinks-container.show .nav-link:nth-child(1) {
        animation-delay: 0.1s;
    }

    #navbar-mobile-navlinks-container.show .nav-link:nth-child(2) {
        animation-delay: 0.13s;
    }

    #navbar-mobile-navlinks-container.show .nav-link:nth-child(3) {
        animation-delay: 0.16s;
    }

    #navbar-mobile-navlinks-container.show .nav-link:nth-child(4) {
        animation-delay: 0.19s;
    }

    #navbar-mobile-navlinks-container.show .nav-link:nth-child(5) {
        animation-delay: 0.22s;
    }

    #navbar-mobile-navlinks-container.show .nav-link:nth-child(6) {
        animation-delay: 0.25s;
    }

    #navbar-mobile-navlinks-container.show .nav-link:nth-child(7) {
        animation-delay: 0.28s;
    }

    #navbar-mobile-navlinks-container.show .nav-link:nth-child(8) {
        animation-delay: 0.31s;
    }

    #navbar-mobile-navlinks-container.show .nav-link:nth-child(9) {
        animation-delay: 0.34s;
    }

    #navbar-mobile-navlinks-container.show .nav-link:nth-child(10) {
        animation-delay: 0.37s;
    }

    #navbar-mobile-navlinks-container.show .nav-link:nth-child(11) {
        animation-delay: 0.4s;
    }

    #navbar-mobile-navlinks-container.show .nav-link:nth-child(12) {
        animation-delay: 0.43s;
    }


    #navbar-mobile-navlinks-container .navbar-mobile-top-container {
        display: flex;
        height: 30px;
        justify-content: end;
    }

    #navbar-mobile-navlinks-container svg {
        width: 30px;
        height: 30px;
        position: absolute;
        right: 25px;
        top: 25px;
    }

    #navbar-mobile-navlinks-container ul {
        list-style: none;
        display: flex;
        flex-direction: column;
        gap: .5rem;
    }

    #navbar-mobile-navlinks-container ul a {
        text-decoration: none;
        font-weight: 600;
        font-size: 1.5rem;
        color: rgb(37, 69, 117);
    }

    section {
        width: 90%;
        margin: 0 auto;
    }

    .slider-section {
        width: 100%;
    }

    #homeSection {
        margin-top: 70px;
        flex-direction: column;
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 0 0 5rem 0;
    }

    #homeSection .text-part {
        width: 100%;
        display: flex;
        flex-direction: column;
        gap: 1.2rem;
        align-items: start;
        justify-content: space-evenly;
    }

    #homeSection .text-part h2 {
        font-size: 1.3rem;
        font-weight: 500;
        color: var(--links-color);
    }

    #homeSection .text-part h1 {
        font-size: 2.07rem;
        background: linear-gradient(to right top, orange, rgb(255, 86, 114), rgb(231, 45, 206));
        background-clip: text;
        color: var(--basic-text-color);
    }

    #homeSection .text-part p {
        font-size: 1.1rem;
        background: linear-gradient(to right top, orange, rgb(255, 86, 114), rgb(231, 45, 206));
        background-clip: text;
        color: var(--basic-text-color);
    }

    #homeSection .text-part tocolor,
    strong {
        color: transparent;
    }

    #homeSection .text-part .login-register-links {
        display: flex;
        gap: 1.5rem;
        font-size: 1.1rem;
        margin-top: 1rem;
    }

    #homeSection .text-part button {
        padding: 8px 15px;
        border-radius: 5rem;
        border: none;
        font-size: 1rem;
        background: var(--links-color);
        color: white;
    }

    .login-link {
        display: flex;
        align-items: center;
        gap: .5rem;
        text-decoration: none;
        color: var(--links-color);
    }

    #homeSection .text-part a svg {
        height: 1rem;
        width: 1rem;
        fill: var(--links-color);
    }

    #serviceSection {
        display: flex;
        flex-direction: column;
        justify-content: center;
        text-align: start;
        z-index: -300;
    }

    #serviceSection .cards-container {
        display: grid;
        grid-template-columns: 100%;
        grid-template-rows: repeat(7, 210px);
        width: auto;
        gap: 30px;
        margin: 0 auto 2rem auto;
        grid-template-areas:
            "specCard1"
            "specCard1"
            "specCard2"
            "specCard2"
            "specCard3"
            "specCard3"
            "specCard6";
    }

    #specCard1 {
        grid-area: specCard1;
    }

    #specCard2 {
        grid-area: specCard2;
    }

    #specCard3 {
        grid-area: specCard3;
    }

    #specCard6 {
        grid-area: specCard6;
    }

    #specCard4,
    #specCard5 {
        display: none !important;
    }

    #serviceSection .cards-container .card {
        background: var(--items-background);
        display: flex;
        flex-direction: column;
        align-items: start;
        gap: 1.5rem;
        border-radius: 1.5rem;
        position: relative;
        height: 100%;
        width: 100%;
        padding: 20px;
        overflow-y: hidden;
    }

    #serviceSection .card .text-part {
        display: flex;
        gap: .5rem;
        flex-direction: column;
        align-items: start;
        font-size: 1.1rem;
    }

    #serviceSection .text-part h1 {
        font-size: 1.3rem;
        font-weight: 600;
        background: linear-gradient(to right top, orange, rgb(255, 86, 114), rgb(231, 45, 206));
        background-clip: text;
        color: transparent;
    }

    #serviceSection .text-part p {
        font-size: .9rem;
    }

    .cards-container .demo-card-iphone-framed img {
        position: absolute;
        bottom: -260px;
        right: 50%;
        transform: translateX(50%);
        width: 270px;
        z-index: 3;
    }

    .cards-container .demo-card-iphone-framed-images {
        position: absolute;
        bottom: -238px;
        right: 50%;
        width: 270px;
        transform: translateX(50%);
        z-index: 2;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .demo-card-iphone-framed-images .iphone-status-bar-img {
        width: 100%;
        object-fit: cover;
    }

    .cards-container .demo-card-iphone-framed-images img {
        width: 100%;
        padding: 0 20px;
    }


    .cards-container .demo-card-ipad-framed img {
        position: absolute;
        top: 30px;
        right: -50px;
        height: 440px;
        z-index: 3;
    }

    .cards-container .demo-card-ipad-framed-images {
        position: absolute;
        top: 15px;
        right: -50px;
        height: 440px;
        width: 617px;
        z-index: 2;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .cards-container .demo-card-ipad-framed-images img {
        width: 100%;
        padding: 40px 15px;
    }


    .prices-section-grid .demo-card-iphone-framed,
    .prices-section-grid .demo-card-iphone-framed-images {
        display: none;
    }

    .prices-section-grid {
        display: grid;
        grid-auto-rows: auto;
        grid-template-columns: 100%;
        gap: 1rem;
    }

    .prices-section-grid .card:not(:first-child) {
        padding-bottom: 66px;
    }



    .rating {
        position: absolute;
        bottom: 12px;
        left: 18px;
    }


    .slider-container {
        position: relative;
        padding: 0 0 100px;
        width: 100%;
        overflow: hidden;
    }

    .carousel {
        display: flex;
        gap: 24px;
        overflow-x: auto;
        /* permet le scroll manuel */
        scroll-behavior: smooth;
        scroll-snap-type: x mandatory;
        /* snap à chaque carte */
        padding-left: max(calc((100% - 1440px)/2 + 25px), 25px);
        padding-right: max(calc((100% - 1440px)/2 + 25px), 25px);
        /* ou ce que tu veux pour l’espacement à droite */
        width: 100%;
    }

    .carousel::-webkit-scrollbar {
        display: none;
    }

    .slider-card {
        flex: 0 0 auto;
        width: 320px;
        border-radius: 20px;
        position: relative;
        background: #fff;
        overflow: hidden;
        display: flex;
        flex-direction: column;
        height: 350px;
    }

    .slider-card .image {
        height: 310px;
        flex: 0 0 auto;
        background-position: center;
        background-size: cover;
        border-radius: 20px;
        position: relative;
        transition: .3s ease;
    }

    #FAQSection .slider-card .image {
        display: none;
    }

    #reviewSection .slider-card {
        height: 270px;
    }

    .slider-card .text {
        padding: 20px;
        font-size: 20px;
        line-height: 1.2;
    }

    .slider-card .title {
        font-size: 1.25rem;
        font-weight: 600;
        margin: 0 0 6px;
    }

    .slider-card .topic {
        font-size: 0.9rem;
        font-weight: 600;
        margin-bottom: 6px;
        text-transform: uppercase;
        color: var(--basic-text-color);
    }

    .slider-card .FAQ-answer,
    .user-comment {
        margin-top: 20px;
        font-size: 1.1rem;
    }

    .slider-buttons {
        position: absolute;
        right: max(calc((100% - 1440px)/2 + 25px), 25px);
        bottom: 18px;
        display: flex;
        gap: 10px;
    }

    .slider-buttons button {
        background: #fff;
        border: none;
        aspect-ratio: 1/1;
        border-radius: 50%;
        cursor: pointer;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 16px;
        padding: 5px 12px 5px 16px;
        transition: background .2s, transform .1s;
    }

    .slider-buttons button svg {
        fill: black;
        height: 20px;
        width: 20px;
    }

    .slider-buttons button:disabled {
        opacity: .3;
        cursor: default;
    }

    .slider-buttons button:not(:disabled):hover {
        background: #f0f0f5;
    }

    .nav-btn:focus-visible {
        outline: 2px solid #0071e3;
        outline-offset: 2px;
    }

    .join-discord-tag {
        font-size: 1rem;
        margin-top: 8px;
        font-size: 1rem;
    }

    .slider-card button {
        position: absolute;
        bottom: 20px;
        left: 20px;
        padding: 5px 12px;
    }




    footer {
        width: 100%;
        padding: 25px 25px 40px 25px;
        margin-top: 4rem;
        display: flex;
        flex-direction: column;
        gap: 1.5rem;
        background: var(--footer-background);
    }

    .head-footer img {
        height: 60px;
        width: 60px;
        object-fit: cover;
    }

    .board-footer {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 2.5rem;
        padding: 0 12px;
    }

    .board-footer ul {
        list-style: none;
    }

    .board-footer ul a {
        text-decoration: none;
        color: var(--basic-text-color);
        color: lightgray;
    }
}


@media screen and (min-width: 1180px) and (max-width: 1440px) {
    body {
        max-width: 100vw;
        overflow-x: hidden;
    }

    main {
        margin-bottom: 5rem;
        display: flex;
        flex-direction: column;
        gap: 5rem;
    }

    .title-1 {
        font-size: 2.1rem;
        color: var(--links-color);
        text-align: start;
        padding-left: 25px;
        padding-bottom: 1rem;
    }

    .slider-section .title-1 {
        padding-left: max(calc((100% - 1100px)/2 + 25px), 25px);
    }

    button {
        padding: 5px 7px 5px 15px;
        border-radius: 5rem;
        border: none;
        font-size: .9rem;
        background: var(--links-color);
        color: white;
        display: flex;
        align-items: center;
        gap: 7px;
    }

    button svg {
        width: 1rem;
        height: 1rem;
        fill: white;
    }

    .card button {
        position: absolute;
        bottom: 18px;
        left: 18px;
    }

    .card {
        background: var(--items-background);
        display: flex;
        flex-direction: column;
        align-items: start;
        border-radius: var(--mobile-border-radius);
        gap: .5rem;
        position: relative;
        height: 100%;
        width: 100%;
        padding: var(--mobile-card-padding);
        overflow: hidden;
    }

    .title-2 {
        font-size: var(--tablet-title-2-size);
        font-weight: 600;
        background: var(--text-gardient);
        background-clip: text;
        color: transparent;
    }


    .navbar-desktop {
        display: none;
    }

    .navbar-mobile {
        display: flex;
        align-items: center;
        justify-content: space-between;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        max-width: 100%;
        height: 50px;
        backdrop-filter: blur(25px);
        padding: 10px 25px;
        z-index: 300;
    }

    .navbar-mobile img,
    svg {
        height: 30px;
    }

    #navbar-mobile-navlinks-container {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background-color: white;
        padding: 2rem 2.5rem;
        z-index: 301;
        overflow-y: auto;
        border-radius: 0 0 1rem 1rem;

        /* transition smooth */
        opacity: 1;
        transform: translateY(-100%);
        transition: all 0.8s cubic-bezier(0.25, 1, 0.5, 1);
        pointer-events: none;
        /* désactive les clics quand fermé */
    }

    /* Quand le menu est ouvert */
    #navbar-mobile-navlinks-container.show {
        opacity: 1;
        transform: translateY(0);
        pointer-events: auto;
    }

    /* Animation keyframes */
    @keyframes fadeSlideUp {
        from {
            opacity: 0;
            transform: translateY(-40px);
        }

        to {
            opacity: 1;
            transform: translateY(0);
        }
    }

    /* Cible tous les li.nav-link à l'intérieur du menu */
    #navbar-mobile-navlinks-container.show .nav-link {
        opacity: 0;
        animation: fadeSlideUp 0.5s ease forwards;
    }

    /* Delais d'apparition progressifs */
    #navbar-mobile-navlinks-container.show .nav-link:nth-child(1) {
        animation-delay: 0.1s;
    }

    #navbar-mobile-navlinks-container.show .nav-link:nth-child(2) {
        animation-delay: 0.13s;
    }

    #navbar-mobile-navlinks-container.show .nav-link:nth-child(3) {
        animation-delay: 0.16s;
    }

    #navbar-mobile-navlinks-container.show .nav-link:nth-child(4) {
        animation-delay: 0.19s;
    }

    #navbar-mobile-navlinks-container.show .nav-link:nth-child(5) {
        animation-delay: 0.22s;
    }

    #navbar-mobile-navlinks-container.show .nav-link:nth-child(6) {
        animation-delay: 0.25s;
    }

    #navbar-mobile-navlinks-container.show .nav-link:nth-child(7) {
        animation-delay: 0.28s;
    }

    #navbar-mobile-navlinks-container.show .nav-link:nth-child(8) {
        animation-delay: 0.31s;
    }

    #navbar-mobile-navlinks-container.show .nav-link:nth-child(9) {
        animation-delay: 0.34s;
    }

    #navbar-mobile-navlinks-container.show .nav-link:nth-child(10) {
        animation-delay: 0.37s;
    }

    #navbar-mobile-navlinks-container.show .nav-link:nth-child(11) {
        animation-delay: 0.4s;
    }

    #navbar-mobile-navlinks-container.show .nav-link:nth-child(12) {
        animation-delay: 0.43s;
    }


    #navbar-mobile-navlinks-container .navbar-mobile-top-container {
        display: flex;
        height: 30px;
        justify-content: end;
    }

    .navbar-mobile-top-container svg {
        height: 30px;
        width: 30px;
    }

    #navbar-mobile-navlinks-container ul {
        list-style: none;
        display: flex;
        flex-direction: column;
        gap: .5rem;
    }

    #navbar-mobile-navlinks-container ul a {
        text-decoration: none;
        font-weight: 600;
        font-size: 2rem;
        color: rgb(37, 69, 117);
    }

    #homeSection {
        display: flex;
        align-items: center;
        justify-content: center;
        height: 100vh;
        width: 90%;
    }

    #homeSection .text-part {
        width: 100%;
        display: flex;
        flex-direction: column;
        gap: 2.5rem;
        align-items: center;
        text-align: center;
    }

    #homeSection .text-part h2 {
        font-size: 2rem;
        font-weight: 500;
        color: var(--links-color);
    }

    #homeSection .text-part h1 {
        font-size: 3.5rem;
        color: var(--basic-text-color);
    }

    #homeSection .text-part p {
        font-size: 1.5rem;
        background: var(--text-gardient);
        background-clip: text;
        color: var(--basic-text-color);
        width: 80%;
    }

    #homeSection .text-part tocolor {
        color: transparent;
        background: var(--text-gardient);
        background-clip: text;
    }

    #homeSection .text-part p strong {
        font-size: 1.5rem;
        color: transparent;

    }

    #homeSection .text-part .login-register-links {
        display: flex;
        gap: 2rem;
    }

    #homeSection .text-part button {
        padding: 8px 22px;
        border-radius: 5rem;
        border: none;
        font-size: 1rem;
        background: var(--links-color);
        color: white;
    }

    .login-link {
        display: flex;
        align-items: center;
        gap: .5rem;
        text-decoration: none;
        font-size: 1.2rem;
        color: var(--links-color);
    }

    #homeSection .text-part a svg {
        height: 1rem;
        width: 1rem;
        fill: var(--links-color);
    }



    section {
        width: 1100px;
        margin: 0 auto;
    }

    .slider-section {
        width: 100%;
    }



    #serviceSection .cards-container {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        grid-template-rows: repeat(4, 270px);
        width: auto;
        gap: 1rem;
        padding: var(--laptop-section-padding);
        grid-template-areas:
            "specCard1 specCard2 specCard3"
            "specCard1 specCard2 specCard3"
            "specCard4 specCard4 specCard4"
            "specCard5 specCard5 specCard6";
    }


    #specCard1 {
        grid-area: specCard1;
    }

    #specCard2 {
        grid-area: specCard2;
    }

    #specCard3 {
        grid-area: specCard3;
    }

    #specCard4 {
        grid-area: specCard4;
    }

    #specCard5 {
        grid-area: specCard5;
    }

    #specCard6 {
        grid-area: specCard6;
    }

    #serviceSection .card .text-part {
        display: flex;
        gap: .5rem;
        flex-direction: column;
        align-items: start;
        font-size: var(--tablet-basic-text-size);
    }


    .cards-container .demo-card-iphone-framed img {
        position: absolute;
        bottom: -120px;
        right: 50%;
        transform: translateX(50%);
        width: 250px;
        z-index: 3;
    }

    .cards-container .demo-card-iphone-framed-images {
        position: absolute;
        bottom: -94px;
        right: 50%;
        width: 250px;
        transform: translateX(50%);
        z-index: 2;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .demo-card-iphone-framed-images .iphone-status-bar-img {
        width: 100%;
        object-fit: cover;
    }

    .cards-container .demo-card-iphone-framed-images img {
        width: 100%;
        padding: 0 20px;
    }

    .cards-container .demo-card-ipad-framed img {
        position: absolute;
        top: 30px;
        right: -50px;
        height: 440px;
        z-index: 3;
    }

    .cards-container .demo-card-ipad-framed-images {
        position: absolute;
        top: 15px;
        right: -50px;
        height: 440px;
        width: 617px;
        z-index: 2;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .cards-container .demo-card-ipad-framed-images img {
        width: 100%;
        padding: 40px 15px;
    }

    #specCard5 .demo-card-iphone-framed img {
        position: absolute;
        top: 20px;
        right: 50px;
        width: 260px;
        height: auto;
        transform: translateX(0%);
    }

    #specCard5 .demo-card-iphone-framed-images {
        position: absolute;
        top: 40px;
        right: 50px;
        width: 260px;
        transform: translateX(0%);
        z-index: 2;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    #specCard5 .demo-card-iphone-framed-images .iphone-status-bar-img {
        width: 100%;
        object-fit: cover;
    }

    #specCard5 .demo-card-iphone-framed-images img {
        width: 100%;
    }

    #specCard4 .lateral-card-text {
        width: 40%;
    }

    #specCard5 .lateral-card-text {
        width: 50%;
    }




    .prices-section-grid {
        padding: var(--laptop-section-padding);
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        grid-template-rows: repeat(2, 250px);
        width: 100%;
        gap: 1rem;
        font-size: var(--tablet-basic-text-size);
        grid-template-areas:
            "tile tile NmbOfUsers NmbOfServers"
            "tile tile upTime NmbRegions";
    }

    #custom-made-server-card {
        grid-area: tile;
    }

    #pricesSection .demo-card-iphone-framed img {
        position: absolute;
        bottom: -260px;
        right: 50%;
        transform: translateX(50%);
        width: 300px;
        z-index: 3;
    }

    #pricesSection .demo-card-iphone-framed-images {
        position: absolute;
        bottom: -227px;
        right: 50%;
        width: 300px;
        transform: translateX(50%);
        z-index: 2;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    #pricesSection .demo-card-iphone-framed-images .iphone-status-bar-img {
        width: 100%;
        object-fit: cover;
    }

    #pricesSection .demo-card-iphone-framed-images img {
        width: 100%;
        padding: 0 20px;
    }





    #reviewSection .slider-card {
        height: 350px;
    }

    .user-comment {
        color: var(--basic-text-color);
        font-size: 1.2;
        margin-top: 12px;
    }

    .rating {
        display: flex;
        position: absolute;
        content: "";
        bottom: 20px;
        left: 20px;
    }



    .FAQ-answer {
        margin-top: 65px;
        font-size: 1.1rem;
    }


    footer {
        width: 1050px;
        padding: 25px 25px 45px 25px;
        margin: auto;
        display: flex;
        flex-direction: column;
        gap: 1.5rem;
        background: var(--footer-background);
        border-radius: 2rem 2rem 0 0;
    }

    .head-footer img {
        height: 60px;
        width: 60px;
        object-fit: cover;
    }

    .board-footer {
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        gap: 15px;
        padding: 0 12px;
    }

    .board-footer ul {
        list-style: none;
    }

    .board-footer ul a {
        text-decoration: none;
        color: var(--basic-text-color);
        color: lightgray;
    }





    .slider-container {
        position: relative;
        padding: 0 0 100px;
        width: 100%;
        overflow: hidden;
    }

    .carousel {
        display: flex;
        gap: 24px;
        overflow-x: auto;
        /* permet le scroll manuel */
        scroll-behavior: smooth;
        scroll-snap-type: x mandatory;
        /* snap à chaque carte */
        padding-left: max(calc((100% - 1100px)/2 + 25px), 25px);
        padding-right: 40px;
        /* ou ce que tu veux pour l’espacement à droite */
        width: 100%;
    }

    .carousel::-webkit-scrollbar {
        display: none;
    }

    .slider-card {
        flex: 0 0 auto;
        width: 300px;
        border-radius: 20px;
        position: relative;
        background: #fff;
        overflow: hidden;
        display: flex;
        flex-direction: column;
        height: 400px;
    }

    .slider-card .image {
        height: 296px;
        flex: 0 0 auto;
        background-position: center;
        background-size: cover;
        border-radius: 20px;
        position: relative;
        transition: .3s ease;
    }

    .slider-card .text {
        padding: 18px;
        font-size: var(--tablet-basic-text-size);
        line-height: 1.2;
    }

    .slider-card .title {
        font-size: 1.25rem;
        font-weight: 600;
        margin: 0 0 6px;
    }

    .slider-card .topic {
        font-size: 0.9rem;
        font-weight: 600;
        margin-bottom: 6px;
        text-transform: uppercase;
        color: var(--basic-text-color);
    }

    .slider-buttons {
        position: absolute;
        right: max(calc((100% - 1100px)/2 + 25px), 25px);
        bottom: 18px;
        display: flex;
        gap: 10px;
    }

    .slider-buttons button {
        background: #fff;
        border: none;
        aspect-ratio: 1/1;
        border-radius: 50%;
        cursor: pointer;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 16px;
        padding: 5px 12px 5px 16px;
        transition: background .2s, transform .1s;
    }

    .slider-buttons button svg {
        fill: black;
        height: 20px;
        width: 20px;
    }

    .slider-buttons button:disabled {
        opacity: .3;
        cursor: default;
    }

    .slider-buttons button:not(:disabled):hover {
        background: #f0f0f5;
    }

    .nav-btn:focus-visible {
        outline: 2px solid #0071e3;
        outline-offset: 2px;
    }

    .join-discord-tag {
        font-size: 1rem;
        margin-top: 8px;
    }

    .slider-card button {
        position: absolute;
        bottom: 20px;
        left: 20px;
        padding-right: 18px;
    }

    .slider-card:hover {
        .image {
            flex: 0 0 auto;
            height: 0px;
        }
    }



}


@media screen and (min-width: 1024px) and (max-width: 1179px) {
    body {
        max-width: 100vw;
        overflow-x: hidden;
    }

    main {
        margin-bottom: 5rem;
        display: flex;
        flex-direction: column;
        gap: 5rem;
    }

    .title-1 {
        font-size: 2.1rem;
        color: var(--links-color);
        text-align: start;
        padding-left: 25px;
        padding-bottom: 1rem;
    }

    .slider-section .title-1 {
        padding-left: max(calc((100% - 990px)/2 + 25px), 25px);
    }

    button {
        padding: 5px 7px 5px 15px;
        border-radius: 5rem;
        border: none;
        font-size: .9rem;
        background: var(--links-color);
        color: white;
        display: flex;
        align-items: center;
        gap: 7px;
    }

    button svg {
        width: 1rem;
        height: 1rem;
        fill: white;
    }

    .card button {
        position: absolute;
        bottom: 18px;
        left: 18px;
    }

    .card {
        background: var(--items-background);
        display: flex;
        flex-direction: column;
        align-items: start;
        border-radius: var(--mobile-border-radius);
        gap: .5rem;
        position: relative;
        height: 100%;
        width: 100%;
        padding: var(--mobile-card-padding);
        overflow: hidden;
    }

    .title-2 {
        font-size: var(--tablet-title-2-size);
        font-weight: 600;
        background: var(--text-gardient);
        background-clip: text;
        color: transparent;
    }


    .navbar-desktop {
        display: none;
    }

    .navbar-mobile {
        display: flex;
        align-items: center;
        justify-content: space-between;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        max-width: 100%;
        height: 50px;
        backdrop-filter: blur(25px);
        padding: 10px 25px;
        z-index: 300;
    }

    .navbar-mobile img,
    svg {
        height: 30px;
    }

    #navbar-mobile-navlinks-container {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background-color: white;
        padding: 2rem 2.5rem;
        z-index: 301;
        overflow-y: auto;
        border-radius: 0 0 1rem 1rem;

        /* transition smooth */
        opacity: 1;
        transform: translateY(-100%);
        transition: all 0.8s cubic-bezier(0.25, 1, 0.5, 1);
        pointer-events: none;
        /* désactive les clics quand fermé */
    }

    /* Quand le menu est ouvert */
    #navbar-mobile-navlinks-container.show {
        opacity: 1;
        transform: translateY(0);
        pointer-events: auto;
    }

    /* Animation keyframes */
    @keyframes fadeSlideUp {
        from {
            opacity: 0;
            transform: translateY(-40px);
        }

        to {
            opacity: 1;
            transform: translateY(0);
        }
    }

    /* Cible tous les li.nav-link à l'intérieur du menu */
    #navbar-mobile-navlinks-container.show .nav-link {
        opacity: 0;
        animation: fadeSlideUp 0.5s ease forwards;
    }

    /* Delais d'apparition progressifs */
    #navbar-mobile-navlinks-container.show .nav-link:nth-child(1) {
        animation-delay: 0.1s;
    }

    #navbar-mobile-navlinks-container.show .nav-link:nth-child(2) {
        animation-delay: 0.13s;
    }

    #navbar-mobile-navlinks-container.show .nav-link:nth-child(3) {
        animation-delay: 0.16s;
    }

    #navbar-mobile-navlinks-container.show .nav-link:nth-child(4) {
        animation-delay: 0.19s;
    }

    #navbar-mobile-navlinks-container.show .nav-link:nth-child(5) {
        animation-delay: 0.22s;
    }

    #navbar-mobile-navlinks-container.show .nav-link:nth-child(6) {
        animation-delay: 0.25s;
    }

    #navbar-mobile-navlinks-container.show .nav-link:nth-child(7) {
        animation-delay: 0.28s;
    }

    #navbar-mobile-navlinks-container.show .nav-link:nth-child(8) {
        animation-delay: 0.31s;
    }

    #navbar-mobile-navlinks-container.show .nav-link:nth-child(9) {
        animation-delay: 0.34s;
    }

    #navbar-mobile-navlinks-container.show .nav-link:nth-child(10) {
        animation-delay: 0.37s;
    }

    #navbar-mobile-navlinks-container.show .nav-link:nth-child(11) {
        animation-delay: 0.4s;
    }

    #navbar-mobile-navlinks-container.show .nav-link:nth-child(12) {
        animation-delay: 0.43s;
    }


    #navbar-mobile-navlinks-container .navbar-mobile-top-container {
        display: flex;
        height: 30px;
        justify-content: end;
    }

    .navbar-mobile-top-container svg {
        height: 30px;
        width: 30px;
    }

    #navbar-mobile-navlinks-container ul {
        list-style: none;
        display: flex;
        flex-direction: column;
        gap: .5rem;
    }

    #navbar-mobile-navlinks-container ul a {
        text-decoration: none;
        font-weight: 600;
        font-size: 2rem;
        color: rgb(37, 69, 117);
    }

    #homeSection {
        display: flex;
        align-items: center;
        justify-content: center;
        height: 100vh;
        width: 90%;
    }

    #homeSection .text-part {
        width: 100%;
        display: flex;
        flex-direction: column;
        gap: 2.5rem;
        align-items: center;
        text-align: center;
    }

    #homeSection .text-part h2 {
        font-size: 2rem;
        font-weight: 500;
        color: var(--links-color);
    }

    #homeSection .text-part h1 {
        font-size: 3.5rem;
        color: var(--basic-text-color);
    }

    #homeSection .text-part p {
        font-size: 1.5rem;
        background: var(--text-gardient);
        background-clip: text;
        color: var(--basic-text-color);
        width: 80%;
    }

    #homeSection .text-part tocolor {
        color: transparent;
        background: var(--text-gardient);
        background-clip: text;
    }

    #homeSection .text-part p strong {
        font-size: 1.5rem;
        color: transparent;

    }

    #homeSection .text-part .login-register-links {
        display: flex;
        gap: 2rem;
    }

    #homeSection .text-part button {
        padding: 8px 22px;
        border-radius: 5rem;
        border: none;
        font-size: 1rem;
        background: var(--links-color);
        color: white;
    }

    .login-link {
        display: flex;
        align-items: center;
        gap: .5rem;
        text-decoration: none;
        font-size: 1.2rem;
        color: var(--links-color);
    }

    #homeSection .text-part a svg {
        height: 1rem;
        width: 1rem;
        fill: var(--links-color);
    }



    section {
        width: 990px;
        margin: 0 auto;
    }

    .slider-section {
        width: 100%;
    }



    #serviceSection .cards-container {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        grid-template-rows: repeat(4, 270px);
        width: auto;
        gap: 1rem;
        padding: var(--laptop-section-padding);
        grid-template-areas:
            "specCard1 specCard2 specCard3"
            "specCard1 specCard2 specCard3"
            "specCard4 specCard4 specCard4"
            "specCard5 specCard5 specCard6";
    }


    #specCard1 {
        grid-area: specCard1;
    }

    #specCard2 {
        grid-area: specCard2;
    }

    #specCard3 {
        grid-area: specCard3;
    }

    #specCard4 {
        grid-area: specCard4;
    }

    #specCard5 {
        grid-area: specCard5;
    }

    #specCard6 {
        grid-area: specCard6;
    }

    #serviceSection .card .text-part {
        display: flex;
        gap: .5rem;
        flex-direction: column;
        align-items: start;
        font-size: var(--tablet-basic-text-size);
    }


    .cards-container .demo-card-iphone-framed img {
        position: absolute;
        bottom: -120px;
        right: 50%;
        transform: translateX(50%);
        width: 250px;
        z-index: 3;
    }

    .cards-container .demo-card-iphone-framed-images {
        position: absolute;
        bottom: -94px;
        right: 50%;
        width: 250px;
        transform: translateX(50%);
        z-index: 2;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .demo-card-iphone-framed-images .iphone-status-bar-img {
        width: 100%;
        object-fit: cover;
    }

    .cards-container .demo-card-iphone-framed-images img {
        width: 100%;
        padding: 0 20px;
    }

    .cards-container .demo-card-ipad-framed img {
        position: absolute;
        top: 30px;
        right: -100px;
        height: 440px;
        z-index: 3;
    }

    .cards-container .demo-card-ipad-framed-images {
        position: absolute;
        top: 15px;
        right: -100px;
        height: 440px;
        width: 617px;
        z-index: 2;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .cards-container .demo-card-ipad-framed-images img {
        width: 100%;
        padding: 40px 15px;
    }

    #specCard5 .demo-card-iphone-framed img {
        position: absolute;
        top: 20px;
        right: 50px;
        width: 210px;
        height: auto;
        transform: translateX(0%);
    }

    #specCard5 .demo-card-iphone-framed-images {
        position: absolute;
        top: 36px;
        right: 50px;
        width: 210px;
        transform: translateX(0%);
        z-index: 2;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    #specCard5 .demo-card-iphone-framed-images .iphone-status-bar-img {
        width: 100%;
        object-fit: cover;
    }

    #specCard5 .demo-card-iphone-framed-images img {
        width: 100%;
    }

    #specCard4 .lateral-card-text {
        width: 40%;
    }

    #specCard5 .lateral-card-text {
        width: 50%;
    }




    .prices-section-grid {
        padding: var(--laptop-section-padding);
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        grid-template-rows: repeat(2, 250px);
        width: 100%;
        gap: 1rem;
        font-size: var(--tablet-basic-text-size);
        grid-template-areas:
            "tile tile NmbOfUsers NmbOfServers"
            "tile tile upTime NmbRegions";
    }

    #custom-made-server-card {
        grid-area: tile;
    }

    #pricesSection .demo-card-iphone-framed img {
        position: absolute;
        bottom: -260px;
        right: 50%;
        transform: translateX(50%);
        width: 300px;
        z-index: 3;
    }

    #pricesSection .demo-card-iphone-framed-images {
        position: absolute;
        bottom: -227px;
        right: 50%;
        width: 300px;
        transform: translateX(50%);
        z-index: 2;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    #pricesSection .demo-card-iphone-framed-images .iphone-status-bar-img {
        width: 100%;
        object-fit: cover;
    }

    #pricesSection .demo-card-iphone-framed-images img {
        width: 100%;
        padding: 0 20px;
    }





    #reviewSection .slider-card {
        height: 350px;
    }

    .user-comment {
        color: var(--basic-text-color);
        font-size: 1.2;
        margin-top: 12px;
    }

    .rating {
        display: flex;
        position: absolute;
        content: "";
        bottom: 20px;
        left: 20px;
    }



    .FAQ-answer {
        margin-top: 65px;
        font-size: 1.1rem;
    }


    footer {
        width: 100%;
        padding: 25px 25px 45px 25px;
        margin: auto;
        display: flex;
        flex-direction: column;
        gap: 1.5rem;
        background: var(--footer-background);
        border-radius: 2rem 2rem 0 0;
    }

    .head-footer img {
        height: 60px;
        width: 60px;
        object-fit: cover;
    }

    .board-footer {
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        gap: 15px;
        padding: 0 12px;
    }

    .board-footer ul {
        list-style: none;
    }

    .board-footer ul a {
        text-decoration: none;
        color: var(--basic-text-color);
        color: lightgray;
    }





    .slider-container {
        position: relative;
        padding: 0 0 100px;
        width: 100%;
        overflow: hidden;
    }

    .carousel {
        display: flex;
        gap: 24px;
        overflow-x: auto;
        /* permet le scroll manuel */
        scroll-behavior: smooth;
        scroll-snap-type: x mandatory;
        /* snap à chaque carte */
        padding-left: max(calc((100% - 990px)/2 + 25px), 25px);
        padding-right: 40px;
        /* ou ce que tu veux pour l’espacement à droite */
        width: 100%;
    }

    .carousel::-webkit-scrollbar {
        display: none;
    }

    .slider-card {
        flex: 0 0 auto;
        width: 300px;
        border-radius: 20px;
        position: relative;
        background: #fff;
        overflow: hidden;
        display: flex;
        flex-direction: column;
        height: 400px;
    }

    .slider-card .image {
        height: 296px;
        flex: 0 0 auto;
        background-position: center;
        background-size: cover;
        border-radius: 20px;
        position: relative;
        transition: .3s ease;
    }

    .slider-card .text {
        padding: 18px;
        font-size: var(--tablet-basic-text-size);
        line-height: 1.2;
    }

    .slider-card .title {
        font-size: 1.25rem;
        font-weight: 600;
        margin: 0 0 6px;
    }

    .slider-card .topic {
        font-size: 0.9rem;
        font-weight: 600;
        margin-bottom: 6px;
        text-transform: uppercase;
        color: var(--basic-text-color);
    }

    .slider-buttons {
        position: absolute;
        right: max(calc((100% - 1100px)/2 + 25px), 25px);
        bottom: 18px;
        display: flex;
        gap: 10px;
    }

    .slider-buttons button {
        background: #fff;
        border: none;
        aspect-ratio: 1/1;
        border-radius: 50%;
        cursor: pointer;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 16px;
        padding: 5px 12px 5px 16px;
        transition: background .2s, transform .1s;
    }

    .slider-buttons button svg {
        fill: black;
        height: 20px;
        width: 20px;
    }

    .slider-buttons button:disabled {
        opacity: .3;
        cursor: default;
    }

    .slider-buttons button:not(:disabled):hover {
        background: #f0f0f5;
    }

    .nav-btn:focus-visible {
        outline: 2px solid #0071e3;
        outline-offset: 2px;
    }

    .join-discord-tag {
        font-size: 1rem;
        margin-top: 8px;
    }

    .slider-card button {
        position: absolute;
        bottom: 20px;
        left: 20px;
        padding-right: 18px;
    }

    .slider-card:hover {
        .image {
            flex: 0 0 auto;
            height: 0px;
        }
    }



}


@media screen and (min-width: 768px) and (max-width: 1023px) {
    body {
        max-width: 100vw;
        overflow-x: hidden;
    }

    main {
        margin-bottom: 5rem;
        display: flex;
        flex-direction: column;
        gap: 5rem;
    }

    .title-1 {
        font-size: 2.1rem;
        color: var(--links-color);
        text-align: start;
        padding-left: 25px;
        padding-bottom: 1rem;
    }

    .slider-section .title-1 {
        padding-left: max(calc((100% - 1100px)/2 + 25px), 25px);
    }

    button {
        padding: 5px 7px 5px 15px;
        border-radius: 5rem;
        border: none;
        font-size: .9rem;
        background: var(--links-color);
        color: white;
        display: flex;
        align-items: center;
        gap: 7px;
    }

    button svg {
        width: 1rem;
        height: 1rem;
        fill: white;
    }

    .card button {
        position: absolute;
        bottom: 18px;
        left: 18px;
    }

    .card {
        background: var(--items-background);
        display: flex;
        flex-direction: column;
        align-items: start;
        border-radius: var(--mobile-border-radius);
        gap: .5rem;
        position: relative;
        height: 100%;
        width: 100%;
        padding: var(--mobile-card-padding);
        overflow: hidden;
    }

    .title-2 {
        font-size: var(--tablet-title-2-size);
        font-weight: 600;
        background: var(--text-gardient);
        background-clip: text;
        color: transparent;
    }


    .navbar-desktop {
        display: none;
    }

    .navbar-mobile {
        display: flex;
        align-items: center;
        justify-content: space-between;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        max-width: 100%;
        height: 50px;
        backdrop-filter: blur(25px);
        padding: 10px 25px;
        z-index: 300;
    }

    .navbar-mobile img,
    svg {
        height: 30px;
    }

    #navbar-mobile-navlinks-container {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background-color: white;
        padding: 2rem 2.5rem;
        z-index: 301;
        overflow-y: auto;
        border-radius: 0 0 1rem 1rem;

        /* transition smooth */
        opacity: 1;
        transform: translateY(-100%);
        transition: all 0.8s cubic-bezier(0.25, 1, 0.5, 1);
        pointer-events: none;
        /* désactive les clics quand fermé */
    }

    /* Quand le menu est ouvert */
    #navbar-mobile-navlinks-container.show {
        opacity: 1;
        transform: translateY(0);
        pointer-events: auto;
    }

    /* Animation keyframes */
    @keyframes fadeSlideUp {
        from {
            opacity: 0;
            transform: translateY(-40px);
        }

        to {
            opacity: 1;
            transform: translateY(0);
        }
    }

    /* Cible tous les li.nav-link à l'intérieur du menu */
    #navbar-mobile-navlinks-container.show .nav-link {
        opacity: 0;
        animation: fadeSlideUp 0.5s ease forwards;
    }

    /* Delais d'apparition progressifs */
    #navbar-mobile-navlinks-container.show .nav-link:nth-child(1) {
        animation-delay: 0.1s;
    }

    #navbar-mobile-navlinks-container.show .nav-link:nth-child(2) {
        animation-delay: 0.13s;
    }

    #navbar-mobile-navlinks-container.show .nav-link:nth-child(3) {
        animation-delay: 0.16s;
    }

    #navbar-mobile-navlinks-container.show .nav-link:nth-child(4) {
        animation-delay: 0.19s;
    }

    #navbar-mobile-navlinks-container.show .nav-link:nth-child(5) {
        animation-delay: 0.22s;
    }

    #navbar-mobile-navlinks-container.show .nav-link:nth-child(6) {
        animation-delay: 0.25s;
    }

    #navbar-mobile-navlinks-container.show .nav-link:nth-child(7) {
        animation-delay: 0.28s;
    }

    #navbar-mobile-navlinks-container.show .nav-link:nth-child(8) {
        animation-delay: 0.31s;
    }

    #navbar-mobile-navlinks-container.show .nav-link:nth-child(9) {
        animation-delay: 0.34s;
    }

    #navbar-mobile-navlinks-container.show .nav-link:nth-child(10) {
        animation-delay: 0.37s;
    }

    #navbar-mobile-navlinks-container.show .nav-link:nth-child(11) {
        animation-delay: 0.4s;
    }

    #navbar-mobile-navlinks-container.show .nav-link:nth-child(12) {
        animation-delay: 0.43s;
    }


    #navbar-mobile-navlinks-container .navbar-mobile-top-container {
        display: flex;
        height: 30px;
        justify-content: end;
    }

    .navbar-mobile-top-container svg {
        height: 30px;
        width: 30px;
    }

    #navbar-mobile-navlinks-container ul {
        list-style: none;
        display: flex;
        flex-direction: column;
        gap: .5rem;
    }

    #navbar-mobile-navlinks-container ul a {
        text-decoration: none;
        font-weight: 600;
        font-size: 2rem;
        color: rgb(37, 69, 117);
    }

    #homeSection {
        display: flex;
        align-items: center;
        justify-content: center;
        height: 100vh;
        width: 90%;
    }

    #homeSection .text-part {
        width: 100%;
        display: flex;
        flex-direction: column;
        gap: 2.5rem;
        align-items: center;
        text-align: center;
    }

    #homeSection .text-part h2 {
        font-size: 2rem;
        font-weight: 500;
        color: var(--links-color);
    }

    #homeSection .text-part h1 {
        font-size: 3.5rem;
        color: var(--basic-text-color);
    }

    #homeSection .text-part p {
        font-size: 1.5rem;
        background: var(--text-gardient);
        background-clip: text;
        color: var(--basic-text-color);
        width: 80%;
    }

    #homeSection .text-part tocolor {
        color: transparent;
        background: var(--text-gardient);
        background-clip: text;
    }

    #homeSection .text-part p strong {
        font-size: 1.5rem;
        color: transparent;

    }

    #homeSection .text-part .login-register-links {
        display: flex;
        gap: 2rem;
    }

    #homeSection .text-part button {
        padding: 8px 22px;
        border-radius: 5rem;
        border: none;
        font-size: 1rem;
        background: var(--links-color);
        color: white;
    }

    .login-link {
        display: flex;
        align-items: center;
        gap: .5rem;
        text-decoration: none;
        font-size: 1.2rem;
        color: var(--links-color);
    }

    #homeSection .text-part a svg {
        height: 1rem;
        width: 1rem;
        fill: var(--links-color);
    }



    section {
        width: 100%;
        margin: 0 auto;
    }

    .slider-section {
        width: 100%;
    }



    #serviceSection .cards-container {
        display: grid;
        flex: 1 1 auto;
        grid-template-columns: repeat(3, 1fr);
        grid-template-rows: repeat(4, 270px);
        width: auto;
        gap: 1rem;
        padding: var(--laptop-section-padding);
        grid-template-areas:
            "specCard1 specCard2 specCard3"
            "specCard1 specCard2 specCard3"
            "specCard4 specCard4 specCard4"
            "specCard5 specCard5 specCard6";
    }


    #specCard1 {
        grid-area: specCard1;
    }

    #specCard2 {
        grid-area: specCard2;
    }

    #specCard3 {
        grid-area: specCard3;
    }

    #specCard4 {
        grid-area: specCard4;
    }

    #specCard5 {
        grid-area: specCard5;
    }

    #specCard6 {
        grid-area: specCard6;
    }

    #serviceSection .card .text-part {
        display: flex;
        gap: .5rem;
        flex-direction: column;
        align-items: start;
        font-size: var(--tablet-basic-text-size);
    }


    .cards-container .demo-card-iphone-framed img {
        position: absolute;
        bottom: -70px;
        right: 50%;
        transform: translateX(50%);
        width: 220px;
        z-index: 3;
    }

    .cards-container .demo-card-iphone-framed-images {
        position: absolute;
        bottom: -38px;
        right: 50%;
        width: 220px;
        transform: translateX(50%);
        z-index: 2;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .demo-card-iphone-framed-images .iphone-status-bar-img {
        width: 100%;
        object-fit: cover;
    }

    .cards-container .demo-card-iphone-framed-images img {
        width: 100%;
        padding: 0 20px;
    }

    .cards-container .demo-card-ipad-framed img {
        position: absolute;
        top: 30px;
        right: -150px;
        height: 440px;
        z-index: 3;
    }

    .cards-container .demo-card-ipad-framed-images {
        position: absolute;
        top: 15px;
        right: -150px;
        height: 440px;
        width: 617px;
        z-index: 2;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .cards-container .demo-card-ipad-framed-images img {
        width: 100%;
        padding: 40px 15px;
    }

    #specCard5 .demo-card-iphone-framed img {
        position: absolute;
        top: 23px;
        right: 50px;
        width: 210px;
        height: auto;
        transform: translateX(0%);
    }

    #specCard5 .demo-card-iphone-framed-images {
        position: absolute;
        top: 40px;
        right: 50px;
        width: 210px;
        transform: translateX(0%);
        z-index: 2;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    #specCard5 .demo-card-iphone-framed-images .iphone-status-bar-img {
        width: 100%;
        object-fit: cover;
    }

    #specCard5 .demo-card-iphone-framed-images img {
        width: 100%;
    }

    #specCard4 .lateral-card-text {
        width: 40%;
    }

    #specCard5 .lateral-card-text {
        width: 50%;
    }




    .prices-section-grid {
        padding: var(--laptop-section-padding);
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        grid-template-rows: repeat(2, 250px);
        width: 100%;
        gap: 1rem;
        font-size: var(--tablet-basic-text-size);
        grid-template-areas:
            "tile tile NmbOfUsers NmbOfServers"
            "tile tile upTime NmbRegions";
    }

    #custom-made-server-card {
        grid-area: tile;
    }

    #pricesSection .demo-card-iphone-framed img {
        position: absolute;
        bottom: -260px;
        right: 50%;
        transform: translateX(50%);
        width: 300px;
        z-index: 3;
    }

    #pricesSection .demo-card-iphone-framed-images {
        position: absolute;
        bottom: -227px;
        right: 50%;
        width: 300px;
        transform: translateX(50%);
        z-index: 2;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    #pricesSection .demo-card-iphone-framed-images .iphone-status-bar-img {
        width: 100%;
        object-fit: cover;
    }

    #pricesSection .demo-card-iphone-framed-images img {
        width: 100%;
        padding: 0 20px;
    }





    #reviewSection .slider-card {
        height: 350px;
    }

    .user-comment {
        color: var(--basic-text-color);
        font-size: 1.2;
        margin-top: 12px;
    }

    .rating {
        display: flex;
        position: absolute;
        content: "";
        bottom: 20px;
        left: 20px;
    }



    .FAQ-answer {
        margin-top: 65px;
        font-size: 1.1rem;
    }


    footer {
        width: 100%;
        padding: 25px 25px 45px 25px;
        margin: auto;
        display: flex;
        flex-direction: column;
        gap: 1.5rem;
        background: var(--footer-background);
        border-radius: 2rem 2rem 0 0;
    }

    .head-footer img {
        height: 60px;
        width: 60px;
        object-fit: cover;
    }

    .board-footer {
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        gap: 15px;
        padding: 0 12px;
    }

    .board-footer ul {
        list-style: none;
    }

    .board-footer ul a {
        text-decoration: none;
        color: var(--basic-text-color);
        color: lightgray;
    }





    .slider-container {
        position: relative;
        padding: 0 0 100px;
        width: 100%;
        overflow: hidden;
    }

    .carousel {
        display: flex;
        gap: 24px;
        overflow-x: auto;
        /* permet le scroll manuel */
        scroll-behavior: smooth;
        scroll-snap-type: x mandatory;
        /* snap à chaque carte */
        padding-left: max(calc((100% - 1100px)/2 + 25px), 25px);
        padding-right: max(calc((100% - 1100px)/2 + 25px), 25px);
        /* ou ce que tu veux pour l’espacement à droite */
        width: 100%;
    }

    .carousel::-webkit-scrollbar {
        display: none;
    }

    .slider-card {
        flex: 0 0 auto;
        width: 300px;
        border-radius: 20px;
        position: relative;
        background: #fff;
        overflow: hidden;
        display: flex;
        flex-direction: column;
        height: 400px;
    }

    .slider-card .image {
        height: 296px;
        flex: 0 0 auto;
        background-position: center;
        background-size: cover;
        border-radius: 20px;
        position: relative;
        transition: .3s ease;
    }

    .slider-card .text {
        padding: 18px;
        font-size: var(--tablet-basic-text-size);
        line-height: 1.2;
    }

    .slider-card .title {
        font-size: 1.25rem;
        font-weight: 600;
        margin: 0 0 6px;
    }

    .slider-card .topic {
        font-size: 0.9rem;
        font-weight: 600;
        margin-bottom: 6px;
        text-transform: uppercase;
        color: var(--basic-text-color);
    }

    .slider-buttons {
        position: absolute;
        right: max(calc((100% - 1100px)/2 + 25px), 25px);
        bottom: 18px;
        display: flex;
        gap: 10px;
    }

    .slider-buttons button {
        background: #fff;
        border: none;
        aspect-ratio: 1/1;
        border-radius: 50%;
        cursor: pointer;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 16px;
        padding: 5px 12px 5px 16px;
        transition: background .2s, transform .1s;
    }

    .slider-buttons button svg {
        fill: black;
        height: 20px;
        width: 20px;
    }

    .slider-buttons button:disabled {
        opacity: .3;
        cursor: default;
    }

    .slider-buttons button:not(:disabled):hover {
        background: #f0f0f5;
    }

    .nav-btn:focus-visible {
        outline: 2px solid #0071e3;
        outline-offset: 2px;
    }

    .join-discord-tag {
        font-size: 1rem;
        margin-top: 8px;
    }

    .slider-card button {
        position: absolute;
        bottom: 20px;
        left: 20px;
        padding-right: 18px;
    }

    .slider-card:hover {
        .image {
            flex: 0 0 auto;
            height: 0px;
        }
    }



}


@media screen and (min-width: 479px) and (max-width: 767px) {

    body {
        max-width: 100vw;
        overflow-x: hidden;
    }

    main {
        padding-bottom: 1px;
        display: flex;
        flex-direction: column;
        gap: 5rem;
    }

    .title-1 {
        font-size: 2.1rem;
        color: var(--links-color);
        text-align: start;
        padding-bottom: 1rem;
    }

    .slider-section .title-1 {
        padding-left: max(calc((100% - 90%)/2), 25px);
    }

    button {
        padding: 5px 7px 5px 15px;
        border-radius: 5rem;
        border: none;
        font-size: 1rem;
        background: var(--links-color);
        color: white;
        display: flex;
        align-items: center;
        gap: 7px;
    }

    button svg {
        width: 1.1rem;
        height: 1.1rem;
        fill: white;
    }

    .card button {
        position: absolute;
        bottom: 18px;
        left: 18px;
    }

    .card {
        background: var(--items-background);
        display: flex;
        flex-direction: column;
        align-items: start;
        border-radius: var(--mobile-border-radius);
        gap: .5rem;
        position: relative;
        height: 100%;
        width: 100%;
        padding: var(--mobile-card-padding);
        overflow: hidden;
    }

    .title-2 {
        font-size: 1.3rem;
        font-weight: 600;
        background: var(--text-gardient);
        background-clip: text;
        color: transparent;
    }


    .navbar-desktop {
        display: none;
    }

    .navbar-mobile {
        display: flex;
        align-items: center;
        justify-content: space-between;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        max-width: 100%;
        height: 50px;
        backdrop-filter: blur(25px);
        padding: 10px 25px;
        z-index: 300;
    }

    .navbar-mobile img,
    svg {
        height: 30px;
    }

    #navbar-mobile-navlinks-container {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background-color: white;
        padding: 2rem 2.5rem;
        z-index: 301;
        overflow-y: auto;
        border-radius: 0 0 1rem 1rem;

        /* transition smooth */
        opacity: 1;
        transform: translateY(-100%);
        transition: all 0.8s cubic-bezier(0.25, 1, 0.5, 1);
        pointer-events: none;
        /* désactive les clics quand fermé */
    }

    /* Quand le menu est ouvert */
    #navbar-mobile-navlinks-container.show {
        opacity: 1;
        transform: translateY(0);
        pointer-events: auto;
    }

    /* Animation keyframes */
    @keyframes fadeSlideUp {
        from {
            opacity: 0;
            transform: translateY(-40px);
        }

        to {
            opacity: 1;
            transform: translateY(0);
        }
    }

    /* Cible tous les li.nav-link à l'intérieur du menu */
    #navbar-mobile-navlinks-container.show .nav-link {
        opacity: 0;
        animation: fadeSlideUp 0.5s ease forwards;
    }

    /* Delais d'apparition progressifs */
    #navbar-mobile-navlinks-container.show .nav-link:nth-child(1) {
        animation-delay: 0.1s;
    }

    #navbar-mobile-navlinks-container.show .nav-link:nth-child(2) {
        animation-delay: 0.13s;
    }

    #navbar-mobile-navlinks-container.show .nav-link:nth-child(3) {
        animation-delay: 0.16s;
    }

    #navbar-mobile-navlinks-container.show .nav-link:nth-child(4) {
        animation-delay: 0.19s;
    }

    #navbar-mobile-navlinks-container.show .nav-link:nth-child(5) {
        animation-delay: 0.22s;
    }

    #navbar-mobile-navlinks-container.show .nav-link:nth-child(6) {
        animation-delay: 0.25s;
    }

    #navbar-mobile-navlinks-container.show .nav-link:nth-child(7) {
        animation-delay: 0.28s;
    }

    #navbar-mobile-navlinks-container.show .nav-link:nth-child(8) {
        animation-delay: 0.31s;
    }

    #navbar-mobile-navlinks-container.show .nav-link:nth-child(9) {
        animation-delay: 0.34s;
    }

    #navbar-mobile-navlinks-container.show .nav-link:nth-child(10) {
        animation-delay: 0.37s;
    }

    #navbar-mobile-navlinks-container.show .nav-link:nth-child(11) {
        animation-delay: 0.4s;
    }

    #navbar-mobile-navlinks-container.show .nav-link:nth-child(12) {
        animation-delay: 0.43s;
    }


    #navbar-mobile-navlinks-container .navbar-mobile-top-container {
        display: flex;
        height: 30px;
        justify-content: end;
    }

    .navbar-mobile-top-container svg {
        height: 30px;
        width: 30px;
    }

    #navbar-mobile-navlinks-container ul {
        list-style: none;
        display: flex;
        flex-direction: column;
        gap: .5rem;
    }

    #navbar-mobile-navlinks-container ul a {
        text-decoration: none;
        font-weight: 600;
        font-size: 2rem;
        color: rgb(37, 69, 117);
    }

    section {
        width: 90%;
        margin: 0 auto;
    }

    .slider-section {
        width: 100%;
    }

    #homeSection {
        margin-top: 70px;
        flex-direction: column;
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 0 0 5rem 0;
    }

    #homeSection .text-part {
        width: 100%;
        display: flex;
        flex-direction: column;
        gap: 1.2rem;
        align-items: start;
        justify-content: space-evenly;
    }

    #homeSection .text-part h2 {
        font-size: 1.3rem;
        font-weight: 500;
        color: var(--links-color);
    }

    #homeSection .text-part h1 {
        font-size: 2.07rem;
        background: linear-gradient(to right top, orange, rgb(255, 86, 114), rgb(231, 45, 206));
        background-clip: text;
        color: var(--basic-text-color);
    }

    #homeSection .text-part p {
        font-size: 1.1rem;
        background: linear-gradient(to right top, orange, rgb(255, 86, 114), rgb(231, 45, 206));
        background-clip: text;
        color: var(--basic-text-color);
    }

    #homeSection .text-part tocolor,
    strong {
        color: transparent;
    }

    #homeSection .text-part .login-register-links {
        display: flex;
        gap: 1.5rem;
        font-size: 1.1rem;
        margin-top: 1rem;
    }

    #homeSection .text-part button {
        padding: 8px 15px;
        border-radius: 5rem;
        border: none;
        font-size: 1rem;
        background: var(--links-color);
        color: white;
    }

    .login-link {
        display: flex;
        align-items: center;
        gap: .5rem;
        text-decoration: none;
        color: var(--links-color);
    }

    #homeSection .text-part a svg {
        height: 1rem;
        width: 1rem;
        fill: var(--links-color);
    }

    #serviceSection {
        display: flex;
        flex-direction: column;
        justify-content: center;
        text-align: start;
        z-index: -300;
    }

    #serviceSection .cards-container {
        display: grid;
        grid-template-columns: 100%;
        grid-template-rows: repeat(7, 210px);
        width: auto;
        gap: 30px;
        margin: 0 auto 2rem auto;
        grid-template-areas:
            "specCard1"
            "specCard1"
            "specCard2"
            "specCard2"
            "specCard3"
            "specCard3"
            "specCard6";
    }

    #specCard1 {
        grid-area: specCard1;
    }

    #specCard2 {
        grid-area: specCard2;
    }

    #specCard3 {
        grid-area: specCard3;
    }

    #specCard6 {
        grid-area: specCard6;
    }

    #specCard4,
    #specCard5 {
        display: none !important;
    }

    #serviceSection .cards-container .card {
        background: var(--items-background);
        display: flex;
        flex-direction: column;
        align-items: start;
        gap: 1.5rem;
        border-radius: 1.5rem;
        position: relative;
        height: 100%;
        width: 100%;
        padding: 20px;
        overflow-y: hidden;
    }

    #serviceSection .card .text-part {
        display: flex;
        gap: .5rem;
        flex-direction: column;
        align-items: start;
        font-size: 1.1rem;
    }

    #serviceSection .text-part h1 {
        font-size: 1.3rem;
        font-weight: 600;
        background: linear-gradient(to right top, orange, rgb(255, 86, 114), rgb(231, 45, 206));
        background-clip: text;
        color: transparent;
    }

    #serviceSection .text-part p {
        font-size: .9rem;
    }

    .cards-container .demo-card-iphone-framed img {
        position: absolute;
        bottom: -260px;
        right: 50%;
        transform: translateX(50%);
        width: 270px;
        z-index: 3;
    }

    .cards-container .demo-card-iphone-framed-images {
        position: absolute;
        bottom: -238px;
        right: 50%;
        width: 270px;
        transform: translateX(50%);
        z-index: 2;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .demo-card-iphone-framed-images .iphone-status-bar-img {
        width: 100%;
        object-fit: cover;
    }

    .cards-container .demo-card-iphone-framed-images img {
        width: 100%;
        padding: 0 20px;
    }


    .cards-container .demo-card-ipad-framed img {
        position: absolute;
        top: 30px;
        right: -50px;
        height: 440px;
        z-index: 3;
    }

    .cards-container .demo-card-ipad-framed-images {
        position: absolute;
        top: 15px;
        right: -50px;
        height: 440px;
        width: 617px;
        z-index: 2;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .cards-container .demo-card-ipad-framed-images img {
        width: 100%;
        padding: 40px 15px;
    }


    .prices-section-grid .demo-card-iphone-framed,
    .prices-section-grid .demo-card-iphone-framed-images {
        display: none;
    }

    .prices-section-grid {
        display: grid;
        grid-auto-rows: auto;
        grid-template-columns: 100%;
        gap: 1rem;
    }

    .prices-section-grid .card:not(:first-child) {
        padding-bottom: 66px;
    }



    .rating {
        position: absolute;
        bottom: 12px;
        left: 18px;
    }


    .slider-container {
        position: relative;
        padding: 0 0 100px;
        width: 100%;
        overflow: hidden;
    }

    .carousel {
        display: flex;
        gap: 24px;
        overflow-x: auto;
        /* permet le scroll manuel */
        scroll-behavior: smooth;
        scroll-snap-type: x mandatory;
        /* snap à chaque carte */
        padding-left: max(calc((100% - 90%)/2), 25px);
        padding-right: max(calc((100% - 90%)/2), 25px);
        /* ou ce que tu veux pour l’espacement à droite */
        width: 100%;
    }

    .carousel::-webkit-scrollbar {
        display: none;
    }

    .slider-card {
        flex: 0 0 auto;
        width: 320px;
        border-radius: 20px;
        position: relative;
        background: #fff;
        overflow: hidden;
        display: flex;
        flex-direction: column;
        height: 350px;
    }

    .slider-card .image {
        height: 310px;
        flex: 0 0 auto;
        background-position: center;
        background-size: cover;
        border-radius: 20px;
        position: relative;
        transition: .3s ease;
    }

    #FAQSection .slider-card .image {
        display: none;
    }

    #reviewSection .slider-card {
        height: 270px;
    }

    .slider-card .text {
        padding: 20px;
        font-size: 20px;
        line-height: 1.2;
    }

    .slider-card .title {
        font-size: 1.25rem;
        font-weight: 600;
        margin: 0 0 6px;
    }

    .slider-card .topic {
        font-size: 0.9rem;
        font-weight: 600;
        margin-bottom: 6px;
        text-transform: uppercase;
        color: var(--basic-text-color);
    }

    .slider-card .FAQ-answer,
    .user-comment {
        margin-top: 20px;
        font-size: 1.1rem;
    }

    .slider-buttons {
        position: absolute;
        right: max(calc((100% - 1440px)/2 + 25px), 25px);
        bottom: 18px;
        display: flex;
        gap: 10px;
    }

    .slider-buttons button {
        background: #fff;
        border: none;
        aspect-ratio: 1/1;
        border-radius: 50%;
        cursor: pointer;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 16px;
        padding: 5px 12px 5px 16px;
        transition: background .2s, transform .1s;
    }

    .slider-buttons button svg {
        fill: black;
        height: 20px;
        width: 20px;
    }

    .slider-buttons button:disabled {
        opacity: .3;
        cursor: default;
    }

    .slider-buttons button:not(:disabled):hover {
        background: #f0f0f5;
    }

    .nav-btn:focus-visible {
        outline: 2px solid #0071e3;
        outline-offset: 2px;
    }

    .join-discord-tag {
        font-size: 1rem;
        margin-top: 8px;
        font-size: 1rem;
    }

    .slider-card button {
        position: absolute;
        bottom: 20px;
        left: 20px;
        padding: 5px 12px;
    }




    footer {
        width: 100%;
        padding: 25px 25px 40px 25px;
        margin-top: 4rem;
        display: flex;
        flex-direction: column;
        gap: 1.5rem;
        background: var(--footer-background);
    }

    .head-footer img {
        height: 60px;
        width: 60px;
        object-fit: cover;
    }

    .board-footer {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 2.5rem;
        padding: 0 12px;
    }

    .board-footer ul {
        list-style: none;
    }

    .board-footer ul a {
        text-decoration: none;
        color: var(--basic-text-color);
        color: lightgray;
    }
}