:root
{
    --main-bg-color: #004225;
    --light-gray: #d7d7d7;
    --overlay-bg-color: #004225d6;
}

html,
body,
#app
{
    height: 100%;
    width: 100%;
    margin: 0;
    padding: 0;
    font-size: 11px;
    font-family: 'Dosis', sans-serif;
    color: var(--main-bg-color);
    text-transform: uppercase;
    box-sizing: border-box;
}

.ff-main-content
{
    display: grid;
    grid-template-columns: auto;
    grid-template-rows: auto 1fr;
    min-height: 100%;
    background-color: var(--main-bg-color);
    place-content: center;
}

.ff-header
{
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    align-items: center;
    justify-content: center;
    border-bottom: 2px solid var(--main-bg-color);
    color: #ffffff;
    font-size: 1.3em;
    width: 960px;
}

.ff-header img
{
    height: 40px;
    margin: 20px 0;
}

.ff-body
{
    width: 960px;
    background-color: var(--main-bg-color);
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding-bottom: 20px;
}

.ff-title
{
    font-size: 2em;
    text-align: center;
    margin-bottom: 20px;
}

.ff-panel
{
    background-color: #ffffff;
    padding: 20px 0;
}

.ff-button
{
    background-color: var(--main-bg-color);
    color: #ffffff;
    min-width: 150px;
    border: none;
    padding: 10px;
    cursor: pointer;
    font-weight: bold;
    margin: 0px 5px;
    text-transform: uppercase;
}

.ff-button:hover
{
    opacity: 0.8;
}

.ff-button:disabled
{
    opacity: 0.5;
}

.ff-flex-center-col
{
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.ff-flex-center-row
{
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: row;
}

.ff-track-driver
{
    display: grid;
    grid-template-columns: 1fr auto auto;
    align-items: center;
    justify-content: center;
    background-color: var(--light-gray);
    gap: 20px;
    padding: 20px;
}

.ff-track
{
    display: flex;
    align-items: center;
    justify-content: center;
}

.ff-track-image
{
    height: 200px;
}

.ff-points
{
    font-size: 1.6em;
    display: grid;
    grid-template-rows: auto auto 20px auto auto 20px auto auto;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.ff-points-title
{
    background-color: var(--main-bg-color);
    color: #ffffff;
    padding: 5px 15px;
}

.ff-points-value
{
    border: 1px solid var(--main-bg-color);
    padding: 5px 15px;
}

.ff-driver
{
    display: grid;
    grid-template-rows: 1fr auto;
    align-items: center;
    justify-content: center;
    font-size: 1.6em;
    border: 1px solid var(--main-bg-color);
    background-color: #9fb6c6;
    cursor: pointer;
}

.ff-driver div
{
    background-color: var(--main-bg-color);
    padding: 5px;
    text-align: center;
    color: #ffffff;
}

.ff-driver-image
{
    width: 206px;
    height: 206px;
}

.ff-driver-popup
{
    position: fixed;
    display: flex;
    align-items: center;
    justify-content: center;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--overlay-bg-color);;
}

.ff-driver-popup-inner
{
    width: 960px;
    background-color: #ffffff;
    padding: 20px 0;
}

.ff-driver-reel
{
    overflow-x: auto;
    display: flex;
    flex-direction: row;
    gap: 1px;
}

.ff-driver-reel-item
{
    background-color: #9fb6c6;
    cursor: pointer;
    font-size: 0;
}

.ff-driver-reel-item div
{
    background-color: var(--main-bg-color);
    padding: 5px;
    text-align: center;
    color: #ffffff;
    font-size: 14px;
}

.ff-driver-reel-item-selected
{
    background-color: #5887a8;
}

.ff-margin-top
{
    margin-top: 20px;
}

.ff-loading,
.ff-fatal-error
{
    position: fixed;
    display: flex;
    align-items: center;
    justify-content: center;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--main-bg-color);
    z-index: 9999;
    color: #ffffff;
    font-size: 2em;
}

.ff-leaderboard
{
    padding: 0 20px;
    font-size: 1.4em;
}

.ff-leaderboard-row
{
    display: grid;
    grid-template-columns: auto auto 1fr auto;
    gap: 20px;
    background-color: #d7d7d7;
    margin: 1px 0;
    padding: 10px 20px;
    align-items: center;
}

.ff-victory-stars
{
    display: flex;
    flex-direction: row;
    gap: 5px;
}

.ff-victory-star
{
    display: flex;
    align-items: center;
}

.ff-victory-star img
{
    height: 18px;
    cursor: pointer;
}

.ff-leaderboard-predictions
{
    padding: 0 40px;
}

.ff-leaderboard-prediction
{
    background-color: #d7d7d7;
    padding: 10px 20px;
    margin: 1px 0;
    display: grid;
    grid-template-columns: 2fr 2fr 1fr 1fr 1fr 1fr;
}