*{
    font-family: 'Lato', sans-serif;
}
:root {
    --doc-height: 100%;
   }
/* width */
::-webkit-scrollbar {
width: 8px;
}

/* Track */
::-webkit-scrollbar-track {
/*box-shadow: inset 0 0 5px grey;*/
border-radius: 10px;
}

/* Handle */
::-webkit-scrollbar-thumb {
background: #445481;
border-radius: 10px;
}
html{
    overflow: hidden;
    height: var(--doc-height);
    overscroll-behavior-y: none;
    /*height: 100svh;*/
}
body{
    margin:0;
    padding:0;
    background: #303146;
    overflow: hidden;
    height: var(--doc-height);
    overscroll-behavior-y: none;
}
    #sidenav{
        background-color: #ff8560;
        box-shadow: 0 0 10px 0 #000000;
        padding: 5px;
        height:calc(var(--doc-height) - 10px);
        width:calc(100% - 10px);
        max-width: 300px;
        float:left;
        transition-duration: 100ms;
        overflow-y: auto;
        overflow-x: hidden;
    }
    main{
        background-color: transparent;
        padding: 0px;
        height:calc(var(--doc-height) - 20px);
        width:100%;
        max-width:calc(100% - 320px);
        float:left;
    }
    #messages{
        width: calc(100% - 10px);
        height: calc(var(--doc-height) - 76px);
        overflow-y: scroll;
        padding: 0 1px 10px 5px;
    }
    #inputs{
        height:40px;
        width:100%;
        padding: 10px 5px 0 5px;
        border-top: 1px solid #18182e;
    }
    #textInputDiv{
        background:white;
        padding:2px;
        width:calc(100% - 120px);
        height:36px;
        border-radius:40px;
        float:left;
        overflow: hidden;
    }
    .clean-input {
        height: 30px;
        width: calc(100% - 30px);
        border: none;
        border-bottom: groove;
        font-size: 16px;
        border-width: 0 0 1px 0;
        outline: 0;
        border-radius: 0;
    }
    .clean-input::first-line{
        line-height:30px;
    }
    #woof, .woofList{
        margin: 0 0 0 10px;
        width: 85px;
        height: 26px;
        border-radius: 40px;
        background: #ff6c40;
        float: left;
        padding: 5px;
        text-align: center;
        cursor:pointer;
    }
    #woof span, .woofList span{
        color:white;
        font-weight: bold;
        line-height: 26px;
        font-family: 'Sigmar', cursive;
        letter-spacing: 1.5px;
    }
    .friendMsg{
        background:rgb(168, 168, 168);
        padding:10px;
        border-radius:10px;
        width:fit-content;
        max-width: 500px;
        overflow:hidden;
    }
    .msgContainer{
        width:100%;
        display:block;
        margin-top: 10px;
        word-break: break-all;
    }
    .msgContainerRight{
        width:100%;
        display:flex;
        justify-content: right;
        margin-top: 10px;
        word-break: break-all;
    }
    .myMsg{
        background: #ff6c40;
        float:right;
        padding:10px;
        border-radius:10px;
        width:fit-content;
        max-width: 500px;
        margin-right:5px;
        overflow:hidden;
    }
    .shiba, .shibaMe{
        width: calc(100% - 16px);
        display: flex;
        justify-content: left;
        margin-top: 10px;
        padding: 8px;
        border-radius: 10px;
        transition-duration: 100ms;
    }
    .shiba:hover{
        background: #ffffff8f;
        cursor:pointer;
        transition-duration: 100ms;
        transform:scale(1.02);
    }
    .pfp{
        width:50px;
        height:50px;
        border-radius:100%;
        border: 2px solid #464230;
        display:inline-block; 
        background-size:cover;
    }
    .shiba h4, .shibaMe h4, .shibaOthersSearch h4{
        margin-left: 5px;
        margin-top: 16px;
        font-size: 18px;
        color: #000006;
        margin-bottom: 0;
    }
    #search #shibaSearch{
        margin-top:6px;
        margin-bottom:4px;
        background:transparent;
        color:white;
        border-color: white;
    }
    .welcomeScreenMsg{
        font-family: 'Sigmar', cursive;
        color: white;
        letter-spacing: 2px;
        text-align: center;
        font-size: 60px;
        margin-top: calc(50vh - 150px);
    }
    .burgerMenuControlsVisibility{
        display:none !important;
    }
    @media only screen and (max-width: 800px)  {
        #sidenav{
            display:none;
        }
        main{
            max-width: calc(100% - 0px);
        }
        #mainBox h1, .welcomeScreenMsg{
            font-size: 15vw;
        }
        .burgerMenuControlsVisibility{
            display:inline-block !important;
        }
        #shibaSearch{
            max-width: calc(100% - 60px);
            position: absolute;
            left: 10px;
        }
    }
    @media only screen and (min-width: 801px){
        #conversationAt{margin-top: 8px;}
        #conversationName{margin-top: 8px;}
    }
    .hidden{
        display:none !important;
    }

    #search{
        height:45px;
    }
    #shibas{
        height:calc(var(--doc-height) - 140px);
        overflow-y:auto;
        overflow-x:hidden;
    }
    #myAccount{
        height:75px;
        border-top: 1px solid #303146;
    }
    #logoutIcon{
        width:30px;
        height:35px;
        margin-left: auto;
        float:right;
        margin-top: 8px;
        margin-right: 8px;
        filter: contrast(0.8);
    }
    #logoutIcon:hover{
        opacity:0.6;
        cursor:pointer;
    }
    main{
        overflow: hidden;
        height: var(--doc-height);
    }
    #shibasSearchAccounts{
        background:white;
        box-shadow: 0 0 10px 0 black;
        border-radius:5px;
        border-top-left-radius:0;
        position:fixed;
        padding:5px;
        width:calc(100% - 10px);
        max-width:400px;
        /*height:calc(var(--doc-height) - 20px);*/
        height:fit-content;
        max-height:800px;
        top:50px;
        left:0px;
        z-index:100;
        display:none;
    }
    .shibaOthersMsgButton{
        margin-left: auto;
        float:right;
        margin-top: 8px;
        margin-right: 8px;
        filter: contrast(0.8);
    }
    .shibaOthersSearch{
        width: calc(100% - 16px);
        display: flex;
        justify-content: left;
        margin-top: 10px;
        padding: 8px;
        border-radius: 10px;
        transition-duration: 100ms;
    }
    .woofList{
        margin-left: auto;
        margin-top: 8px;
    }
    .shibaOthersSearch:hover{
        background-color:#eeeeee;
    }
    #burgerShowMenu{
        position: fixed;
        left: 0;
        top: 0;
        cursor: pointer;
        width: 100%;
        height: 50px;
        background: #303146;
        box-shadow: 0 0 10px 0 #010101;
    }
    #burgerHideMenu{
        position:absolute;
        right:10px;
        top:10px;
        cursor:pointer;
        z-index:101;
    }
    .mobileNavShow{
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        width: calc(100% - 10px) !important;
        display: block !important;
        max-width: none !important;
        z-index:20;
    }
    .notifiBadge {
        position: absolute;
        border-radius: 50%;
        background-color: #1ba5ff;
        display:none;
        color: white;
        width: 17px;
        height: 17px;
    }
    .delConvButton{
        margin-left:auto;
        width:20px;
        height:20px;
        position:relative;
        top:15px;
        right:5px;
        opacity:0.5;
    }
    .shiba.active{
        background: #ffffff8f !important;
    }
    #shibaSearch::placeholder{
        color:rgba(255,255,255,0.8);
    }
    .delConvButton:hover{
        /*transform:scale(1.1);*/
        opacity:1;
    }
    @keyframes slide-in-left {
        0%{transform: translate(-100%);}
        100% { transform: translateX(0%); }
    }
    @keyframes slide-out-left {
        0%{transform: translate(0%);}
        100% { transform: translateX(-100%); }
    }
    #offlineIndicator{
        position:fixed;
        top:5px;
        right:5px;
        display: none;
    }
    #messages p{
        margin:0 !important;
    }
    .myMsg:has(blockquote), .friendMsg:has(blockquote){
        padding:0;
        overflow: hidden;
    }
    .myMsg h1, .friendMsg h1{
        margin:0;
    }
    blockquote{
        background: #f9f9f900;
        border-left: 10px solid #ccc;
        margin: 0;
        padding: 0.8em 10px;
        quotes: "\201C""\201D""\2018""\2019";
    }
    #pictureViewer{
        /*background-color: #040000eb;*/
        background-color: transparent;
        position: fixed;
        padding: 5px;
        width: calc(100% - 10px);
        height: calc(100% - 10px);
        z-index: 10;
        display: none;
        align-items: center;
        justify-content: center;
        flex-direction: column;
    }
    .closeImgPreIcon{
        filter: invert(1);
        animation: 0.2s ease-in-out 0s 1 normal none running scale-in;
        position: fixed;
        top: 10px;
        right: 10px;
        width: 25px;
        cursor: pointer;
        opacity: 0.8;
        z-index: 20;
    }
    @keyframes shadow{
        0%{
            background-color: transparent;
        }
        100%{
            background-color: #040000eb;
        }
    }
    @keyframes shadow-out{
        0%{
            background-color: #040000eb;
        }
        100%{
            background-color: transparent
        }
    }
    @keyframes scale-in{
        0%{
            transform: scale(0.4);
        }
        100%{
            transform: scale(1);
        }
    }
    @keyframes scale-out{
        0%{
            transform: scale(1);
        }
        100%{
            transform: scale(0.05);
        }
    }
    .shiba{
        position:relative !important;
    }
    #burgerShowMenu{
        left: unset;
        z-index: 5;
        position: absolute;
        display: block !important;
    }
    #sidenav{
        z-index:9;
        position: relative;
        box-shadow:none;
    }
    #conversationName{
        display:inline-block;
        font-size: 22px;
        color: #ffffff;
        margin-left: 2px;
        font-weight: bold;
        font-size: 18px;
        position: relative;
        bottom: 2px;
        display:none;
    }
    #conversationAt{
        display:inline-block;
        font-size: 22px;
        color: #9c9fd3;
        font-family: 'Sigmar', cursive;
        margin-left: 15px;
        position: relative;
        bottom: 2px;
        display:none;
    }
    .nonTopMargin{
        margin-top:1px !important;
    }
    .msgDate{
        color:#9c9fd3;
        font-size:12px;
    }
    .msgContainerRight:has(label){
        justify-content: center;
    }
    #offlineIndicator{
        z-index: 100;
    }
    div#shibasSearchAccounts{
        overflow-y:auto;
        max-height:calc(var(--doc-height) - 100px);
    }
    .shiba h4{
        overflow:hidden;
        width:100%;
        max-width:calc(100% - 90px) !important;
    }
    .shibaOthersSearch h4{
        overflow:hidden;
        width:100%;
        max-width:calc(100% - 160px) !important;
    }
    #conversationName{
        overflow:hidden;
        width:100%;
        max-width:calc(100% - 100px) !important;
    }
    #messages center h2{
        overflow:hidden;
        width:100%;
        max-width:calc(100% - 10px);
    }
    #messages{
        width:100%;
        max-width: calc(100% - 5px);
        overflow-x:hidden;
    }
    .shibaMe h4{
        overflow:hidden;
        max-width:calc(100% - 30px);
    }
    .pfp{
        min-width:50px !important;
    }
    html, body, #messages {
        overscroll-behavior-y: none;
    }
    .msgContainerRight:has(label:empty), .msgContainerRight:has(label[style*="display: none"]){
        margin:5px 0 0 0 !important;
    }
    .msgContainer{
        margin:0 !important;
    }

    #attachment{
        float:left;
        width:36px;
        background: #ff6c40;
        height:36px;
        margin-left:5px;
        border-radius: 20px;
        border-top-right-radius: 0;
        border-bottom-right-radius: 0;
    }
    #attachment img{
        filter:invert(1);
        margin:8px;
        margin-left:10px;
    }
    #woof{
        width:50px;
        margin-left:5px;
        border-top-left-radius: 0;
        border-bottom-left-radius: 0;
    }
    #attachmentsDiv img{
        margin:0 2px 0 0;
        position:relative;
        z-index:1;
    }
    .uploadProgress, progress::-webkit-progress-bar{
        width:calc(100% - 10px);
        position:absolute;
        left:1px;
        top:11px;
        z-index:5;
        height:0.5em;
        display:none;
        padding:0;
        border-radius:0;
        margin:0;
        accent-color:#ff6c40;
    }
    progress::-webkit-progress-bar, progress::-webkit-progress-value, .progress::-moz-progress-bar {
    accent-color:#ff6c40;
    background: #ff6c40;
}