body {
    opacity: 0;
    transition: opacity 1.0s ease-in-out;
    font-family: Arial, sans-serif;
    line-height: 1.6;
    margin: 0;
    padding: 2rem;
    color: #333;
    background-color: white;
}

.container {
    display: flex;
    flex-direction: row-reverse;
    align-items: flex-start;
    max-width: 960px;
    margin: 0 auto;
}

.sidebar {
    width: 200px;
    padding-left: 20px;
    text-align: right;
    flex-shrink: 0;
}

.menu {
    position: sticky;
    top: 2rem;
}

.menu-header {
    font-weight: bold;
    margin-bottom: 1rem;
}

.menu a {
    display: block;
    color: #007bff;
    text-decoration: none;
    margin-bottom: 0.5rem;

}

.menu a:hover {
    text-decoration: underline;
}

.content {
    flex-grow: 1;
    min-width: 0;
}

.content h1 {
    font-weight: bold;
    margin-top: 1rem;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 50vh;
    width: 100%;
    background-color: white;
    color: #333;
    font-size: 2rem;
    font-weight: bold;
}

@media (max-width: 600px) {
    body {
        padding: 1rem;
    }

    .container {
        flex-direction: column;
        max-width: 100%;
    }

    .sidebar {
        width: 100%;
        padding-left: 0;
        text-align: left;
    }

    .content h1 {
        height: auto;
        min-height: 50vh;
    }
}

.content img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 2rem auto;
}

.dualism-diagrams {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    margin: 2rem 0;
}

.dualism-diagrams img {
    max-width: 45%;
    gap: 20px;
}

.image-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px
}

.image-grid img {
    width: 100%;
    height: auto;
}

.image-grid .grid-item {
    text-decoration: none;
    color: #333;
    display: block;
    text-align: center;
}

.image-grid .grid-item-title {
    margin-top: 0.75rem;
    font-weight: bold;
    font-size: 1rem;
}