:root {
    /* --primary: #CF6543;
    --on-primary: white;

    --secondary: #E0D6CA;
    --on-secondary: black;
    
    --background: #202124;
    --on-background: #E0D6CA;
    --glow-background: #313235;
    --background2: var(--primary);
    --on-background2: black;

    --button: #CF6543;
    --on-button: white;

    --tint1: #C7D0CF;
    --tint2: #000000;

    --border1: black;
    --border2: #202124af; */

    /* --primary: #A9C1A0;
    --on-primary: black;

    --secondary: #3E4F36;
    --on-secondary: black;
    
    --background: #ebe4de;
    --on-background: black;
    --glow-background: gray;
    --background2: white;
    --on-background2: black;

    --button: #A9C1A0;
    --on-button: black;

    --tint1: #d9d9cd;
    --tint2: #000000;

    --border1: black;
    --border2: #202124af; */
    


    --gray: #282a2d;
    --accept: #12ba82;
    --reject: #F44336;
}


html {
    height: 100%;
}

body {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    margin: 0;
    display: grid;
    grid-template-columns: 15% 85%;
    grid-template-rows: 7vh 93vh;
    overflow: hidden;

}

#header{
    grid-row: 1;
    grid-column: 2;
    display: flex;
    align-items: center;
    border-bottom: 1px solid var(--border1);
    justify-content: space-between;
    background-color: var(--background);
    color: var(--on-background);
}

#header-title {
    margin: 0 0 0 1em;
}

#header-profile{
    gap: 20px;
    display: flex;
    align-items: center;
    margin-right: 1em;
}

#header-profile > .fa-right-from-bracket {
    cursor: pointer;
}

#header button{
    border: none;
    background: none;
    color: var(--on-background)
}

#sidebar {
    background-color: var(--gray);
    grid-row: 1 / sp;
    grid-column: 1;
    display: flex;
    flex-direction: column;
}

#sidebar-logo {
    background-image: var(--logo);
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    width: 100%;
    height: calc(7vh - 1px);
    /*background-color: var(--primary);*/
    border-bottom: 1px solid black;

}

#sidebar-items{
    display: flex;
    flex-direction: column;
    margin-top: 15px;
    align-items: start;
    justify-content: start;

    & > a {
        display: flex;
        align-items: center;
        width: calc(100% - 10px);
        height: 3em;
        color: white;
        text-decoration: none;
        margin: 5px;
        border-radius: 10px;

        & > i {
            padding-left: 10px;
            width: 40px;
            margin-right: 10px;
            text-align: center;
        }
    }

    & > a:hover {
        background-color: var(--tint1);
        color: var(--gray);
    }

    & > a.active {
        background-color: var(--primary);
        color: var(--on-primary);
    }

    & > a:last-child {
        margin-top: auto;
    }
}

#content{
    display: flex;
    max-height: 100vh;
    grid-row: 2;
    grid-column: 2;
    background-color: var(--background);
    color: var(--on-background)
}

#editorjs {
    flex:1;
    box-shadow: 0px 0px 60px var(--glow-background);
    color: black;
    border: 1px solid grey;
    border-radius: 15px;
    padding-left: 70px;
    padding-right: 5px;
    background-color: white;
    max-height: 85%;
    overflow-y: scroll;
}





/* ALERT */

#alert {
    position: absolute;
    width: 100vw;
    height: 100vh;
    background-color: #343434a5;
    z-index: 1;
    top:0;
    left:0;
    align-items: center;
    justify-content: center;
}

#alert-container {
    background-color: var(--background);
    border: var(--secondary) 2px solid;
    border-radius: 10px;
    padding: 5px 10px;
    max-width: 500px;
    color: var(--secondary);
    display: flex;
    flex-direction: column;
    align-items: center;
}

#alert-message{
    text-align: center;
}

#alert button {
    font-size: 16px;
    padding: 6px;
    border: 0;
    background-color: var(--primary);
    border-radius: 5px;
    color: var(--secondary)
}

#alert button:hover {
    background-color: var(--secondary);
    color: var(--background)
}

dialog {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
    width: 100%;
    z-index: 2;
    border: none;
    padding: 1rem;
    box-shadow: 200px 2px 1000px rgba(0, 0, 0, 1);
    border-radius: 8px;
    background-color: rgba(0,0,0,.4);
    color: var(--on-background)

}

form#relogin{
    flex-direction: column;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2em;
    margin-bottom: 5em;
    height: auto;
    background-color: var(--background);
    padding: 30px 100px;
    border-radius: 10px;

}

form#relogin input {
    border: 0;
    border-bottom: black 1px solid;
}

#relogin-button {
    font-size: 1.5em;
    border-radius: 20px;
    border: 1px solid black;
    background: var(--primary);
    color: white;
    padding: 5px 20px
    
}
