@import url('https://fonts.googleapis.com/css2?family=Inter:wght@100;200;300;400;500;600;700;800;900&display=swap');

:root {
    --min-button-width: 310px;
}

body {
    font-family: 'Inter', sans-serif;
    background: var(--their-voice-color-7);
}
body,html {
    margin: 0;
    
}

body::-webkit-scrollbar { width: 0 !important }
.header {
    background: var(--their-voice-color-2);
    padding: 10px;
    box-shadow: 0px 4px 4px var(--black25);
    /* height: 92px; */
}

.header .text-logo {
    font-weight: Bolder;
    font-size: 36pt;
}

.category-bar {
    /* width: 100%; */
    background: var(--their-voice-color-3);
    border-radius: 10px;
    border: 2px solid var(--black);
    font-size: 24pt;
    position: relative;
}

.cat-bar {
    background: var(--their-voice-color-3);
    /* padding: 5px; */
    border: 2px solid var(--black);
    border-radius: 10px;
    text-align: center;
    font-size: 20pt;
    height: 54px;
    overflow-y: hidden;
    margin-top: 10px;
    transition: 0.5s;
    /* z-index: 5; */
}

.cat-bar:hover {
    transform: scale(1.1);
}
.cat-options a {
    color: unset;
    text-decoration: none;
}

.cat-search {
    float: right;
    padding: 0px;
    background: var(--their-voice-color-6);
    border: 2px solid var(--black);
    border-radius: 10px;
    cursor: pointer;
}

.cat-search img {
    max-width: 36px;
}

.category-bar .category-select {
    right: 0px;
    background: var(--their-voice-color-6);
    border-left: 2px solid var(--black);
    border-top-right-radius: 8px;
    border-bottom-right-radius: 8px;
    position: absolute;
    padding: 4px;
}

.category-bar .category-select > img {
    max-width: 40px;
    position: relative;
}

.settings-button, .home-button {
    background: var(--their-voice-color-6);
    border: 2px solid black;
    border-radius: 10px;
    padding: 5px 15px;
    transition: 0.1s;
    cursor: pointer;
    width: 30%;
    margin: 0 auto;
    display: inline-block;
}

.settings-button:hover, .home-button:hover {
    background: var(--their-voice-color-7);
    transform: scale(1.05);
}

.settings-button:active, .home-button:active {
    background: var(--their-voice-color-8);
    transform: scale(1.01);
}

.settings-button img, .home-button img {
    max-width: 90%;
    padding: 0px;
}

.undo-button {
    background: var(--their-voice-color-9);
    height: 100px;
    text-align: center;
    border-top-left-radius: 10px;
    border-left: 2px solid var(--black);
    border-top: 2px solid var(--black);
    transition: 0.2s;
}

.undo-button img {
    max-width: 50px;
    margin: 0px auto;
}

.undo-button img:hover {
    transform: rotate(2deg) scale(1.1);
}

.redo-button {
    background: var(--their-voice-color-10);
    height: 100px;
    text-align: center;
    border-bottom-left-radius: 10px;
    border-left: 2px solid var(--black);
    border-top: 2px solid var(--black);
    border-bottom: 2px solid var(--black);
    transition: 0.2s;
}

.redo-button img {
    max-width: 50px;
    margin: 0px auto;
}

.redo-button img:hover {
    transform: rotate(-2deg) scale(1.1);
}


.main-input-area {
    margin-top: 10px;
}

.input-area {
    background: var(--their-voice-color-3);
    border: 2px solid var(--black);
    height: 200px;
    overflow-y: auto;
    display: block;
    z-index: 10;
    transition: 0.2s;
    /* position: relative; */
    overflow-x: hidden;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
}

.button-helper {
    display: inline-block;
    height: 100%;
    vertical-align: middle;
}

.speak-button {
    background: var(--their-voice-color-2);
    text-align: center;
    height: 200px;
    border: 2px solid var(--black);
    border-left: none;
    border-top-right-radius: 10px;
    /* border-bottom-right-radius: 10px; */
    display: flex;
    align-items: center;
}

.speak-button img {
    /* max-width: 80%; */
    margin: 0px auto;
    width: 80%;
    max-width: 200px;
}

