* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    height: 100%;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Arial', sans-serif;
    background: linear-gradient(to bottom right, #f0f4f7, #c2e9fb);
    display: flex;
    flex-direction: column;
    min-height: 100vh; /* S'assure que le body prend toute la hauteur de la fenêtre */
}

.container {
    text-align: center;
    max-width: 1000px;
    margin: auto;
    flex-grow: 1; /* Permet à la container de s'étendre pour occuper l'espace entre le header et le footer */
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.image-container {
    position: relative;
    margin-bottom: 20px;
    perspective: 1000px;
    display: inline-block;
    cursor: pointer;
    transition: transform 0.2s ease-out;
    transform-style: preserve-3d;
    will-change: transform;
}

.text-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white; /* Couleur du texte */
    font-size: 24px; /* Taille du texte */
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7); /* Ombre pour améliorer la lisibilité */
    text-align: center; /* Centrer le texte */
    background-color: rgba(0, 0, 0, 0.5); /* Fond semi-transparent */
    padding: 10px; /* Espacement autour du texte */
    border-radius: 5px; /* Coins arrondis */
}

.frog-image {
    max-width: 200px;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.5s ease, box-shadow 0.3s ease;
}

.image-container:hover .frog-image {
    transform: scale(1.5);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
}

.welcome-text h1 {
    font-size: 3rem;
    color: #333;
}

.welcome-text p {
    font-size: 1.2rem;
    color: #555;
    margin-top: 10px;
}

@media (max-width: 768px) {
    .welcome-text h1 {
        font-size: 2.5rem;
    }

    .welcome-text p {
        font-size: 1rem;
    }
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 100;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    justify-content: center;
    align-items: center;
}

.modal-content {
    position: relative;
    background-color: white;
    padding: 20px;
    border-radius: 10px;
    max-width: 600px;
    text-align: center;
}

.modal-content img {
    max-width: 100%;
    border-radius: 10px;
}

.download-btn {
    margin-top: 20px;
    padding: 10px 20px;
    background-color: #3498db;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

.close-btn {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 20px;
    cursor: pointer;
}

/* Footer */
.footer {
    background-color: #333;
    color: #fff;
    padding: 20px 0;
    width: 100%;
}

footer p {
    margin: 0;
    padding: 0;
}

.footer .footer-container {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    width: 100%;
}

.footer-section {
    width: 30%;
}

.footer-section h3 {
    font-size: 18px;
    margin-bottom: 10px;
}

.footer-section p,
.footer-section ul,
.footer-section li {
    margin: 5px 0;
}

.footer-section ul {
    list-style-type: none;
    padding: 0;
}

.footer-section ul li a {
    color: #aaa;
    text-decoration: none;
}

.footer-section ul li a:hover {
    color: #fff;
    text-decoration: underline;
}

.footer-bottom {
    text-align: center;
    padding: 20px 0;
    border-top: 1px solid #444;
    margin-top: 40px;
}

.footer-bottom p {
    margin: 0;
    font-size: 14px;
}

@media (max-width: 768px) {
    .footer-section {
        width: 100%;
        margin-bottom: 20px;
    }
}
