/* RESET & FONT */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Inter Tight", sans-serif;
}

/* NAV */
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;
    border-bottom: 2px solid white;
}

.infoNav {
    color: white;
    font-weight: bold;
    font-size: 1.4rem;
}

.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 */
main {
    background-color: rgba(0, 16, 26, 0.95);
    color: white;
    padding: 80px 20px 100px 20px;
}

/* Container des cartes */
.container {
    display: flex;
    justify-content: center;
    gap: 50px 40px;
    flex-wrap: wrap;
}


.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: 1px solid white;
    max-height: 260px;
    object-fit: cover;
}


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

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


.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-bottom: 40px;
    padding-top: 40px;
}


@media (max-width: 768px) {
    nav {
        text-align: center;
    }
    .btn-back {
            display: none;
        }
}