body {
    /* font-family: Arial, sans-serif; */
    font-family: 'Titillium Web', sans-serif;
    margin: 0;
    padding: 0;
    /* background-image: url('./assets/enveloppe.png'); */
    /* background-size: cover;
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat; */
}

@media screen and (max-width: 600px) {
    .picture-panel {
        width: 95%; /* Increase width for smaller screens */
    }

    .close-panel {
        font-size: 20px; /* Decrease the size of the close icon for smaller screens */
    }
    
    .picture-panel-content {
        flex-direction: column;
        align-items: center;
    }

    .picture-description {
        padding-left: 0;
        padding-top: 20px; /* adjust as needed */
    }
}

.menu-panel {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 50px;
    background-color: white;
    border-bottom: 1px solid black;
    display: flex;
    justify-content: center; 
    align-items: center;
    padding: 0 20px;
    z-index: 1;
}

/* ----- TOP MENU ------ */
.menu-text {
    color: black;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 20px;
}

.menu-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 20px;
}

.menu-text a {
    color: black;
    text-decoration: none;
}

.menu-item {
    width: 30px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center; 
}

/* ----- ARTIST PANEL ----- */

.artist-panel img {
    max-width: 100%;
    height: auto;
    margin: 0 auto;
}

.artist-image {
    width: 60%;
    height: auto;
    object-fit: contain;
}

/* .artist-panel {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80%;
    max-width: 1000px;
    background-color: white;
    color: black;
    padding: 20px;
    box-sizing: border-box;
    overflow: auto;
    border: 1px solid black;
    z-index: 3;
} */

.artist-panel {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80%;
    max-width: 1000px;
    background-color: white;
    color: black;
    padding: 20px;
    box-sizing: border-box;
    overflow: auto;
    border: 1px solid black;
    z-index: 3;
}

@media screen and (max-width: 768px) {
    .artist-panel {
        width: 95%;
    }
    .artist-image {
        width: 100%;
    }
    .artist-panel-content {
        flex-direction: column;
    }
}

.artist-panel-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.artist-description {
    margin-left: 20px;
}

.close-panel {
    position: absolute;
    top: 5px;
    right: 5px;
    font-size: 30px;
    cursor: pointer;
    color: black;
    z-index: 10;
}

/* ----- PAGE CONTENT ------ */
.shop-panel {
    position: fixed;
    top: 50px; /* Adjust this value based on the height of your menu panel */
    left: 0;
    width: 100%;
    height: calc(100% - 50px); /* Adjust this value based on the height of your menu panel */
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-gap: 10px; /* Adjust this value based on the desired gap between your pictures */
    padding: 10px;
    box-sizing: border-box;
    overflow-y: auto;
    z-index: 1;
}

.shop-panel a {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: start;
    text-align: center;
}

.shop-panel img {
    width: 100%;
    max-width: 200px;
    height: auto;
    object-fit: cover;
}

.image-title {
    margin: 5px 0;
    font-size: 14px;
    text-align: center;
    font-weight: bold; /* Make the title bold */
}

.image-date {
    margin: 5px 0;
    font-size: 14px;
    text-align: center;
}

.image-container {
    text-align: center;  /* Ensure contents of this container are centered */
}

.image-wrapper {
    position: relative;
    display: inline-block;
}

.image-ribbon {
    position: absolute;
    bottom: 0;
    width: 100%;
    padding: 2px 0;
    background: purple;
    color: rgb(255, 255, 255);
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 15px;
    text-align: center;
    box-sizing: border-box;
}

/* --- PICTURE PANEL --- */

.picture-panel {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80%;
    max-width: 1000px;
    background-color: white;
    color: black;
    padding: 5px;
    box-sizing: border-box;
    overflow: auto;
    z-index: 3;
    border: 1px solid black;
    max-height: 90%; 
    overflow-y: auto; 
}

.picture-panel .image-ribbon {
    position: absolute;
    bottom: 0;
    width: 100%;
    padding: 5px 0;
    background: purple;
    color: rgb(255, 255, 255);
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 15px;
    text-align: center;
    box-sizing: border-box;
    pointer-events: none;
}

#picture-panel-img {
    width: 90%; /* adjust as needed */
    height: auto; /* maintain aspect ratio */
    max-width: 600px; /* prevent the image from becoming too large on big screens */
    align-items: center;
    /* max-height: 95%; */
}

.picture-panel-content {
    display: flex;
    justify-content: space-between;
    /* align-items: center; */
}

.picture-description {
    flex: 1;
    padding-left: 5px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
}

.watermark {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    padding: 5px 0;
    background: rgba(255, 255, 255, 0.2);
    color: rgb(255, 255, 255);
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 15px;
    pointer-events: none;
    text-align: center;
}

.picture-container {
    display: flex;
    justify-content: center; /* Horizontally centers content */
    align-items: center; /* Vertically centers content */
    position: relative; /* Add this */
    flex: 1;
}

.description-container {
    flex: 1;
    display: inline-block; 
    position: relative;
}

.picture-panel-watermark {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
}

#picture-panel-title {
    font-size: 24px; /* Adjust as needed */
    font-weight: bold; /* Make the title bold */
    margin-bottom: 10px; /* Adjust as needed */
}

#picture-panel-date {
    font-size: 18px; /* Adjust as needed */
    font-style: italic; /* Make the date italic */
    margin-bottom: 10px; /* Adjust as needed */
}

#picture-panel-description {
    font-size: 16px; /* Adjust as needed */
    margin-bottom: 10px; /* Adjust as needed */
}

#picture-panel-characteristics {
    font-size: 14px; /* Adjust as needed */
    font-family: 'Courier New', monospace; /* Change the font for characteristics */
}

.picture-panel-ribbon {
    padding: 2px 0;
    background: purple;
    color: rgb(255, 255, 255);
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 15px;
    pointer-events: none;
    text-align: center;
    box-sizing: border-box;
    width: 100%; /* Ensure the ribbon takes the full width of the container */
}

/* --- BACKGOUND ON ACTIVE PICTURE PANEL --- */

#overlay {
    display: none;
    position: fixed; /* Sit on top of the page content */
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(255, 255, 255, 0.5); /* White background with opacity */
    z-index: 2; /* Specify a stack order in case you're using a different order for other elements */
}

/* --- RIBBON COLOR --- */
.ribbon-sold {
    background-color: purple;
}

.ribbon-disp-QC {
    background-color: cornflowerblue;
}

.ribbon-disp-TUN {
    background-color: mediumturquoise;
}

.ribbon-reserved {
    background-color: lightcoral;
}

.ribbon-selling {
    background-color: rgb(28, 87, 52);
}