/*------------------------------POLICE-------------------------------------------------------------------*/
@font-face {
    font-family: 'Gold_Lines';
    font-weight: 400;
    src: url('../Polices/gold_lines/Gold_Lines_Serif_Trial.woff') format('woff'),
         url('../Polices/gold_lines/Gold_Lines_Serif_Trial.otf') format('opentype');
}
@font-face {
    font-family: 'Minions';
    font-weight: 400;
    src: url('../Polices/Minion_Pro_Cond_Subhead/Minion_Pro_Cond_Subhead.otf') format('opentype');
}

#Titre {
    font-family: 'Gold_Lines';
    color: #000000;
    font-weight: bolder;
    font-size: 18px ;
    letter-spacing: 6px;
}

.TitreOeuvre {
    text-align: center;
    padding-top: 28px;
    padding-bottom: 2px;
    font-family: "Minions";
    font-weight: bolder;
    font-size: 28px;
    letter-spacing: 3px;
}

hr {
    width: 30%;
    margin: 1em auto; /* Centre horizontalement la ligne dans la div */
    border: 0;
    border-top: 1px solid #C51028;
    padding: 0;
}

.AuteurOeuvre {
    text-align: center;
    padding-top: 5px;
    padding-bottom: 15px;
    font-family: "Minions";
    font-weight: bolder;
    font-size: 22px;
    letter-spacing: 2.8px;
}

.Description {
    padding-left: 4%;
    padding-bottom: 1%;
}

/* -----------------------------------MOSAIC----------------------------------------------------------*/

.mosaic-wrapper {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    padding-top: 10px;
}

.mosaic-container {
    display: flex;
    flex-direction: row;
    align-items: top;
    margin-right: 2%;
    margin-left: 2%;
    max-width: 100%;
}

main {
    width: 100%;
    margin: 0 auto;
    padding: 0px;
}

.image-container {
    position: fixed;
    width: 800px; 
    height: 1000px; 
    overflow: hidden;
    border-radius: 10px;
}

img {
    width: 100%; 
    height: auto; 
    object-fit: contain; 
    border-radius: 7.8px;
}


ul {
    list-style-type: circle;
    padding-left: 5%;
}

.text-container {
    margin-left: 820px; 
}


/*-----------------------TRAITEMENT DU LOGO HEADER-----------------------------------------------------*/

#logo {
    width: 49px;
    height: auto;
    margin: 1px auto;
}

/*--------------------------------------------HEADER------------------------------------------------------*/

header {
    background-color: #ffffff;
    text-align: center;
    color: #ffffff;
    padding: 10px;
    position: sticky;
    top: 0;
    border: 0.3px solid #ffffff; 
    z-index: 900;
    transition: padding 0.7s ease, height 0.7s ease;
}

/* Ajoutez cette règle pour centrer l'image dans le header */
header img {
    display: block;
    margin: 0 auto;
    max-width: 100%;
    transition: width 1s ease;
}

/* Ajoutez cette règle pour le titre du header */
header h1 {
    transition: display 1s ease;
}

/* Ajoutez cette règle pour le header fixe (sticky) lorsque le titre est caché */
header.titre-cache {
    padding: 5px;
}

/* Ajoutez cette règle pour centrer l'image dans le header lorsque le titre est caché */
header.titre-cache img {
    width: 5%;
}

/* Ajoutez cette règle pour le titre du header lorsque le titre est caché */
header.titre-cache h1 {
    display: none;
}

.divTitre {
    display: flex;
    justify-content: center;
    align-items: center;
    max-width: 180px;
    margin: 0 auto;
}

a {
    text-decoration: none;
    color: #000;
}

/*-----------------------------------------FOOTER----------------------------------------------*/



#Copyright{
    width: 100%;
    display: flex;
    justify-content: left;
}

#Contact{
    width: 40%;
    display: flex;
    justify-content: right;
}

/*-------------------- MEDIA QUERIES ---------------- */
@media only screen and (max-width: 768px) {
    .mosaic-container {
        width: 100%;
        margin-right: 0;
        margin-left: 0;
    }
    
    .image-container {
        width: 100%;
    }
    
    header {
        padding: 5px;
    }
}

.comment-section {
    background-color: #f2f2f2;
    padding: 10px; /* Reducimos el padding para hacer la caja de comentarios más pequeña */
    border-radius: 10px;
    margin-bottom: 20px; /* Movemos la caja de comentarios hacia arriba */
    justify-content: flex-start; /* Alineamos la caja de comentarios a la izquierda */
    margin-top: 10px; /* Reducimos el espacio en la parte superior */
    position: fixed; /* Establecemos la posición fija */
    bottom: 130px; /* Ajustamos la distancia desde la parte inferior */
    left: calc(100% - 1600px); /* Movemos la caja de comentarios hacia la derecha */
    max-width: 400px; 
}

.comment-section h2 {
    font-family: 'Minions';
    font-size: 20px; 
    color: #C51028;
    margin-bottom: 10px;
}

.comment-section textarea {
    width: calc(100% - 20px); 
    padding: 5px; 
    border: 1px solid #ddd;
    border-radius: 5px;
    resize: none;
    margin-bottom: 10px;
    font-family: 'Minions';
    font-size: 14px; 
}

.comment-section input[type="submit"] {
    background-color: #C51028;
    color: #fff;
    border: none;
    padding: 8px 16px; 
    cursor: pointer;
    border-radius: 5px;
    font-family: 'Minions';
    font-size: 14px; 
}

.comment-section input[type="submit"]:hover {
    background-color: #950B1B;
}


footer {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

footer {
    font-family: 'Minions';
    padding: 10px;
    background-color: #e4e3e3;
    border-top: 1px solid #ccc; 
    z-index: 1000; 
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
}