* {
    margin: 0;
    border: 0;
    padding: 0;
    background-color: transparent;
    color: inherit;
    font-family: inherit;
    font-size: inherit;
    font-style: inherit;
    font-weight: inherit;
    line-height: inherit;
}

:root {
    --green: #14bb04;
    --blue: #1e90ff;
    --menu-green: #6ae15f;
    --menu-blue: #1dd5e8;
    --theme: var(--green);
    --theme-menu: var(--menu-green);
}

body {
    background-color: #d9d9d9;
    font-family: 'Lato', sans-serif;
}

.top-menu {
    box-sizing: border-box;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 50;
    height: 60px;
    width: 100%;
    box-shadow: 0px 1px 3px 1px rgba(0,0,0,0.3);
    background-color: #2c2c2c;
    opacity: 0.95;
}

.top-menu-color {
    width: 100%;
    height: 5px;
    background-color: var(--theme);
}

.top-menu-content {
    box-sizing: border-box;
    position: relative;
    max-width: 1080px;
    height: 55px;
    display: flex;
    margin: auto;
}

.top-menu-logo {
    width: 55px;
    height: 55px;
}

.top-menu-logo img {
    width: 50px;
    height: 50px;
    margin-top: 2px;
}

.top-menu-item {
    font-size: 14px;
    font-weight: 600;
    line-height: 55px;
    padding-left: 20px;
    padding-right: 20px;
    cursor: pointer;
    text-transform: uppercase;
    color: #ccc;
    letter-spacing: 0.25px;
    text-decoration: none;
}

.sign-in {
    color: var(--theme-menu);
}

.content {
    height: 2000px;
    background-color: #ccc;
    max-width: 1080px;
    margin: 90px auto 30px;
}

.main-content {
    padding-top: 70px;
    margin-bottom: 50px;
}

.container {
    margin: 0 auto;
    width: 1100px;
}

.section-title {
    margin: 30px 0 15px;
    border-bottom: 1px solid #b8b8b8;
    height: 32px;
    font-size: 16px;
    font-weight: 600;
    line-height: 16px;
    text-align: left;
}

.games-selection {
    display: flex;
    justify-content: space-between;   
}

.game-tile {
    width: 250px;
    height: 190px;
    background-color: #ededed;
    box-shadow: 0 1px 4px 0 rgba(0,0,0,.15);
}

.game-title {
    padding: 5px 10px;
    font-size: 14px;
}

.play-button {
    display: block;
    margin: 5px 10px;
    background-color: var(--theme);
    width: 60px;
    line-height: 29px;
    text-align: center;
    color: white;
    cursor: pointer;
    text-decoration: none;
}

/* Game detail page */
.back-link {
    display: inline-block;
    margin: 20px 0 15px;
    font-size: 14px;
    color: #555;
    text-decoration: none;
    cursor: pointer;
}

.back-link:hover {
    color: var(--theme);
}

.game-detail {
    display: flex;
    gap: 40px;
    background-color: #ededed;
    box-shadow: 0 1px 4px 0 rgba(0,0,0,.15);
    padding: 30px;
}

.game-detail-image {
    width: 320px;
    flex-shrink: 0;
}

.game-detail-info {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.game-detail-title {
    font-size: 24px;
    font-weight: 700;
}

.game-detail-meta {
    font-size: 14px;
    color: #555;
}

.game-detail-meta span {
    font-weight: 600;
    color: #333;
}

.game-detail-description {
    font-size: 14px;
    line-height: 1.6;
    color: #444;
}

.game-detail .play-button {
    margin: 8px 0 0;
    width: 80px;
    line-height: 34px;
    font-size: 15px;
    font-weight: 600;
}

/* Games table page */
.games-table {
    width: 100%;
    border-collapse: collapse;
    background-color: #ededed;
    box-shadow: 0 1px 4px 0 rgba(0,0,0,.15);
}

.games-table th {
    text-align: left;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    color: #555;
    padding: 12px 16px;
    border-bottom: 2px solid #d0d0d0;
}

.games-table td {
    padding: 10px 16px;
    font-size: 14px;
    border-bottom: 1px solid #ddd;
    vertical-align: middle;
}

.games-table tr:last-child td {
    border-bottom: none;
}

.games-table tr:hover td {
    background-color: #e4e4e4;
}

.games-table-thumb {
    width: 60px;
    display: block;
}

.games-table .play-button {
    margin: 0;
}