header {
    background-color: #000;
    color: #f5f5dc; 
    padding: 20px;
    border-radius: 10px;
    margin-bottom: 20px; 
}

header nav {
    background-color: #000; 
    padding: 10px 0;
}

header ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
    text-align: center;
}

header li {
    display: inline;
    margin: 0 10px;
}

header a {
    color: #f5f5dc; 
    text-decoration: none;
    font-size: 18px;
}

.centre {
    height: 400px;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

header a:hover {
    color: #b8afaf; 
}


body {
    background: #f5f5dc;
    height: 100%;
    min-height: 1000px;
    background-repeat: no-repeat;
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif; 
}

main {
    width: 90%; 
    margin: 20px auto; 
    padding: 0 20px 3% 20px;
    background: linear-gradient(rgb(20, 19, 19), #545252);
    height: auto;
}


.main_listing {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    margin-top: 20px; 
}

.main_listing .bloc_joueur {
    margin-top: 4%;
    width: 30%;
    height: 325px;
    background-color: rgb(224, 224, 224);
    border-radius: 20px;
    border: solid 1px white;
    display: flex;
}

.img_joueur {
    position: relative;
    object-fit: cover;
    left: 0;
    width: 47.5%;
    height: 325px;
    border-right: solid 1px;
    border-radius: 20px 0 0 20px;
}

.info_joueur {
    display: flex;
    flex-direction: column;
}

.bloc_joueur .bloc_info_joueur {
    background-color: #1c1c1c;
    width: 52.5%;
    border-radius: 0 20px 20px 0;
}

.bloc_info_joueur h1 {
    font-size: 20px;
    text-align: center;
}

.info_joueur img {
    height: 35px;
    width: 50px;
    margin: 10px auto -10px auto;
}

.info_joueur ul {
    list-style: none;
    padding: 0;
    margin-left: 15px;
}

.info_joueur li {
    padding: 5px 0;
}


.search-form {
    width: 50%;
    margin: 20px auto;
    padding: 20px;
    background-color: #000; 
    color: #f5f5dc; 
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.search-form label {
    display: block;
    margin-bottom: 5px;
}

.search-form input[type="text"] {
    width: 100%;
    padding: 8px;
    margin-bottom: 10px;
    color: #000;
}

.search-form input[type="submit"] {
    background-color: #f5f5dc;
    color: #000;
    border: none;
    padding: 10px 20px;
    cursor: pointer;
    border-radius: 5px;
}

.search-form input[type="submit"]:hover {
    background-color: #f5f5dc;
}


#club {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
}


.player-card {
    width: 45%;
    margin-bottom: 20px;
    background-color: #000; 
    color: #f5f5dc; 
    border-radius: 10px;
    padding: 20px;
}


.player-photo {
    padding: 20px;
    text-align: center;
}

.player-photo img {
    max-width: 100%;
    border: 2px solid #f5f5dc; 
}


.player-info {
    padding: 20px;
}

.player-info p {
    margin: 0 0 10px 0;
    font-size: 16px;
    color: #f5f5dc; 
}


.player-photo img {
    max-width: 100%;
    height: 200px; 
    object-fit: cover; 
    border: 2px solid #f5f5dc; 
}

#banner {
    width: 100%;
    overflow: hidden;
}

#banner img {
    width: 100%;
    height: auto;
    display: block;
}

#photo_gestion1 {
    height: 75px;
    width: auto;
}

footer {
    height: 40px;
    background-color: #f5f5dc; 
    border-top: 1px solid black;
    position: fixed;
    bottom: 0;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.background-image {
    background-image: url('/images/fondnba.webp');
    background-size: cover; 
    background-position: center; 
    position: relative;
    height: 400px; 
}

.text-top-right {
    position: absolute;
    top: 20px;
    right: 20px;
    color: white;
}
.text-below-image {
    text-align: center; 
    color: #030303; 
    font-size: 25px; 
    line-height: 1.5; 
}
.text-below-image p {
    margin-top: 143px;
}
