
/* The side navigation menu */
.sidenav {
    height: 100%;
    width: 0;
    position: fixed;
    z-index: 1;
    top: 0;
    left: 0;
    overflow-x: hidden;
    padding-top: 80px;
    transition: 0.4s;
    display: block;
    white-space: nowrap;
    border-right: 1px solid var(--dull-white);
    background-color: var(--main-black);
    color: var(--bright-white);
}

/* The navigation menu links */
.sidenav .headerLine{
    padding: 4px 8px 4px 32px;
    font-size: 2em;
}

.setting {
    padding: 0px 8px 0px 64px;
    font-size: 1.5em;
    max-height: 0px;
    overflow: hidden;
    transition: max-height 0.2s ease-out;
}

.sidenav p{
    font-size: 0.9em;
    margin-top: 5px;
    margin-bottom: 0px;
}

.sidenav input, .sidenav label {
    margin-left: 6px;
    font-size: 0.75em;
    transition: 0.1s;
    color: var(--dull-white);
}

.sidenav input{
    margin-top: 3px;
}

input[type=radio]:checked + label {
    color: var(--bright-white);
}

/* When you mouse over the navigation links, change their color */
.sidenav a:hover {
    color: var(--dull-white);
}

.sidenav label:hover {
    color: var(--bright-white);
}



/* Hamburger Icon Code */
.deliciousMenu {
    display: absolute;
    cursor: pointer;
    position: fixed;
    padding: 25px;
}

/* These 3 bars are the hamburger menu */
.bar1, .bar2, .bar3 {
    width: 35px;
    height: 5px;
    background-color: var(--main-highlight);
    margin: 6px 0;
    transition: 0.4s;
}

/* This code transforms the hamburger to the X */
.change .bar1 {
    -webkit-transform: rotate(-45deg) translate(-8px, 8px);
    transform: rotate(-45deg) translate(-8px, 8px);
    background-color: var(--dull-white);
}

.change .bar2 {opacity: 0;}

.change .bar3 {
    -webkit-transform: rotate(45deg) translate(-8px, -8px);
    transform: rotate(45deg) translate(-8px, -8px);
    background-color: var(--dull-white);
}

/* This moves the menu/close button to the right */
.change {
    transform: translateX(210px);
    transition: 0.6s;
    z-index: 2;
}

/* About Modal */

/* The Modal (background) */
.modal {
    display: none;
    position: fixed;
    z-index: 1;
    padding-top: 100px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgb(0,0,0);
    background-color: rgba(0,0,0,0.6);
}

/* Modal Content */
.modal-content {
    position: relative;
    background-color: var(--bright-white);
    color: var(--main-black);
    margin: auto;
    padding: 0;
    border: 1px solid var(--dull-white);
    width: 80%;
    box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2),0 6px 20px 0 rgba(0,0,0,0.19);
    -webkit-animation-name: animatetop;
    -webkit-animation-duration: 0.4s;
    animation-name: animatetop;
    animation-duration: 0.4s
}

.modal a{
    color: var(--main-gray);
}

/* Add Animation */
@-webkit-keyframes animatetop {
    from {top:-300px; opacity:0}
    to {top:0; opacity:1}
}

@keyframes animatetop {
    from {top:-300px; opacity:0}
    to {top:0; opacity:1}
}

/* The Close Button */
.close {
    color: var(--dull-white);
    float: right;
    font-size: 28px;
    font-weight: bold;
}

.close:hover,
.close:focus {
    color: var(--main-highlight);
    text-decoration: none;
    cursor: pointer;
}

.modal-header {
    padding: 2px 16px;
    background-color: var(--main-black);
    color: var(--bright-white);
}

.modal-body {padding: 2px 16px;}

.modal-footer {
    padding: 2px 16px;
    background-color: var(--main-black);
    color: var(--bright-white);
    font-size: 0.75em;
    text-align: right;
}