/* Colors */

a{
    color: var(--SchriftColor);
}

body {
    --Unterstrich: red;
    --BackColor: rgb(24, 24, 85);
    --SchriftColor: #CFB1FF;
    --OtherTextColor: white;
    --NarichtBorderColor: rgb(46, 46, 139);
    --FieldColor: rgb(46, 46, 139);
}

/* Icon */

.logo {
    position: fixed;
    top: 10px;
    left: 10px;
}

.logo img {
    height: 100px;
    aspect-ratio: 1 / 1;
    object-fit: contain;
}

/* Schrifteffekte */

u{
    text-decoration-thickness: 0.15rem;
    /* text-underline-offset: 0.1em; */
    text-decoration-color: var(--Unterstrich);

    font-weight: bold;
}

body{
    overflow-x: hidden;
    font-family: Arial, Helvetica, sans-serif;
    background-color: var(--BackColor);
    color: var(--SchriftColor);
}

h1{
    font-family: Arial, Helvetica, sans-serif;
    font-size: large;

    padding-left: 10px;
}

p{
    font-family: Arial, Helvetica, sans-serif;
}

.Naricht::-webkit-scrollbar {
    display: none;
}

.StatusWarp{
    position: fixed;
    right: 0;
    top: 0;
    display: flex;
    align-items: center;
    flex-direction: column;
    padding-right: 10px;
    padding-bottom: 10px;
    background-color: green;
}

.gut{
    background-color: green;
    color: var(--OtherTextColor);
}

.bad{
    background-color: red;
    color: var(--OtherTextColor);
}

.SendForm{
    display: flex;
    flex-direction: column;
    width: 60vw;
}

.SendWraper{
    margin-left: 30vw;
    width: 60vw;
}

.SuchLeiste{
    display: flex;
    flex-direction: column;
    padding-left: 5px;
    padding-right: 5px;
}

.Anmelden{
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 350px;
    padding-left: 10px;
    padding-right: 10px; 
}

.Suchen{
    display: flex;
    flex-direction: column;
    padding-left: 10px;
    padding-right: 10px; 
}

.MenuBtn{
    position: absolute;
    left: 100%;
    top: 0;
    aspect-ratio: 1;
    width: 40px;
    /* visibility: hidden; */
}

fieldset{
    border:2px solid var(--FieldColor);
    border-radius:8px;	
}

.GoToThisUser{
    padding-left: 10px;
    padding-right: 10px; 
}

/* NavMenu */

.Sidepanel{
    position: fixed;
    display: flex;
    /* transform: translate(20vw); */
    flex-direction: column;
    justify-content: space-around;
    /* left: -20vw; */
    top: 0;
    width: 20vw;
    min-width: fit-content;
    height: 100vh;
    background-color: var(--BackColor);
    z-index: 100;
    border-right: 2px solid var(--NarichtBorderColor);
    /* transition-duration: 1s; */
    /* box-shadow: 0 0 5px black; */
}

.back{
    display: flex;
    align-items: center;
    justify-content: center;
}
.back a{
    font-family: Impact, Haettenschweiler, 'Arial Narrow Bold', sans-serif;
}

/* Text Messages  */

.MessagePB{
    margin: 10px;
    height: 30px;
    width: 30px;
    object-fit: contain;
    border-radius: 100%;
    box-shadow: 0 0 5px black;
    /* background-color: white; */
}

.NarText{
    padding-left: 40px;
    padding-right: 40px;
}

.Naricht{
    margin-left: 20vw;
    width: 77.5vw;
    border-bottom: 2px solid var(--NarichtBorderColor);
    margin-bottom: 10px;
    max-height: 1000px;
    overflow-x: hidden;
    overflow-y: scroll;
    transition-duration: .5s;
}

.Naricht:hover{
    /* box-shadow: 0 0 5px black; */
    background-color: var(--NarichtBorderColor);
}

.IDs{
    float: right;
    margin-right: 10px;
}

.Datum{
    font-weight: normal;
    padding-top: 2px;
    margin: 0;
}

.NachrichtHTMLText{
    word-wrap: break-word;
    padding-left: 40px;
    padding-right: 40px;
    color: var(--OtherTextColor);
}

.NachrichtHTMLText a{
    color: var(--OtherTextColor);
}


.NachrichtHTMLText img{
    max-height: 800px;
    max-width: 70vw;
    object-fit: contain;
}

.NarichtNameAndUserPB{
    display: flex;
    align-items: center;
}

.Name{
    text-decoration: none;
    font-weight: bold;
    margin: 0;
    height: fit-content;
    color: crimson;
    text-decoration-line: underline;
    text-decoration-thickness: 1px;
}

/* User Profile */

.UserProfiel{
    display: flex;
    flex-direction: column;
    margin-top: 0;
    margin-bottom: 10px;
    margin-left: 21.9vw;
    width: 75vw;
}

.UserInfo{
    display: flex;
    justify-content: space-around;
    background-color: aquamarine;
    margin-bottom: 0;
    margin-top: 100px;
    height: 100px;
    box-shadow: 0 0 5px black;
    color: black;
    border-top-right-radius: 20px;
    border-top-left-radius: 20px; 
}

.StartChat{
    display: flex;
    align-items: center;
}

.PBandName{
    display: flex;
}
.PB{
    margin-top: auto;
    margin-bottom: auto;    
    height: 80px;
    width: 80px;
    object-fit: contain;
    border-radius: 100%;
    box-shadow: 0 0 5px black;
}
.UserName{
    align-self: center;
}

.CDateANDid{
    display: flex;
    flex-direction: column-reverse;
    justify-content: center;
}
.UserIDs{
    margin-right: 5px;
}
.UserCreationDate{
    margin-right: 5px;
}

.UserBanner{
    display: flex;
    align-items: center;
    background-color: lightblue;
    box-shadow: 0 0 5px black;
    height: fit-content;
}

.UserBanner img{
    width: 100%;
    max-height: 800px;
    object-fit: contain;
}

/* Your Change Stuff Profile */

.ChangeWarap{
    display: flex;
    flex-direction: row-reverse;
    margin-top: 70px;
    justify-content: center;
}

.ChangeWarap div{
    width: 304px;
}

/* Rich Text Editor */

.main-content{
    width: 60vw;
    /* position: absolute;
    top: 50%;
    left: 50%; */
    /* transform: translate(-50%, -50%); */
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.19);
}

.text-editor-header{
    background-color: #ecf0f1;
    padding: 5px;
}

.text-editor-header .btn{
    border: none;
    outline: none;
    background-color: transparent;
    margin-right: 5px;
    cursor: pointer;
}

.content{
    min-height: 200px;
    border: 1px solid #ecf0f1;
    border-top: 0;
    padding: 20px;
    background-color: #ecf0f1;
    color: black;
}

.content a{
    color: blue;
}

.content a:visited{
    color: purple;
}

.content img{
    width: 100%;
    max-height: 800px;
    object-fit: contain;
}

/* Anpassungen für Handys etc */

@media only screen and (max-width: 1200px) {

    .UserInfo{
        height: 170px;
    }

    .PBandName{
        flex-direction: column;
    }

    .UserName{
        margin-top: 0;
    }

    .PB{
        margin-right: auto;
        margin-left: auto;
    }

    .Naricht{
        width: 98vw;
        margin-left: 0;
    }
    .SendWraper{
        margin-left: 20vw;
    }
    .UserProfiel{
        margin-left: 50%;
        transform: translateX(-50%);
    }
    .StatusWarp{
        top: unset;
        bottom: 0;
    }
}