@import url('https://fonts.googleapis.com/css2?family=Noto+Sans:ital,wght@0,100../900;1,100../900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,300../800;1,300../800&display=swap');

:root{
    --dark-color: #1f2022ff;
    --darkLight-color: #2b2d31ff;
    --light-color: #303338ff;
    --lightLight-color: #383a40ff;
    --text-color: white;
}

*{
    box-sizing: border-box;
    font-family: "Open Sans", sans-serif;
}

html, body{
    background-color: var(--darkLight-color);
    overflow: -moz-hidden-unscrollable;
    width: 100vw;
    height: 100vh;
    margin: 0px;
}

body {
    background-color: var(--darkLight-color);
    position: fixed;
    left: 0px;
    top: 0px;
    height: 100vh;
    width: 100vw;
}

h1{
    color: var(--text-color);
    font-weight: 800;
    cursor: default;
}

h2{
    color: var(--text-color);
    font-size: 15px;
    font-weight: 700;
    cursor: default;
}

h3{
    color: #868c94ff;
    font-size: 10px;
    font-weight: 600;
    cursor: default;
}

p{
    color: var(--text-color);
    font-weight: 500;
    cursor: default;
}

button{
    cursor: pointer;
}

#notification{
    border-radius: 20px;
    height: 10vh;
    width: 90vw;
    margin-left: 5vw;
    margin-right: 5vw;
    margin-top: 10px;
    z-index: 99;
}

.welcome{
    background-color: var(--lightLight-color);
    z-index: 1;
    width: 100vw;
    height: 100dvh;
    position: absolute;
    left: 0px;
    top: 0dvh;
    display: flex;
    justify-content: center;
    align-items: center;
}

.welcomeBox{
    background-color: var(--darkLight-color);
    height: 1100px;
    width: 800px;
    display: grid;
    grid-template-rows: 150px 1fr 100px;
    grid-template-columns: 1fr;
    border-radius: 20px;
    overflow: hidden;
}

.welcomeText{
    background-color: var(--darkLight-color);
    height: 100%;
    width: 100%;
    display: flex;
    padding-top: 5px;
    padding-bottom: 20px;
    padding-left: 40px;
    padding-right: 40px;
    justify-content: flex-start;
    align-items: center;
    flex-direction: column;
    overflow-y: scroll;
    overflow-x: hidden;
}

.welcomeText h2{
    font-size: 35px;
    margin-top: 10px;
    text-align: center;
}

.welcomeText p{
    font-size: 20px;
    text-align: center;
}

.welcomeText a, .welcomeText a:link, .welcomeText a:visited{
    color: #616effff;
	text-decoration: none;
    font-size: 22px;
    font-weight: 600;
	font-family: 'Open-sans', sans-serif;
}

.welcomeTopBar{
    background: #00ef00;
    height: 100%;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding-top: 5px;
    padding-bottom: 5px;
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
    margin-bottom: 10px;
}

.welcomeTopBarText{
    color: white;
    font-size: 85px;
}

.welcomeFullscreen, .welcomeFullscreen:hover, .welcomeFullscreen:active, .welcomeFullscreen:focus{
    position: fixed;
    top: 5px;
    right: 5px;
    height: 60px;
    width: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #00000000;
}

.welcomeFullscreenButton, .welcomeFullscreenButton:hover, .welcomeFullscreenButton:active, .welcomeFullscreenButton:focus{
    height: 100%;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #00000000;
    border: none;
}

#welcomeFullscreenIcon, #welcomeFullscreenIcon:focus{
    color: white;
    font-size: 70px;
    transition: .25s;
    background-color: #00000000;
}

.welcomeFullscreenButton #welcomeFullscreenIcon:hover{
    transition: .125s;
    font-size: 75px;
    background-color: #00000000;
}

.welcomeFullscreenButton #welcomeFullscreenIcon:active{
    font-size: 65px;
    background-color: #00000000;
}

.useOptions{
    align-self: center;
    justify-self: center;
    width: 100%;
    height: 100%;
    grid-row: 3 / 4;
    grid-column: 1 / 2;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: 100%;
    background-color: white;
    padding-left: 10px;
    padding-right: 10px;
    padding-bottom: 0xp;
    gap: 10px;
    border-bottom-left-radius: 20px;
    border-bottom-right-radius: 20px;
    background-color: var(--dark-color);
}

.useOption{
    display: flex;
    align-self: center;
    justify-self: center;
    align-items: center;
    justify-content: center;
    background-color: var(--light-color);
    border-radius: 20px;
    border: none;
    padding: 10px;
    width: 100%;
    height: 70%;
    margin-bottom: 10px;
    margin-top: 10px;
    color: white;
    font-size: 125%;
}

