body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
}

	
.center {
    text-align: center;
}

section {
    margin: 1px;
}

section div {
    display: inline-block;
    margin: 0 1px;
}

.popup {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    color: white;
    text-align: center;
    padding-top: 100px;
}

.popup .close {
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 30px;
    cursor: pointer;
}


section#bloc1 {
   /* max-width: 500px; */
    margin: 0 auto;
}


/* Ajouter au styles.css 
section#bloc5 .center {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}

section#bloc5 .center div {
    flex: 0 0 33%;
    box-sizing: border-box;
    padding: 1px;
}


/* Ajouter au styles.css */
.grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
}

.grid div {
    max-width: 100%;
    box-sizing: border-box;
}

img, video {
    width: 80%; /*100%*/
    height: auto;
}

.popup img, .popup video {
    max-width: 90%;
    max-height: 90vh; /* Set the max height to 90% of the viewport height */
    object-fit: contain; /* Ensure images scale properly */
}

.popup {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    color: white;
    text-align: center;
    padding-top: 100px;
    z-index: 1000; /* Assurez-vous que le z-index soit élevé pour rester au-dessus de tout */
}

img, video {
    z-index: 1; /* Assurez-vous que le z-index des vidéos soit plus bas que celui des pop-ups */
}

#bloc3-1 {
    background-color: #e1ebef;/*lightcoral; /* Rouge clair */
}

#bloc3-2 {
    background-color: #e1ebef;/*#e2dfef;/*lightcoral; /* Rouge clair */
}

#bloc4-1 {
    background-color: #d4fbe0;/*lightgreen /* vert clair */
}

#bloc4-2 {
    background-color: #d4fbe0;/*#e2dfef;/*lightcoral; /* Rouge clair */
}

#bloc5-1 {
    background-color: #e1ebef;/*lightgreen /* vert clair */
}

#bloc5-2 {
    background-color: #e1ebef;/*#e2dfef;/*lightcoral; /* Rouge clair */
}

#bloc6-1 {
    background-color: #d4fbe0;/*lightcoral; /* Rouge clair */
}

#bloc6-2 {
    background-color: #d4fbe0;/*#e2dfef;/*lightcoral; /* Rouge clair */
}

#bloc7-1 {
    background-color: #e1ebef;/*lightgreen /* vert clair */
}

#bloc7-2 {
    background-color: #e1ebef;/*#e2dfef;/*lightcoral; /* Rouge clair */
}

#bloc8-1 {
    background-color: #d4fbe0;/*lightcoral; /* Rouge clair */
}

#bloc8-2 {
    background-color: #d4fbe0;/*#e2dfef;/*lightcoral; /* Rouge clair */
}

#bloc9-1 {
    background-color: #e1ebef;/*lightgreen /* vert clair */
}

#bloc9-2 {
    background-color: #e1ebef;/*#e2dfef;/*lightcoral; /* Rouge clair */
}



#bloc10-1 {
    background-color: #d4fbe0;/*lightcoral; /* Rouge clair */
}

#bloc10-2 {
    background-color: #d4fbe0;/*#e2dfef;/*lightcoral; /* Rouge clair */
}

#bloc11-1 {
    background-color: #e1ebef;/*lightgreen /* vert clair */
}

#bloc11-2 {
    background-color: #e1ebef;/*#e2dfef;/*lightcoral; /* Rouge clair */
}

#bloc12-1 {
    background-color: #d4fbe0;/*lightcoral; /* Rouge clair */
}

#bloc12-2 {
    background-color: #d4fbe0;/*#e2dfef;/*lightcoral; /* Rouge clair */
}

#bloc13-1 {
    background-color: #e1ebef;/*lightgreen /* vert clair */
}

#bloc14-2 {
    background-color: #e1ebef;/*#e2dfef;/*lightcoral; /* Rouge clair */
}


#password-protect input {
    padding: 10px;
    font-size: 16px;
    margin-right: 10px;
}

#password-protect button {
    padding: 10px;
    font-size: 16px;
    background-color: white;
    color: black;
    border: none;
    cursor: pointer;
}

#password-protect button:hover {
    background-color: grey;
}
