* {
    box-sizing: border-box;
    margin: 0;
}

html {
    height: 100%;
    font-family: "Poppins", sans-serif;
}

body {
    min-height: 100%;
    color: #333;
    background-color: #fff;
    font-size: 12.5px;
    line-height: 20px;
    padding-bottom: 60px;
}

article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
main,
menu,
nav,
section,
summary {
    display: block
}

img {
    max-width: 100%;
    vertical-align: middle;
    display: inline-block
}

a {
    background-color: transparent
}

a:active,
a:hover {
    outline: 0
}

abbr[title] {
    border-bottom: 1px dotted
}

b,
strong {
    font-weight: 700
}

dfn {
    font-style: italic
}

h1 {
    margin: .67em 0;
    font-size: 1.7em
}

.container {
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 20px; /* Ensure consistent padding for container */
}

.link-2 {
    color: #0000ff;
    font-size: 13.5px;
    text-decoration: underline
}

.list-unstyled {
    padding-left: 0;
    list-style: none
}

.sticky-nav {
    z-index: 1;
    background-color: #f4f4f4;
    padding: 20px 180px;
    display: none;
    position: -webkit-sticky;
    position: sticky;
    top: 0;
    overflow: visible
}

.nav-grid {
    width: 100%;
    grid-column-gap: 20px;
    grid-row-gap: 20px;
    grid-template-rows: auto;
    grid-template-columns: 1fr max-content max-content max-content;
    grid-auto-columns: max-content;
    grid-auto-flow: column;
    justify-content: flex-start;
    align-items: center;
    margin: 0;
    padding: 0;
    display: grid
}

.nav-link {
    color: #444;
    margin-left: 0;
    margin-right: 0;
    padding: 10px 0;
    font-weight: 400;
    text-decoration: none;
    display: block
}

.nav-link:hover {
    text-decoration: underline
}

.main-logo {
    aspect-ratio: auto;
    display: flex;
    justify-content: center;
    padding: 20px 0;
}

.paragraph {
    color: #3e3e3ee6;
    text-transform: none;
    margin: 0;
    padding: 0;
    font-size: 14.5px;
    text-align: start;
    line-height: 24px
}

.paragraph.header-text {
    max-width: 700px;
    margin: 0 auto;
    padding-top: 0;
    padding-bottom: 0;
}

.section-2,
.section-3 {
    padding-top: 40px;
    height: 100%;
    width: 100%;
    padding-left: 20px; /* Align with other sections */
    padding-right: 20px;
}

.about-me h2 {
    margin-left: 0; /* Remove extra margin to align with container */
}

.about-me ul {
    padding-left: 20px; /* Ensure consistent alignment for bullet points */
    list-style-position: outside; /* Keeps subsequent lines aligned with the text, not the bullet point */
}

.about-me ul ul {
    padding-left: 40px; /* Ensure proper alignment for nested lists */
}

.somethings {
    margin-top: 80px;
}

.somethings-list {
    list-style-position: inside;
}

.all-notes {
    margin-top: 80px;
}

.heading-2,
.heading-3 {
    text-align: left;
    text-transform: uppercase;
    margin-top: 0;
    margin-bottom: 5px;
    padding-bottom: 0;
    font-size: 15px;
    font-style: normal;
    font-weight: 600
}

.note-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 20px;
}

.note-link {
    align-items: start;
    gap: 3px;
    word-break: normal;
    font-weight: 350;
    font-size: 14.5px;
    text-decoration: none;
}

.note-link .note-title {
    color: #333;
    min-height: 100%;
    font-family: "Poppins", sans-serif;
}

.note-link .note-date {
    color: #9d9d9d;
}

@media screen and (max-width:860px) {
    .container {
        padding: 0 20px; /* Replace max-width with padding to maintain consistent spacing */
    }
    .section-2,
    .section-3 {
        padding-top: 20px; /* Reduce padding on smaller screens */
    }
    .about-me ul {
        padding-left: 10px; /* Adjust padding for bullet points on smaller screens */
    }
    .about-me ul ul {
        padding-left: 20px; /* Adjust padding for nested lists on smaller screens */
    }
    .somethings {
        margin-top: 40px; /* Reduce margin on smaller screens */
    }
    .all-notes {
        margin-top: 40px; /* Reduce margin on smaller screens */
    }
    .note-list {
        gap: 10px; /* Reduce gap between notes on smaller screens */
    }
}