.useOption:hover{
    background-color: var(--lightLight-color);
}

.useOption:active{
    background-color: var(--darkLight-color);
}

.topBar{
    grid-row: 1 / 2;
    grid-column: 1 / 5;
    display: flex;
    align-items: flex-start;
    justify-items: flex-start;
}

.topImage{
    height: 9px;
    padding-left: 10px;
    width: 85px;
    content: url("../.images/textIcon.png");
}

.mainSection{
    grid-row: 2/4;
    grid-column: 1 / 5;
}

.main{
    display: block;
    position: absolute;
    left: 0px;
    top: 0dvh;
    width: 100vw;
    height: 100dvh;
    overflow: hidden;
	background-color: var(--darkLight-color)
}

.login{
    z-index: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    position: absolute;
    width: 100vw;
    height: 100dvh;
    left: 0dvh;
    top: 0px;
    overflow: hidden;
    background-color: var(--light-color);
}

.container{
    display: grid;
    height: 100%;
    width: 100%;
    grid-template-columns: 80px 250px 1fr 350px;
    grid-template-rows: 9px 50px 1fr 75px;
}

.loginBox{
    z-index: 1;
    display: flex;
    background-color: var(--darkLight-color);
    border-color: var(--darkLight-color);
    border-width: 5%;
    border-radius: 10px;
    height: 60%;
    width: 40%;
    transition: 0.5s;
    justify-content: center;
    align-items: center;
}

.loginPageButton{
    background-color: #00000000;
    height: 100%;
    width: 100%;
    border-radius: 10px;
    border-width: 0px;
    outline-width: 0px;
    transition: 0.125s;
}

.loginPageButton:hover, :focus{
    background-color: var(--dark-color);
}

.loginText{
    color: #ffffffff;
    margin: 0px;
    font-size: 100%;
}

.loginInputs{
    background-color: var(--light-color);
    width: 40%;
    height: 50%;
    overflow: auto;
    border-radius: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    padding-top: 10px;
    padding-bottom: 15px;
}

.loginInputs h3{
    color: white;
    font-size: 20px;
    margin-top: 10px;
    margin-bottom: 10px;
}

.loginInput{
    background-color: var(--darkLight-color);
    height: 50px;
    width: 96%;
    border-radius: 10px;
}

