* {
    box-sizing: border-box;
}

body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    font-family: Arial, sans-serif;
    font-weight: 400;
    font-size: 1.2rem;
    line-height: 1.4;
    color: black;
    background-color: whitesmoke;
    height: 100%;
    margin: 0;
}

.header {
    display: flex;
    align-items: center;
    padding: 5px;
    background: #bbbbbb;
    text-align: center;
    position: sticky;
}

.logo {
    width: 150px;
    height: auto;
    margin-left: auto;
    align-items: flex-end;
}

h1 {
    text-align: center;
}

.menu-btn {
    font-size: 1.2rem;
    margin-right: 10px;
    background: none;
    border: none;
}

.menu {
    display: none;
    flex-direction: column;
    background: #ddd;
}

.menu.active {
    display: flex;
}

.menu a {
    padding: 10px;
    text-decoration: none;
    color: black;
    border-bottom: 1px solid #bbb;
}


img {
    max-width: 100%;
    height: auto;
    width: auto;
    display: block;
    margin: auto;
}

main {
    padding: 1rem;
    max-width: 100%;
    margin: 0 auto;
    flex: 1;
}

main p {
    display: flex;
    justify-content: center;
    padding: 20px;
    box-sizing: border-box
}

a {
    color: black;
    text-decoration: none;
}

a:hover {
    color: purple;
    text-decoration: underline;
    font-weight: bold;
}

.menu {
    display: none;
    flex-direction: column;
}

.menu a {
    padding: 10 px;
    border-bottom: 1px solid #ccc;
}

.avatar {
    max-width: 200px;
    text-align: center;
    box-shadow: 7px 7px 21px rgba(0, 0, 0, 0.3);
    border-radius: 10%;
}
.avatar2 {
    max-width: 200px;
    text-align: center;
    box-shadow: 7px 7px 21px rgba(0, 0, 0, 0.3);
}
.avatar3 {
    justify-content: center;
    align-content: flex-end;
    max-width: 40px;
    text-align: center;
    box-shadow: 0px 0px 0px rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: flex-end;
    margin-left: 0;
}

table {
    border-collapse: collapse;
    text-align: center;
    border: 3px solid black;   /* Bordure extérieure */
}

th, td {
    border: 1px solid black;
    padding: 8px;
    text-align: center;
}

.tt {
    margin : auto;
    border-collapse: collapse;
    width: 50%;
    font-weight: bold;
}

.tt th {
    background-color: darkred;
    color: white;
    padding: 10px;
    border: 1.5px solid black;   /* Bordure extérieure */
}

.tt td {
    padding: 8px;
    border: 1.5px solid black;   /* Bordure extérieure */
}

/* Lignes impaires */
.tt tr:nth-child(odd) td {
    background-color: red;
}

/* Lignes paires */
.tt tr:nth-child(even) td {
    background-color: antiquewhite; /* rouge foncé */
    color: black;
}

.footer {
    font-size: 1.2rem;
    text-align: center;
    background-color: lightgrey;
    color: black;
    margin-top: 0.5rem;
    padding: 10px;
    max-width: 100%;
    height: auto;
    width: auto;
}

.footer-content {
    display: flex;
    justify-content:space-around;
    align-items: center;
    flex-wrap: wrap;
    margin-bottom: 1px;
}

.footer-content img {
    display: inline-block;
    width: 30px;
}

.footer-content a {
    display: flex;
    align-items: center;
    gap: 8px;
    color: black;
    text-decoration: none;
}

a:hover {
    color: purple;
    text-decoration: underline;
    font-weight: bold;
}

/* Tablette / Desktop */

@media (min-width: 768px) {
    .menu {
        display: flex;
        flex-direction: row;
        justify-content: space-around;
    }

    .menu-btn {
        display: none;
    }

    main {
        max-width: auto;
        margin: auto;
    }
}