:root {
    --accent-colour: darkslateblue;
    --bg-colour: #FFE8D3;
    --bg-panel-colour: lightgoldenrodyellow;
    --blockstack-colour: peachpuff;
    --highlight-block-colour: white;
    --highlight-panel-colour: gray;
    --texthint-colour: #BBB2A5;
    --tag-colour: #cda98e;
}

body {
    background-color: var(--bg-colour);
}

.block-item {
    padding: 2px 10px;
    margin-bottom: 2px;
    background-color: var(--blockstack-colour);
    box-shadow: 2px 2px 2px var(--accent-colour);
    z-index: 3;
}
.block-item:hover {
    outline: thin solid var(--highlight-block-colour);
    box-shadow: 1px 1px 2px var(--accent-colour);
}

a, a:hover, a:visited {
    border:none;
    outline:none;
    text-decoration:none;
    color:inherit;
    -webkit-tap-highlight-color: var(--highlight-block-colour);
    color: var(--accent-colour);
}

.block-stack {
    margin-top: 250px;
    z-index: 3;
}

.groundTile {
    background-color: color-mix(in srgb, var(--bg-colour) 10%, #ffd8bc 90%);
    border-radius: 60px;
    height: 300px;
    z-index: 1;
}
.shadowTile {
    position: absolute;
    background-color: color-mix(in srgb, var(--accent-colour) 20%, #e6c0a4 80%);
    margin-left: 46%;
    width: 140px;
    padding-bottom: 9px;
    transform:translateY(-300px);
    border-radius: 400px;
    z-index: 2;
}

.shadowHint {
    position: absolute;
    color: color-mix(in srgb, var(--bg-colour) 20%, #ba9980 80%);
    transform:translate(1%, -200px);
    z-index: 2;
}
.shadowHint2 {
    float: right;
    transform:translateY(-160px);
    z-index: 2;
}

.flex-height {
    position: relative;
    display: flex;
    align-items: center;
}

.flex-height-end {
    position: relative;
    display: flex;
    align-items: flex-end;
    height: 700px;
}

.flex-width {
    position: relative;
    display: flex;
    justify-content: center;
    width: 100%;
}
.flex-width-end {
    position: relative;
    display: flex;
    justify-content: flex-end;
    width: 100%;
}

.default-text-color {
    color: var(--accent-colour);
    user-select:none;
}
.tag-style {
    color: color-mix(in srgb, var(--accent-colour) 40%, var(--tag-colour) 60%);
    user-select:none;
}

.fixed-width {
    position:fixed;
    left:0%;
    right: 0%;
}

.panel-top {
    background-color: var(--bg-panel-colour); box-shadow: 0px 1px 10px var(--accent-colour);
}

.panel-bottom {
    background-color: var(--bg-panel-colour); box-shadow: 0px -1px 10px var(--accent-colour);
}

.social-container {
    align-content: space-between;
    margin-left: 1%;
    margin-right: 1%;
}

.social-icon {
    width: 24px;
    height: 24px;
    fill: var(--accent-colour);
}
.social-icon:hover {
    fill: var(--highlight-panel-colour);
}

.blockstack-sender {
    background-color: var(--blockstack-colour);
    min-width: 50%;

    border-radius: 500px;
    border-color: var(--accent-colour);
    border-style: solid;
    border-width: thin;

    box-shadow: 0px 0px 3px var(--accent-colour);
}
.blockstack-sender:hover {
    border-color: var(--highlight-block-colour);
    box-shadow: 0px 0px 5px var(--accent-colour);
}

#blockstacksender:hover {
    color: var(--highlight-panel-colour);
}
#blockstacksender, #blockstacksender:focus {
    max-height: 60px;
    min-width: 100%;
    color: var(--accent-colour);
    z-index: 7;
    padding-top: 3%;
    padding-bottom: 3%;
}

#blockstackinputprompt {
    position:fixed;
    top: 90.25%;
    color: var(--texthint-colour);
    user-select:none;
    z-index: 6;
}

.blockstack-sender-item {
    margin-left: 1%;
    margin-right: 1%;
}
.blockstack-sender-edit {
    width: 30px;
    height: 22px;
    fill: var(--accent-colour);
}

.blockstack-sender-edit:hover {
    fill: var(--highlight-panel-colour);
}

.render-infront {
    z-index: 5;
}

#blockstackcount, .render-hidden {
    visibility: hidden;
}

.leaderboard-btn {
    width: 24px;
    height: 24px;
    margin-right: 6px;
    cursor:pointer;
}

.left-footer-panel {
    display: flex;
    transform: translate(10px, -90px);
    cursor: pointer;
    width: 250px;
    padding-bottom: 50px;
    padding-top: 50px;
    color: var(--accent-colour);
    fill: var(--accent-colour);
}

.left-footer-panel:hover {
    color: var(--highlight-panel-colour);
    fill: var(--highlight-panel-colour);
}

.left-footer-panel-item {
    fill: inherit;
    color: inherit;
}

.popup-background {
    opacity: 0;

    position: fixed;
    background-color: rgba(0, 0, 0, 0.3);
    color: white;
    top: 100%; left: 0%; bottom: 0%; right: 0%;
    z-index: 6;

    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.popup {
    background-color: var(--bg-panel-colour);
    color: var(--accent-colour);
    border: thick solid var(--accent-colour);
    border-radius: 9px;

    width: 30%;
    height: 60%;
    z-index: 6;

    display: flex;
    flex-direction: column;
}
.popup-content {
    height: 77%;
    margin-top: 7%;
    margin-left: 1%;
    margin-right: 1%;
    overflow-y: scroll;
    overflow-x: hidden;
}

.leaderboard {
    table-layout: fixed;
    width: 100%;
    text-align: center;
}

.leaderboard td {
    padding-top: 5px;
    overflow-x: hidden;
    padding-bottom: 5px;
}

.leaderboard td, .leaderboard th {
    user-select:none;
}

.firstplace {
    background-color: rgba(255, 234, 0, 0.4);
}
.secondplace {
    background-color: rgba(167, 229, 230, 0.4);
}
.thirdplace {
    background-color: rgba(197, 139, 69, 0.25);
}

.userboard {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;

    border-radius: 7px;
    box-shadow: 0px 0px 4px var(--accent-colour);
    background-color: var(--blockstack-colour);
    height: 23%;
    
    overflow-y: hidden;
}