:root{
    --header-bg: #feeaeb;
    --footer-bg: #e7999b;
    --background-color-top-right: #f5212d;
    --background-color-bottom-left: #c40008;
}
.grid-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-auto-rows: min-content;
  gap: 0.25rem;
}

html, body {
    min-height: 100%;
    height: 100%;
    margin: 0;
}

body {
    margin: 0;
    padding: 0;
    background-image: linear-gradient(to top right, var(--background-color-bottom-left) 0%, var(--background-color-top-right) 100%);
    background-color: var(--background-color-top-right);
    background-repeat: no-repeat;
    background-attachment: fixed;
    font-family: Arial, Helvetica, sans-serif;

}

.container {
  width: 100%;
  max-width: 1000px;
  margin: 0 auto;
  padding: 0.5rem;
}

.Bar {
  grid-column: span 2;
  margin-bottom: 0.25rem;
}

.Baritself {
    text-align: center;
    font-weight: bold;
    font-size: 20px;
    height: 10px;
}

.graph {
    height: 300px;
}

.Notes textarea {
    width: 100%;
    max-height: 2.5rem;
    resize: vertical;
    margin: 0.25rem 0;
    padding: 0.25rem;
}

.centerheading {
    margin-top: 0.25rem;
    margin-bottom: 0.25rem;
    line-height: 1.2;
    text-align: center;
}


button {
    padding: 0.5rem 1rem;
}

div.vertialStackedFlexBox{
    display: flex;
    flex-direction: column;
    width: auto;
    height: auto;
    align-items: stretch;
    padding: 10px;
}

div.horizontalStackedFlexBox{
    display: flex;
    width: auto;
    height: auto;
    justify-content: space-between;
    gap: 8px;
}

div.entryInHorizontal{
    background: var(--header-bg);
    font-family: "Times New Roman", serif;
    font-size: 18px;
    width: 100%;
    padding: 4px;
    margin: 4px;
    border-radius: 8px;
    color: rgba(0,0,0,0.7);
}

strong.rankingOutOf10{
    color: rgba(200,0,0,0.8);
    font-weight: bold;
    font-family: "Times New Roman", serif;
    font-size: 24px;
}

div.imageAndProfileOuter{
    color: rgba(0,0,0,1);
    height: 64px;
}

div.imageAndTextInner {
    display: flex;
    height: 64px;
    margin: auto;
    gap: 12px;
}

div.profileInner {
    margin-left: auto;
    padding: 12px;
    gap: 12px;
    display: flex;
    align-items: center;
}

div.brand-text{
    display: flex;
    flex-direction: column;
    line-height: 1.1;
    row-gap: 2px;
    padding: 8px;
}

.createNewEntry {
    background: var(--header-bg);
    color: black;
    font-family: "Times New Roman", serif;
    padding: 1rem;
    margin: 1rem auto;
    width: 100%;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    align-items: stretch;
}

.newEntrySubCategory {
    display: flex;
    flex-direction: column;
    font-weight: bold;
    font-size: 20px;
    margin-bottom: 0.75rem;
    gap: 2rem;
    color: rgba(0,0,0,0.7);
}

.newEntrySubCategorySide{
    display: flex;
    font-weight: bold;
    font-size: 20px;
    margin-bottom: 0.75rem;
    gap: 2rem;
    color: rgba(0,0,0,0.7);
    justify-content: space-between;
}

.newEntrySubCategorySide select{
    min-width: 0;
    font-weight: normal;
    flex: none;
}

.newEntrySubCategorySide > div{
    flex: 1;
    display: flex;
    flex-direction: column;
}

.slidecontainer {
    display: flex;
    align-items: center;
    height: auto;
    margin: 0;
    padding: 0;
}

input[type=range] {
    margin: 0;
    width: 100%;
}

.valueCircle{
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    background-color: var(--header-bg);
    color: red;
    font-weight: bold;
    font-size: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}


.buttonheader {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 8px;
    border-radius: 10px;
    border: 1px solid rgba(0, 0, 0, 0.15);
    background: rgba(255, 255, 255, 0.65);
    color: rgba(0, 0, 0, 0.85);
    text-decoration: none;
    cursor: pointer;
    font: inherit;
    line-height: 1;
    transition: transform .04s ease, background-color .15s ease, border-color .15s ease, opacity .15s ease;
}
.buttonheader:hover {
    background: rgba(255, 255, 255, 0.8);
}
.buttonheader:active {
    transform: translateY(1px);
}

.buttonheader--primary {
    background: #ffffff;
    border-color: rgba(0, 0, 0, 0.15);
}

.buttonheader i {
    margin-right: 6px;
    font-size: 14px;
    line-height: 1;
}

.logout-form { margin: 0; }


nav{
    background-color: var(--header-bg) !important;
    background-image: none !important;
    height: auto;
    display: block;
    padding-right: 20rem;
    padding-left: 20rem;
    padding-top: 16px;
}

footer{
    background-color: var(--footer-bg) !important;
    background-image: none !important;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    z-index: 1000;
    text-align: center;
}

.scrolling-list{
    max-height: 220px;
    overflow-y: auto;
    padding: 0;
    margin: 0;
    list-style: none;
}

.scrolling-list .pain-entry{
    padding: 8px 12px;
    margin-bottom: 8px;
    border-radius: 8px;
    background-color: var(--header-bg);
}

.pain-entry details summary{
    list-style: none;
}

.pain-entry details summary::-webkit-details-marker{
    display: none;
}

.pain-entry details summary::marker{
    content: "";
}