/***********/
/* General */
/***********/

/*We do not define font-size for html in order to rely on device's default*/

* { box-sizing: border-box; }  /* so that dimensions of boxes include border, padding, margin */

body {
    margin: 0;
    background-color: #f8f9f9;
}

.main {
    display: grid;
    grid-template-columns: 250px auto;
    grid-template-rows: minmax(750px, 100vh);
}

.content-table {
    background-color: #f8f9f9;
    font-family: 'Roboto', sans-serif;
    font-size: 0.8em;
    padding: 10px 12px 0px 12px;
}

.tile {
    background-color: white;
    box-shadow: 3px 3px 8px rgb(0 0 0 / 15%);
    border-radius: 10px;
    padding: 2em;
    margin-top: 2em;
}

a:hover {  /* override Bootstrap defaults */
    text-decoration: none;
}

p {
    margin-bottom: 1em;
}

a {
    color: #0daa9c;
    text-decoration: none;
}

a:hover {
    color: #078177;
}

.container-wide {
    min-width: 1320px;
}

.container-min-height {
    min-height: calc(100vh - 100px);
}

.container-viewport {
    height: 100vh;
    max-width: 100vw;
    margin: 0;
}

.container-navbar {  /* only applied to inner container of navbar */
    padding: 0;
}

.btn-primary {
    color: #fff;
    background-color: #3178c7;
    border-color: #3077c7;
}

.btn-primary:hover, .btn-primary:active, .btn-primary:focus {
    color: #fff;
    background-color: #145baa;
    border-color: #145baa;
}




/**********/
/* Navbar */
/**********/

header {
    min-width: 1320px;
}

#navbar-profile-icon {
    background-color: #59cdb4;
    color: #113e35;
    font-size: 1.2em;
    border-radius: 100%;
    cursor: pointer;
    height: 60px;
    width: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
}

#navbar-profile-icon:hover {
    outline: 3px solid #a6dacf;
}

#navbar-profile-wrapper {
    position: relative;
}

#navbar-profile-card {
    background-color: white;
    padding: 30px;
    color: black;
    border-radius: 10px;
    position: absolute;
    right: 0;
    top: 67px;
    box-shadow: 0 0 15px 0 #00000030;
    display: flex;
    flex-direction: column;
    align-items: center;
    z-index: 1000;
}

#navbar-profile-icon-large {
    background-color: #89e8d4;
    color: #124138;
    font-size: 1.8em;
    border-radius: 100%;
    cursor: default;
    height: 70px;
    width: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #69ceb9;
}

#navbar-profile-card-name {
    margin-top: 20px;
    font-weight: 600;
}

#navbar-profile-card-email {
    margin-top: 2px;
    color: #696868;
}

.navbar-collapse {
    margin-bottom: -5px;  /* helps to align brand with links */
}

.navbar-brand {
    font-weight: 600;
    font-size: 1.5em;
}

.brand-smm {
    color: white;
}

.brand-display {
    color: #72ffe0;
}

.nav-tabs .nav-item.show .nav-link, .nav-tabs .nav-link.active {
    background-color: #f8f9f9;
    border-color: #dee2e6 #dee2e6 #f8f9f9;
}

.navbar-profile-settings {
    display: flex;
    margin: 1.5em 0 2em -5px;
}

.navbar-profile-settings > span {
    margin-right: 0.3em;
}

.navbar-profile-settings {
    color: #2f2f2f;
}


/**********/
/* Footer */
/**********/

footer {
    background-color: #d0d0d0;
}

.footer-brand {
    font-size: 1.2em;
    font-weight: 600;
    color: #757575;
}

.footer-smm {
    color: #757575;
}


/*****************/
/* Page: display */
/*****************/

.display-welcome-wrapper {
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.display-username {
    color: #CE4343;
    font-weight: 600;
}



/**********************/
/* Page: boards/table */
/**********************/

.history-wrapper {
    grid-column: 2/3;
    grid-row: 1/2;
    margin: 5%;
    background-color: white;
    box-shadow: 2px 2px 2px rgba(0,0,0,.3);
    font-family: 'Roboto', sans-serif;
    padding: 2% 3% 0 3%;
    display: flex;
}

.history-table {
    width: 85%;
    height: 100%;
}

.history-graph > h1 {
    margin-top: 0;
    margin-bottom: 1em;
    padding-left: 3%;
}

#graph {
    background-color: white;
    width: 95%;
    margin-right: 2em;
}