.input-area-dropdown {
    background: var(--their-voice-color-4);
    padding: 5px;
    /* position: absolute; */
    bottom: 1px;
    text-align: center;
    /* width: calc(100% - 4px); */
    box-shadow: inset 0px 0px 5px -3px var(--black);
    /* border-top: none; */
    border: 2px solid var(--black);
    border-top: none;
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
    transition: 0.1s;
    cursor: pointer;
}

.input-area-dropdown:hover {
    background: var(--their-voice-color-6)
}

.input-area-dropdown:active {
    background: var(--their-voice-color-7);
}

.input-area-dropdown img {
    max-width: 20px;
}

.clear-button {
    background: var(--their-voice-color-5);
    padding: 5px;
    position: absolute;
    right: 0px;
    top: 0px;
    border: 2px solid var(--black);
    border-bottom-left-radius: 10px;
}

.clear-button img {
    max-width: 40px;
    margin: 0px auto;
}

.word-selection-area {
    background: var(--their-voice-color-6);
    padding: 5px;
    margin-top: 12px;
    border: 2px solid var(--black);
    border-radius: 10px;
    /* box-shadow: 0px 0px 100px 0px #00000050; */
}

.word-selector {
    background: var(--their-voice-color-3);
    margin: 5px 0px;
    border: 2px solid var(--black);
    text-align: center;
    border-radius: 10px;
    cursor: pointer;
    user-select: none;
    /* width: 100%; */
}

.word-selector:hover {
    transform: scale(1.05);
}

.word-selector:active {
    filter: brightness(0.5);
    box-shadow: inset 0px 0px 3px var(--black);
}

.word-selector img {
    max-width: 60%;
    user-select: none;
    pointer-events: none;
    padding: 10px;
}

.cat-options {
    margin-top: 0px;
    border-top: 2px solid var(--black);
}

.cat-text {
    padding: 5px;
}

.cat-option {
    background: var(--their-voice-color-8);
    padding: 5px 10px;
    text-align: left;
    transition: 0.2s;
}
.cat-option:hover {
    filter: brightness(1.1);
}

.cat-option img {
    float: left;
    left: 10px;
    max-width: 36px;
    margin-right: 20px;
}

.word-selector .word-caption {
    background: var(--their-voice-color-2);
    padding: 20px 5px;
    border-left: unset;
    border-right: unset;
    border-bottom: unset;
    border-radius: 8px;
    font-weight: bolder;
    font-size: 24px;
    text-overflow: ellipsis;
}

.scrollable-container {
    overflow-y: scroll;
    height: 50%;
}

.scrollable-container::-webkit-scrollbar {
    width: 40px;
}

.scrollable-container::-webkit-scrollbar-track {
    box-shadow: inset 0 0 5px var(--black25);
    border: 2px solid var(--black); 
    border-radius: 10px;
    background: var(--their-voice-color-2);
}

.scrollable-container::-webkit-scrollbar-thumb {
    background-color: var(--their-voice-color-4);
    border: 2px solid var(--black);
    border-radius: 10px;
}

img {
    transition: 0.2s;
    /* max-width: 32px; */
}

.popup-preview {
    border-radius: 10px;
    background-color: var(--their-voice-color-11);
    max-width: 850px;
    margin: 30px auto;
    font-family: 'Inter', sans-serif;
    border: 2px solid #000;
    display: none;
    box-shadow: 10px 10px 20px 0px #00000020;
    /* margin-top: 10px; */
    z-index: -10;
}

.popup-preview-title {
    padding: 5px;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    border-bottom-left-radius: 0px;
    border-bottom-right-radius: 0px;
    border-bottom: 2px solid black;
    background: var(--their-voice-color-2);
}

.popup-preview-title span {
    font-weight: bold;
    font-size: 24pt;
    color: var(--their-voice-color-1);
    display: block;
    text-align: center;
}

.custom-dropdown {
    background: #fff;
    border: 2px solid black;
    border-radius: 10px;
    font-size: 24px;
    width: 250px;
    padding: 0px;
    margin: 0 auto;
    display: inline-block;
}

