:root {
    --mainwhite :#fbfbfb;
    --mainblack :#232323;
    --blugreen: #9df9ef;
    --accent-orange: hsl(16, 100%, 50%);
    --border-main: rgb(205, 205, 205);

    --default-margin: 2rem;
    --default-padding: 1rem;
}

/* || General */
* {
    padding:0px;
    margin:0px;
}

html {
    background-color:  var(--mainblack) ;
    color:var(--mainwhite);
    height: 100%;
    /* max-height: 100vh; */
    /* overflow: hidden; */
}

/* || Layout */

#mainLayout{
    display: grid;
    height: 100%;
    grid-template-rows: min-content 1fr auto;
    grid-template-columns: 164px 1fr;
    grid-template-areas: 
    "header header"
    "sidebar main"
    "foot foot"
    ;
}

header {
    grid-area: header;
}

aside {
    grid-area: sidebar;
}

main {
    grid-area: main;
    display: flex;
    flex-direction: column;
    height: 100%;
    overflow-y: scroll;
    >h1 {border-bottom: #fbfbfb 1px solid;}
}

footer{
    grid-area: foot;
}

/* LayoutUtils */

.flex {
    display: flex;
}

.--flex-evenly{
    justify-content: space-evenly;
}

.grid {
    display: grid;
}
.grid-quad{
    grid-template-columns: auto auto;
    grid-template-rows: auto auto;
}

.float-right{
    float: right;
}

.--margin-top{
    margin-top: auto;
}

.margin-def{
    margin: var(--default-margin);
}

/* Components */

#header {
    border-bottom: solid var(--border-main) 1px;
    
    >div {
        display: flex;
        justify-content: space-evenly;

        > h2 {
            align-content: end;
    text-align: center;
        }
    }
    text-align: center;

}

#navbar {
    border-right: solid var(--border-main) 1px;

    >nav{
        display: flex;
        height: 100%;
        flex-direction: column;
        >a{
            min-height: 50px;
            padding: var(--default-padding);
            align-content: end;
            text-align: center;
            text-decoration: none;
            font-weight: 700;
            font-size: large;
            
            border-bottom:#fbfbfb solid 1px;
            color: var(--mainwhite);
        }:last-child{
            border-bottom: none;
            border-top: #fbfbfb 1px solid;
    }
    }
}
/* Helper class for navbar */
.currentPage {
    background-color: var(--accent-orange);
    color: var(--mainblack)
}

#mainContent{
    >h1 {
        max-width: 75%;
        border-bottom:#fbfbfb 1px solid;
        border-bottom-left-radius: 2%;
        border-bottom-right-radius: 2%;
        border-inline-end: 20%;
        margin: 0rem 0rem 1rem 0rem;


    }
}


#footer {
    border-top: solid var(--border-main) 1px;
}


.bulletcard{
    background-color: #393838;
    min-width: 180px;
    border-radius: 6%;
    /* border-color:black solid 4px; */
    border:var(--accent-orange) solid 2px;
    box-shadow: rgba(249, 82, 82, 0.503) 4px 2px;
    margin: 2rem;
    > h1 {
        padding:1rem;
        text-decoration: underline;
        text-underline-offset: 1.5rem;
        text-decoration-color: var(--accent-orange);
        text-align: center;
        text-transform: uppercase;
        font-weight: 400;
        /* text-shadow: #fbfbfb 1px 2px; */
        text-shadow: black 1px 2px;

    }:first-letter{
        color: var(--accent-orange);
        text-shadow: black 1px 2px;
    }

    >ul {
        padding-inline: 2rem;
        padding-block: 0.2rem;
        margin-bottom: 1rem;
        list-style-position: inside;
        list-style-type: square;

        li {
            margin-top: 1rem;
            font-weight: 700;
            font-size: large;
            text-align: center;
        }::first-letter{color:var(--accent-orange)}
    }
}

#buttonBoard{
    display: grid;
    grid-template-columns: 1fr 1fr;
    place-items: center;
    flex: 1 1 0;
    >a {
        display: grid;
        width: 100%;
        height: 100%;
        place-items: center;
        text-decoration: none;
        font-weight: 700;
        font-size: xx-large;
        color:var(--mainwhite)
    }
    :hover{
        background-color: var(--accent-orange);
        
    }
}

/*  || Border */

.--border-l{
    border-left: solid 0.1rem var(--mainwhite)
}
.--border-r{
    border-right: solid 0.1rem var(--mainwhite)
}
.--border-t{
    border-top: solid 0.1rem var(--mainwhite)
}
.--border-b{
    border-bottom: solid 0.1rem var(--mainwhite)
}

.--outline{
    outline: #fbfbfb7f solid 0.1rem;
}