*{
    margin: 0; padding: 0;
    font-family: Arial, Helvetica, sans-serif;
}
body {
    background-color: #2b2b2b;
}
nav {   
    background-color: #2b2b2b;
    padding: 25px;
}
nav ul {
    display: flex;
    justify-content: space-evenly;
    list-style: none;
}
nav ul li a {
    color: white;
    text-decoration: none;
    font-size: 20px;
    border: solid 2px;
    padding: 15px;
    border-radius: 100vh;
}
main h1 {
    padding: 15px;
    background-color: blanchedalmond;
    text-align: center;
}
#mosaique {
    display: flex;
    flex-wrap: wrap;
}
.carte {
    width: calc(100%/3);
    aspect-ratio: 16/9;
    overflow: hidden;

    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}
.cardContent {
    opacity: 0;
    transition: 0.3s;
    backdrop-filter: blur(6px) brightness(0.5);
    width: 100%; height: 100%;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-evenly;
}
.carte:hover .cardContent {
    opacity: 1;
    transition: 0.3s;
}
.cardContent h2{
    color: white;
    font-size: 2vw;
    text-shadow: 0 0 6px rgba(0,0,0,.8);
}
.cardContent p{
    color: white;
    text-shadow: 0 0 2px rgba(0,0,0,1);
    font-size: 1.3vw;
    width: 80%;
    text-align: justify;
}
.cardContent a{
    padding: 0.65vw;
    color: white;
    text-decoration: none;
    border-radius: 0.5vw;
    font-size: 1.5vw;
    font-weight: bold;
}

img{
    width: 450px;
}
#c1{
    background-image: url(./images/minecraft.png);
}
#c1 .cardContent a {
    background-color: #4b5440;
}
#c2{
    background-image: url(./images/gtav.png);
}
#c2 .cardContent a {
    background-color: #2d485c;
}
#c3{
    background-image: url(./images/fortnite.png);
}
#c3 .cardContent a {
    background-color: #1a475a;
}
#c4{
    background-image: url(./images/steep.png);
}
#c4 .cardContent a {
    background-color: #5a5c56;
}
#c5{
    background-image: url(./images/fh5.png);
}
#c5 .cardContent a {
    background-color: #8d8f98;
}
#c6{
    background-image: url(./images/valorant.jpg);
}
#c6 .cardContent a {
    background-color: #5c6279;
}