body {
    color: rgb(255, 255, 255);
    background-color: rgb(34, 34, 34);
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 18px;
}

.buttons-gallery {
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    max-height: 600px;
}

.button-container {
    color: rgb(235, 235, 235);
    font-size: 24px;
    width: 208px;
    margin: 0;
    cursor: pointer;
    display: grid;
    grid-template-rows: 50px 100px; 
    grid-template-columns: 1;
}

.disabled .button-text {
    cursor: default;
    color: rgba(255, 255, 255, 0.3);
}

.button-box {
    background-color: rgb(34, 34, 34);
    border: 1px solid rgb(196, 196, 196);
    position: relative;
}

.disabled .button-box {
    border: 1px solid rgba(196, 196, 196, 0.3);
}

.button-progress-indicator {
    grid-row: 1;
    height: 100%;
    display: inline-block;
}

.show-progress .button-progress-indicator {
    background-color: rgb(196, 196, 196);
}

.button-text {
    grid-row: 1; 
    position: absolute;
    top: 8px;
    left: 16px;
    z-index: 1;
    display: inline-block;
}

.button-container.show-progress  {
    color: rgb(235, 235, 235);
    background-color: transparent;
}

.button-container:hover .button-tooltip {
    background-color: rgb(107, 107, 107);
    display: block;
}

.button-tooltip {
    background-color: rgb(0, 0, 0);
    margin: 0;
    padding: 8px 16px;
    display: none;
    font-size: 16px;
    grid-row: 2;
}

.button-container:hover .button-tooltip {
    display: block;
}

.scores {
    display: flex;
}

.score-container {
    margin-left: 20px;
}

.output {
    margin: 24px 24px;
}

.buttons-container {
    display: flex;
}

.hidden {
    display: none !important;
}

/* Button text size overrides */
#button-go-to-bathroom .button-text {
    font-size: 20px;
}
#button-play-with-friends .button-text {
    font-size: 16px;
}
#button-practice-basketball {
    font-size: 20px;
}
#button-join-high-school-basketball-team {
    font-size: 18px;
}
#button-college-basketball {
    font-size: 18px;
}
#button-get-drunk {
    font-size: 18px;
}
#button-learn-about-investing {
    font-size: 18px;
}
#button-invest-stocks {
    font-size: 18px;
}
#button-invest-crypto {
    font-size: 18px;
}
#button-sell-company {
    font-size: 22px;
}
#button-relationship {
    font-size: 20px;
}
#button-kids-private-school {
    font-size: 15px;
}
#button-kids-public-school {
    font-size: 16px;
}
#button-have-another-child {
    font-size: 18px;
}
#button-kids-music-lessons {
    font-size: 14px;
}
#button-kids-sports {
    font-size: 14px;
}
#button-kids-tutoring {
    font-size: 14px;
}
#button-kids-pay-community-college {
    font-size: 14px;
}
#button-kids-pay-private-college {
    font-size: 14px;
}
#button-pay-medical-bills {
    font-size: 14px;
}
#button-pay-long-term-care {
    font-size: 14px;
}

.endscreen {
    position: fixed;
    top: 0;
    left: 0;
    height: 100vh;
    width: 100vw;
    background: #010101;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    grid-template-rows: 1fr auto auto auto 1fr;
    z-index: 1;
}

.endscreen-heading {
    grid-column: 2;
    grid-row: 2;
}

.endscreen-text {
    grid-column: 2;
    grid-row: 3;
}

.play-again {
    grid-column: 2;
    grid-row: 4;
}