
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    overflow-x: hidden; 
    color: #353535; 
}

header {
    background: linear-gradient(to bottom, #353535, #284B63); 
    color: #FFFFFF; 
    padding: 10px;
    text-align: center;
    position: sticky;
    top: 0;
    z-index: 1000; 
}

nav ul {
    display: flex;
    justify-content: center;
    list-style: none;
    padding: 0;
}

nav ul li {
    margin: 0 10px;
}

nav ul li a {
    color: #3C6E71; 
    text-decoration: none;
    font-size: 18px;
}

nav ul li a:hover {
    color: #284B63; 
}

.scroll-container {
    display: flex;
    flex-direction: row;
    overflow-x: auto; 
    scroll-snap-type: x mandatory; 
}

.scroll-container section {
    min-width: 100vw; 
    height: 100vh; 
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px 20px; 
    scroll-snap-align: center; 
    position: relative; 
}

.scroll-container section:nth-child(odd) {
    background-color: #D9D9D9; 
}

.scroll-container section:nth-child(even) {
    background-color: #FFFFFF; 
}

section h2 {
    font-size: 36px;
    color: #353535; 
    margin-bottom: 20px; 
    text-align: justify;
}

section p, section ul {
    font-size: 18px;
    color: #353535; 
    max-width: 800px;
    text-align: justify;
    line-height: 1.8; 
    margin-bottom: 20px; 
}

section ul li {
    font-size: 20px;
    color: #3C6E71; 
    margin-bottom: 10px;
}

button {
    background-color: #FFC857; 
    color: #353535; 
    border: none;
    padding: 10px 20px;
    cursor: pointer;
}

button:hover {
    background-color: #FFA500; 
}

footer {
    text-align: center;
    padding: 10px;
    background-color: #353535; 
    color: #FFFFFF; 
    position: fixed;
    bottom: 0;
    width: 100%;
    z-index: 1000;
}


figure {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 250px;
    margin: 0;
}

figcaption {
    font-size: 14px;
    color: #284B63; 
    text-align: center;
    margin-top: 5px;
}

.chapter {
    opacity: 0;
    transition: opacity 1s ease-in; 
}

.chapter.visible {
    opacity: 1;
}



.text-image-container {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    max-width: 800px;
    margin: 0 auto;
}

.text-image-container p {
    flex: 1;
    padding-right: 20px;
}

.text-image-container img {
    max-width: 250px;
    height: auto;
    flex-shrink: 0;
}


@media (max-width: 768px) {
    .text-image-container {
        flex-direction: column;
        align-items: center;
    }

    .text-image-container img {
        margin-top: 10px;
    }
}

