 /* Dark Mode */
 :root {
    --nav-link-color: #000000;
    --navtitle-color: #000000;
    --body-color: #ffffff;
    --modal-bg-light: #ffffff;
    --modal-text-light: #000000;
    --p-color: #000000;
    --input-bg: #ffffff;
    --input-text: #000000;

    
    
}

.dark-mode {
    --nav-link-color: #ffffff;
    --navtitle-color: #ffffff;
    --body-color: #0a0a0a;
    --modal-bg-dark: #121212;
    --modal-text-dark: #ffffff;
    --p-color: #ffffff;
    --input-bg: #121212;
    --input-text: #ffffff;
  
    
}

/* Navbar desktop */
.navbar {
    height: 100vh;
    position: fixed;
    top: 0;
    left: 0;
    width: 500px;
    padding-top: 20px;
    z-index: 10;
}
.navmenu {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    width: 100%;
    padding-left: 20px;
}
.navmenu .nav-link {
    margin: 0;
    font-family: "Quintessential", serif;
    font-size: 1.7rem;
    color: #121212;
    color: var(--nav-link-color);
    margin-inline: 10px;
    text-shadow: none;
    text-decoration: none;
    transition: text-decoration 0.3s ease;
}
.navmenu .nav-item .nav-link:hover {
    text-decoration: underline;
    color: #121212;
    color: var(--nav-link-color);
}
#sidebar {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: start;
    text-align: center;
}
.navbar-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 2rem;
}
.navtitle {
    margin-bottom: 20px;
    font-family: "Quintessential", serif;
    margin-top: 0.5rem;
    color: var(--navtitle-color);
    font-size: 1.5rem;
    font-weight: bold;   
}
.social-icons {
    position: absolute;
    bottom: 20px;
    left: 20px;
    width: calc(60% - 10px);
    max-width: 100%;
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: space-between;    
}
.social-buttons {
    display: flex; 
}
#darkModeBtnMobile i, #darkModeBtnDesktop i {
    font-size: 40px;
}
.buttonnav {
    background: transparent;
    border: none;
    margin-bottom: 10px;
}
.social-icons a {
    margin-left: 3px;
    transition: transform 0.3s;
}
.social-icons a:hover {
    transform: scale(1.1);
}
.mobile-header {
    display: none;
}

/* CSS Global */
.modal-header, .modal-body {
    background-color: var(--modal-bg-dark);
}
.modal-header h3 {
    color: var(--modal-text-dark);
}
.backgroundcolor {
    background-color: var(--body-color);
}
.img-fluid {
    cursor: pointer;
}
.maincontenu {
    width: 100%;
    margin: 20px auto;
    padding: 0 40px;
    box-sizing: border-box;
}
.pagetitle {
    text-align: center;
    font-family: "Quintessential", serif;
    margin-bottom: 50px;
    margin-top: 30px;
    font-weight: bold;
    color: var(--p-color);
}
.pagetitle2 {
    text-align: center;
    font-family: "Lexend Deca", serif;
    font-size: 20px;
    margin-bottom: 50px;
    margin-top: 30px;
    color: var(--p-color);
}
.pagetitle3 {
    text-align: center;
    font-family: "Lexend Deca", serif;
    font-size: 20px;
    margin-top: 20px;
    color: var(--p-color);
}
p {
    font-family: "Lexend Deca", serif;
    color: var(--p-color);
}
ul, li, ol {
    font-family: "Lexend Deca", serif;
    color: var(--p-color);
}
.quote {
    text-align: center;
    font-family: "Quintessential", serif;
    font-size: 30px;
    padding: 20px;
    color: var(--p-color);
}
footer {
    position: sticky;
    top: 100vh;
    margin-top: auto;
    text-align: center;
}
.footerlegal {
    font-family: "Lexend Deca", serif;
    cursor: pointer;
    font-weight: bold;
    text-decoration: none;
    color: black;
    color: var(--p-color);
    margin-bottom: 20px;
}
.footerlegal:hover {
    text-decoration: underline;
    color: #121212;
    color: var(--nav-link-color);
}
/*Page Contact */
form label {
    font-family: "Lexend Deca", serif;
    color: var(--p-color);
}
.contacttext {
    font-family: "Lexend Deca", serif;
}
.contacticon{
    margin-bottom: 15px;
}
.confirmation-message {
    display: none; 
    text-align: center; 
    margin-top: 20px;
    font-family: "Lexend Deca", serif;
    font-size: 20px;
}
.contact-form {
    background-color: var(--modal-bg-dark);
    color: var(--form-text-color);

}



