/*polices personnalisées*/

@font-face {
    font-family: "autography";
    src: url(../font/Autography.otf);
}

@font-face {
    font-family: "bellerose";
    src: url(../font/Bellerose.ttf);
}

@font-face {
    font-family: "caviar";
    src: url(../font/CaviarDreams.ttf);
}

@font-face {
    font-family: "caviarB";
    src: url(../font/CaviarDreams_Bold.ttf);
}

@font-face {
    font-family: "caviarI";
    src: url(../font/CaviarDreams_Italic.ttf);
}

@font-face {
    font-family: "caviarBI";
    src: url(../font/CaviarDreams_BoldItalic.ttf);
}

@font-face {
    font-family: "champ";
    src: url(../font/Champagne\ &\ Limousines.ttf);
}

@font-face {
    font-family: "champB";
    src: url(../font/Champagne\ &\ Limousines\ Bold.ttf);
}

@font-face {
    font-family: "champI";
    src: url(../font/Champagne\ &\ Limousines\ Italic.ttf);
}

@font-face {
    font-family: "champBI";
    src: url(../font/Champagne\ &\ Limousines\ Bold\ Italic.ttf);
}

@font-face {
    font-family: "garden";
    src: url(../font/Gardenfreude.otf);
}

@font-face {
    font-family: "lavinia";
    src: url(../font/Lavinia.otf);
}

@font-face {
    font-family: "minimal";
    src: url(../font/minimal.otf);
}

@font-face {
    font-family: "monako";
    src: url(../font/MonaKo.ttf);
}

@font-face {
    font-family: "radion";
    src: url(../font/radion.otf);
}

@font-face {
    font-family: "rocket";
    src: url(../font/ROCKET\ WILDNESS.otf);
}

@font-face {
    font-family: "social";
    src: url(../font/Social\ Media\ Circled.ttf);
}

@font-face {
    font-family: "vonique";
    src: url(../font/Vonique\ 92_D.otf);
}

@font-face {
    font-family: "wedding";
    src: url(../font/TheWeddingSignature-Regular.ttf);
}

/*déclarations de variables*/

:root {
    --main-color: hsl(30, 53%, 30%);
}

/* Keyframes */

@keyframes pulse {

    0%,
    100% {
        transform: translate(-50%, -50%) rotate(0deg) scale(1);
    }

    50% {
        transform: translate(-50%, -50%) rotate(0deg) scale(1.6);
    }
}

/* Général */

* {
    margin: 0;
    padding: 0;
    z-index: 0;
    font-family: 'caviar', sans-serif;
    color: var(--main-color);
    box-sizing: border-box;
}

.test {
    margin-left: 15vw;
    display: flex;
    flex-direction: column;
}

.cocoon {
    font-family: 'radion', sans-serif;
}

