a {
    color: inherit;
    text-decoration: none;
    /* transition: color 1s ease; */
}

a:hover {
    color: rgb(92, 232, 138);
    transition: color 1s ease;
}

a:active {
    color : rgb(46, 117, 70);
    transition: color 1s ease;
}

body {
    font-family: "Orbitron";
    background-color: rgb(22, 22, 22);
    color: white;
}

/* --- NAVIGATION --- */

header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    display: flex;
    justify-content: space-between; /* un élément à gauche, un à droite */
    align-items: center;
    padding: 10px;
    /* background-color: rgba(0, 0, 0, 0.4); */
    /* backdrop-filter: blur(5px); */
}

body {
    font-family: "Orbitron";
    background-color: rgb(22, 22, 22);
    padding-top: 64px; /* préserve l’espace en haut sous le header */
}

.logo {
    display: flex;
    color: rgb(77, 194, 116);
    font-size: 20px;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 0;

    padding: 10px 20px;
    background-color: rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(5px);
    border-radius: 50px;
    border: 2px solid rgb(77, 194, 116, 0.3);
}

.logo > a {
    display: flex;
    align-items: center;
    gap: 10px;
    color: inherit;
    text-decoration: none;
}


.logo-image {
    height: 30px;
}

nav {
    position: relative;
    background-color: rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(5px);
    padding: 10px 20px;
    border-radius: 50px;
    border: 2px solid rgb(77, 194, 116, 0.3); /* couleur du contour */
}


ul {
    display: flex;
    gap: 30px;
    margin: 0;
    padding: 0;
}

li {
    list-style: none;
    color: rgb(77, 194, 116);
}




/* --- CORPS --- */



article {
    display: flex;
    flex-direction: row;
    padding: 50px 50px;
    gap: 100px;
    font-family: "Arial";
    background-color: rgb(10, 10, 10);
}




/* Can card */

#can {
    --background: linear-gradient(to left, #00c3ff 0%, #00fff2 100%);
}


#can a {
    color: #00c3ff;
    text-decoration: none;
    text-shadow: #00c3ff;
    /* transition: color 1s ease; */
}

#can a:hover {
    color: #00fff2;
    transition: color 1s ease;
}

#can a:active {
    color : #00495f;
    transition: color 1s ease;
}



/* card */


.card {
 --background: linear-gradient(to left, #4dc274 0%, #61c24d 100%);
 width: 190px;
 height: 254px;
 padding: 5px;
 border-radius: 1rem;
 overflow: visible;
 background: #f7ba2b;
 background: var(--background);
 position: relative;
 z-index: 1;
}

.card::after {
 position: absolute;
 content: "";
 top: 30px;
 left: 0;
 right: 0;
 z-index: -1;
 height: 100%;
 width: 100%;
 transform: scale(0.8);
 filter: blur(25px);
 background: #4dc274;
 background: var(--background);
 transition: opacity .5s;
}

.card-info {
 --color: #181818;
 background: var(--color);
 color: var(--color);
 display: flex;
 justify-content: center;
 align-items: center;
 width: 100%;
 height: 100%;
 overflow: visible;
 border-radius: .7rem;
}

.card .title {
 font-weight: bold;
 letter-spacing: .1em;

 text-align: center;
}

/*Hover*/
.card:hover::after {
 opacity: 0;
}

.card:hover .card-info {
 color: #4dc274;
 transition: color 1s;
}




/* --- FOOTER --- */

footer {
    background-color: rgb(11, 27, 16);
}