@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;700&display=swap');

:root {
    --tablet-width: 767px; /* Common tablet breakpoint (portrait) */
}

html {
    font-size: 62.5%; /* 1rem = 10px */
}

* {
    box-sizing: border-box;
}

body::-webkit-scrollbar {
    width: 7px;
    background: #000;
}
body::-webkit-scrollbar-thumb {
    border-radius: 10px;
    background: rgba(156, 154, 154, 0.527);
}

body {
    margin: 0;
    padding: 0;
    font-family: 'Arial', 'Helvetica Neue', Helvetica, sans-serif;
    font-size: 1.6rem; /* Equivalent to 16px */
    line-height: 1.6;
    position: relative;
    background: #000;
}

nav {
    display: flex;
    justify-content: space-between;
    border: 1px solid;
    background: gray;
    width: 100%;
    height: 70px;
}

nav ul {
    width: 100%;
    /* border: 1px solid aqua; */
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0;
    margin: 0;
    list-style-type: none;
}

nav ul li {
    margin: 0 10px; 
}

nav ul li a {
    text-decoration: none;
    color: #fff;
    /* border: 1px solid; */
    padding: 10px;
    margin: 0;
}

.right, .left, .middle {
    /* border: 1px solid white; */
    padding: 10px;
    margin: 0;
    display: flex;
    justify-content: center;
}

.sideMenu {
    height: 70px;
    width: 100%;
    background: gray;
    position: relative;
    display: none;
}

.sideMenu button {
    position: absolute;
    right: 0;
    height: 100%;
    width: 55px;
    background: transparent;
    border: none;
}

.sideMenu button img {
    width: 100%;
    height: 50%;
}

.navbar {
    height: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0;
    margin: 0;
}

.navbar a {
    text-decoration: none;
    color: red;
    padding: 0 15px;
}

.menu {
    display: none;
    padding-top: 5%;
}

.menu a {
    padding: 10px 0;
    margin: 10px 0;
    background: transparent;
    color: white;
    font-size: 1.2em;
    border: none;
    text-align: center;
    text-decoration: none;
}

.menu a:nth-child(1){
    margin-top: 20%;
}

.no-scroll {
    overflow: hidden;
    height: 100%;
}

.main {
    /* border: 1px solid ; */
    margin-top: 10px;

}

.main h2 {
    font-size: 1.8em; /* Adjust font size as needed */
    font-weight: bold; /* Make the text bold */
    background-image: linear-gradient(to right, red, orange,blue,white); /* Linear gradient */
    -webkit-background-clip: text; /* Clip the background to the text */
    background-clip: text;
    color: transparent; /* Make the text transparent so the background shows through */
    text-align: center;
}

.main .contenu {
    /* border: 1px solid; */
    width: 100%;
    display: flex;
    justify-content: center;
}

.main .contenu div {
    /* border: 1px solid; */
    width: 50%;
    text-align: center;
    padding: 10px;
    font-size: 1.3em;
    line-height: 1.2; 
}

.main p {
    text-align: left;
}

.main .contenu div {
    /* border: 1px solid; */
    width: 80%;
    text-align: center;
    /* padding: 10px; */
    font-size: 1.3em;
    line-height: 1.2; 
}

.main .contenu div:nth-child(1) {
    padding: 0;
    margin: 0;
    width: 20%;
}

.main .contenu div div img {
    width: 280px;
    height: 380px;
    margin: 10px 0;
}

.sticky-element {
    position: sticky;
    top: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;

}

.sticky-element > div {
    background: linear-gradient(45deg, red, orange,blue,white);
    border-radius: 10px;
}

.details {
    display: flex;

}

.details div {
    /* border: 1px solid; */
    flex: 1;
}

.price {
    display: none;
    padding: 20px 0;
}

.headline {
    text-align: left;
}

.buy {
    border: 1px solid transparent;
    font-weight: bold;
    width: 90%;
    text-align: center;
    margin: 10px;
    padding: 10px;
    margin-top: 0;
    border-radius: 10px;
    background: linear-gradient(to right, orange, rgb(252, 206, 3));
    color: black;
    font-size: 0.5em;
}

.buy:hover {
    box-shadow: 0 0px 20px orange, 0 0px 30px rgb(255, 0, 0);
    color: white;
    transition: all 0.2s ease;
}

.pricemob {
    visibility: hidden;
}

.espace {
    display: none;
}

@media only screen and (max-width: 1025px) {
    .main .contenu {
        border: 1px solid;
        width: 100%;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }

    .main p {
        text-align: center;
    }

    .main .contenu div {
        /* border: 1px solid; */
        width: 100%;
        text-align: center;
        padding: 10px;
    }

    .main .contenu div:nth-child(1) {
        width: 100%;
    }

    .sticky-element {
        position: relative;
    }
}

@media only screen and (max-width: 767px) {
    nav {
        display: none;
    }

    .sideMenu {
        display: block;
        height: 55px;
    }

    .displayMenu{
        display: flex;
    }

    .menu {
        position: absolute;
        z-index: 10;
        left: -85%;
        top: 0;
        display: flex;
        flex-direction: column;
        background: #000;
        width: 85%;
        height: 100vh;
        transition: left 0.4s ease-in-out;
    }

    .showMenu {
        left: 0;
    }

    .close {
        display: none;
    }

    .details {
        display: flex;
        flex-direction: column;
    }

    .price {
        display: block;
    }

    .headline {
        text-align: center;
    }

    .pricemob {
        visibility: visible;
    }

    .espace {
        display: block;
    }

}