* {
    font-family: 'Noto Sans', sans-serif;
    box-sizing: border-box;
}

main#eliza {
    display: flex;
    flex-direction: column;
    align-items: center;
}

body {
    display: flex;
    justify-content: center;
    margin: 0;
    padding: 0;
    padding-bottom: 150px;
}

a, a:visited, a:hover {
    text-decoration: none;
}

.simple-list {
    list-style: none;
    padding-left: 0;
}

.simple-list label {
    cursor: pointer;
}

.player-color-options {
    list-style: none;
    display: flex;
    justify-content: space-around;
    padding: 0rem .25rem 2rem .25rem;
    margin-bottom: 0;
    max-width: 300px;
}

.player-color-option {
    height: 60px;
    width: 60px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: bold;
    color: #ffffff;
    border: solid 1px #47443f;
    cursor: pointer;
}

.playerColorOptionSelected {
    border: solid 6px #47443f;
}

.playerColorOptionTrack li {
    color: #47443f;
}

.numberOfPlayers {
    justify-content: space-evenly;
}

.numberOfPlayers li {
    width: auto;
    padding: 0.5rem;
    margin: 0.25rem;
    border: none;
}

.yellow {
    fill: #ffff4d;
    background-color: #ffff4d;
    color: #47443f;
}

.blue {
    fill: #967EB2;
    background-color: #967EB2;
}

.gray {
    fill: #9DA4B0;
    background-color: #9DA4B0;
    color: #47443f;
}

.red {
    fill: #ff8a26;
    background-color: #ff8a26;
}

.highlight-text {
    color: #003100;
    font-weight: bold;
}

.bold {
    font-weight: bold;
}

.playerArea {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 1rem;
    padding-top: .25rem;
    margin: 0;
    width: 100vw;
    max-width: 500px;
}

.playerArea > * {
    margin: 0;
    padding: 0;
    margin-bottom: 0.5rem;
    width: 100%;
}

.text-centered {
    text-align: center;
}

.button-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: fixed;
    bottom: 0;
    padding: 2rem;
    width: 100%;
    background-color: #cccccc;
    border-top: solid 1px #47443f;
    margin: 0;
}

.button {
    height: 50px;
    min-height: 50px;
    width: 100%;
    max-width: 500px;
    background-color: #47443f;
    color: #ffffff;
    font-size: 1.1rem;
    box-shadow: none;
    cursor: pointer;
    border: none;
}

.starttitle {
    text-align: center;
    font-size: 1.7rem;
    margin-bottom: 0rem;
}

.startsubtitle {
    font-size: 1.3rem;
}

.startmessage {
    text-align: center;
    font-size: 1.1rem;
    margin-top: 0.5rem;
}

.start-new {
    margin-bottom: .25rem;
    font-size: 0.9rem;
}

.current-round {
    border-radius: 50%;
    background-color: black;
    color: #fff;
    width: 20px;
    display: inline-block;
    text-align: center;
    font-size: 0.9rem;
}

.section-title {
    font-size: 1rem;
    flex-shrink: 0;
    flex-basis: 100%;
    margin: 0;
    text-align: left;
}

.section-detail {
    text-align: center;
    margin: 0;
    flex-shrink: 0;
    flex-basis: 100%;
    text-align: left;
}

.action-header {
    font-weight: bold;
    padding: 1rem;
    background-color: #efefef;
}

.action-message {
    font-size: 0.9rem;
}

.small {
    font-size: 0.85rem;
}

.text-tiny {
    font-size: 0.85rem;
    flex-basis: 100%;
    margin: 0;
}

.consume-section + .consume-section {
    margin-top: 2rem;
    padding-top: 0.5rem;
    border-top: dashed 1px #ccc;
}

input[type="radio"]:checked + span {
    font-weight: bold;
}

input[type="checkbox"]:checked + span {
    font-weight: bold;
}

input[type="checkbox"].checkbox-strike:checked + span {
    font-weight: normal;
    text-decoration: line-through;
}

.action-desc + .action-desc {
    margin-top: 0.875rem;
}

.score {
    padding: 0 2rem;
    border-bottom: dashed 1px #ccc;
}

.winning {
    font-size: 1.1rem;
}

.player-header {
    display: flex;
    justify-content:space-evenly;
    align-items: center;
    padding: 0.5rem;
    margin-top: 0.5rem;
    margin-bottom: 1rem;
    background-color: #f7f7f7;
    border-radius: 10px;
}

.player-name {
    display: flex;
    align-items: flex-start;
    flex-wrap: wrap;
    flex-basis: 80%;
    padding-left: 1rem;
}

.player-icon {
    height: 40px;
    width: 40px;
    background-color: black;
    border-radius: 50%;
}

.player-icon path {
    fill-rule: evenodd;
}

.player-icon-yellow path {
    fill: #ffff4d;
    background-color: #ffff4d;
    color: #47443f;
}

.player-icon-blue path, .player-icon-purple path {
    fill: #967EB2;
    background-color: #967EB2;
}

.player-icon-gray path {
    fill: #9DA4B0;
    background-color: #9DA4B0;
    color: #47443f;
}

.player-icon-red path {
    fill: #ff8a26;
    background-color: #ff8a26;
}

/* --- Cards --- */
.cards {
    list-style: none;
    text-align: left;
    padding-left: 0;
}

.card {
    border: solid 1px #ccc;
    padding: .5rem;
    margin-bottom: 1rem;
    box-shadow: 3px 3px 3px #ccc;
    min-height: 50px;
    display: flex;
    justify-content: center;
    flex-direction: column;
}

.card--clickable, .card--clickable label {
    cursor: pointer;
}

.card--no-padding {
    padding: 0 !important;
}

.card__name {
    font-weight: bold;
    margin: 0;
}

.card--clickable .card__name {
    color: darkblue;
}

.card__area {
    display: flex;
    border-top: dashed 1px #ccc;
    margin-top: 0.5rem;
    padding: 0.5rem;
    justify-content: space-around;
}

.important {
    color: red;
}


/* --- Board State --- */
.boardstate {
    font-size: 0.95rem;
    max-width: 500px;
    min-height: 100vh;
    z-index: 1;
    background-color: white;
    position: absolute;
    border: solid 1px black;
    padding: 1rem;
}

.boardstate_close {
    display: block;
    width: 100%;
    text-align: right;
    margin-bottom: 1rem;
}

.boardstate h2 {
    font-size: 1rem;
    text-align: left;
}

.boardstate__instructions {
    margin: 0;
}

.boardstate__marketspaces {
    font-weight: bold;
    padding: 1rem;
    background-color: #efefef;
}

.boardstate__locations {
    list-style: none;
    text-align: left;
    padding-left: 0;
}

.boardstate__location {
    border: solid 1px #ccc;
    padding: .5rem;
    margin-bottom: 1rem;
    box-shadow: 3px 3px 3px #ccc;
}

.boardstate__locationname {
    font-weight: bold;
    margin: 0;
}

.boardstate__industrytiles {
    list-style: none;
}

.boardstate__adjacentlocations {
    list-style: none;
    border-top: dashed 1px #ccc;
}

.boardstate__adjacentlocation {
    font-style: italic;
}

.error h2 {
    color: darkred;
}

.error-text {
    font-size: 1.15rem;
}

.report-a-bug {
    text-align: center;
    font-size: 0.75rem;
}

.report-a-bug textarea {
    width: 325px;
    padding: 0;
}