body {
    margin: auto;
    font-family: Arial, sans-serif;
    background-color: #f4f4f4;
    color: #333;
    display: flex;
    max-width: 1080px;
    flex-direction: column;
    min-height: 100vh;
    background:#001f3f;
    justify-content: space-around;

}

header {
    background-color: #001f3f;
    color: white;
    padding: 20px;

}
.logo-link {
    display: inline-block;
    text-decoration: none;
}

.logo {
    height: 60px;
    width: auto;
    object-fit: contain;
    transition: transform 0.2s ease;
}

.logo:hover {
    transform: scale(1.1);
}
.header-container {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: nowrap;
    width: 100%;
}

.logo-container {
    flex: 0 0 auto;
}

.logo {
    height: 60px;
    width: auto;
}

nav {
    display: flex;
    justify-content: center;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 40px;
    margin: 0;
    padding: 0;
}

nav ul li {
    display: inline-block;
}

nav ul li a {
    color: white;
    text-decoration: none;
    font-size: 1.2em;
    font-weight: bold;
    padding: 10px 15px;
    transition: all 0.3s;
}

nav ul li a.active {
    color: #ff9900;
}

nav ul li a:hover {
    color: #ff9900;
}

nav ul li a:active {
    color: black;
    background-color: white;
}

.logo-container img {
    height: 60px;
    width: auto;
    object-fit: contain;
}

main {
    flex: 1;
}

.image-container {
    position: relative;
}

.full-screen-img {
    width: 100%;
    height: 100vh;
    object-fit: cover;
}

.overlay-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    background: rgba(0, 31, 63, 0.78);
    color: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0px 10px 20px rgba(0, 0, 0, 0.3);
    max-width: 90%;
    width: 800px;
    font-family: Arial, sans-serif;
}

.overlay-text h2 {
    font-size: 2.2em;
    margin-bottom: 15px;
    font-weight: bold;
    color: #ffffff;
    text-transform: uppercase;
}

.overlay-text p {
    font-size: 1.1em;
    line-height: 1.6;
    margin-bottom: 10px;
    opacity: 1;
    color: #e0f0ff;
}

.overlay-text p strong {
    color: #00bfff;
    font-weight: bold;
}
form {
    width: 350px;
    margin: 50px auto;
    padding: 20px;
    background-color: #ffffff;
    border-radius: 10px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
    border: 2px solid #001f3f;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    display: flex;
    gap: 20px;
}

.input-container {
    flex: 1;
}

label {
    font-weight: bold;
    color: #001f3f;
    text-transform: uppercase;
    font-size: 0.9em;
}
label span {
    color: red;
    font-weight: bold;
}

input[type="text"],
input[type="email"],
textarea {
    width: 100%;
    padding: 8px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 0.9em;
    transition: border-color 0.3s;
}

input[type="text"], input[type="email"] {
    height: 35px;
}

textarea {
    resize: none;
    height: 80px;
}

input[type="submit"] {
    background-color: #001f3f;
    color: white;
    font-size: 1em;
    padding: 10px;
    border: none;
    border-radius: 5px;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.3s, transform 0.2s;
}

input[type="submit"]:hover {
    background-color: #001f3f;
    transform: scale(1.05);
}

.player-cards-container {
    display: flex;
    justify-content: space-evenly;
    gap: 20px;
    flex-wrap: wrap;
    padding: 20px;
}

.player-card {
    background-color: #ffffff;
    border: 2px solid #0077cc;
    border-radius: 10px;
    width: 18%;
    box-shadow: 0px 4px 12px rgba(0, 0, 0, 0.1);
    text-align: center;
    padding: 15px;
    transition: transform 0.3s ease-in-out;
}

.player-card:hover {
    transform: scale(1.05);
}

.player-img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 15px;
}

.player-card h3 {
    color: #0077cc;
    font-size: 1.3em;
    margin: 10px 0;
}

.player-card p {
    color: #333;
    font-size: 1em;
    line-height: 1.4em;
}

.djokovic-card-container {
    display: flex;
    justify-content: center;
    margin-top: 40px;
}

.djokovic-card {
    width: 30%;
    border: 3px solid #0077cc;
    background-color: #ffffff;
    box-shadow: 0px 8px 20px rgba(0, 0, 0, 0.1);
    padding: 20px;
}

.djokovic-card h3 {
    font-size: 1.6em;
    margin-bottom: 15px;
}

.djokovic-card p {
    font-size: 1.1em;
    color: #333;
    line-height: 1.5em;
}
#tabledonnee_wrapper{
    width: 90%;
    margin: 20px auto;
}

#tabledonnee {

    border-collapse: collapse;
    font-size: 1em;
    background-color: white;
    color: #333;
    border: 1px solid #ddd;
}

