body, .light, #about-colors {
    --main-color-1: #FFFFFF;
    --main-color-1-shift: #03030325;
    --main-color-2: #0066CC;
    --main-color-3: #FFFFFF;;
    --main-color-4: #1f1f1f;
    --main-color-5: #606060;
    --main-color-6: #FFFFFF;
    --main-color-7: #0066CC;
    --main-color-8: #0066CC;
    --main-color-9: rgba(250, 92, 0, 0.733);
    --main-color-10: rgba(250, 92, 0, 0.87);
    --svg-hue-1: brightness(0) saturate(100%) invert(25%) sepia(90%) saturate(1500%) hue-rotate(210deg) brightness(95%) contrast(110%);
}
/* .dark {
    --main-color-1: #292929;
    --main-color-2: #4DA6FF;
    --main-color-3: #80D4FF;
    --main-color-4: #E8E8E8;
    --main-color-5: #111111;
    --main-color-6: #474747;
    --main-color-7: #4DA6FF;
    --main-color-8: #4DA6FF;
    --main-color-9: rgba(253, 122, 45, 0.733);
    --svg-hue-1: brightness(0) saturate(100%) invert(60%) sepia(80%) saturate(1200%) hue-rotate(200deg) brightness(110%) contrast(110%);
} */
.dark {
    --main-color-1: #2C2C2C;
    --main-color-1-gradient: linear-gradient(155deg,rgba(8, 8, 8, 1) 0%, rgba(79, 61, 61, 1) 60%, rgba(224, 129, 13, 1) 100%);
    --main-color-2: #4DA6FF;
    --main-color-3: #FFFFFF;
    --main-color-4: #faf8f8d7;
    --main-color-5: #111111;
    --main-color-6: #474747;
    --main-color-7: #4DA6FF;
    --main-color-8: #4DA6FF;
    --main-color-9: rgba(14, 14, 14, 0.644);
    --main-color-10: rgba(233, 95, 16, 0.966);
    --svg-hue-1: brightness(0) saturate(100%) invert(60%) sepia(80%) saturate(1200%) hue-rotate(200deg) brightness(110%) contrast(110%);
}
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth !important; 
    font-family: Calibri,Candara,Segoe,Segoe UI,Optima,Arial,sans-serif;
}
h4, h3 {
    margin-bottom: 0.3rem;
    cursor: pointer;
    color: var(--main-color-4);
}
p {
    color: var(--main-color-4);
}
input:focus {
    outline: none;
}
input[type=text], input[type=date], input[type=number], textarea, input[type=email], input[type=tel], input[type=file]  {
    border: 1px solid var(--main-color-4);
    border-radius: 0.4rem;
    height: 2.5rem;
    width: 15rem;
    margin-bottom: 0.4rem;
    font-size: 1rem;
    padding-left: 1rem;
    background-color: var(--main-color-6);
    color: var(--main-color-4);
}
input[type=file]{
    align-content: center;
}
input[type=radio] {
    appearance: none;
    display: inline-block;
    border: 1px solid var(--main-color-4);
    background-color: var(--main-color-1);
    height: 1.5rem;
    width: 1.5rem;
    border-radius: 0.3rem;
    margin-right: 1rem;
    margin-top: 0.1rem;
}
input[type=radio]:checked {
    background-color: var(--main-color-4);
}
input[type=submit], button, select, input[type=reset]{
    border: none;
    border-radius: 0.4rem;
    height: 2.8rem;
    width: 16rem;
    background-color: var(--main-color-8);
    color: var(--main-color-3);
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 1rem;
}
input[type=reset] {
    background-color: red;
    width: 8rem;
    color: white;
}
input[type=checkbox] {
    margin: 0.3rem 1rem 0rem 0.3rem;
    height: 1.4rem;
    width: 1.4rem;
}
button, select {
    margin-top: 1rem;
    cursor: pointer;
}
select {
    text-align: center;
    background-color: var(--main-color-1);
    color: var(--main-color-4);
    border: 1px solid var(--main-color-4);
}
a, input[type=submit]{
    cursor: pointer;
}
label {
    font-size: 1.1rem;
    color: var(--main-color-4);
}
.filter-color-4 {
    filter: invert(10%) sepia(8%) saturate(379%) hue-rotate(2deg) brightness(98%) contrast(90%);
}
ul {
    list-style-type: none;
}
a:link, a:visited, a {
    text-decoration: none;
    color: inherit;
}
body {
    height: 100vh;
}
li {
    color: var(--main-color-4);
}
.header, .header-index {
    text-align: center;
    align-content: center;
    display: grid;
    grid-template-columns: 1fr 3fr 1fr;
    align-items: center;
}
.header > a {
    font-size: 0.9rem;
    font-weight: 600;
    margin-right: auto;
    margin-left: 1rem;
}
.header-index {
    display: block;
}
.header, .header-index, .footer {
    background-color: var(--main-color-10);
    color: var(--main-color-3);
}
#logo {
    height: 60px;
    width: auto;
    justify-self: center;
}
.content {
    height: 100%;
    display: grid;
    grid-template-rows: 76px 50px 1fr 34px;
    background-color: var(--main-color-1);
}
.page-content, .fire-page-content {
    overflow-y: scroll;
    padding-left: 1rem;
    padding-right: 1rem;
}
.page-content > ul, .fire-page-content > ul {
    display: grid;
    justify-content: center;
    padding-top: 4rem;
}
.hidden-links {
    font-weight: 400;
    margin-left: 1rem;
    font-size: 1rem;
    font-weight: 700;
    margin-top: 1rem;
}
.show-links {
    display: none;
}
#first-link {
    padding-top: 1rem;
}
.page-content > ul > li, .fire-page-content > ul > li {
    margin-top: 1rem;
    font-weight: 700;
}
#create-2:hover, #create:hover {
    cursor: pointer;
}
#home::before {
    background-image: url("resources/home-1-svgrepo-com.svg");
}
#create::before, #create-2::before {
    background-image: url("resources/edit-3-svgrepo-com.svg");
}
#create::before, #load::before {
    filter: var(--svg-hue-1);
}
#load::before, #load-2::before {
    background-image: url("resources/save-svgrepo-com.svg");
}
#settings::before {
    background-image: url("resources/settings-svgrepo-com.svg");
}
#dark-mode::before {
    background-image: url("resources/moon-svgrepo-com.svg");
}
#load::before, #create::before, #back::after {
    background-size: 60px 60px;
    display: inline-block;
    width: 60px; 
    height: 60px;
    content:"";
    position: relative;
    top: 20px;
    right: 1rem;
}
#back::after {
    background-image: url("resources/back-svgrepo-com.svg");
    top: 0;
    right: 0.7rem;
}
#create-2::before, #load-2::before, #settings::before, #dark-mode::before, #home::before {
    background-size: 40px 40px;
    display: inline-block;
    width: 40px; 
    height: 40px;
    content:"";
    position: relative;
    top: 13px;
    right: 1rem;
    filter: var(--svg-hue-1);
}
.sidenav {
    height: 100%;
    width: 0;
    position: fixed;
    z-index: 1;
    top: 0;
    left: 0;
    padding-top: 7rem;
    overflow-x: hidden;
    transition: 0.30s;
    background-color: var(--main-color-1);
    color: var(--main-color-4);
    border-radius: 0 1rem 1rem 0;
    box-shadow: 1px 1px 7px var(--main-color-5);
    display: flex;
    flex-direction: column;
    white-space: nowrap;
}
.sidenav a, .sidenav p {
    padding-left: 3rem;
    font-weight: 700;
}
#coming-soon{
    margin-left: 1.2rem;
}
#menu-button {
    position: relative;
    z-index: 2;
    width: none;
    transition-duration: 0.35s;
    filter: var(--svg-hue-1);
}
.toggle-sidenav {
    width: 15rem;
}
.move-button {
    transform: translateX(180px);
}
#menu-button {
    height: 55px;
    width: 55px;
}
.footer {
    display: flex;
    justify-content: space-between;
    padding: 0 1rem 0 1rem;
    font-size: smaller;
    align-items: center;
}
.footer > p {
    
    color: var(--main-color-3);
}
.about-text {
    text-align: center;
    margin-top: 2rem;
    padding: 0 2rem 0 2rem;
    max-width: 30rem;
    justify-self: center;
}
.page-content > form > div, .fire-page-content > form > div {
    margin-bottom: 1rem;
    display: flex;
    flex-direction: column;
}
.page-content > form > h3, .fire-page-content > form > h3  {
    margin-bottom: 0.4rem;
    color: var(--main-color-4);
}
.fire-page-content > form > h4 {
    color: var(--main-color-4);
}
.comment-field {
    height: 4rem;
    width: 20rem;
    padding-top: 0.3rem;
}
.input-group > div > label {
    color: var(--main-color-4);
    position: relative;
    font-size: 1.1rem;
}
.input-group > div > p, #improvements-div {
    color: var(--main-color-4);
}
.input-group {
    max-height: 0;
    width: 100%;
    overflow-y: hidden;
    border-bottom: 1px solid var(--main-color-4);
    overflow-x: hidden;
    scroll-margin-top: 2.5rem;
    transition: 0.4s;
    padding-left: 0.4rem;
}
.input-group > div > div, .input-group > div {
    display: flex;
    flex-direction: column;
}
.show-input-group {
    max-height: 1000px;
}
.radio-collection{
    padding: 0.2rem 0.3rem 0.2rem 0.3rem;
    display: flex;
    flex-direction: column;
}
.checkbox-collection > :last-child {
    margin-top: 0.3rem;
}
.radio-collection > input {
    margin-right: 1rem;
}
#control-type {
    margin-top: 1rem;
}
.settings-main {
    display: flex;
    flex-direction: column;
    align-items: center;
}
#confirm {
    color: green;
    font-size: 1.3rem;
    font-weight: 700;
}
.flex-col {
    display: flex;
    flex-direction: column;
}
.erase {
    background-color: rgba(221, 3, 3, 0.863);
    border: 1px solid red;
}
#controls {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 1rem;
}
.nav-section {
    display: none;
    font-size: 1.1rem;
    font-weight: 700;
    flex-direction: column;
    align-items: flex-end;
    margin-left: auto;
    margin-right: 2rem;
    position: sticky;
    top: 0;
    overflow-x: hidden;
    white-space: nowrap;
}
.nav-section > p {
    border-bottom: 1px solid var(--main-color-4);
    margin-bottom: 1rem;
    cursor: pointer;
    color: var(--main-color-4);
    transition: all 0.3s;
    opacity: 70%;
}
.nav-section > p:hover {
    opacity: 100%;
    font-weight: 900;
}
.next-button {
    display: none;
    width: 10rem;
    position: relative;
    left: 18rem;
    bottom: 1rem;
    margin-bottom: 0;
}
.notify-settings {
    display: none;
    flex-direction: column;
    position: fixed;
    bottom: 15rem;
    left: 50%;
    transform: translate(-50%, 0);
    text-align: center;
    align-items: center;
    justify-content: center;
    width: 18rem;
    height: 10rem;
    background-color: var(--main-color-9);
    border-radius: 1rem;
    font-size: 1.1rem;
    padding: 1rem;
    box-shadow: 1px 2px 10px var(--main-color-5);
}
.notify-settings > p {
    color: var(--main-color-4);
    font-weight: 700;
    margin-bottom: 1rem;
}
.notify-settings > a {
    height: 3rem;
    background-color: var(--main-color-8);
    padding: 1rem;
    color: var(--main-color-3);
    border-radius: 0.5rem;
    font-weight: 700;
}
.notify-settings-show {
    display: flex;
}
#copy {
    font-size: 0.7rem;
}
@media screen and (min-width:820px){
    .nav-section {
        display: flex;
    }
    .fire-page-content {
        display: grid;
        grid-template-columns: 2fr 2fr 1fr;
        font-size: 1.2rem;
    }
    form {
        grid-column-start: 2;
    }
    .comment-field {
        width: 25.5rem;
        margin-right: 0.8rem;
    }
    .input-group {
        width: 30rem;
        border: none;
    }
    .show-input-group {
        background-color: var(--main-color-9);
        
        border-radius: 0.5rem;
        box-shadow: 3px 0px 10px var(--main-color-5);
    }
    .input-group div {
        margin: 0.5rem;
        margin-left: 1rem;
    }
    
    .page-content > form > h3 {
        margin-bottom: 1rem;
    }
    .next-button {
        display: block;
    }
    .content {
        background: var(--main-color-1-gradient);
    }
    #submit {
        display: none;
    }
}