* {
    padding: 0;
    margin: 0;
    font-family: "Inter Tight", sans-serif;
}

a {
    text-decoration: none;
    color: white;
}

nav {
    background: linear-gradient(rgba(0, 0, 0, 0.73), rgba(0, 0, 0, 0.604)), url('../Images/imgFondNav.png');
    background-repeat: no-repeat;
    background-position: 55% 9%;
    background-size: cover;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 15px;
    gap: 40px;
    flex-wrap: wrap;
    border-bottom: 2px solid #fff;
}

.buttonNav {
    display: flex;
    gap: 40px;
    font-size: 1.4rem;
    font-weight: bold;
    color: white;
}

a:hover {
    color: rgba(2, 184, 197);
}

.btn-back {
    position: absolute;
    left: 20px;
    padding: 8px 14px;
    background-color: rgba(0, 0, 0, 0.55);
    border: 1.5px solid #02b8c5;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.25s ease;
}

.btn-back img {
    max-width: 20px;
}

.btn-back:hover {
    background-color: white;
}






main {
    background-color: rgba(0, 16, 26, 0.95);
    color: white;
}



main p {
    margin: 2% 10%;
}

h2 span {
    color: #02b8c5;
    font-size: 2.3rem;
}

span {
    color: #02b8c5;
}

a span {
    color: #02b8c5;
    font-weight: bold;
    font-size: 1.2rem;
}

a span:hover {
    color: white;
}

h2 {
    padding-top: 60px;
    text-align: center;
}

.table-container {
  width: 100%;
  overflow-x: auto;
}

table {
    margin: 30px 100px;
    border-collapse: collapse;
    table-layout: fixed;
    width: 85%;
}

th {
    border: 4px solid white;
    padding: 40px 5px;
    color: white;
    background-color: #000a11;
    font-weight: bold;
}

td {
    border: 4px solid white;
    padding: 50px 5px;
    color: white;
    background-color: rgb(0, 10, 17);
    text-align: center;
    
}

.real {
    background-color: white;
    color: rgb(0, 10, 17);
    font-weight: bold;
}

.ligne1 {
    padding-top: 10px;
    padding-bottom: 10px;
    background-color: #02b8c5;
}

.content {
    background-color: transparent;
}


.table-container img {
    width: 40%;
    border-radius: 10px;
}

.table-container img:hover {
    cursor: pointer;
}



.container {
    display: flex;
    justify-content: center;
    gap: 50px 40px;
    flex-wrap: wrap;
    margin-top: 50px;
}


.card {
    background-color: rgba(0, 16, 26, 0.953);
    border: 2px solid rgba(2, 184, 197);
    border-radius: 20px;
    text-decoration: none;
    color: white;
    width: 300px;
    padding-bottom: 20px;
    box-shadow: 0 0 25px rgba(0,0,0,0.35);
    transition: 0.2s ease-in-out;
    cursor: pointer;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 0 35px rgba(2, 184, 197, 0.4);
    color: white;
}


.card img {
    width: 100%;
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
    border-bottom: 2px solid rgba(2, 184, 197);
    max-height: 260px;
    object-fit: cover;
}


.card h2 {
    padding: 15px;
    padding-bottom: 5px;
    text-align: center;
    
}

.card p {
    padding-left: 15px;
    padding-right: 15px;
    padding-bottom: 10px;
    opacity: 0.85;
    text-align: center;
}

.disabled {
    cursor: not-allowed;
    opacity: 0.5;
}

.disabled:hover {
    transform: none;
    box-shadow: none;
    background-color: rgb(0, 0, 0);
}







footer {
    background-color: rgba(0, 16, 26, 0.953);
    color: white;
    display: flex;
    flex-direction: row;
    justify-content: center;
    text-align: center;
    font-size: 0.7rem;
    padding: 50px;

}







@media (max-width: 900px) {

    .buttonNav {
        font-size: 1rem;
        flex-wrap: wrap;
        justify-content: center;
        gap: 10px;
    }

    .btn-back {
            display: none;
        }

    main {
        flex-direction: column;
        align-items: center;
        padding: 20px;
    }

    table {
        margin: 20px 0;
        width: 100%; /* prend toute la largeur disponible */
    }

    th, td {
        padding: 10px 5px; /* moins de padding pour petits écrans */
        font-size: 0.9rem;
    }

    img {
        width: 80%; /* image plus petite sur mobile */
    }
}