.loginActionGroup{
    width: 96%;
    height: 200px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.loginTextInput{
    color: #ffffffff;
    margin: 0px;
    height: 100%;
    width: 100%;
    outline-width: 0px;
    border-width: 0px;
    background-color: #00000000;
    text-align: center;
    font-size: 15px;
    border-radius: 15px;
}

.loginTextInput::-ms-reveal{
    display: none;
}

.loginInputSeperator{
    height: 10px;
    border-radius: 5px;
    background-color: var(--dark-color);
    border: none;
    width: 60%;
    margin-top: 15px;
    margin-bottom: 15px;
}

.createAccountBox{
    position: absolute;
    z-index: -1;
    display: flex;
    background-color: var(--darkLight-color);
    border-color: var(--darkLight-color);
    border-width: 5%;
    border-radius: 10px;
    height: 60%;
    width: 40%;
    transition: 0.5s;
    justify-content: center;
    align-items: center;
}

.createAccountInputs{
    background-color: var(--light-color);
    position: absolute;
    left: 20%;
    top: 6.875%;
    margin-top: 5%;
    width: 60%;
    height: 75%;
    overflow: auto;
    border-radius: 10px;
}

.createAccountInput{
    background-color: var(--darkLight-color);
    height: 50px;
    width: 96%;
    margin-top: 2%;
    margin-bottom: 2%;
    margin-left: 2%;
    margin-right: 2%;
    border-radius: 10px;
}

.createAccountTextInput{
    color: #ffffffff;
    margin: 0px;
    height: 100%;
    width: 100%;
    outline-width: 0px;
    border-width: 0px;
    background-color: #00000000;
    text-align: center;
    font-size: 15px;
    border-radius: 15px;
}

.createAccountTextInput::-ms-reveal{
    display: none;
}

.createAccountTextInput:-webkit-autofill{
    -webkit-text-fill-color: black;
}

.createAccountButtonFrame{
    background-color: var(--darkLight-color);
    height: 50px;
    width: 96%;
    margin-top: 3%;
    margin-bottom: 2%;
    margin-left: 2%;
    margin-right: 2%;
    border-radius: 10px;
}

table, th, td {
    border:0px solid black;
    border-collapse: collapse;
    border-spacing: 0;
    outline-width: 0px;
    border-width: 0px;
    padding: 0px;
}

p{
    font-family: Verdana, Geneva, Tahoma, sans-serif;
    font-size: 15px;
    margin: 0px;
    color: #f0f0f0ff;
}

.message{
    margin-top: 10px;
    margin-left: 20px;
    margin-right: 20px;
    margin-bottom: 0px;
    display: grid;
    grid-template-columns: 50px 1fr;
}

.messagePFP{
    height: 50px;
    width: 50px;
    border-radius: 50%;
    border-width: 0px;
    vertical-align: top;
}

.messageUsername{
    margin-bottom: 0px;
    margin-top: 0px;
}

.messageDate{
    margin-top: 5px;
    font-size: 10px;
    margin-bottom: 0px;
    margin-left: 5px;
}

.messageTime{
    margin-top: 5px;
    font-size: 10px;
    margin-bottom: 0px;
    margin-left: 5px;
}

.messageText{
    font-size: 15px;
    color: var(--text-color);
}

.ServerList{
    background-color: var(--dark-color);
    padding: 0px;
    grid-row: 2 / 5;
    grid-column: 1 / 1;
    z-index: 1;
    display: flex;
    flex-direction: column;
}

.customServerList{
    width: 100%;
    border-width: 0px;
    margin: 0px;
    padding: 0px;
    background-color: #00000000;
}

.serverListItem{
    display: flex;
    margin-top: 10px;
    justify-content: space-between;
}

.serverSeperator{
    justify-self: center;
    align-self: center;
    width: 35px;
    outline: 0;
    border-width: 0px;
    background-color: #323338ff;
    height: 3px;
    border-radius: 1.5px;
    margin-top: 10px;
}

.serverButton{
    align-self: center;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-right: 15px;
    border: none;
    padding: 0px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-size: 50px;
    transition: 0.2s;
}

.dmButton{
    background-image: url("../images/dmIcon.png");
}

.dmButton:hover{
    background-image: url("../images/dmHoveredIcon.png");
}

.unSeenMessage{
    justify-self: flex-start;
    align-self: center;
    content: url("../images/unSeenMessage.png");
    height: 8px;
    width: 8px;
    transition: 0.2s;
}

.unSeenMessageHovered{
    justify-self: flex-start;
    align-self: center;
    content: url("../images/unSeenMessageHovered.png");
    height: 24px;
    width: 8px;
    transition: 0.2s;
}

.SeenMessage{
    justify-self: flex-start;
    align-self: center;
    content: url("../images/unSeenMessage.png");
    height: 0px;
    width: 8px;
    transition: 0.2s;
}

.SeenMessageHovered{
    justify-self: flex-start;
    align-self: center;
    content: url("../images/unSeenMessageHovered.png");
    height: 24px;
    width: 8px;
    transition: 0.2s;
}

.DmThread{
    height: 50px;
    width: 240px;
    margin-left: 5px;
    margin-right: 5px;
    margin-top: 10px;
    border-radius: 10px;
    padding: 0px;
    border-width: 0px;
    background-color: #36373c00;
	display: flex;
    align-items: center;
    transition: 0.125s;
	border: none;
}

.DmThread:hover{
    background-color: #36373cff;
}

.DmUserName{
    margin-left: 10px;
	overflow: hidden;
	white-space: nowrap;
	text-overflow: ellipsis;
}

.DmPFP{
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border-width: 0px;
    outline-width: 0px;
    margin-left: 5px;
}

.serverButton:hover{
    border-radius: 30%;
}

.createServerButton{
    background-image: url("../images/createServerIcon.png");
}

.createServerButton:hover{
    background-image: url("../images/createServerHoveredIcon.png");
}

.exploreServersButton{
    background-image: url("../images/exploreServersIcon.png");
}

.exploreServersButton:hover{
    background-image: url("../images/exploreServersHoveredIcon.png");
} 

.MessageList{
    padding-bottom: 100px;
    grid-row: 3 / 5;
    grid-column: 2 / 3;
    overflow-x: hidden;
    overflow-y: auto;
}

.addDmButtonBox{
    grid-row: 2 / 3;
    grid-column: 2 / 3;
    height: 100%;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: var(--darkLight-color);
    filter: drop-shadow(-0.5px 1px 1px black);
}

.addDMButton{
    grid-row: 2 / 3;
    grid-column: 2 / 3;
    align-self: center;
    justify-self: center;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--text-color);
    font-weight: 800;
    font-size: 25px;
    width: 90%;
    height: 80%;
    background-color: var(--light-color);
    border: solid var(--dark-color) 5px;
    border-radius: 10px;
}

