.welcome-text {
    text-align: center;
    text-shadow: -1px 1px 50px black;
    color: #ffffff;
    background-image: url("https://cdn2.unrealengine.com/Diesel%2Fblog%2Fepic-games-store-update%2FEGS_Social_Update_News-2560x1440-128a69890d92407b815582c1deba54450e5645f9.jpg");
    backdrop-filter: brightness(50%) grayscale(100%);
    padding: 30vh 0;
}
.welcome-text::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    backdrop-filter: blur(3px);
    background: rgba(0,0,0,0.15);
    z-index: -1;
}
.carousel-item img {
    width: 100%;
    border-radius: 5px;
}
.top-games {
    padding: 50px 0;
}
.game-item {
    margin-bottom: 20px;
}
.game-item img {
    width: 100%;
    border-radius: 5px;
    max-height: 470px;
}
.game-type {
    text-align: center;
    padding: 50px 0;
}
.category-box {
    position: relative;
    overflow: hidden;
    border-radius: 5px;
    margin-bottom: 20px;
    cursor: pointer;
}
.category-box img {
    width: 100%;
    max-height: 300px;
    max-width: 400px;
    transition: opacity 0.5s ease; /* Transition pour le dégradé d'opacité */
}
.category-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0)); /* Dégradé d'opacité */
    opacity: 0;
    transition: opacity 0.5s ease; /* Transition pour le dégradé d'opacité */
}
.category-box:hover .category-overlay {
    opacity: 1; /* Affichage complet du dégradé d'opacité au survol */
}
.image {
    width: 200px;
    height: auto;
}

input[type="submit"]{
    width: 100%;
    text-align: center;
    padding: 15px;
    display: inline-block;
    border: 1px solid #ccc;
    box-sizing: border-box;
    font-size: 15px;
    border-radius: 15px;
    background-color: transparent;
    color: white;
}input[type="submit"]:hover{
    width: 100%;
    text-align: center;
    padding: 15px;
    display: inline-block;
    border: 1px solid #ccc;
    box-sizing: border-box;
    font-size: 15px;
    border-radius: 15px;
    background-color: rgba(255,255,255,0.8);
    backdrop-filter: blur(5px);
    color: black;
    transition: 300ms;
}
p.error{
     color: red;
     text-align: center;
 }

p.success{
    color: green;
    text-align: center;
}