body {
    font-family: 'Arial', sans-serif;
    margin: 0;
    padding: 0;
    background-color: #1a1a1a;
    color: #cccccc;
}

header {
    background-color: #ff6600;
    color: #ffffff;
    padding: 0.3em;
    text-align: center;
    #gradient {
        background: linear-gradient(90deg, #f0340c, orange);
        height: 100%;
    }
}

nav {
    background-color: #282828;
    padding: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
    overflow: hidden;
}

li {
    float: left;
}

a {
    display: block;
    color: #ffffff;
    text-align: center;
    padding: 12px 16px;
    text-decoration: none;
}

a:hover {
    background-color: #444444;
    color: #ffffff;
    transition: background-color 0.3s ease;
    border-radius: 12.5px;
}

.dropdown {
    display: inline-block;
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: #282828;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
    z-index: 1;
}

.dropdown:hover .dropdown-content {
    display: block;
}

section {
    max-width: 800px;
    margin: 20px auto;
    padding: 20px;
    background-color: #2c2c2c;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
}

h2 {
    color: #ff6600;
    border-bottom: 2px solid #ff6600;
    padding-bottom: 10px;
}

p {
    line-height: 1.6;
    color: #cccccc;
}

.dropdown-content a:visited {
    color: #cccccc;
}

#sticky-footer {
    background-color: #282828;
    color: #ff6600;
    text-align: center;
    padding: 0.5em;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    display: none;
    border-top: 2px solid #444444;
}

a.mail {
    color: #ffffff;
}

.logo img {
    width: 50px;
    height: auto;
}

blockquote {
    margin: 0 auto;
    max-width: 540px;
    text-align: center;
}

#btn {
    display: none;
    position: fixed;
    bottom: 20px;
    right: 30px;
    z-index: 99;
    font-size: 18px;
    border: none;
    outline: none;
    background-color: red;
    color: white;
    cursor: pointer;
    padding: 15px;
    border-radius: 4px;
}

#btn:hover {
    background-color: #555;
}

.titre {
    font-style: italic;
    text-decoration: underline;
    color: #ff6600;
    text-align: center; 
}

.article {
    text-align: justify;
}

.liste_article {
    padding-left: 40px;
}

/** Tableau - Spring to Life **/

table {
    table-layout: fixed;
    width: 100%;
    border-collapse: collapse;
    border: 3px solid #ff6600;
}

thead th:nth-child(1) {
    width: 20%;
}

thead th:nth-child(2) {
    width: 20%;
}

thead th:nth-child(3) {
    width: 20%;
}

th {
    padding: center;
    padding-top: 15px;
    padding-bottom: 15px;
    color: #ff6600;
}

td {
    text-align: center;
    padding-top: 10px;
    padding-bottom: 10px;
}

thead th,

tbody th {
  border: 3px solid #ff6600;
}

tbody td {
    border-right: 3px solid #ff6600;
}

/** Section photo **/

.section_photo {
    max-width: 1200px;
    margin: 20px auto;
    padding: 20px;
    background-color: #333232;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
}

.galerie_photo {
    max-width: 350px;
    margin: 10px auto;
    padding-left: 35px;
}

/** text et photo "Chase the skies" **/

.centre {
    display: flex;
    justify-content: center;
    margin: 20px auto;
    max-width: 1200px;
    /* largeur*/
    padding: 20px;
}

.text2 {
    display: flex;
    flex-wrap: wrap;
    /* colonne */
    background-color: #2c2c2c;
    border-radius: 10px;
    padding: 20px;
    gap: 20px;
    /* espace entre texte et image */
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.3);
    width: 100%;
}

.infobox {
    flex: 0 0 250px;
    /* largeur flexible */
    background-color: #333232;
    border-radius: 10px;
    padding: 15px;
    text-align: center;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
    /* effet hover */
}

.infobox:hover {
    transform: scale(1.05);
    /* zoom au survol */
}

.infobox img {
    width: 100%;
    /* l’image prend toute la largeur de la boîte */
    height: auto;
    border-radius: 8px;
}

.caption {
    font-size: 0.9em;
    color: #ccc;
    margin-top: 8px;
    font-style: italic;
}

.text2 section {
    flex: 1;
    min-width: 300px;
    color: #cccccc;
    line-height: 1.6;
}

/* Responsive */
@media screen and (max-width: 768px) {
    .text2 {
        flex-direction: column;
        align-items: center;
    }

    .infobox {
        width: 80%;
    }

    .text2 section {
        width: 90%;
    }
}