.addDMButton span{
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
    font-size: 2rem;
}

.addDMWindow{
	z-index: 2;
	display: flex;
	justify-content: center;
	align-items: center;
	position: absolute;
	left: 0vw;
	top: 0vh;
	width: 100vw;
	height: 100vh;
	-webkit-backdrop-filter: blur(10px);
	backdrop-filter: blur(10px);
}

.addDMBox{
	background-color: var(--darkLight-color);
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	border-radius: 50px;
	height: 40vh;
	width: 50vw;
	border: solid var(--dark-color) 10px;
}

#idInput{
    color: var(--text-color);
    background-color: #00000000;
    border: none;
    font-size: 50px;
    margin: 10px;
	font-weight: 800;
}

input#idInput, input#idInput:hover, input#idInput:focus, input#idInput:active{
    font-size: 35px;
    width: 60%;
    border: solid var(--dark-color) 10px;
    border-radius: 30px;
    padding: 10px;
    outline: none;
}

button#idInput{
	display: flex;
	justify-content: center;
	align-items: center;
	border: solid var(--dark-color) 10px;
	background-color: #616effff;
	font-size: 250%;
	height: 100px;
	width: 150px;
	padding: 10px;
	border-radius: 40px;
	margin: 0px;
	margin-top: 10px;
}

.topMessageBar{
    display: grid;
    grid-template-columns: 20% 1fr 20%;
    grid-row: 2 / 3;
    grid-column: 3 / 5;
    background-color: var(--light-color);
    filter: drop-shadow(0px 1px 1px black);
}

.messageThreadTitle{
    grid-row: 1 / 2;
    grid-column: 1 / 2;
    height: auto;
    justify-self: center;
    align-self: center;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding-left: 10px;
    gap: 10px;
}

.topBarImage{
    height: 40px;
    width: 40px;
    border-radius: 50%;
}

.topBarUserName{
    color: var(--text-color);
    font-size: 100%;
	white-space: nowrap;
}

.chatActionOptions{
    grid-row: 1 / 2;
    grid-column: 3 / 4;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 20px;
    padding-right: 20px;
}

.chatAction{
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #00000000;
    border: none;
    height: 40px;
    width: 40px;
    border-radius: 10px;
}

.chatAction:hover{
    background-color: var(--darkLight-color);
}

.chatAction:active{
    background-color: var(--dark-color);
}

.chatActionIcon{
    color: var(--text-color);
    font-size: 250% !important;
}

.MessageThread{
    background-color: var(--light-color);
    overflow-wrap: break-word;
    overflow-y: auto;
    grid-row: 3 / 4;
    grid-column: 3 / 4;
}

.MessageThreadInputBox{
    top: calc(100% - 100px);
    background-color: var(--light-color);
    grid-row: 4 / 6;
    grid-column: 3 / 4;
    display: flex;
    justify-content: center;
    align-items: center;
}

.MessageThreadInput{
    display: flex;
    background-color: var(--lightLight-color);
    height: 50px;
    border-radius: 10px;
    width: 95%;
    justify-content: flex-start;
    padding-left: 20px;
    padding-right: 40px;
    align-items: center;
}

.MessageThreadTextInput{
    border-radius: 15px;
    background-color: #00000000;
    border-color: white;
    border-style: solid;
    height: 60%;
    width: 100%;
    max-width: 100%;
    max-height: 60%;
    min-width: 100%;
    max-height: 60%;
    outline: 0px;
    overflow-wrap: break-word;
    overflow-x: hidden;
    overflow-y: auto;
    border-width: 0px;
    color: #f0f0f0ff;
    font-size: 175%;
}

.MessageThreadTextInput:-webkit-autofill {
    -webkit-box-shadow: 0 0 0 50px #00000000 inset; /* Change the color to your own background color */
    -webkit-text-fill-color: #333; /* Change the text color */
    background-color: #00000000;
}

.MessageThreadTextInput:-webkit-autofill:focus {
    -webkit-box-shadow: 0 0 0 50px #00000000 inset; /* Your custom box-shadow */
    -webkit-text-fill-color: #333; /* Text color when focused */
    background-color: #00000000;
}

.Members{
    background-color: var(--darkLight-color);
    grid-row: 3 / 5;
    grid-column: 4 / 5;
}

.accountInfo{
    grid-row: 4 / 5;
    grid-column: 2 / 3;
    width: 100%;
    height: 60px;
    background-color: var(--dark-color);
	display: flex;
    align-self: flex-end;
    align-items: center;
    border-width: 0px;
    padding: 0px;
    transition: 0.15s;
    
}

