* {
    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;
    padding: 15px;
    gap: 40px;
    flex-wrap: wrap;
    border-bottom: 2px solid #fff;
    align-items: center;
}

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

.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;
}

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


main {
    background-color: rgba(0, 16, 26, 0.95);
    color: white;
    padding: 80px 20px 100px 20px;
}


.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: 2px solid rgba(2, 184, 197);
    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;
}

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: 10px;
}







@media (max-width: 900px) {

    nav {
        gap: 10px;
    }

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

    .btn-back {
        display: none;
    }

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

