@charset "utf-8";

/* Styles généraux */
body2 {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 20px;
    color: #333;
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: #ffffff;
    background-image: url('infographies/FondWebFonce.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
}

/* En-tête */
header2 {
    text-align: center;
    padding: 10px 0;
}
.header-image2 {
    width: 500px;
}

/* Liens et boutons */
.link-green2 {
    color: #54B420;
    text-decoration: none;
    font-weight: bold;
    cursor: pointer;
}
.link-green2:hover {
    text-decoration: underline;
}

/* Pied de page */
footer {
    text-align: center;
    margin-top: 20px;
    padding: 10px 0;
    background-color: #f1f1f1;
}
.year {
	font-size: 30px;
	text-align: center;
    margin-top: 20px;
    padding: 10px 0;
    font-family: Verdana, sans-serif;
  	background: transparent;
  	color: #69D586;
}
/* Pop-up */
.popup {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.85);
    justify-content: center;
    align-items: center;
    z-index: 1000;
    overflow: auto; /* Permet le scroll si nécessaire */
}

.popup-content {
    width: 95%;
    max-width: 1000px;
    background: white;
    padding: 20px;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.popup iframe {
    width: 100%;
    height: auto; /* ← Change de 700px à auto */
    aspect-ratio: 16 / 9; /* Assure un bon ratio */
    max-height: 90vh;
    border-radius: 8px;
}

.main-image {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 40px auto;
}

.close-btn {
	margin-top: 15px;
    padding: 10px 20px;
    color: white;
    background-color: #044400;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}
.close-btn:hover {
    background-color: #63BD65;
}
