/* Extra small devices (phones, 600px and down) */
@media (min-height: 300px) and (orientation: landscape) {
    /* UI for small screens */

    .cUI {
        margin-top: auto;
        /* background-color: #55331c; */
        border: 2px solid #55331c;
        background: linear-gradient(to bottom, #7c4a27, #3b2615);
        border-radius: 3px;
    }

    .avatar-container {
        background-color: #1c1b1a;
        border-radius: 3px;
        padding: 2px;
        margin: 3px;
        flex-direction: row;
        display: flex;
    }

    .avatar-thumb {
        width: 70%;
        height: 72px;
        background-size: 72px auto;
        background-position: center top;
        background-repeat: no-repeat;
        border-radius: 8px;
        overflow: hidden;
        margin: 2px;
    }

    .label {
        margin-bottom: 0.3rem;
        font-size: medium;
    }

    .cUI-bottom-buttons {
        height: unset;
        margin-top: auto;
        display: flex;
        margin-bottom: 10px;
    }

    .bottom-buttons {
        display: none;
    }
}

@media (min-width: 768px) and (orientation: landscape) {
    .cUI {
        aspect-ratio: 1;
        font-size: 1vw;
        /* key: sets scale context for children */
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: space-between;
        padding: 0.7em;
        /* background-color: #55331c; */
        border: 3px solid #55331c;
        background: linear-gradient(to bottom, #7c4a27, #3b2615);
        border-radius: 0.5em;
        box-shadow: 0 0 0.8em rgba(0, 0, 0, 0.6);
        width: 80%;
        align-self: center;
        background: url(./assets/board/wood-texture.png) center / cover no-repeat;
    }

    .avatar-container {
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: center;
        gap: 0.5em;
        width: 100%;
        height: 100%;
    }

    .avatar-thumb {
        width: 80%;
        height: 100%;
        background-size: cover;
    }

    .bar {
        width: 10%;
        height: 100%;
        align-content: end;
    }

    .cUI-bottom-buttons button {
        font-size: 1.5em;
        padding: 0.5em;
    }
}