html {
    overflow-y: scroll;
    scrollbar-width: thin;
    scrollbar-color: #555 transparent;
}

::-webkit-scrollbar {
    width: 10px;
    height: 10px;
}

::-webkit-scrollbar-track {
    background: transparent;
    border-radius: 10px;
}

::-webkit-scrollbar-thumb {
    background: #555;
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: #777;
}

::-webkit-scrollbar-corner {
    background: transparent;
}

body {
    font-family: Arial, sans-serif;
    background-color: #222;
    color: #fff;
    margin: 0;
    padding: 0;
    text-align: center;
}

nav {
    background: #333;
    padding: 10px 0;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    z-index: 1000;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.5);
}

nav button {
    background: #444;
    color: #fff;
    border: none;
    padding: 10px 15px;
    margin: 5px;
    cursor: pointer;
    border-radius: 5px;
    transition: background-color 0.3s;
}

nav button:hover {
    background: #555;
}

main {
    margin-top: 80px;
    padding: 20px;
}

section {
    display: none;
    margin: 0 auto;
    padding: 20px;
    max-width: 1000px;
    background-color: #333;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.active {
    display: block;
}

h2 {
    font-size: 1.8rem;
    margin-bottom: 15px;
    border-bottom: 4px solid #777;
    padding-bottom: 5px;
    text-align: center;
}

h3 {
    position: relative;
    margin: 30px 0;
    padding-bottom: 10px;
    font-size: 1.5rem;
    color: #fff;
    border-bottom: 2px solid #555;
    text-align: center;
}

p, ul {
    line-height: 1.6;
    text-align: left;
    word-spacing: normal;
    letter-spacing: normal;
    margin: 16px 0;
    padding: 0;
}

ul {
    list-style-position: inside;
    padding-left: 0px;
}

li {
    margin-bottom: 8px;
    line-height: 1.6;
}

pre {
    background-color: #000;
    color: #ffffff;
    padding: 15px;
    border-radius: 5px;
    overflow-x: auto;
    white-space: pre-wrap;
    font-family: "Courier New", monospace;
    margin-top: 20px;
    text-align: left;
    border: 1px solid #333;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
}

.secondary-nav {
    background-color: #444;
    padding: 10px;
    margin-top: 10px;
    border-radius: 5px;
    display: flex;
    justify-content: center;
    gap: 10px;
    position: relative;
    z-index: 1;
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
    width: calc(100% - 40px);
}

.secondary-nav button {
    background: #555;
    color: #fff;
    border: none;
    padding: 10px 20px;
    cursor: pointer;
    border-radius: 5px;
    transition: background-color 0.3s;
}

.secondary-nav button:hover {
    background: #666;
}

.secondary-nav button.active {
    background: #777;
    font-weight: bold;
}

a {
    color: #1e90ff;
    text-decoration: none;
    font-weight: bold;
}

a:hover {
    color: #00bfff;
    text-decoration: underline;
}

.assignment-content {
    display: none;
}

.assignment-content.active {
    display: block;
}

#assignments {
    max-width: 1000px;
    margin: 0 auto;
    padding: 20px;
}

.image-gallery {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: auto;
    gap: 20px;
    justify-content: center;
    max-width: 800px;
    margin: 20px auto;
}

.gallery-image {
    width: 100%;
    max-width: 390px;
    height: auto;
    border-radius: 5px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
}

.gallery-image:nth-child(3) {
    grid-column: 1 / span 2;
    justify-self: center;
}

.youtube-video {
    max-width: 800px;
    width: 100%;
    aspect-ratio: 16 / 9;
    margin: 0 auto;
    display: block;
    border-radius: 5px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
}

.explore-more-centered {
    text-align: center;
    margin: 16px auto;
}

.sigchi-container, .eat-pray-anime-container, .study-abroad-container, .assignment-container, .academic-container, .spiritual-container {
    display: flex;
    flex-direction: column;
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
}

.sigchi-text, .eat-pray-anime-text, .study-abroad-text, .assignement-text, .academic-text, .spiritual-text p {
    margin-top: 0;
    line-height: 1.8;
    text-align: justify;
}

.sigchi-float-image {
    float: right;
    max-width: 150px;
    margin: 5px 0 10px 20px;
    border-radius: 5px;
    vertical-align: text-top;
}

.video-gallery {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    justify-content: center;
    max-width: 800px;
    margin: 20px auto;
}

.gallery-video {
    width: 100%;
    max-width: 390px;
    border-radius: 5px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
}