/*Page à propos*/
.apropostext1 {
    padding-right: 30px;
    font-size: 19px;
}
.aproposimg1 {
    box-shadow: -7px 7px 7px rgba(0, 0, 0, 0.3);
    border-radius: 5px;
    cursor: pointer;
}
.uniform-images img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 5px;
    box-shadow: -7px 7px 7px rgba(0, 0, 0, 0.3);
    cursor: pointer;
}
.modal-fullscreen {
    height: 100vh;
    width: 100vw;
    max-width: 100%;
    margin: 0;
}
.modal-body img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}


/*Page Accueil*/
.homeimgs {
    margin: 30px;
}
.homeimgs img {
    border-radius: 5px;
    box-shadow: -7px 7px 7px rgba(0, 0, 0, 0.3);
    cursor: pointer;
    margin-bottom: 10px;
}

/*Page Portoflio*/
body.dark-mode .portfoliomenu {
    color: #ffffff !important;
}
.portfoliomenu {
    font-family: "Quintessential", serif;
    font-size: 1.5rem;
    color:#000000;
    text-decoration: none;
}
.portfoliomenu:hover {
    text-decoration: underline;
    color: #121212;
}
.subcategory-title {
    text-align: center;
    margin-bottom: 30px;
    font-family: "Lexend Deca", serif;
    color: var(--p-color);
}

/* Page Boutique */
#cart-icon {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1000;
}
img {
    transition: transform 1s ease, opacity 1s ease;
}
#cart-icon a {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: white;
    padding: 10px 20px;
    width: auto;
    border-radius: 5px;
}
.card-body {
    background-color: var(--modal-bg-dark);
}
.table th, td {
    color: var(--p-color);
}
.card .form-control {
    background-color: var(--modal-bg-dark);
    color: var(--form-text-color);
}
.formbackground {
    background-color: var(--modal-bg-dark);
}

@media only screen and (max-width: 932px) {
    /* Navbar mobile */
    #sidebar {
        display: none;
    }
    .mobile-header {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        position: fixed;
        top: 0;
        width: 100%;
        height: 250px;
        z-index: 10;
        background-image: url('images/navbarimgmobile.png');
        background-size: cover;
        background-position: center;
    }
    .navbar-toggler {
        position: absolute;
        top: 15px;
        right: 15px;
        z-index: 11;
        border: none;
    }
    main {
        margin-top: 250px;
    }
    .mobile-header .navimg {
        width: 180px;
        height: auto;
    }
    .mobile-header .navtitle {
        font-size: 20px;
        margin: 0;
    }
    .nav-link:hover {
        text-decoration: underline;
        color: #121212;
    }
    header .nav-link {
        margin: 0;
        font-family: "Quintessential", serif;
        font-size: 1.5rem;
        color: #121212;
        color: var(--nav-link-color);
        margin-inline: 10px;
        text-shadow: none;
        text-decoration: none;
        transition: text-decoration 0.3s ease;
    }
    .offcanvas-title {
        font-family: "Quintessential", serif;
        font-size: 2.5rem;
        color: #121212;
        color: var(--navtitle-color);
        margin-inline: 10px;
        text-shadow: none;
        text-decoration: none;
    }

    /*Page à propos*/
    .aproposimg1 {
        margin-bottom: 40px;
    }
    .apropostext1 {
        padding-right: 0;
    }
    .uniform-images img {
        margin-top: 20px;
    }
    iframe {
        width: 100%;
        max-width: 500px;
    }

    /*CSS Global*/
    p {
        text-align: center;
    }

    /*Page Boutique*/
    #cart-icon {
        position: relative;
        top: 0;
        margin-top: 20px;
        margin-bottom: 20px;
        left: 50%;
        transform: translateX(-50%);
        z-index: 0;
    }

    #cart-icon a {
        width: auto;
        text-align: center;
        padding: 10px 20px;
        border-radius: 5px;
    }
    
    
}