:root {

    --coal: rgba(37, 37, 37, 1);
    --accent: #00a1df;
    --accentHover: #1080aa;
    --highlight: #08FBAD;

    --lightGrey: rgba(37, 37, 37, 0.1);
    --middleGrey: rgba(37, 37, 37, 0.4);
    --darkGrey: rgba(37, 37, 37, 0.7);

    --whiteOpaque: rgba(255, 255, 255, 0.7);
    --white: #ffffff;
}




body {
    background-color: #ededed;
    font-family: 'Karla', sans-serif;
    font-weight: 300;
    margin: 0;
    padding: 0;
}

h1, h2, h3, h4, h5, h6 {
    margin: 0;
    padding: 0;
    font-family: 'Rubik', sans-serif;
    font-weight: 700;
}

h1 {
    padding-bottom: 14px;
}

a {
    text-decoration: none;
    color: var(--accent);
    transition: color 0.2s ease;
}

a:hover {
    color: var(--accentHover);
    border-bottom: 1px dotted var(--accentHover);
}

a.button {
    display: inline-block;
    padding: 4px 8px;
    border-radius: 4px;
    transition: all 0.2s ease;
}

a.button.primary {
    background-color: var(--accent);
    border: 1px solid var(--accent);
    color: var(--white);
}

a.button.secondary {
    border: 1px solid var(--accent);
    color: var(--accent);
}

a.button:hover {
    background-color: var(--accentHover);
    border: 1px solid var(--accentHover);
    color: var(--white);
}



/****** BASE LAYOUT ********/

.header {
    display: flex;
    background-color: var(--coal);
    align-items: center;
    justify-content: space-between;
    padding: 0 20px;
}

.logo a {
    display: block;
    padding: 6px;
    color: var(--highlight);
}

.logo .icon {
    opacity: 0.5;
    padding-right: 4px;
}

.muted {
    opacity: 0.5;
    font-weight: 900;
}

.menu {

}

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

.page_actions {
    margin-top: 4px;
}

.main {

    padding: 20px;

}



/****** NAVIGATION ********/

ul {
    list-style: none;
    display: flex;
    column-gap: 14px;
}

li {
    display: inline-block;
}

li a .fal {
    padding-right: 4px;
}

li a {
    color: var(--accent);
    opacity: 0.7;
    display: block;
    padding: 4px 10px;
    text-transform: uppercase;
    transition: opacity 0.2s ease;
    border-bottom: 0;
}

li a:hover {
    opacity: 1;
    border-bottom: 0;
    color: var(--accent);
}

li.active a {
    color: var(--highlight);
    opacity: 1;
}




/****** GAME CARD ********/

.game_card {
    padding: 14px;
    background-color: var(--whiteOpaque);
    border-radius: 8px;
    margin-bottom: 12px;
    transition: background-color 0.2s ease;
    cursor: pointer;
    display: grid;
    grid-template-columns: 60px 1fr 100px;
    row-gap: 4px;
    column-gap: 12px;
}

.game_icon {
    grid-row: 1 / span 4;
    text-align: center;
    display: block;
    justify-content: center;
    margin: auto;
    font-size: 1.4em;
}

.game_card:hover {
    background-color: var(--white);
}

.game_description {
    color: var(--middleGrey);
}

.game_title {
    font-weight: 600;
    font-size: 1.2em;
}

.game_id {
    font-size: 0.8em;
    text-align: right;
}

.id {
    background-color: var(--lightGrey);
    border-radius: 4px;
    width: 24px;
    padding: 2px 4px;
    color: var(--middleGrey);
    text-align: center;
    display: inline-block;


}







/****** TOURNAMENT CARD ********/

.tournament_card {
    padding: 14px;
    background-color: var(--whiteOpaque);
    border-radius: 8px;
    margin-bottom: 12px;
    transition: background-color 0.2s ease;
    cursor: pointer;
    display: grid;
    grid-template-columns: 60px 1fr 100px;
    row-gap: 4px;
    column-gap: 12px;
}

.tournament_icon {
    grid-row: 1 / span 4;
    text-align: center;
    display: block;
    justify-content: center;
    margin: auto;
    font-size: 1.4em;
}

.tournament_card:hover {
    background-color: var(--white);
}

.tournament_games {
    color: var(--middleGrey);
}

.tournament_players {
    text-align: right;
    color: var(--middleGrey);
}

.tournament_name {
    font-weight: 600;
    font-size: 1.2em;
}

.tournament_id {
    font-size: 0.8em;
    text-align: right;
}