.openSettingsButton{
    background-color: var(--dark-color);
    height: 30px;
    width: 30px;
    border-radius: 5px;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 2px;
	color: var(--text-color);
}

.openSettingsButton:hover{
    background-color: var(--light-color);
}

#openSettings span{
    transform: rotate(0deg);
    transition: all 0s ease-in-out;
}

#openSettings:hover span{
    transition: 0.75s;
    transform: rotate(180deg);
}

.accountInfoPFP{
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border-width: 0px;
    outline-width: 0px;
    margin-left: 5px;
    margin-top: 0px;
    float: left;
}

.accountInfoTextBox{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin-left: 5px;
    gap: 2px;
}

.accountInfoText{
    margin: 0px;
    padding-left: 0px;
    width: 100px;
    font-size: 14px;
    font-weight: 400;
    align-self: flex-start;
    overflow: hidden;
	white-space: nowrap;
	text-overflow: ellipsis;
}

.accountInfoSecondBox{
    width: 200px;
}

.accountInfoLoggoutButtonText{
    font-size: 10px;
    color: #ffffffff;
}

::-webkit-scrollbar {
    height: 6px;
    width: 6px;
    padding: 10px;
    background: var(--light-color);
}

::-webkit-scrollbar-track {
    background: var(--darkLight-color);
}

::-webkit-scrollbar-thumb {
    background: var(--dark-color);
    border-radius: 5px;
    width: 80%;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--dark-color);
}

.settings{
    display: flex;
    height: 100dvh;
    width: 100vw;
    background-color: white;
    margin: 0px;
    position: absolute;
    left: 0dvh;
    top: 0px;
    z-index: -2;
    align-items: center;
}

.settingsMenu{
    background-color: var(--darkLight-color);
    width: 40%;
    height: 100%;
    display: flex;
    justify-content: flex-end;
    overflow-y: hidden;
    transition: 0.125s;
}

.settingsMenuItems::-webkit-scrollbar{
    right: 5px;
    width: 5px;
    display: none;
}

.settingsMenuItems:hover::-webkit-scrollbar{
    right: 5px;
    width: 5px;
    display: block;
}

.settingsContent{
    display: flex;
    flex-direction: row;
    background-color: var(--light-color);
    width: 60%;
    height: 100%;
    padding-top: 60px;
    padding-bottom: 60px;
    overflow-y: auto;
}

.mainSettingsContent{
    padding-left: 40px;
    padding-right: 40px;
    width: 700px;
    display: flex;
    flex-direction: column;
}

.settingsMenuItems{
    background-color: var(--darkLight-color);
    padding-top: 60px;
    padding-bottom: 60px;
    padding-left: 8px;
    padding-right: 8px;
    display: flex;
    align-items: center;
    flex-direction: column;
    overflow-y: auto;
}

.settingsMenuItem{
    width: 200px;
    height: 30px;
    border-radius: 5px;
    background-color: var(--darkLight-color);
    border: none;
    outline: none;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    margin-bottom: 2px;
    color: rgb(207, 207, 207);
}

.settingsMenuItemTitle{
    width: 200px;
    border-radius: 5px;
    background-color: var(--darkLight-color);
    border: none;
    outline: none;
    margin-bottom: 2px;
    color: rgb(207, 207, 207);
    font-size: 12px;
    margin-left: 5px;
    margin-bottom: 5px;
    font-weight: 700;
}

.settingsMenuItem:hover{
    background-color: var(--light-color);
}

.settingsMenuItem:active{
    background-color: var(--lightLight-color);
}

.settingsMenuItemText{
    font-weight: 600;
    color: rgb(207, 207, 207);
    font-size: 16px;
}

.settingsMenuItemGroup{
    width: 100%;
}

.settingsMenuItemGroupSeperator{
    height: 3px;
    outline: none;
    color: var(--light-color);
    background-color: var(--light-color);
    border: none;
    margin-left: 5px;
    margin-right: 15px;
    margin-bottom: 5px;
}

.settingsCloseButton{
    color: rgb(207, 207, 207);
    height: 50px;
    width: 50px;
    display: flex;
    outline: none;
    border: none;
    flex-direction: column;
    align-items: center;
    background-color: #00000000;
}

.settingsCloseButton:hover{
    color: white;
}

#settingsCloseIcon{
    font-size: 50px;
}

.settingsCloseIconText{
    color: rgb(207, 207, 207);
    font-size: 13px;
    margin: 0px;
    font-weight: 900;
}

