@font-face {
  font-family: 'Poppins-Black';
  src: url('Poppins-Black.ttf') format('ttf');
}

body {
    background: linear-gradient(to bottom, #00E5FF, #0A64B6 50%, #342D2D);
    background-repeat: no-repeat;
    background-attachment: fixed;
    color: white;
    padding: 0;
    margin: 0;
    font-family: 'Poppins-Black', sans-serif;
    overflow-x: hidden;
    
}

.logo {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 28px;
    color: black;
}

.logo img {
    width: 50px;
    height: auto;
}

.buton_menu {
    font-weight: bold;
    color: black;
    display: block;
    margin-top: 10px;
    margin-left: 25px;
}

.butonuse {
    font-weight: bold;
    color: black;
    display: flex;
    gap: 10px;
    margin-left: 10px;
    margin-top: 10px;
    padding: 5px 20px;
    border: 1px solid white;
    background-color: white;
    border-radius: 40px;
    width: 130px;
    text-align: center;
}

.buton_connect {
    justify-content: center;
    align-items: center;
    display: flex;
    gap: 10px;
    color: white;
    padding: 10px 35px;
    border: 2px solid #130469;
    border-radius: 40px;
    background-color: #270ace;
    cursor: pointer;
    margin-bottom: 20px;
    width: 150px;
}

.sidebar {
    position: fixed;
    top: 0;
    left: 0;
    width: 260px;
    height: 100vh;
    padding: 20px;
    background: linear-gradient(to bottom, #1C65DA, #60B2FF 54%, #9587E3);
    color: #ffffff;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
}

.sidebar a {
    text-decoration: none;
}

.search_form {
    margin-left: 450px;        
    padding: 15px 20px;
}

.search_bar {
    display: flex;
    width: 780px;
    border: 2px solid black;
    border-radius: 40px;
    color: white;
    background: linear-gradient(to right, black, rgb(38, 38, 38));
    padding: 15px;
    font-size: 13px;
}

.menu-top {
    margin-bottom: 30px;
}

.menu-botom {
    margin-top: 40px;
}

.menu-admin {
    margin-top: 40px;
    padding-top: 15px;
}

.admin-add-button {
    margin: 0px 0 0px 1020px;
}

.admin-add-button a {
    display: inline-block;
    font-size: 24px;
    font-weight: bold;
    text-decoration: none;
    padding: 8px 16px;
    border-radius: 8px;
    background-color: #222;
    color: white;
}

main {
    margin-left: 240px;   
    padding: 20px;
    padding-top: 0;
    box-sizing: border-box;
}


.game-card {
    display: flex;
    height: 270px;
    margin-bottom: 0;    
    overflow: visible;
    background: linear-gradient(to top, #7a797a, #313030);
    position: relative;
    width: 102%;
}

.game-image {
    width: 60%;  
    flex-shrink: 0;
    clip-path: polygon(0 0, 100% 0, 88% 100%, 0 100%); 
    position: relative;
    z-index: 1;
    
}

.game-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;  
    
}
.game-info {
    flex: 1;
    padding: 15px 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background: linear-gradient(to top, #7a7979, #313030);
    margin-left: 0;  
    z-index: 0;
}

.game-title {
    font-size: 18px;
    font-weight: bold;
    color: white;
    margin-bottom: 3px;
}

.description-label {
    font-size: 11px;
    text-decoration: underline;
    color: #aaa;
    margin-bottom: 5px;
}

.description {
    font-size: 11px;
    color: #ccc;
    line-height: 1.4;
}

.prix {
    font-size: 22px;
    font-weight: bold;
    color: rgb(255, 255, 255);
    display: flex;
    margin-bottom: 8px;
    margin-left: 20px;
    display: flex; align-items: center; gap: 30px;
    margin: 0;
    
}

.discount {
    font-size: 17px;
    font-weight: bold;
    color : rgb(228, 21, 21);
    margin-bottom: 4px;
    margin: 0;
    
    
    gap: 20px;
}



.buttons {
    display: flex;
    gap: 10px;
}

.btn-buy {
    background: #3a3a5e;
    color: white;
    border: 1px solid #555;
    padding: 8px 18px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 13px;
    font-weight: bold;
}

.btn-cart {
    background: #3a3a5e;
    color: white;
    border: 1px solid #555;
    padding: 8px 18px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 13px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.btn-buy:hover, .btn-cart:hover {
    background: #4a4a7e;



}