/* Desktop */
@media screen and (min-width : 1280px) {

    /* mise en page */

    body {
        font-size: 0.8vw;
    }

    a,
    a:visited {
        color: var(--main-color);
        text-decoration: none;
    }

    img {
        max-width: 100%;
        max-height: 100%;
    }

    h1 {
        font-family: 'garden', sans-serif;
        margin-bottom: 2vh;
    }

    h2 {
        font-size: 1.5em;
    }

    h3 {
        font-family: 'bellerose', sans-serif;
        font-size: 1.8em;
        margin: 1vh 0 1vh 0;
    }

    h4 {
        font-size: 1.1em;
        margin: 0.5vh 0;
    }

    p {
        margin: 0.5vh 0 0.5vh 0;
    }

    .flex {
        display: flex;
    }

    .flex-column {
        display: flex;
        flex-direction: column;
    }

    .flex-row {
        display: flex;
        flex-direction: row;
        justify-content: space-around;
    }

    .grid {
        display: grid;
    }

    /* Boutons */

    .smc {
        font-family: 'social', sans-serif;
        font-size: 2rem;
        margin-top: 1vh;
        margin-left: 1vw;
        margin-bottom: 5vh;
    }

    .close {
        width: 1.3vw;
        height: 1.3vw;
        z-index: 110;
        cursor: pointer;
    }

    .eye {
        cursor: pointer;
        margin-right: 0.5vw;
    }

    .button {
        background-color: var(--main-color);
        color: #fff;
        border: solid 0.05vw var(--main-color);
        padding: 0.2vw 0.6vw;
        border-radius: 8px;
        cursor: pointer;
        font-size: 1em;
        transition: background 0.4s;
    }

    .button:hover {
        background-color: #ffffff;
        color: var(--main-color);
        border: solid 0.05vw var(--main-color);
    }

    .button-submit {
        background-color: var(--main-color);
        border: none;
        color: white;
        font-size: 1em;
        font-weight: 500;
        border-radius: 10px;
        height: 3vh;
        width: 60%;
        align-self: center;
        cursor: pointer;
        transition: background 0.4s;
    }

    .button-submit:hover {
        background-color: #ffffff;
        color: var(--main-color);
        border: solid var(--main-color) 0.05vw;
    }

    /* checkbox */

    .check {
        display: block;
        position: relative;
        user-select: none;
    }

    .check input {
        position: absolute;
        left: 1vw;
        opacity: 0;
        cursor: pointer;
        height: 1vw;
        width: 1vw;
        z-index: 110;
    }

    .check {
        padding-left: 2vw;
    }

    .checkmark {
        position: absolute;
        top: 0.3vw;
        left: 1vw;
        height: 0.7vw;
        width: 0.7vw;
        border: 0.1vw solid var(--main-color);
        transition: .2s linear;
    }

    .check input:checked~.checkmark {
        background-color: transparent;
    }

    .checkmark:after {
        content: "";
        position: absolute;
        visibility: hidden;
        opacity: 0;
        left: 50%;
        top: 40%;
        width: 0.35vw;
        height: 0.55vw;
        border: 2px solid var(--main-color);
        filter: drop-shadow(0px 0px 10px var(--main-color));
        border-width: 0 2.5px 2.5px 0;
        transition: .2s linear;
        transform: translate(-50%, -50%) rotate(-90deg) scale(0.2);
    }

    .check input:checked~.checkmark:after {
        visibility: visible;
        opacity: 1;
        transform: translate(-50%, -50%) rotate(0deg) scale(1);
        animation: pulse 1s ease-in;
    }

    .check input:checked~.checkmark {
        transform: rotate(45deg);
        border: none;
    }

    /* switch */

    .toggle-switch {
        position: relative;
        display: inline-block;
        width: 3vw;
        height: 1.24vw;
        cursor: pointer;
    }

    .toggle-switch input[type="checkbox"] {
        display: none;
    }

    .toggle-switch-background {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: #ddd;
        border-radius: 20px;
        box-shadow: inset 0 0 0 2px #ccc;
        transition: background-color 0.3s ease-in-out;
    }

    .toggle-switch-handle {
        position: absolute;
        top: 0.12vw;
        left: 0.12vw;
        width: 1vw;
        height: 1vw;
        background-color: var(--main-color);
        border-radius: 50%;
        box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
        transition: transform 0.3s ease-in-out, background-color 0.3s;
    }

    .toggle-switch input[type="checkbox"]:checked+.toggle-switch-handle {
        transform: translateX(1.76vw);
        box-shadow: 0 2px 5px rgba(104, 65, 26, 0.2), 0 0 0 3px var(--main-color);
    }

    .toggle-switch input[type="checkbox"]:checked+.toggle-switch-background {
        background-color: rgb(129, 81, 32);
        box-shadow: inset 0 0 0 2px var(--main-color);
    }

    .toggle-switch input[type="checkbox"]:checked+.toggle-switch:before {
        content: "On";
        color: var(--main-color);
        right: -15px;
    }

    .toggle-switch input[type="checkbox"]:checked+.toggle-switch-background .toggle-switch-handle {
        transform: translateX(1.74vw);
        background-color: #ffffff;
    }

    /* Radio */

    .radio {
        display: flex;
        align-items: center;

        transition: all 0.2s ease-in-out;
    }

    .radio>input[type="radio"] {
        position: relative;
        left: 1vw;
        opacity: 0;
        cursor: pointer;
        height: 0.8vw;
        width: 0.8vw;
        z-index: 10;
    }

    .radio-checkmark {
        display: inline-block;
        position: relative;
        width: 0.8vw;
        height: 0.8vw;
        margin-right: 0.5vw;
        border: 2px solid var(--main-color);
        border-radius: 50%;
    }

    .radio-checkmark:before {
        content: "";
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%) scale(0);
        width: 0.4vw;
        height: 0.4vw;
        border-radius: 50%;
        background-color: var(--main-color);
        transition: all 0.2s ease-in-out;
    }

    .radio>input[type="radio"]:checked~.radio-checkmark:before {
        transform: translate(-50%, -50%) scale(1);
    }

    .radio-label {
        font-size: 1em;
        font-weight: 600;
    }

    /* Header */

    header {
        width: 100vw;
        height: 10vh;
        justify-content: space-around;
        align-items: center;
        z-index: 30;
        position: fixed;
        top: 0;
        transition: transform 0.2s ease-in-out;
    }

    #esp {
        width: 20vw;
    }

    .header-h {
        transform: translateY(-100%);
    }

    .header-s {
        background-color: #ffffff;
    }

    header img {
        width: 2vw;
        cursor: pointer;
    }

    #d-basket {
        position: relative;
    }

    #n-basket {
        position: absolute;
        background-color: var(--main-color);
        color: #ffffff;
        border-radius: 50%;
        height: 2vh;
        width: 2vh;
        top: 2vh;
        left: 1.5vw;
        text-align: center;
        font-weight: 900;
    }

    #user {
        display: block;
    }

    #user2 {
        display: flex;
        flex-direction: row;
        justify-content: space-around;
        align-items: center;
    }

    #userimg2 {
        z-index: 70;
    }

    #menu {
        padding-right: 3vw;
    }

    #menu>a {
        font-size: 1.5em;
    }

    #menu>a::after {
        content: '|';
    }

    #menu>a:last-child::after {
        content: '';
    }

    /* Popup */

    .popup {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(0, 0, 0, 0.6);
        align-items: center;
        justify-content: center;
        z-index: 1000;
    }

    .popup-content {
        background: #fff;
        padding: 1vw;
        border-radius: 15px;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
        text-align: center;
        width: 90%;
        max-width: 20vw;
    }

    .popup-content p {
        margin-bottom: 1vw;
        font-size: 1em;
    }


    /* Popover */

    .coll-item,
    .meubles-item,
    .type-item {
        cursor: pointer;
    }

    #coll-pop {
        display: none;
        background-color: rgb(255, 255, 255);
        position: fixed;
        flex-flow: column wrap;
        justify-content: space-between;
        align-content: space-around;
        left: 15vw;
        top: 6.5vh;
        width: 70vw;
        height: 40vh;
        z-index: 40;
    }

    .collcard {
        flex: 1 1 50%;
        display: flex;
        flex-direction: column;
        gap: 0.5vh;
    }

    .coll-link {
        font-family: 'bellerose', sans-serif;
        font-size: 1.8em;
        margin: 1vh 0 1vh 0;
    }

    #meub-pop {
        display: none;
        background-color: rgb(255, 255, 255);
        position: fixed;
        flex-flow: column wrap;
        justify-content: space-between;
        align-content: space-around;
        left: 21.5vw;
        top: 6.5vh;
        width: 70vw;
        height: 40vh;
        z-index: 40;
    }

    .meubcard {
        flex: 1 0 33%;
        display: flex;
        flex-direction: column;
        gap: 0.5vh;
    }

    /* Main */

    main {
        margin-top: 10vh;
        min-height: 65vh;
    }

    #logov {
        width: 12vw;
        box-sizing: border-box;
        position: fixed;
        top: 0;
        left: 0;
        padding-top: 11vh;
        padding-bottom: 2vh;
        padding-right: 2vw;
        background-color: #ffffff;
        z-index: 20;
    }

    #logoh {
        display: none;
    }

    /* Formulaires */

    fieldset {
        margin-top: 1vh;
        padding: 0.5vw;
        border: 0.1vw solid var(--main-color);
        border-radius: 10px;
    }

    legend {
        font-size: 1.2em;
        font-weight: 500;
        margin-left: 2vw;
        padding: 0.2vw;
        background-color: #ffffff;
        border: 0.05vw solid var(--main-color);
        border-radius: 10px;
    }

    select {
        color: var(--main-color);
        font-size: 1.2em;
        max-width: 15vw;
        height: 3vh;
        padding: 0 0.3vw;
        border-radius: 10px;
        border: 0.07vw solid #ffffff;
        cursor: pointer;
    }

    .flex-between {
        display: flex;
        justify-content: space-between;
    }

    .flex-between>label {
        font-size: 1.2em;
        color: var(--main-color);
        font-weight: 600;
    }

    .input-c {
        display: flex;
        align-items: center;
        height: 3vh;
    }

    .input {
        font-size: 1em;
        margin-left: 1vw;
        margin-right: 1vw;
        padding-left: 0.3vw;
        border: 0.05vw solid var(--main-color);
        border-radius: 10px;
        height: 100%;
        outline: none;
    }

    input:focus {
        outline: none;
    }

    textarea:focus {
        outline: none;
    }

    .i1 {
        width: 73%;
        height: 3vh;
    }

    .i2 {
        width: 35%;
        margin-right: 0;
        height: 3vh;
    }

    .i3 {
        margin-left: 1.5vw;
        width: 45%;
        height: 3vh;
    }

    .i4 {
        margin-left: 1.5vw;
        border-radius: 5px;
        width: 4vw;
        height: 2.5vh;
    }

    .i5 {
        width: 15%;
        height: 3vh;
    }

    .span {
        font-size: 1em;
        margin-left: 0.1vw;
        color: var(--main-color);
        font-weight: 500;
        cursor: pointer;
    }

    /* Footer */

    footer {
        width: 88vw;
        margin: 3vh 2vw 1vh 10vw;
    }

    footer>hr {
        margin: 2vh 12vw 0.5vh 8vw;
        border: none;
        border-bottom: 0.07vw solid
    }

    footer li {
        list-style-type: none;
        margin-top: 0.5vh;
    }

    #footer {
        justify-content: space-between;
    }

    #footnew {
        flex-grow: 2;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: space-around;
    }

    .foot {
        padding-left: 3vw;
        flex-grow: 1;
    }


    /* Newsletter */

    #contnew {
        grid-column: 9/13;
        grid-row: 9/12;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }

    #lab_mail {
        font-size: 1.3em;
    }

    #mail {
        font-size: 1.1em;
    }

    #lab_acc {
        font-size: 0.6em;
    }

    #lab_acc>b {
        font-size: 1em;
    }

    /* login */

    #popup-login {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(0, 0, 0, 0.6);
        align-items: center;
        justify-content: center;
        z-index: 100;
    }

    #form-log {
        display: flex;
        flex-direction: column;
        gap: 0.5vw;
        background-color: #ffffff;
        padding: 1vw;
        width: 30vw;
        border-radius: 15px;
    }

    #form-log p {
        text-align: center;
        font-size: 1em;
        margin: 0.1vh 0;
    }

    #checkspan {
        top: 0.1vw;
    }

    /* signin */

    #popup-signin {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(0, 0, 0, 0.6);
        align-items: center;
        justify-content: center;
        z-index: 100;
    }

    #form-sign {
        display: flex;
        flex-direction: column;
        gap: 0.5vw;
        background-color: #ffffff;
        padding: 1vw;
        width: 40vw;
        border-radius: 15px;
    }

    #popup-oubli {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(0, 0, 0, 0.6);
        align-items: center;
        justify-content: center;
        z-index: 100;
    }

    #form-oubli {
        display: flex;
        flex-direction: column;
        gap: 0.5vw;
        background-color: #ffffff;
        padding: 1vw;
        width: 40vw;
        border-radius: 15px;
    }

    /* compte */

    #popup-compte {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(0, 0, 0, 0.6);
        align-items: center;
        justify-content: center;
        z-index: 100;
    }

    #popup-compte>div {
        background-color: #ffffff;
        width: 40%;
        padding: 1vh 1vw;
        border-radius: 15px;
    }

    #popup-compte>div>hr {
        margin: 1vh 2vw;
    }

    #popup-compte>div>h3 {
        align-self: center;
    }

    #form-compte {
        display: flex;
        flex-direction: column;
        gap: 0.5vw;
    }

    #form-pass {
        display: flex;
        flex-direction: column;
        gap: 0.5vw;
    }

    #form-new {
        display: flex;
        justify-content: space-between;
        gap: 1vw;
        align-items: center;
    }

    #form-logout {
        display: flex;
        flex-direction: column;
        gap: 0.5vw;
        margin-top: 3vh;
    }

    /* Cookies */
    #popup-cookie {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(0, 0, 0, 0.6);
        align-items: center;
        justify-content: center;
        z-index: 100;
    }

    #cookies {
        background-color: #ffffff;
        width: 40%;
        padding: 1vh 1vw;
        border-radius: 15px;
    }

    #form-cookies {
        display: flex;
        flex-direction: column;
        gap: 1vh;
    }

    #form-cookie>input {
        align-self: center;
    }

    /* Panier */
    #popup-basket {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(0, 0, 0, 0.6);
        align-items: center;
        justify-content: center;
        z-index: 100;
    }

    #basket {
        background-color: #ffffff;
        width: 60%;
        padding: 1vh 1vw;
        border-radius: 15px;
    }

    #basket>p {
        margin: 1vh;
    }

    .icon-b {
        align-items: center;
        height: 100%;
    }

    .icon-b>img {
        width: 1.5vh;
        height: 1.5vh;
        cursor: pointer;
    }

    #tab-basket {
        border-collapse: collapse;
    }

    #tab-basket th {
        padding: 0.3vh 0.5vw;
        text-align: left;
        font-size: 1.1em;
    }

    #tab-basket td {
        padding: 0.5vh 0.5vw;
        font-size: 1.05em;
    }

    #tab-basket+div {
        display: flex;
        justify-content: end;
        align-items: center;
        gap: 0.4vw;
    }

    #com {
        font-size: 1em;
        margin: 0.5vh 0 2vh 0;
        width: 80%;
        padding: 0.2vh 0.1vw;
        border-color: var(--main-color);
        border-radius: 0.5vh;
    }

    #com :hover {
        outline: none;
    }

    #commande {
        width: 30%;
        margin-left: 35%;
        font-size: 1.2em;
        font-weight: 700;
    }
}

