/* Reset / Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    width: 100%;
    overflow-x: hidden;
}

body {
    font-family: 'Segoe UI', sans-serif;
    background-color: #fdfaf6;
    color: #2c2c2c;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 40px 20px;
}

/* Main content container */
main {
    width: 100%;
    max-width: 900px; /* You can increase/decrease this */
    display: flex;
    flex-direction: column;
    gap: 40px;
}

main h2{
    text-align: center;
    display: inline-block;
}
.introduction{
    width: 100%;
    max-width: 900px;
    text-align: center;
}
/* Headers */
h1, h2, h3 {
    color: #ff8552;
    margin-bottom: 10px;
}

h2 {
    margin-top: 40px;
    border-bottom: 2px solid #dedbd2;
    padding-bottom: 10px;
}

h3 {
    margin-top: 20px;
}

p {
    margin: 10px 0 20px;
    line-height: 1.6;
    align-self: center;
}

li {
    margin: 10px 0 20px;
    line-height: 1.6;
    align-self: center;
}
code{
    color: #5eaaa8;
    background: #CBCBCB;
}


/* Section layout */
section {
    background-color: #ffffff;
    border-left: 4px solid #5eaaa8;
    border-radius: 6px;
    padding: 20px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.05);
    display: flex;
    flex-direction: column;
    margin-bottom: 10px;
    align-items: center;
}

section p {
    text-align: center;
}

.link{
    margin-top: -10px;
}

/* Embeds */
iframe {
    width: 552px;
    height: 167px;
    border: 1px solid #dedbd2;
    border-radius: 4px;
    margin-top: 10px;
    margin-bottom: 10px;
}

/* Images */
img {
    max-width: 900px;
    margin-bottom: 30px;
    border-top: 1px solid #dedbd2;
    border-bottom: 1px solid #dedbd2;
    border-radius: 6px;
}

/* Links */
a {
    display: inline-block;
    margin-top: 8px;
    color: #5eaaa8;
    text-decoration: none;
    font-weight: 500;
}

a:hover {
    color: #ff8552;
    text-decoration: underline;
}

/* Footer */
footer {
    text-align: center;
    font-size: 0.9rem;
    color: #888;
    margin-top: 60px;
}
/*Comic*/
.big-gif {
    width: 600px;
    max-width: 100%;
    height: auto;
}

* {
    box-sizing: border-box;
}

html, body {
    height: auto;
    min-height: 100vh;
    overflow-x: hidden;
    overflow-y: auto;
}

section {
    margin-bottom: 4rem;
}

.highlighted-projects {
    text-align: center;
    background-color: #fef3c7; /* soft yellow highlight */
    padding: 1.5rem;
    border-radius: 1rem;
    margin-bottom: 2rem;
}
.highlighted-projects h2 {
    margin-top: 10px;
}

.highlighted-projects ul {
    list-style: none;
    padding: 0;
}

.highlighted-projects li {
    margin: 0.5rem 0;
}

.highlighted-projects a {
    color: #5eaaa8;
    font-weight: bold;
    text-decoration: none;
}
.highlighted-projects a:hover {
    text-decoration: underline;
}
.project.highlight {
    background-color: #fef9c3; /* cozy yellow shade */
    border-left: 6px solid #facc15;
    padding: 1.5rem;
    margin-bottom: 2rem;
    border-radius: 1rem;
}

#backToTopBtn {
    position: fixed;
    bottom: 40px;
    left: calc(50% + 400px); /* adjust this based on your content width */
    transform: translateX(-50%);
    z-index: 99;
    background-color: #fbbf24;
    border: none;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    cursor: pointer;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
    display: none;
    align-items: center;
    justify-content: center;
}

#backToTopBtn:hover {
    background-color: #f59e0b;
}