bodyx {
    padding: 0px;
}

/* Bouton */
#openModal {
    display: block;
    box-sizing:  border-box;
    width: 290px;
    height: 60px;
    padding: 0px;
    padding-left: 60px;
    font-size: 19px;
    line-height: 19px;
    font-weight: normal;
    padding-top: 2px;
    text-align: left;
    border-radius: 30px;
    border: none;
    cursor: pointer;
    background-color: #000000;
    color: white;
    margin-top: 20px;
    margin-bottom: 50px;
    background-image: url(../icon/ecrire-blanc.png);
    background-repeat: no-repeat;
    background-position: left 10px center;
    background-size: 40px auto;
    transition: 0.3s;
}
#openModal:hover {
    background-color: #0088B6;
}
/* Fond sombre */
#modalOverlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.6);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

/* Fenêtre */
#modalBox {
    width: 90%;
    max-width: 600px;
    height: 560px;
    box-sizing: border-box;
    background: #ffffff;
    background-image: linear-gradient(to bottom, #ffffff, #eeeeee);
    border-radius: 20px;
    border: 5px solid #ffffff;
    box-shadow: 0px 0px 15px #000000;
    position: relative;
    overflow: hidden;
    /* Animation */
    animation: zoomIn 0.3s ease;
}
@media (max-width: 600px) {
#modalBox {
    height: 90%;
}
}

/* Iframe */
#modalBox iframe {
    width: 100%;
    max-width: 550px;
    height: 100%;
    padding: 15px;
    border: none;
    overflow: hidden;
    background-image: url(/icon/commentaires.png);
    background-position: left 15px top 10px;
    background-size: 60px;
    background-repeat: no-repeat;
}
@media (max-width: 600px) {
#modalBox iframe {
    width: 90%;
    max-width: 90%;
}
}

/* Bouton fermer */
#closeModal {
    position: absolute;
    box-sizing:  border-box;
    top: 10px;
    right: 10px;
    width: 40px;
    height: 40px;
    padding-bottom: 5px;
    border-radius: 50%;
    background: #000000;
    color: #ffffff;
    border: none;
    font-size: 24px;
    line-height: 22px;
    text-align:  center;
    cursor: pointer;
    z-index: 10;
    tansition: 0.3s;
}
/* Animation d’ouverture */
@keyframes zoomIn {
    from {
        transform: scale(0.7);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}




/* NOMBRE COMMENTAIRES TOP */
div#nombre-de-commentaires-top {
    display: block;
    width: 100%;
    font-family: 'Varela Round', sans-serif;
    font-size: 24px;
    line-height: 24px;
    text-align: left;
    padding-top: 10px;
}
div#nombre-de-commentaires-top span.icon {
    float: left;
    width: 80px;
    margin-top: -30px;
    margin-left: -5px;
    margin-right: 10px;
}
div#nombre-de-commentaires-top span.icon img {
    display: block;
    width: 100%;
}
div#nombre-de-commentaires-top a {
    text-decoration: underline;
}
div#soyez-le-premier {
    display: block;
    clear: both;
    font-size: 18px;
    line-height: 24px;
    top: -5px;
    margin-bottom: 10px;
    color: #49b453;
}
/* NOMBRE COMMENTAIRES TOP END */




/* NOMBRE COMMENTAIRES BOTTOM */
div#nombre-de-commentaires {
    display: block;
    width: 100%;
    font-size: 26px;
    font-weight: bold;
    margin-bottom: 0px;
}
div#nombre-de-commentaires span.icon {
    float: left;
    width: 100px;
    margin-top: -40px;
    margin-right: 10px;
}
div#nombre-de-commentaires span.icon img {
    display: block;
    width: 100%;
}
/* NOMBRE COMMENTAIRES BOTTOM END */




/* AFFICHE COMMENTAIRES */
div.comments-section {
  width: 100%;
  margin-bottom: 0px;
}
div.comments-list {
  display: flex;
  flex-direction: column;
  gap: 0px;
}
div.comment {
  box-sizing: border-box;
  overflow: hidden;
  opacity: 0;
  max-height: 0;
  transform: translateY(8px);
  padding: 0 18px;
  margin: 0;
  border-bottom: 1px solid #ffffff;
  background-color: #f7fbfd;
  color: #1f2933;
  line-height: 1.6;
    transition: opacity 2s ease, max-height 1s ease, transform 0.7s ease, padding 0.7s ease, box-shadow 0.7s ease, background 0.7s ease;
}
div.comment:nth-child(even) {
    background-color: #f5f5f5;
}
div.comment:nth-child(even):hover {
    background-color: #D9F0FD;
}
div.comment:nth-child(odd) {
    background-color: #f1f1f1;
}
div.comment:nth-child(odd):hover {
    background-color: #D9F0FD;
}
div.comment div.comment-author {
    display: block;
    font-size: 15px;
    font-weight: bold;
    color: #000000;
    margin-right: 10px;
    margin-bottom: 5px;
}
div.comment div.comment-text {
    display: block;
    font-size: 16px;
    line-height: 22px;
    margin-bottom: 5px;
    color: #0088B6;
}
div.comment div.comment-date {
    display: block;
    font-size: 15px;
    color: #999999;
}
div.comment.visible {
  opacity: 1;
  max-height: 500px;
  transform: translateY(0);
  padding: 15px;
  border-width: 1px;
}
div.comments-buttons {
    margin-top: 15px;
    display: flex;
    flex-wrap: wrap;
}
div.comments-buttons button.comments-btn {
    padding: 18px;
    background-color: #000000;
    color: #ffffff;
    border: none;
    border-radius: 30px;
    cursor: pointer;
    margin-right: 10px;
    font-size: 19px;
    font-family: 'Varela Round', sans-serif;
    transition: background 0.3s ease;
}
div.comments-buttons button.comments-btn:hover {
    background-color: #0088B6;
}
/* AFFICHE COMMENTAIRES END */






