/* Tablette */
@media screen and (min-width : 768px) and (max-width : 1279px) {


    body {
        font-size: 18px;
    }

    a,
    a:visited {
        color: var(--main-color);
        text-decoration: none;
    }

    img {
        max-width: 100%;
        max-height: 100%;
    }

    h2 {
        font-size: 1.5em;
    }

    h3 {
        font-size: 1.3em;
        margin: 1vh 0 1vh 0;
    }

    h4 {
        font-size: 1.1em;
        margin: 0.5vh 0;
    }

    p {
        margin: 0.5vh 0 0.5vh 0;
    }

    #logov {
        display: none;
    }

    #logoh {
        position: fixed;
        top: 0;
        width: 100%;
        z-index: 10;
        background-color: #ffffff;
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 5vw;
        height: 10vh;
        padding-top: 1vh;
    }

    #burger {
        height: 6vh;
    }

    main {
        margin-top: 11vh;
        min-height: 67vh;
    }

    .grid {
        display: grid;
    }

    .flex-column {
        display: flex;
        flex-direction: column;
    }

    .flex-between {
        display: flex;
        justify-content: space-between;
    }

    .close {
        height: 3vh;
        width: 3vh;
    }

    .smc {
        font-family: 'social', sans-serif;
        font-size: 2rem;
        margin-top: 1vh;
        margin-left: 2vw;
        margin-right: 2vw;
        margin-bottom: 5vh;
    }

    .mimg {
        display: none;
    }

    .pad {
        display: none;
    }

    .eye {
        margin-left: 2vw;
    }

    .button {
        background-color: var(--main-color);
        color: #fff;
        border: solid 0.05vw var(--main-color);
        padding: 0.7vh;
        border-radius: 8px;
        font-size: 1.1em;

    }

    .button-submit {
        background-color: var(--main-color);
        border: none;
        color: white;
        font-size: 1.1em;
        font-weight: 500;
        padding: 0.7vh;
        border-radius: 10px;
        min-width: 60%;
        align-self: center;
        flex-shrink: 0;
    }

    /* Header */

    header {
        width: 40%;
        display: none;
        flex-direction: column;
        align-items: center;
        gap: 2vh;
        background-color: #ffffff;
        position: fixed;
        top: 10%;
        left: 50%;
        transform: translateX(-50%);
        z-index: 10;
        border: solid 2px var(--main-color);
        border-radius: 10px;
        padding: 1vh 0;
    }

    #d-basket {
        position: relative;
    }

    #n-basket {
        position: absolute;
        background-color: var(--main-color);
        color: #ffffff;
        border-radius: 50%;
        height: 1vh;
        width: 1vh;
        top: 1.5vh;
        left: 3vw;
        text-align: center;
        font-weight: 900;
        font-size: 0.8rem;
    }

    header img {
        height: 3vh;
    }

    #user2 {
        display: flex;
        justify-content: space-around;
        align-items: center;
        font-size: 1.4em;
    }

    #menu {
        width: 100%;
        display: flex;
        flex-direction: column;
        align-self: flex-start;
        align-items: flex-start;
        font-size: 1.4em;
        gap: 1vh;
    }

    #menu>a {
        width: 100%;
        padding-left: 5vw;
    }

    /* Footer */

    footer {
        width: 100%;
        padding: 10px;
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
    }

    footer>hr {
        width: 90%;
        margin-left: 5%;
        border: none;
        border-bottom: 2px solid
    }

    footer li {
        list-style-type: none;
        margin-top: 0.5vh;
    }

    #footer {
        width: 100%;
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
    }

    #footnew {
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .foot {
        width: calc((90%)/3);
    }

    .foot h3::before {
        content: '\2BC6';
        display: inline-block;
        transition: transform 0.3s;
    }

    .foot h3.rot::before {
        transform: rotate(-90deg);
    }

    .foot ul {
        display: none;
        flex-direction: column;
        margin-bottom: 3vh;
    }

    /* Popup */

    .popup {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(0, 0, 0, 0.6);
        align-items: center;
        justify-content: center;
        z-index: 9999;
    }

    .popup-content {
        background: #fff;
        padding: 1vw;
        border-radius: 15px;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
        text-align: center;
        width: 40%;
    }

    .popup-content p {
        margin-bottom: 1vw;
        font-size: 1.4em;
    }

    /* Popup Login */

    #popup-login {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(0, 0, 0, 0.6);
        align-items: center;
        justify-content: center;
        z-index: 100;
    }

    #form-log {
        background-color: #ffffff;
        display: flex;
        flex-direction: column;
        width: 50%;
        justify-content: space-around;
        align-items: center;
        gap: 2vh;
        border: solid 2px var(--main-color);
        border-radius: 10px;
        padding: 2vh;
    }

    #form-log>div {
        min-height: 4vh;
    }

    #form-log>p {
        padding: 0 3vw;
    }

    #checklog {
        flex-direction: column;
        gap: 2vh;
        align-items: center;
    }

    #checkspan {
        margin-right: 1vw;
    }

    /* Popup Signin */

    #popup-signin {
        display: none;
        flex-direction: column;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(0, 0, 0, 0.6);
        align-items: center;
        justify-content: center;
        z-index: 100;
    }

    #form-sign {
        display: flex;
        flex-direction: column;
        background-color: #ffffff;
        width: 50vw;
        height: 90vh;
        padding: 2vh;
        border-radius: 10px;
        overflow-y: auto;
        align-items: center;
        gap: 2vh;
    }

    #form-sign>.input-c {
        min-height: 4vh;
    }

    #form-sign>label {
        align-self: flex-start;
    }

    #form-sign>p {
        text-align: justify;
        padding: 0 3vw;
    }

    #form-sign>.check {
        align-self: flex-start;
    }


    /* Popup Oubli */

    #popup-oubli {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(0, 0, 0, 0.6);
        align-items: center;
        justify-content: center;
        z-index: 100;
    }

    #form-oubli {
        display: flex;
        flex-direction: column;
        gap: 1vh;
        background-color: #ffffff;
        padding: 2vh;
        width: 50vw;
        border-radius: 10px;
        align-items: center;
    }

    /* popup Compte */

    #popup-compte {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(0, 0, 0, 0.6);
        align-items: center;
        justify-content: center;
        z-index: 100;
    }

    #popup-compte>div {
        gap: 1vh;
        background-color: #ffffff;
        width: 50vw;
        padding: 2vh;
        border-radius: 10px;
        overflow-y: auto;
    }

    #popup-compte>div>.flex-between {
        width: 100%;
    }

    #form-compte {
        display: flex;
        flex-direction: column;
        gap: 1vh;
    }

    #form-pass {
        display: flex;
        flex-direction: column;
        gap: 1vh;
    }

    #cpv {
        flex-direction: column;
        height: 11vh;
        gap: 1vh;
    }

    #form-logout {
        display: flex;
        justify-content: center;
    }


    /* Popover */

    #coll-pop {
        display: none;
    }

    #meub-pop {
        display: none;
    }

    /* Popup Cookie */

    #popup-cookie {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(0, 0, 0, 0.6);
        align-items: center;
        justify-content: center;
        z-index: 100;
    }

    #cookies {
        gap: 1vh;
        background-color: #ffffff;
        width: 60vw;
        padding: 2vh;
        border-radius: 10px;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    #cookies p {
        text-align: justify;
    }

    #form-cookies {
        display: flex;
        flex-direction: column;
        gap: 2vh;
    }

    #form-cookies input[type="checkbox"] {
        margin-left: 3vw;
        align-self: center;
    }

    .toggle-switch {
        display: flex;
    }

    /* Formulaires */

    .input-c {
        height: 3vh;
        width: 100%;
        display: flex;
    }

    .input {
        font-size: 1.3rem;
        border-radius: 5px;
    }

    .input:focus {
        outline: none;
    }

    .i1 {
        width: 100%;
        height: 3vh;
    }

    .i2 {
        width: 100%;
        height: 3vh;
    }

    .i3 {
        width: 70%;
        height: 3vh;
    }

    .i5 {
        height: 3vh;
        width: 50%;
    }

    .flex-between {
        width: 100%;
    }

    .flex-between>label {
        color: var(--main-color);
        font-weight: 600;
    }

    /* Panier */

    #popup-basket {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(0, 0, 0, 0.6);
        align-items: center;
        justify-content: center;
        z-index: 100;
    }

    #basket {
        background-color: #ffffff;
        width: 96%;
        height: 90vh;
        padding: 2vh 2vw;
        border-radius: 15px;
        display: flex;
        flex-direction: column;
        overflow-y: auto;
    }

    #basket>p {
        margin: 1vh;
    }

    #tab-basket {
        display: block;
        flex-grow: 0;
        border-collapse: collapse;
        width: 100%;
    }

    #tab-basket tr:first-child {
        display: none;
    }

    #tab-basket tr {
        display: inline-block;
        height: 35vh;
        border: 1px solid var(--main-color);
        border-radius: 10px;
        padding: 2vw;
        margin: 1vh 2vw;
    }

    #tab-basket td {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 0.5vh 0;
        text-align: right;
        border-bottom: 1px dotted #ccc;
    }

    #tab-basket td[data-label*="Nom"],
    #tab-basket td[data-label*="Dimensions"] {
        flex-direction: column;
        align-items: flex-start;
        text-align: left;
    }

    #tab-basket td[data-label*="Nom"]>small {
        display: inline-flex;
    }

    #tab-basket td:last-of-type {
        border-bottom: none;
    }

    #tab-basket td::before {
        content: attr(data-label);
        font-weight: bold;
        text-align: left;
        margin-right: 1vw;
        white-space: nowrap;
    }

    #tab-basket td[data-label*="Nom"] ul {
        font-size: 0.9em;
        color: #555;
        list-style-position: inside;
        padding: 0;
        margin-top: 5px;
    }

    .icon-b {
        justify-content: center !important;
        padding-top: 1vh;
    }

    .icon-b::before {
        display: none;
    }

    .icon-b>img {
        width: 2.5vh;
        cursor: pointer;
        margin: 0 2vw;
    }

    #tab-basket+div {
        display: flex;
        justify-content: end;
        align-items: center;
        gap: 2vw;
        flex-shrink: 0;
        margin-top: 1vh;
    }

    #form-cmd {
        flex-shrink: 0;
    }

    #com {
        font-size: 1em;
        margin: 0.5vh 0 2vh 0;
        width: 80%;
        padding: 0.2vh 0.1vw;
        border-color: var(--main-color);
        border-radius: 0.5vh;
    }

    #com :hover {
        outline: none;
    }

    #commande {
        width: 30%;
        margin-left: 35%;
        font-size: 1.2em;
        font-weight: 700;
    }
}

