html {
    height: 100%;
    margin: 0;
    padding: 0;
}
body {
    margin: 0;
    font-family: "Inconsolata";
    height: 100%;
}
a {
    text-decoration: none;
    color: #FF0F00;
}
a:hover {
    text-decoration: underline;
}
hr {
    border: 0;
    height: 0;
    border-top: 1px solid rgba(0,0,0,0.1);
    border-bottom: 1px solid rgba(255,255,255,0.3);
}
#author-name {
    font-size: 30px;
    color: #ff6f61;
    display: inline-block;
}
.navbar {
    padding: 50px 0 50px 0;
}
.navbar-ul {
    display: inline-block;
    margin: 0;
    padding: 5px 0 5px 0;
    margin-left: 20px;
}
.nav-list {
    list-style-type: none;
    margin: 0 5px 0 10px;
}
.alignable,
.pull-left,
.pull-right {
    display: inline-block;
}
.pull-left {
    float: left;
}
.pull-right {
    float: right;
}
.container {
    max-width: 700px;
    margin: auto;
}
.wrapper {
    min-height: 100%;
}
#ins-logo {
    margin: auto;
    display: block;
    max-height: 100px;
    text-align: center;
}
@media (max-width: 800px) {
    .container {
        max-width: 600px;
        transition: 0.3s ease all;
    }
}
@media (max-width: 650px) {
    .container {
        max-width: 83%;
    }
    .navbar-ul {
        margin-top: 5px;
    }
}
@media (max-width: 500px) {
    .navbar {
        text-align: center;
        padding: 50px 0px 0px 0px;
    }
    #author-name {
        width: 100%;
        float: none;
    }
    #navlist {
        padding: 10px 0 10px 0;
        margin: 0;
        display: block;
        float: none;
        text-align: center;
        width: 100%;
    }
    #navlist li.alignable,
    #navlist li.pull-left,
    #navlist li.pull-right {
        display: inline-block;
    }
    #navlist li.pull-left {
        float: none;
    }
    #navlist li.nav-list {
        margin: 0;
    }
}
.content a:hover {
    text-decoration: underline;
}
.content ol {
    counter-reset: list;
}
.content ol>li {
    list-style-position: none;
    position: relative;
    list-style: none;
    margin-top: 5px;
    margin-bottom: 5px;
}
.content ul>li {
    margin: 5px 0 5px 0;
}
.content ul {
    padding: 0 20px 0 20px;
}
.content ol {
    padding: 0 30px 0 30px;
}
.content ol>li:before {
    content: "[" counter(list,decimal) "] ";
    counter-increment: list;
    position: absolute;
    left: -30px;
}
.content blockquote {
    border-left: 5px solid #333333;
    margin: 20px 0 20px 0;
    padding: 2px 8px 2px 8px;
    font-style: italic;
}
.content .profile-picture {
    height: 85px;
    width: 85px;
    position: relative;
    margin: -10px 0 0 15px;
    float: right;
    border-radius: 50%;
}
p .content .profile-picture {
    padding: 0;
    margin: 0;
}
@media (max-width: 480px) {
    .content .profile-picture img {
        margin-top: -5px;
    }
}
.content img {
    text-align: center;
    width: 100%;
}
table {
    margin: 15px 0;
    border-collapse: collapse;
    width: 100%;
    padding: 0;
}
table tr {
    border-top: 1px solid #cccccc;
    background-color: white;
    margin: 0;
    padding: 0;
}
table tr:nth-child(2n) {
    background-color: #f8f8f8;
}
table tr th {
    font-weight: bold;
    border: 1px solid #cccccc;
    text-align: left;
    margin: 0;
    padding: 6px 13px;
}
table tr td {
    border: 1px solid #cccccc;
    text-align: left;
    margin: 0;
    padding: 6px 13px;
}
table tr th :first-child,
table tr td :first-child {
    margin: 0;
}
table tr th :last-child,
table tr td :last-child {
    margin: 0;
}

/* Dark Mode Styles */
body.dark-mode {
    background-color: rgb(13, 17, 23);
    color: white;
}
a.dark-mode {
    color: #ff6f61; /* Slightly brighter red */
}
#author-name.dark-mode {
    color: #ff6f61;
}
.navbar a.dark-mode {
    color: #ff6f61; /* Slightly brighter red */
}

/* Modern Switch Style */
.dark-mode-switch {
    position: relative;
    display: inline-block;
    width: 40px;
    height: 20px;
    margin-left: 10px; /* Added margin to separate from Contact link */
}
.dark-mode-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}
.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: .4s;
    border-radius: 20px;
}
.slider:before {
    position: absolute;
    content: "";
    height: 16px;
    width: 16px;
    left: 2px;
    bottom: 2px;
    background-color: white;
    transition: .4s;
    border-radius: 50%;
}
input:checked + .slider {
    background-color: #ff6f61;
}
input:checked + .slider:before {
    transform: translateX(20px);
}
.slider:after {
    content: '';
    position: absolute;
    left: 4px;
    top: 1px;
    font-size: 12px;
}
input:checked + .slider:after {
    content: '';
    left: 18px;
}
/* Dark Mode Styles for Title */
title.dark-mode {
    color: #ff6f61;
}
/* Dark Mode Styles for Title */
body.dark-mode title {
    color: #ff6f61;
}
/* Dark Mode Styles for Title */
.dark-mode-title {
    color: #ff6f61;
}
.page-title {
    color: #ff6f61; /* Light red */
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 10px;
}
/* Dark Mode Styles */
body.dark-mode {
    background-color: rgb(13, 17, 23);
    color: white;
}


body.dark-mode a#author-name {
    color: #ff6f61; /* Color for dark mode */
}

a#author-name {
    color: #ff6f61; /* Default color for light mode */
}
/* Add the dark mode styles here */
body.dark-mode {
    background-color: rgb(13, 17, 23);
    color: white;
}
a.dark-mode {
    color: #ff6f61; /* Slightly brighter red */
}
#author-name.dark-mode {
    color: #ff6f61;
}
.navbar a.dark-mode {
    color: #ff6f61; /* Slightly brighter red */
}

