* {
	margin: 0px;
	padding: 0px;
	box-sizing: border-box;
}

:root {
    --lSBBG: #6a6a6a;
    --rSBBG: #6a6a6a;
    --darkTrans: rgba(0, 0, 0, 0.67);
    --ligtTrans: rgba(255, 255, 255, 0.67);
}

html, body {
    width: 100dvw;
    height: 100dvh;
    overflow: hidden;
}

img:not(.sLGiS > img) {
    user-drag: none;
    -webkit-user-drag: none;
    user-select: none;
    -moz-user-select: none;
    -webkit-user-select: none;
    -ms-user-select: none;
}

body.userBG {
    background: var(--bg);
    background-size: cover;
    background-position: bottom center;
}

div#sLG, div#pfV, div#setLG {
    opacity: 0;
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    background: var(--darkTrans);
    backdrop-filter: blur(2px);
    display: flex;
    justify-content: center;
    align-items: center;
    pointer-events: none;
    transition: opacity 0.2s ease-in-out;
    z-index: 3;
}

div#sLG.sLGo, div#pfV.pfVo, div#setLG.setLGo {
    opacity: 1;
    pointer-events: all;
}

div#sLG > div.sLGi {
    width: 75%;
    height: 60%;
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    grid-template-rows: repeat(3, 1fr);
    grid-column-gap: 15px;
    grid-row-gap: 20px;
}

div#sLG .sLGC, div#pfV .pfVC, div#setLG .setLGC {
    position: absolute;
    top: 30px;
    left: 30px;
    aspect-ratio: 1;
    width: 80px;
    background: transparent;
    color: black;
    border: none;
    cursor: pointer;
    transition: filter 0.2s ease-in-out;
}

div#sLG .sLGC:hover {
    filter: brightness(2);
}

div.sLGiS {
    cursor: pointer;
    width: 100%;

    display: flex;
    justify-content: flex-start;
    align-items: center;
    flex-direction: column;
    text-align: center;
}

div.sLGiS > * {
    width: 90%;
    color: gray;
    font-family: 'Whitney';
    font-size: initial;
}

div.sLGiS > img {
    border-radius: 20px;
    transition: border-radius 0.2s ease-in-out;
}

div.sLGiS:hover > img {
    border-radius: 10px;
}

div.sLGiS > p {
    margin-top: 10px;
    transition: color 0.2s ease-in-out;
}

div.sLGiS:hover > p {
    color: white;
}

div#pfV > div.pfVi {
    display: flex;
    width: 100%;
    height: 100%;
    align-items: center;
    justify-content: center;  
}

div.pfVi > div.yourProfile {
    height: 80%;
    background: #444444;
    aspect-ratio: 3.5/4;
    border-radius: 20px;
    overflow: hidden;
}

div.pfVi > div.yourProfile div.banner {
    width: 100%;
    aspect-ratio: 7/2;
    background: var(--pic);
    background-position: bottom center;
    background-size: cover;
}

div.pfVi > div.yourProfile div.top {
    position: relative;
    height: 160px;
}

div.pfVi > div.yourProfile div.top div.pfp {
    background: #444444;
    border-radius: 50%;
    position: absolute;
    aspect-ratio: 1;
    left: 50px;
    top: -100px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 250px;
    max-width: 250px;
}

div.pfVi > div.yourProfile div.top div.pfp img.pfp {
    border-radius: 50%;
    width: 90%;
}