.custom-dropdown-caret {
    background: var(--their-voice-color-4);
    padding: 15px 15px;
    display: inline-block;
    border-top-right-radius: 7px;
    border-bottom-right-radius: 7px;
    position: relative;
    right: -24px;
    top: 0px;
}

.custom-dropdown-caret img {
    max-width: 30px;
}

.custom-dropdown-select {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    border: 0;
}
.dropdown-wrapper {
    padding: 10px;
    display: inline-block;
}

.ck-dropdown {
    background: var(--their-voice-color-6);
    border: 2px solid #000;
    border-radius: 10px;
    font-size: 24px;
    display: inline-block;
}

.ck-select {
    padding: 10px 5px;
    /* -webkit-appearance: none; */
    -moz-appearance: none;
    /* appearance: none; */
    border: 0;
    text-align: center;
    background: #fff;
    border-bottom-left-radius: 10px;
    border-top-left-radius: 10px;
    /* border-right: 2px solid #000; */
    border-radius: 10px;
    min-width: 250px;
}

.ck-caret {
    display: none;
    /* display: inline-block; */
    position: relative;
    border-top-right-radius: 8px;
    left: -4px;
}

.ck-caret img {
    max-width: 20px;
    margin: 15px;
}

.simple-button {
    padding: 10px;
    min-width: var(--min-button-width);
    text-align: center;
    font-size: 24px;
    border: 2px solid #000;
    border-radius: 10px;
    transition: 0.1s;
}

.simple-button:hover {
    transform: scale(1.05);
    background: rgba(255, 255, 255, .5);
}

.simple-button:active {
    transform: scale(1.00);
    background: rgba(255, 255, 255, .2);
}

.simple-button-dark {
    background: rgba(0, 0, 0, 0.2) !important;
}

