@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: 35px;
    letter-spacing: 3px;
}

hr {
    width: 30%;
    margin: 1em auto;
    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: 28px;
    letter-spacing: 2.8px;
}

.Description {
    padding-left: 4%;
    padding-bottom: 1%;
    font-size: 25px;
}

.audio-container {
    margin-left: 40px;
    float: right; 
    margin-right: 4%; 
    margin-top: 10px;
}

.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 {
    width: 70%;
    max-width: 600px;
    height: auto;
    overflow: hidden;
    border-radius: 10px;
    margin: 0 auto;
}

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

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

.text-container {
    margin-left: 0;
    font-size: 25px;
    text-align: center;
}

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

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;
}

header img {
    display: block;
    margin: 0 auto;
    max-width: 100%;
    transition: width 1s ease;
}

header h1 {
    transition: display 1s ease;
}

header.titre-cache {
    padding: 5px;
}

header.titre-cache img {
    width: 5%;
}

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;
}



.comment-section {
    background-color: #f2f2f2;
    padding: 10px;
    border-radius: 10px;
    margin-bottom: 20px;
    margin-left: 50px;
    margin-top: 30px;
    justify-content: flex-start;
    position: relative;
    bottom: 20px; 
    right: 20px; 
    max-width: 90%;
    z-index: 1000;
}


.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;
}



@media only screen and (max-width: 768px) {
    .mosaic-container {
        flex-direction: column;
        align-items: center;
    }

    .image-container {
        width: 60%;
        height: auto;
    }

    .text-container {
        margin-left: 0;
        text-align: center;
        font-size: 20px;
    }

    .audio-container {
        float: none;
        margin-right: 0;
        margin-top: 30px;
    }

    .comment-section {
       margin-top: 20px; 
       width: 80%; 
       text-align: center; 
       position: fixed;
    }
}

