body {
    font-family: "Quicksand", sans-serif;
    font-optical-sizing: auto;
    font-weight: 500;
    font-style: normal;
    font-size: 1em;
    color: #333333;
    background: url(images/wallpaper.jpg) no-repeat top center fixed; 
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
    margin: 0;
    padding: 0;
}

h1, .terms, .update-date {
    color: #FFFFFF;
    text-shadow: 2px 2px 3px #000000;
}

h1 {
    font-size: 3rem;
    font-weight: 300;
    margin: 0;
}

h1 small {
    display: block;
    font-size: 1.5rem;
}

#teams-container: {
	margin: 2em 0;
}

.player-name {
    flex-basis: 12em;
}

.player-stats {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    list-style-type: none;
    gap: 0.5em;
    margin: 0;
    padding: 0;
}

.player-stats li {
    text-align: right;
    min-width: 2em;
}

.player-stats small
 {
    color: #888888;
    font-size: .75em;
    padding-left: 0.125em;
}

.team-card {
    /*display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: space-between;
    */
    display: grid;
    gap: 2em;
    background: #FFFFFFEE;
    box-shadow: .5em .5em .5em #00000033;
    border-radius: 1.5em;
    margin-bottom: 2em;
}

/* ------ START: Grid Areas ------ */
.team-owner { grid-area: owner; }
.team-players { grid-area: players; }
.team-total { grid-area: total; }
/* ------ END: Grid Areas ------ */

/*
.team-info {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    justify-content: center;
    gap: 1em;
}*/

.team-owner {
    font-size: 2em;
    font-weight: 300;
    margin: 0;
    border-bottom: 1px solid #283B86;
    color: #283B86;
}

.team-player {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-between;
}

.team-players {
    display: flex;
    flex-direction: column;
    gap: 0.5em;
    margin: 0;
    padding: 0;
    list-style-type: none;
}

.team-total {
    display: flex;
    flex-direction: column;
    flex-shrink: 0;
    justify-content: center;
    align-items: center;
    background-color: #283B86;
    border-radius: 50%;
    width: 8.5em;
    height: 8.5em;
    text-align: center;
    color: #FFFFFF;
}

.team-total h3 {
    font-size: 4em;
    font-weight: 300;
    margin: 0;
    line-height: 1em;
}

.team-total caption {
    display: block;
    font-size: 1em;
    color: #888888;
}

.update-date {
    font-weight: 300;
    font-size: 0.8em;
}

.eliminated {
    color: #88b2f2;;
    font-style: italic;
}

.eliminated .player-name {
    text-decoration: line-through;
}

.eliminated .player-stats small {
    font-style: normal;
}

/* ------ START: Responsive Layout ------ */
@media screen and (min-width: 10px) {
    main {
        margin: 0.5em;
    }
    
    .team-card {
        grid-template-areas: 
            'owner owner'
            'players total';
        grid-row-gap: 1em;
        padding: 1em;
    }
}

@media screen and (min-width: 600px) {
    main {
        max-width: 45em;
        margin: 2em auto;
    }
    
    .team-card {
        grid-template-columns: 1fr 8.5em;
        grid-template-areas: 
            'owner total'
            'players total';
        padding: 2em;
    }
}
/* ------ END: Responsive Layout ------ */