.simple-input {
    padding: 10px;
    min-width: var(--min-button-width);
    text-align: center;
    font-size: 24px;
    border: 2px solid #000;
    border-radius: 10px;
    transition: 0.1s;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

code {
    color: black;
    /* padding: 110px; */
}

select[name='input_color'] > option[value='gray'] {
    background: #979797;
}
select[name='input_color'] > option[value='orange'] {
    background: #fac898;
}
select[name='input_color'] > option[value='blue'] {
    background: #d2edff;
}
select[name='input_color'] > option[value='pink'] {
    background: #ffd0d4;
}
select[name='input_color'] > option[value='purple'] {
    background: #c8a2c8;
}

.remember-pin {
    width: 68%;
    margin: 0 auto;
    font-size: 15px;
    color: #000;
}

.customize-header {
    padding: 10px 80px;
    background: #fff;
    font-size: 24px;
    font-weight: bolder;
    border: 2px solid #000;
    border-radius: 10px;
    display: inline-block;
}

.category-option {
    background: #FFEFF0;
    padding: 50px 5px;
    border: 2px solid #000;
    font-size: 20px;
    margin: 5px;
    text-align: center;
    border-radius: 10px;
    transition: 0.1s;
}

.category-option:hover {
    background: var(--their-voice-color-12);
    cursor: pointer;
}

.category-option img {
    max-width: 30px;
}

.darker-category-option {
    background: var(--their-voice-color-12);
}

.category-edit-button {
    position: absolute;
    right: 34px;
    top: 18px;
}

.category-edit-button img {
    max-width: 20px;
}

.popup-modal {
    background: #605f5ff2;
    position: fixed;
    height: 100%;
    width: 100%;
    top: 0px;
    left: 0px;
    display: none;
}

.popup-modal-display {
    margin: 0 auto;
    min-width: 520px;
    width: 520px;
    max-width: 80%;
    padding: 10px;
    background: var(--their-voice-color-11);
    margin-top: 100px;
    border: 2px solid #000;
    border-radius: 10px;
    display: none;
}

.input-rename {
    background-image: url('images/rename.png');
    background-size: 20px;
    background-position: 98% 5px;
    background-repeat: no-repeat;
}

.simple-button-darker {
    background: var(--their-voice-color-10) !important;
}

.simple-button-kinda {
    background: var(--their-voice-color-11) !important;
}

.popup-modal-title {
    display: block;
    font-size: 24px;
    font-weight: bolder;
    text-align: center;
    margin: 0 auto;
}

.large-header {
    font-size: 29px;
    font-weight: bolder;
}

.keypad-button {
    background: #fff;
    border-radius: 10px;
    border: 2px solid #000;
    padding: 10px 30px;
    margin: 5px;
    font-size: 29px;
    width: 90%;
    transition: 0.1s;
}

.keypad-button:hover {
    transform: scale(1.05);
    background: var(--their-voice-color-11);
}

.keypad-button:active {
    transform: scale(1.01);
    background: var(--their-voice-color-10);
}

.small-button-text {
    font-size: 12px;
    padding: 22px 5px;
    font-weight: bolder;
}

.entry-dot {
    width: 40px;
    height: 40px;
    background: #fff;
    border: 2px solid #000;
    border-radius: 40px;
    margin: 10px;
    display: inline-block;
}

.entry-dot-filled {
    background: var(--their-voice-color-1);
}

.trash-icon {
    background: #fff;
    padding: 8px;
    display: inline-block;
    border-radius: 10px;
    border: 2px solid black;
    position: absolute;
    transition: 0.1s;
}

.trash-icon:hover {
    transform: scale(1.05);
}

.trash-icon:active {
    transform: scale(1.01);
    background: var(--their-voice-color-5);
}

.trash-icon img {
    max-width: 40px;
}

.small-button {
    padding: 6px;
    background: #fff;
    border: 2px solid #000;
    border-radius: 10px;
    position: relative;
    top: -4px;
}

.small-button img {
    max-width: 44px;
    position: relative;
}

.confirm-rename-button { display: none; }

.home-tab {
    display: none;
}

.home-button { display: none; }

.inserted-word {
    display: inline-block;
    background: var(--their-voice-color-9);
    padding: 5px 20px;
    font-size: 30px;
    border-radius: 10px;
    border: 2px solid #000;
    margin: 5px;
    /* color: #fff; */
    /* text-shadow: 1px 1px 2px #000; */
    transition: none !important;
    font-weight: bold;
}

.exit-back {
    background: var(--their-voice-color-5);
    padding: 5px;
    /* position: absolute; */
    right: 0px;
    top: 0px;
    border: 2px solid var(--black);
    border-bottom-left-radius: 10px;
    border-top-right-radius: 10px;
    display: inline-block;
    text-align: right;
    transition: 0.1s;
    cursor: pointer;
}

.exit-back:hover {
    background: var(--their-voice-color-5);
    transform: scale(1.05);
}

.exit-back:active {
    transform:scale (1.00);
    background: var(--their-voice-color-2);
}

.inserted-words {
    padding-right: 50px;
    height: 100%;
}

.credit-links {
    padding: 10px;
}

.credit-links a {
    font-size: 18pt;
    text-decoration: none;
    color: var(--their-voice-color-1);
    display: block;
    padding: 5px 10px;
    margin: 5px;
    transition: 0.1s;
}

.credit-links a:hover {
    transform: scale(1.05);
    background: var(--their-voice-color-12);
}

.cat-tab-vis select {
    min-width: auto;
}
.delete-words-overlay {
    display: block;
    position: relative;
    top: 0px;
}

.speak-button-alt {
    background: var(--their-voice-color-2);
    padding: 20px 5px;
    border-top-right-radius: 10px;
    border-bottom-right-radius: 10px;
    border: 2px solid #000;
    border-left: none;
    text-align: center;
    transition: 0.1s;
    cursor: pointer;
}

.speak-button-alt:hover {
    background: var(--their-voice-color-6);
}
.speak-button-alt:active {
    background: var(--their-voice-color-7);
}

.speak-button-alt img {
    max-width: 60%;
    margin: 0 auto;
}

.clear-button-alt {
    text-align: center;
    background: var(--their-voice-color-2);
    padding: 10px;
    border-top-right-radius: 10px;
    border-bottom-right-radius: 10px;
    border: 2px solid #000;
    border-left: none;
    margin-top: 26px;
    transition: 0.1s;
    cursor: pointer;
    border-bottom: none;
}

.clear-button-alt:hover {
    background: var(--their-voice-color-6);
}
.clear-button-alt:active {
    background: var(--their-voice-color-7);
}


.clear-button-alt img {
    max-width: 60%;
    margin: 0 auto;
}