#tabledonnee thead tr {
    background-color: #001f3f;
    color: white;
}

#tabledonnee th,
#tabledonnee td {
    padding: 12px 15px;
    text-align: center;
    border: 1px solid #ddd;
}

#tabledonnee tbody tr:nth-of-type(even) {
    background-color: #f4f4f4;
}

#tabledonnee tbody tr:hover {
    background-color: #ffebcc;
}

.dataTables_filter label {
    font-weight: bold;
    color: #001f3f;
    display: flex;
    align-items: center;
    gap: 10px;
}

.dataTables_filter input {
    background-color: #001f3f;
    border: 2px solid #001f3f;
    color: white;
    padding: 5px 10px;
    border-radius: 5px;
    outline: none;
    font-size: 1em;
    transition: all 0.3s ease;
}

.dataTables_filter input:focus {
    background-color: #003366;
    border-color: #ff9900;
    box-shadow: 0 0 5px rgba(255, 153, 0, 0.5);
}
#tabledonnee_info, .dataTables_paginate, input[type='search'] {
    color: white !important;
}

select {
    background: white !important;
    color: black;
}

#tabledonnee_filter > label {
    color: white;
}

p.center {
    color: white;
    text-align: center;
}

.gallery {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    padding: 20px;
    max-width: 100%;
    overflow: auto;
}

.gallery-image {
    width: 300px;
    height: auto;
    border-radius: 10px;
    transition: filter 0.3s ease-in-out, transform 0.3s ease-in-out;
    cursor: pointer;
    flex-shrink: 0;
    filter: grayscale(100%);
}

.gallery-image:hover {
    filter: grayscale(0%);
    transform: scale(1.05);
}

.gallery-container {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    padding: 20px;
}
.credits-container {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
    padding: 20px;
    background: #00274D;
    border-radius: 10px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.3);
    max-width: 90%;
    margin: 20px auto;
}

.credit {
    text-align: center;
    width: 250px;
    background: white;
    padding: 15px;
    border-radius: 10px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease-in-out;
}

.credit:hover {
    transform: scale(1.05);
}

.credit img {
    width: 200px; 
    height: 150px; 
    object-fit: cover; 
    border-radius: 10px;
    margin-bottom: 10px;
}

.credit-text {
    font-size: 1em;
    font-style: italic;
    color: #333;
    transition: color 0.3s ease-in-out;
}

.credit-text:hover {
    color: #ff9900;
}

.author {
    font-weight: bold;
    color: #0077cc;
    transition: color 0.3s ease-in-out;
}

.author:hover {
    color: #ffcc00;
}
#motivation, #documents {
    text-align: justify;
    background-color: #001f3f;
    color: #FFFFFF;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 5px 5px 10px rgba(0, 0, 0, 0.3);
    font-family: Arial, sans-serif;
}

.membres {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}

.membres article {
    display: flex;
    margin: 20px;
    width: 800px;
    background-color: #00274D;
    border-radius: 10px;
    box-shadow: 5px 5px 10px rgba(0, 0, 0, 0.3);
    position: relative;
}

.membres article img {
    width: 200px;
    height: 300px;
    border-radius: 10px 0 0 10px;
}

.membres article div {
    padding: 20px;
    text-align: justify;
    color: #E0F0FF;
    font-family: Arial, sans-serif;
}

.membres article a {
    text-decoration: none;
    color: #FFCC00;
    font-weight: bold;
    font-size: 20px;
    position: absolute;
    bottom: 20px;
    right: 20px;
}

.membres article a:hover {
    text-decoration: underline;
}

#documents {
    text-align: center;
    background-color: #001f3f;
    color: #FFFFFF;
    font-family: Arial, sans-serif;
}

#documents a {
    text-decoration: none;
    color: #FFCC00;
    font-weight: bold;
    margin: 0 20px;
}

#documents a:hover {
    text-decoration: underline;
}

footer {
    background-color: #001f3f;
    color: white;
    text-align: center;
    padding: 20px;
    font-size: 1.1em;
    font-weight: bold;
}

footer p {
    margin: 5px 0;
}

.credit-text {
    font-size: 1em;
    font-style: italic;
    transition: transform 0.3s ease-in-out, color 0.3s;
}

.credit-text:hover {
    transform: scale(1.1);
    color: #ff9900;
}

.author {
    font-weight: bold;
    color: #00bfff;
    transition: color 0.3s ease-in-out;
}

.author:hover {
    color: #ffcc00;
}

footer li {
    list-style: none;
    margin-top: 10px;
}

footer a {
    color: white;
    text-decoration: none;
    font-size: 1.1em;
    transition: color 0.3s ease-in-out;
}

footer a:hover {
    color: #ff9900;
}
