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

html, body {
    margin: 0px;
    padding: 0px;
    overflow: hidden;
    background-color: #000;
}

.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-position: 0 0, 50px 50px;
    background-size: 100px 100px;
}

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

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

.textbox {
    width: 80%;
    padding: 12px;
    margin-left: auto;
    margin-right: auto;
    background-color: #202020;

    border-radius: 8px;

    font-size: 16px;
    color: #fff;
    outline: none;
}


.scroll::-webkit-scrollbar {
    width: 5px;
}

.scroll::-webkit-scrollbar-track {
    background: transparent;
}
.scroll::-webkit-scrollbar-thumb {
    background: #444;
}

.front { 
    z-index: 1004;
}

.modal {
    display: none;
}
  

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