.accountInfoViewer{
    width: 100%;
    height: 500px;
    border-radius: 20px;
}

.accountInfoViewerColorBar{
    width: 100%;
    height: 100px;
    background-color: rgb(0, 255, 0);
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
}

.AccountInfo{
    background-color: var(--dark-color);
    height: 400px;
    border-bottom-left-radius: 20px;
    border-bottom-right-radius: 20px;
}

.genericInfoBar{
    display: flex;
    padding: 20px;
}

.pfp{
    height: 80px;
    aspect-ratio: 1 / 1;
    border-radius: 50px;
    width: 80px;
    margin-right: 20px;
}

.loggoutButton{
    height: 20vh;
    width: 20vw;
    border-radius: 20px;
    border-width: 0px;
    background-color: var(--light-color);
    align-items: center;
    align-self: center;
    position: absolute;
    left: 40vw;
    top: 40vh;
    margin: 0px;
}

.messageMode{
    margin-top: 10px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    background-color: var(--lightLight-color);
    border: none;
    padding-left: 5px;
}

#messageModeSelectorIcon{
    color: var(--text-color);
    font-size: 25px;
}

.messageModeSelectorText{
    margin-left: 10px;
    cursor: pointer;
}

.settingsContentGroupSeperator{
    width: 100%;
    height: 2px;
    border-radius: 1px;
    background-color: var(--lightLight-color);
    border: none;
}

.settingsContentGroupTitle{
    width: 200px;
    border-radius: 5px;
    background-color: #00000000;
    border: none;
    outline: none;
    margin-bottom: 2px;
    color: rgb(207, 207, 207);
    font-size: 12px;
    margin-left: 5px;
    margin-bottom: 5px;
    font-weight: 700;
    padding: 0px;
}

.themes{
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.themeOption{
    border: 3px solid lightgrey;
    background-color: white;
    outline-width: 0px;
    height: 75px;
    width: 75px;
    border-radius: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 10px;
    cursor: pointer;
}

.darkMode{
    background-color: #1f2022ff;
}

.lightMode{
    background-color: white;
}

.selectedColorTheme{
    border: 3px solid #616effff;
    cursor: default;
}

.selectedColorTheme span{
    position: relative;
}

.selectedColorTheme span::after{
    display: flex;
    justify-content: center;
    align-items: center;
    content: "check";
    color: white;
    position: absolute;
    right: -7px;
    top: -7px;
    background-color: #616effff;
    font-size: 18px;
    font-weight: 600;
    height: 20px;
    width: 20px;
    border-radius: 100px;
}

.customTheme span#before{
    display: none;
}

.customTheme:hover span#before{
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    position: absolute;
    left: -7px;
    top: -7px;
    background-color: #616effff;
    font-size: 18px;
    font-weight: 600;
    height: 20px;
    width: 20px;
    border-radius: 100px;
}

#darkModeIcon{
    font-size: 60px;
    color: #383a40ff;
}

#lightModeIcon{
    font-size: 60px;
    color: lightgrey;
}

#customThemeIcon{
    color: #00000000;
}

.settingsContentGroupSubTitle{
    margin-bottom: 0px;
}

.settingsAppearancePreview{
    background-color: var(--darkLight-color);
    width: 100%;
    height: 200px;
    border-radius: 25px;
    overflow: hidden;
}

.editTheme{
    display: flex;
    position: absolute;
    top: 0px;
    left: 0px;
    z-index: 2;
    width: 100vw;
    height: 100vh;
    justify-content: center;
    align-items: center;
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
}

.editThemeBox{
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: 100px 1fr 100px;
    background-color: var(--dark-color);
    height: 60vh;
    width: 60vw;
    border-radius: 50px;
    padding: 30px;
}

.editThemeSaveButton{
    grid-row: 3 / 5;
    grid-column: 4 / 5;
    justify-self: flex-end;
    align-self: flex-end;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
    background-color: #616effff;
    border-radius: 20px;
    height: 75%;
    width: 75%;
    border: none;
}

.editThemeSaveButtonText{
    margin: 0px;
    font-size: 30px;
    color: var(--text-color);
}

.editThemeTitle{
    grid-row: 1 / 2;
    grid-column: 2 / 4;
    height: 100%;
    width: 100%;
    
}

.editThemeTitleText, .editThemeTitleText:focus, .editThemeTitleText:active, .editThemeTitleText:hover{
    background-color: #00000000;
    border: none;
    outline: none;
    color: var(--text-color);
    font-size: 50px;
    height: 100%;
    width: 100%;
    text-align: center;
    font-weight: 700;
}