/* Mobile */
@media screen and (max-width : 767px) {

    body {
        font-size: 17px;
    }

    a,
    a:visited {
        color: var(--main-color);
        text-decoration: none;
    }

    img {
        max-width: 100%;
        max-height: 100%;
    }

    h2 {
        font-size: 1.5em;
    }

    h3 {
        font-size: 1.3em;
        margin: 1vh 0 1vh 0;
    }

    h4 {
        font-size: 1.1em;
        margin: 0.5vh 0;
    }

    p {
        margin: 0.5vh 0 0.5vh 0;
    }

    #logov {
        display: none;
    }

    #logoh {
        position: fixed;
        top: 0;
        width: 100%;
        z-index: 10;
        background-color: #ffffff;
        display: flex;
        justify-content: space-around;
        align-items: center;
        height: 8.5vh;
        padding-top: 1vh;
    }

    main {
        margin-top: 12vh;
        min-height: 70vh;
    }

    .grid {
        display: grid;
    }

    .flex-column {
        display: flex;
        flex-direction: column;
    }

    .flex-between {
        display: flex;
        justify-content: space-between;
    }

    .close {
        height: 3vh;
        width: 3vh;
    }

    .smc {
        font-family: 'social', sans-serif;
        font-size: 2rem;
        margin-top: 1vh;
        margin-left: 2vw;
        margin-right: 2vw;
        margin-bottom: 5vh;
    }

    .button {
        background-color: var(--main-color);
        color: #fff;
        border: solid 0.05vw var(--main-color);
        padding: 0.7vh;
        border-radius: 8px;
        font-size: 1.1em;

    }

    .button-submit {
        background-color: var(--main-color);
        border: none;
        color: white;
        font-size: 1.1em;
        font-weight: 500;
        padding: 0.7vh;
        border-radius: 10px;
        min-width: 60%;
        align-self: center;
        flex-shrink: 0;
    }

    /* Header */

    header {
        width: 90%;
        display: none;
        flex-direction: column;
        align-items: center;
        gap: 1vh;
        background-color: #ffffff;
        position: fixed;
        top: 10%;
        left: 5%;
        z-index: 10;
        border: solid 2px var(--main-color);
        border-radius: 10px;
        padding: 1vh 0;
    }

    #d-basket {
        position: relative;
    }

    #n-basket {
        position: absolute;
        background-color: var(--main-color);
        color: #ffffff;
        border-radius: 50%;
        height: 2vh;
        width: 2vh;
        top: 2vh;
        left: 1.5vw;
        text-align: center;
        font-weight: 900;
    }

    header img {
        height: 5vh;
    }

    #user2 {
        display: flex;
        justify-content: space-around;
        align-items: center;
        font-size: 1.4em;
    }

    #menu {
        width: 100%;
        display: flex;
        flex-direction: column;
        align-self: flex-start;
        align-items: flex-start;
        font-size: 1.4em;
        gap: 2vh;
    }

    #menu>a {
        width: 100%;
        padding-left: 5vw;
    }

    #burger {
        width: 5vh;
        height: 5vh;
    }

    /* Footer */

    footer {
        width: 100%;
        padding: 10px;
        display: flex;
        flex-direction: column;
        align-items: flex-start;
    }

    footer>hr {
        width: 90%;
        margin-left: 5%;
        border: none;
        border-bottom: 2px solid
    }

    footer li {
        list-style-type: none;
        margin-top: 0.5vh;
    }

    #footnew {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .foot {
        display: block;
    }

    .foot h3::before {
        content: '\2BC6';
        display: inline-block;
        transition: transform 0.3s;
    }

    .foot h3.rot::before {
        transform: rotate(-90deg);
    }

    .foot ul {
        display: none;
        flex-direction: column;
        margin-bottom: 3vh;
    }

    /* Popup */

    .popup {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(0, 0, 0, 0.6);
        align-items: center;
        justify-content: center;
        z-index: 9999;
    }

    .popup-content {
        background: #fff;
        padding: 1vw;
        border-radius: 15px;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
        text-align: center;

    }

    .popup-content p {
        margin-bottom: 1vw;
        font-size: 1.4em;
    }

    /* Popup Login */

    #popup-login {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(0, 0, 0, 0.6);
        align-items: center;
        justify-content: center;
        z-index: 100;
    }

    #form-log {
        background-color: #ffffff;
        display: flex;
        flex-direction: column;
        width: 90%;
        justify-content: space-around;
        align-items: center;
        gap: 2vh;
        border: solid 2px var(--main-color);
        border-radius: 10px;
        padding: 3vh 2.5vw;
    }

    #form-log>div {
        min-height: 4vh;
    }

    #form-log>p {
        padding: 0 3vw;
    }

    .input-c img {
        display: none;
    }

    #checklog {
        flex-direction: column;
        gap: 2vh;
        align-items: center;
    }

    #checkspan {
        margin-right: 1vw;
    }

    #eye1 {
        display: inline;
        margin-left: 2vw;
    }

    /* Popup Signin */

    #popup-signin {
        display: none;
        flex-direction: column;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(0, 0, 0, 0.6);
        align-items: center;
        justify-content: center;
        z-index: 100;
    }

    #form-sign {
        display: flex;
        flex-direction: column;
        background-color: #ffffff;
        width: 95vw;
        height: 90vh;
        padding: 2vh 2.5vw;
        border-radius: 10px;
        overflow-y: auto;
        align-items: center;
        gap: 2vh;
    }

    #form-sign>.input-c {
        min-height: 4vh;
    }

    #form-sign>label {
        align-self: flex-start;
    }

    #form-sign>p {
        text-align: justify;
        padding: 0 3vw;
    }

    #form-sign>.check {
        align-self: flex-start;
    }

    /* Popup Oubli */

    #popup-oubli {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(0, 0, 0, 0.6);
        align-items: center;
        justify-content: center;
        z-index: 100;
    }

    #form-oubli {
        display: flex;
        flex-direction: column;
        gap: 1vh;
        background-color: #ffffff;
        padding: 2vh;
        width: 96vw;
        border-radius: 10px;
        align-items: center;
    }

    /* popup Compte */

    #popup-compte {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(0, 0, 0, 0.6);
        align-items: center;
        justify-content: center;
        z-index: 100;
    }

    #popup-compte>div {
        gap: 1vh;
        background-color: #ffffff;
        width: 96vw;
        height: 90vh;
        padding: 2vh;
        border-radius: 10px;
        overflow-y: auto;
    }

    #popup-compte>div>.flex-between {
        width: 100%;
    }

    #form-compte {
        display: flex;
        flex-direction: column;
        gap: 1vh;
    }

    #form-pass {
        display: flex;
        flex-direction: column;
        gap: 1vh;
    }

    #cpv {
        flex-direction: column;
        height: 11vh;
        gap: 1vh;
    }

    #form-logout {
        display: flex;
        justify-content: center;
    }


    /* Popover */

    #coll-pop {
        display: none;
    }

    #meub-pop {
        display: none;
    }

    /* Popup Cookie */

    #popup-cookie {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(0, 0, 0, 0.6);
        align-items: center;
        justify-content: center;
        z-index: 100;
    }

    #cookies {
        gap: 1vh;
        background-color: #ffffff;
        width: 96vw;
        padding: 2vh;
        border-radius: 10px;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    #cookies p {
        text-align: justify;
    }

    #form-cookies {
        display: flex;
        flex-direction: column;
        gap: 2vh;
    }

    #form-cookies input[type="checkbox"] {
        margin-left: 3vw;
        align-self: center;
    }

    .toggle-switch {
        display: flex;
    }

    /* Formulaires */

    .input-c {
        height: 4vh;
        width: 90%;
        display: flex;
    }

    .input {
        font-size: 1.3rem;
        border-radius: 5px;
    }

    .input:focus {
        outline: none;
    }

    .i1 {
        width: 100%;
        height: 4vh;
    }

    .i2 {
        width: 100%;
        height: 4vh;
    }

    .i3 {
        width: 70%;
        height: 4vh;
    }

    .i5 {
        height: 4vh;
        width: 50%;
    }

    .flex-between {
        width: 100%;
    }

    .flex-between>label {
        color: var(--main-color);
        font-weight: 600;
    }

    /* Panier */

    #popup-basket {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(0, 0, 0, 0.6);
        align-items: center;
        justify-content: center;
        z-index: 100;
    }

    #basket {
        background-color: #ffffff;
        width: 96%;
        height: 90vh;
        padding: 2vh 2vw;
        border-radius: 15px;
        display: flex;
        flex-direction: column;
        overflow-y: auto;
    }

    #basket>p {
        margin: 1vh;
    }

    #tab-basket {
        display: inline;
        flex-grow: 1;
        border-collapse: collapse;
        width: 100%;
    }

    #tab-basket tr:first-child {
        display: none;
    }

    #tab-basket tr {
        display: block;
        border: 1px solid var(--main-color);
        border-radius: 10px;
        padding: 2vw;
        margin-bottom: 2vh;
    }

    #tab-basket td {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 0.5vh 0;
        text-align: right;
        border-bottom: 1px dotted #ccc;
    }

    #tab-basket td[data-label*="Nom"],
    #tab-basket td[data-label*="Dimensions"] {
        flex-direction: column;
        align-items: flex-start;
        text-align: left;
    }

    #tab-basket td[data-label*="Nom"]>small {
        display: inline-flex;
    }

    #tab-basket td:last-of-type {
        border-bottom: none;
    }

    #tab-basket td::before {
        content: attr(data-label);
        font-weight: bold;
        text-align: left;
        margin-right: 1vw;
        white-space: nowrap;
    }

    #tab-basket td[data-label*="Nom"] ul {
        font-size: 0.9em;
        color: #555;
        list-style-position: inside;
        padding: 0;
        margin-top: 5px;
    }

    .icon-b {
        justify-content: center !important;
        padding-top: 1vh;
    }

    .icon-b::before {
        display: none;
    }

    .icon-b>img {
        width: 2.5vh;
        cursor: pointer;
        margin: 0 2vw;
    }

    #tab-basket+div {
        display: flex;
        justify-content: end;
        align-items: center;
        gap: 2vw;
        flex-shrink: 0;
        margin-top: 1vh;
    }

    #form-cmd {
        flex-shrink: 0;
    }

    #com {
        font-size: 1em;
        margin: 0.5vh 0 2vh 0;
        width: 80%;
        padding: 0.2vh 0.1vw;
        border-color: var(--main-color);
        border-radius: 0.5vh;
    }

    #com :hover {
        outline: none;
    }

    #commande {
        width: 30%;
        margin-left: 35%;
        font-size: 1.2em;
        font-weight: 700;
    }
}