div.pfVi > div.yourProfile div.top div.pfp div.status {
    background: #444444;
    aspect-ratio: 1;
    position: absolute;
    border-radius: 50%;
    width: 30%;
    bottom: 0;
    right: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

div.pfVi > div.yourProfile div.top div.pfp div.status img.status {
    width: 70%;
}

div.pfVi > div.yourProfile div.top div.text {
    margin-top: 25px;
    position: absolute;
    width: 50%;
    right: 10%;
    text-align: center;
    font-family: 'Whitney';
    color: rgb(255, 255, 255);
    font-size: x-large;
}

div.pfVi > div.yourProfile div.top div.text h4 {
    color: #a0a0a0;
    font-weight: 400;
    letter-spacing: 1px;
    font-size: large;
    font-style: italic;
}

div.pfVi > div.yourProfile div.divider {
    width: 95%;
    background: #343434;
    height: 3px;
    border-radius: 300px;
    margin: 10px 2.5%;
}

div.pfVi > div.yourProfile div.middle {
    width: 90%;
    height: 190px;
    background: #343434;
    margin: 0 5%;
    border-radius: 10px;
}

div.setLGi {
    width: 80%;
    height: 70%;
    display: grid;
    grid-template-columns: 100%;
    grid-template-rows: repeat(9, 1fr);
    row-gap: 1%;
}

div.settingdiv {
    display: grid;
    grid-template-columns: 1fr 4fr;
    grid-template-rows: 100%;
    overflow: hidden;
    background:var(--col);
    border-radius: 15px;
    font-family: 'Whitney';
    color: white;
}

div.settingdiv > p {
    width: 100%;
    display: flex;
    font-size: 40px;
    justify-content: center;
    align-items: center;
}

div.settingdiv > div {
    background:var(--col);
    border-radius: 15px;
    overflow: hidden;
    display: flex;
    align-items: center;
}

div.settingdiv > div input {
    font-family: 'Whitney';
    background: color-mix(in srgb, var(--col) 80%, white 20%);
    width: 95%;
    height: 60%;
    padding-left: 15px;
    margin: 0 2.5%;
    outline: none;
    border-radius: 10px;
    border: none;
    color: black;
}

div.settingdiv > div input::placeholder {
    color: black;
}

div.bodyD {
    width: 100vw;
    height: 100vh;
    display: flex;
}

main {
    display: flex;
}

div.leftSideBar {
    height: calc(100% - 20px);
    width: 340px;
    margin: 10px 0 10px 0;
    background: var(--darkTrans);
    backdrop-filter: blur(5px);
    border-top-right-radius: 20px;
    border-bottom-right-radius: 20px;
}

body.light div.leftSideBar {
    background: var(--ligtTrans);
}

div.leftSideBar > img.logo {
    width: 100%;
    image-rendering: pixelated;
}

body.dark div.leftSideBar > img.logo {
    filter: invert(1);
}

div.leftSideBar > div.buttons {
    width: 100%;
    height: 60px;
    display: flex;
    justify-content: space-evenly;
    align-items: center;
}

div.leftSideBar > div.buttons button {
    cursor: pointer;
    height: 100%;
    aspect-ratio: 1;
    border: none;
    border-radius: 50%;
    background: #6a6a6a;
    padding: 15px;
    transition: box-shadow 0.2s ease-in-out;
}

div.leftSideBar > div.buttons button:hover {
    box-shadow: 0px 0px 10px #6a6a6a;
}

body.dark div.leftSideBar > div.buttons button {
    filter: invert(1);
}

div.searchBar {
    width: calc(100% - 40px);
    height: 60px;
    margin: 20px;
    margin-top: 15px;
    border-radius: 100px;
    background: #6a6a6a;
}

div.other {
    position: relative;
    width: calc(100% - 370px);
    height: 100%;
    margin-left: 30px;
}

body.light div.topBar, body.light div.textBox, body.light div.chat {
    background: var(--ligtTrans) !important;
}

div.other > div.topBar {
    position: absolute;
    top: 0;
    right: 0;
    height: 5%;
    width: 100%;
    background: var(--darkTrans);
    border-bottom-left-radius: 20px;
}

div.other > div.chat {
    overflow-y: scroll;
    position: absolute;
    top: 6%;
    right: 0;
    height: 78%;
    width: 100%;
    background: var(--darkTrans);
    border-top-left-radius: 20px;
    border-bottom-left-radius: 20px;
    display: flex;
    flex-direction: column-reverse;
}

div.other > div.textBox {
    position: absolute;
    top: unset;
    bottom: 0;
    right: 0;
    height: 15%;
    width: 100%;
    background: var(--darkTrans);
    border-top-left-radius: 20px;
}

body.light div.searchBar input {
    color: black !important;
}

body.light div.searchBar input::placeholder {
    color: black !important;
}

div.searchBar input {
    border: none;
    height: 100%;
    margin-left: 20px;
    background: none;
    font-size: 18px;
    width: calc(100% - 20px);
    outline: none !important;
    font-family: 'Whitney';
    color: white !important;
}

div.searchBar input::placeholder {
    color: white !important;
}

div.innerTxt {
    width: calc(100% - 40px);
    height: calc(100% - 40px);
    margin: 20px;
    border-radius: 20px;
    background: var(--darkTrans);
    display: flex;
}

body.light input.innerTxt {
    color: black !important;
}

body.light input.innerTxt::placeholder {
    color: black !important;
}

input.innerTxt {
    border: none;
    height: 100%;
    margin-left: 20px;
    background: none;
    font-size: 30px;
    outline: none !important;
    font-family: 'Whitney';
    color: white !important;
    width: calc(100% - 265px);
}

input.innerTxt::placeholder {
    color: white !important;
}

button.send {
    cursor: pointer !important;
    background: rgba(78, 118, 152, 0.5);
    width: 245px;
    height: 100%;
    border: none;
    color: white;
    font-size: 30px;
    font-family: 'Whitney';
    border-top-right-radius: 20px;
    border-bottom-right-radius: 20px;
    transition: background 0.2s ease-in-out;
}

button.send:hover {
    background: rgba(78, 118, 152, 0.8);
}

div.innerchat {
}

div.innerchat div.msg {
    min-height: 100px;
    max-height: 300px;
}

div.msg {
    display: flex;
    cursor: pointer;
    transition: background 0.2s ease-in-out;
}

div.msg:hover {
    background: color-mix(in srgb, var(--darkTrans) 90%, white 10%);
}

div.msg > div.pfp {
    height: 100px;
    min-width: 100px;
    max-width: 100px;
    overflow: hidden;
}

div.pfp > img {
    width: calc(100% - 30px);
    aspect-ratio: 1;
    margin: 15px;
    box-sizing: border-box;
    border-radius: 100%;
}

div.msg > div.messageText {
    width: calc(100% - 100px);
    margin: 15px 0px;
    display: flex;
    flex-direction: column;
    font-family: 'Whitney';
    font-weight: bold;
    font-size: 20px;
}

div.messageText .user {
    font-style: italic;
    color: var(--ucol);
}

div.messageText .message {
    margin-right: 15px;
    font-style: normal;
    color: white;
    overflow-wrap: break-word;
}

body.light div.messageText .message {
    color: black !important;
}

body.light div.innerTxt {
    background: var(--ligtTrans);
}