input.colorPicker, input.colorPicker:hover, input.colorPicker:active, input.colorPicker:focus{
    justify-self: center;
    align-self: flex-start;
    background-color: black;
    height: 200px;
    width: 200px;
    border: none;
    border-width: 50px;
    border-radius: 100px;
    outline: none;
}

.colorPicker::-webkit-color-swatch{
    border: none;
    outline: none;
    border-radius: 100px;
    color: var(--dark-color);
}

input.colorPicker#darkPicker{
    color: var(--dark-color);
    grid-row: 2 / 3;
    grid-column: 1 / 2;
}

input.colorPicker#darkLightPicker{
    color: var(--darkLight-color);
    grid-row: 2 / 3;
    grid-column: 2 / 3;
}

input.colorPicker#lightPicker{
    color: var(--light-color);
    grid-row: 2 / 3;
    grid-column: 3 / 4;
}

input.colorPicker#lightLightPicker {
    color: var(--lightLight-color);
    grid-row: 2 / 3;
    grid-column: 4 / 5;
}

input.colorPicker#textPicker {
    color: var(--text-color);
    grid-row: 2 / 3;
    grid-column: 1 / 2;
    align-self: flex-end;
    margin-bottom: 50px;
}

@media screen and (max-width: 1180px), (max-height: 820px), (max-width: 820px), (max-height: 1180px){
    _::-webkit-full-page-media, _:future, :root .body {
        padding-top: 65px;
        padding-bottom: 0px;
    }

    .body{
        width: 100vw;
    }

    .loginBox{
        width: 80%;
        height: 90%;
    }

    .createAccountBox{
        width: 80%;
        height: 90%;
    }

    .loginInputs{
        justify-content: center;
        width: 80%;
        height: 80%;
    }

    .loginInput{
        height: 30vh;
    }

    .useOption{
        font-size: 125%;
    }

    .loginInputs h1{
        font-size: 100px;
    }

    .loginInputs h2{
        font-size: 30px;
    }

    .loginInput{
        height: 100px;
    }

    .loginInput input{
        font-size: 30px;
    }

    .loginPageButton h1{
        font-size: 40px;
    }

    .loginInputSeperator{
        height: 20px;
        border-radius: 10px;
    }

    .loginInputs h3{
        font-size: 40px;
    }
}

@media screen and (max-height: 1100px){
    .welcomeBox{
        height: 90%;
    }

    .loginBox{
        height: 90%;
    }

    .loginInputs{
        height: 90%;
        width: 90%;
    }

    #createAccountInputs h1{
        font-size: 60px;
    }
}

