@import url('https://fonts.googleapis.com/css2?family=Kanit:wght@600&display=swap');

html, body {
    margin: 0px;
    padding: 0px;
    overflow: hidden;
    font-family: 'Kanit', sans-serif;
}

.flex-container {
    display: flex;
    flex-wrap: nowrap;
}

.flex-container>div {
    width: auto;
    line-height: 75px;
    margin-right: 10px;
    margin-left: 10px;
    font-size: 30px;
}

@media only screen and (max-width: 600px) {
    .desktop-only {
        display: none;
    }

    .flex-container>div {
        margin: 0px;
    }

    .showO .img-container {
        background-repeat: no-repeat;
        background-position: top left;
        background-size: auto;
        overflow: hidden;

    }

    .img-container img {
        display: block;
        width: 100vw;
        height: 100vh;
    }
}

.memories-section {
    background-color: plum;
    border-radius: 16px;
    flex-grow: 8;
    padding: 32px;
}

.polkadot-background {
    /* background-image: radial-gradient(blue 20%, transparent 20%); */
        /* radial-gradient(#fafafa 20%, transparent 20%); */
    background-color: gray;
    background-position: 0 0, 50px 50px;
    background-size: 100px 100px;
}

.ui {
    position: absolute;
    bottom: 16px;
    width: 90%;
    left: 50%;
    transform: translate(-50%, 0);
}

.panel-tag {
    display: flex;
    flex-direction: row;
}

.nametag {
    background-color: whitesmoke;
    border-radius: 10px 10px 0px 0px;
    padding: 8px;
    width: fit-content;
    font-size: 24px;
    margin-left: 8%;
    margin-bottom: -8px;
    text-transform: capitalize;
}

.panel-button {
    background-color: gray;
    border-radius: 10px 10px 0px 0px;
    padding: 1px;
    width: fit-content;
    font-size: 24px;
    margin-left: 38%;
    /* margin-bottom: -8px; */
    text-transform: capitalize;
    cursor: pointer;
    border: none;
}

.textbox {
    width: 90%;
    padding: 16px;
    margin-left: auto;
    margin-right: auto;

    border-style: groove;
    border-width: 7px;
    border-radius: 8px;
    border-color: white;

    font-size: 32px;
    color: #fff;
    text-shadow: 2px 0 0 #000, 0 -1px 0 #000, 0 1px 0 #000, -1px 0 0 #000;
}

#transcription {
    max-height: 10rem;
    overflow-y: scroll;
}