* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, sans-serif;
}

ul {
    padding-left: 0;
}

li {
    list-style: none;
}

body {
    background-color: #121212;
    color: #333;
    line-height: 1.6;
}

.header {
    background-color: #121212;
    padding: 30px 0px;
    text-align: center;
}

.header-content {
    max-width: 800px;
    margin: auto;
}

.header-text {
    color: #e6e7e9;
    font-size: 24px;
    font-weight: bold;
    line-height: 1.4;
}

.main-content {
    padding: 30px 0px;
    background-image: url(./image/cacao_bg.png);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
}

.intro, .topic, .history {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    max-width: 90%;
    margin: 30px auto;
}

.intro-bg, .topic-bg {
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    padding: 30px 0px;
}

.intro-image, .topic-image {
    width: 100%;
    max-width: 400px;
    height: auto;
    border-radius: 8px;
    margin-top: auto;
}

.intro-text, .history-text, .topic-text, .ideal-text {
    color: #a6a6a6;
    text-align: left;
    margin-top: 100px;
}

.intro-text h2, .history-text h2, .topic-text h2, .ideal-text h2 {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 10px;
    /*text-align: center;*/
}

.intro-text p, .history-text p, .topic-text p, .ideal-text p {
    font-size: 16px;
    text-align: left;
}


.footer {
    background-color: #121212;
    color: #e6e7e9;
    text-align: center;
    padding: 30px 0px;
    font-size: 14px;
}

.topic-vertical {
    display:flex;
    flex-direction:column;
}

.social-links {
    text-align: center;
}

.social-icon {
    width:40px;
    margin: 0 5px;
}


@media (min-width: 768px) {
    .intro, .topic, .history {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }

    .intro-text, .topic-text, .history-text {
        text-align: left;
        margin-top: 100px;
    }

    .intro-text h2, .topic-text h2, .history-text h2 {
        text-align: left;
    }


    .intro-bg, .topic-bg {
        padding: 30px 0px;
    }


}

@media (min-width: 1024px) {
    .main-content {
        padding: 30px 0px;
    }

    .intro-bg, .topic-bg {
        padding: 30px 0px;
    }

    .intro, .topic, .history {
        gap: 50px;
    }
    
}