@media screen and (max-aspect-ratio: 1 / 1), (max-width: 1000px) {
	html, body, .main, .welcome, .login, .settings{
		min-height: -webkit-fill-available;
		min-height: 100dvh;
		background-color: var(--light-color);
	}

    .container{
        grid-template-columns: 100dvw;
        grid-template-rows:  9px 70px 65px 65px 1fr 65px 70px;
    }

    .topBar{
        grid-row: 1 / 2;
        grid-column: 1 / 2;
    }

    .ServerList{
        grid-row: 2 / 3;
        grid-column: 1 / 2;
        flex-direction: row;
        flex-wrap: nowrap;
        align-items: center;
        justify-content: flex-start;
        height: 100%;
        overflow-x: auto;
        overflow-y: hidden;
    }

    .serverListItem{
        justify-content: space-between;
        margin: 0px;
    }

    .serverSeperator{
        height: 35px;
        width: 5px;
        margin: 0px;
        margin-right: 5px;
    }

    .customServerList{
        display: flex;
        flex-wrap: nowrap;
        height: 100%;
        width: auto;
    }

	.DmThread{
		margin: 0px;
		justify-self: center;
		align-self: center;
		overflow: hidden;
		margin-top: 10px;
		margin-bottom: 10px;
		width: 150px;
	}

    .MessageList{
        grid-row: 3 / 4;
        grid-column: 1 / 2;
        flex-direction: row;
		justify-content: flex-end;
		align-items: center;
        padding: 0px;
        height: 100%;
		margin-left: 120px;
		padding-right: 10px;
        filter: drop-shadow(0px 1px 1px black);
        overflow-y: hidden;
        overflow-x: auto;
		z-index: 1;
    }

    .MessageThread{
		grid-row: 5 / 6;
		grid-column: 1 / 2;
    }

    .MessageThreadInputBox{
		grid-row: 6 / 7;
		grid-column: 1 / 2;
		padding-top: 30px;
		padding-bottom: 30px;
    }

    .accountInfo{
		display: grid;
		grid-template-columns: 10px 1fr repeat(10vw, 4);
        grid-template-rows: 70px;
		align-items: center;
		grid-row: 7 / 8;
		grid-column: 1 / 2;
		height: 100%;
		width: 100%;
		gap: 0px;
		z-index: 10;
    }

	.accountInfoPFP{
        grid-row: 1 / 2;
		height: 50px;
		width: 50px;
		margin: 10px;
	}

	.accountInfoText{
        grid-row: 1 / 2;
		font-size: max(1.5rem, 4vw);
        width: auto;
		margin: 2vw;
        margin-left: 0px;
		align-self: center;
        
	}

	.openSettingsButton{
        grid-row: 1 / 2;
		justify-self: flex-end;
		height: 80%;
		width: 10vw;
		margin-right: 15px;
	}

	#openSettings.openSettingsButton{
		margin-right: 15px;
	}

	.openSettingsButton span{
		font-size: 2.5rem;
	}

    .addDmButtonBox{
        grid-row: 3 / 4;
        grid-column: 1 / 2;
        display: flex;
        justify-content: flex-start;
        background-color: var(--darkLight-color);
		z-index: 0;
		filter: none;
    }

    .addDMButton{
		margin: 0px;
		height: 50px;
        width: 100px;
		margin-left: 10px;
		margin-right: 10px;
    }

	.addDMBox{
		height: 40%;
		width: 90%;
	}

	.topMessageBar{
		grid-row: 4 / 5;
		grid-column: 1 / 2;
		height: 100%;
		overflow-x: auto;
		overflow-y: hidden;
		padding: 5px;
		grid-template-columns: max-content auto;
		grid-template-rows: 100%;
	}

	.messageThreadTitle{
		grid-row: 1 / 2;
		grid-column: 1 / 2;
		height: 100%;
		width: 100%;
		justify-self: center;
		align-self: center;
		padding: 5px;
		justify-content: center;
		align-items: center;
	}

	.topBarUserName{
		font-size: 200%;
		margin: 0px;
	}

	.chatActionOptions{
		grid-row: 1 / 2;
		grid-column: 2 / 3;
		justify-self: center;
		align-self: center;
		justify-content: center;
		align-items: center;
		padding: 0px;
	}

	.chatAction{
		font-size: 1rem;
	}
}

@media screen and (max-width: 550px), (max-height: 667px), (max-width: 667px), (max-height: 550px){
    body{
        background-color: var(--darkLight-color);
    }

    .welcome, .login, .main, .login{
        padding-bottom: env(safe-area-inset-bottom);
    }

    .welcomeBox{
        border-radius: 0px;
        width: 100%;
        height: 100%;
    }
    
    .loginBox{
        width: 95%;
        height: 97.25%;
    }

    .loginInputs{
        justify-content: flex-start;
        width: 90%;
        height: 95%;
    }

    .createAccountInputs h1{
        height: 30px;
    }

    .loginInputs h1{
        font-size: 80px;
    }

    .loginInputs h2{
        font-size: 40px;
    }

    .loginPageButton h1{
        font-size: 20px;
    }

    .loginInput{
        height: 150px;
    }

    .loginInput input{
        font-size: 40px;
    }

    .loginInputSeperator{
        height: 10px;
    }

    .welcomeTopBar{
        border-radius: 0px;
    }

    .welcomeTopBarText{
        font-size: 50px;
    }

    .welcomeText h2{
        font-size: 25px;
    }

    .welcomeText p{
        font-size: 15px;
    }

    .useOptions{
        border-radius: 0px;
    }

    .useOption{
        font-size: 150%;
    }

    .loginActionGroup{
        height: 100px;
    }

    .loginActionGroup div.loginInput{
        height: 100px;
    }

    .loginActionGroup h2{
        font-size: 30px;
        margin: 10px;
    }

    .welcomeFullscreen, .welcomeFullscreen:hover, .welcomeFullscreen:active, .welcomeFullscreen:focus{
        top: 3px;
        right: 3px;
        height: 45px;
        width: 45px;
    }
    
    #welcomeFullscreenIcon, #welcomeFullscreenIcon:focus{
        font-size: 40px;
    }
    
    .welcomeFullscreenButton #welcomeFullscreenIcon:hover{
        font-size: 45px;
    }
    
    .welcomeFullscreenButton #welcomeFullscreenIcon:active{
        font-size: 35px;
    }

}

@media screen and (max-width: 500px), (max-height: 1000px){
    .useOption{
        font-size: 100%;
    }
}
