body {
    font-family: sans-serif;
    background-color: #11151a;
    color: #e1e4e8;
    min-height: 100vh;
    margin: 0;
    display: flex;
    flex-direction: column; 
    align-items: center; 
    padding-top: 60px; 
}
  
.container-top {
    background-color: #11151a;
    border: 1px solid #37414a;
    padding: 20px 30px; 
    border-radius: 6px;
    position: fixed; 
    top: 0;
    left: 0; 
    width: 100%;
    font-size: 1.2em;
    z-index: 10; 
}
  
.buttons {
    width: 100%; 
    margin: 0 auto; 
}
  
.buttons a {
    text-decoration: none;
    margin: 0 90px;
    color: #e1e4e8;
    padding: 10px 20px;
    margin-bottom: 5px;
    border-radius: 4px;
    transition: background-color 0.3s;
    background-color: #24292f;
}
  
.search-sort-container { 
    display: flex;
    justify-content: space-between; 
    align-items: center;
    width: 100%;
    margin-top: 40px; 
}
  
.search-container {
    position: relative; 
}
  
#search-bar {
    padding: 10px 15px; 
    border: 1px solid #37414a; 
    border-radius: 5px; 
    background-color: #24292f; 
    color: #e1e4e8; 
    width: 100%;
    margin-left: 20px;
}
  
.search-container::before {
    content: "\f002";
    font-family: FontAwesome; 
    position: absolute;
    top: 50%;
    margin-left: 250px;
    transform: translateY(-50%);
    color: #e1e4e8;
}
  
.sort-container {
    position: relative;
    margin-right: 20px;
}
  
#sort-dropdown {
    padding: 10px 15px;
    border: 1px solid #37414a;
    border-radius: 5px; 
    background-color: #24292f; 
    color: #e1e4e8;
    -webkit-appearance: none;
    -moz-appearance: none; 
    appearance: none;
    width: 150px
}
  
.sort-container::after {
    content: "\f078";
    font-family: FontAwesome;
    position: absolute;
    top: 50%;
    right: 10px;
    transform: translateY(-50%);
    color: #e1e4e8;
    pointer-events: none;
}
  
.game-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(3, 1fr); 
    gap: 20px;
    padding: 20px;
    margin: 0 auto;
}
  
.game-tile {
    height: 200px;
    width: 300px;
    border: 1px solid #ccc;
    border-radius: 4px;
    text-align: center;
    position: relative; 
    background-color: #24292f;
}
  
.game-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
  
.game-tile h3 {
    margin-bottom: 10px; 
}
  
.game-tile p {
    flex-grow: 1; 
}
  
.heart-icon {
    font-size: 20px;
    cursor: pointer;
    position: absolute;
    top: 10px; 
    right: 10px; 
}
  
.hidden-header {
    display: none;
}
  
.game-tile button.link{
    width: 25%;
    height: 20%;
    align-self: center;
    padding: 10px 20px;
    border: 1px solid #ccc;
    border-radius: 2px;
    background-color: #24292f;
    color: #ccc;
    justify-content: center;
    align-items: center;
    display: flex;
    position: absolute;
    bottom: 20px;
}

.link {
    cursor: pointer;
}