/* MATERI.CSS - Fokus pada Tipografi dan Keterbacaan */
@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');
body {
    background-image: url('img1.jpeg');
    background-size: cover;
    background-attachment: fixed;
    background-position: center;
    color: #eee;
    font-family: 'Poppins', sans-serif;
    margin: 0;
    line-height: 1.7;
}
a {
    color: #eee;
    text-decoration: none;
}
header{
    
    width: 1140px;
    max-width: 80%;
    margin: auto;
    height: 50px;
    display: flex;
    align-items: center;
    position: relative;
    z-index: 100;
    
}
header a{
    margin-right: 40px;
}
.container-materi {
    width: 850px;
    max-width: 95%;
    margin: 100px auto;
    border-radius: 15px;
    border: 1px solid #444;
    background-image: linear-gradient(rgba(66, 60, 60, 0.8), rgba(24, 22, 22, 0.8)), url('img8.jpeg');
    padding: 50px;
    box-shadow: 0 0 40px rgba(255, 81, 0, 0.05);
}

/* Header Text */
.materi-header-text {
    text-align: center;
    border-bottom: 2px solid #ffffff;
    padding-bottom: 30px;
    margin-bottom: 50px;
}

.materi-header-text h1 {
    font-size: 3rem;
    color: #f15810;
    margin: 10 px 0 0 0;
    text-transform: uppercase;
    letter-spacing: 5px;
    opacity: 0;
    animation: fadeInUp 1s ease-out 0.3s forwards;
}
.materi-header-text h2 {
    font-size: 2rem;
    color: #ccc;
    margin: 10px 0 0 0;
    text-transform: uppercase;
    letter-spacing: 5px;
    opacity: 0;
    animation: fadeInUp 1s ease-out 0.6s forwards;
}

.subtitle {
    color: #888;
    letter-spacing: 2px;
    animation: fadeInUp 1.9s ease-out;
    margin-top: 10px;
}

/* Section Styling */
.section-title {
    color: #f15810;
    font-size: 1.6rem;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
}

.section-title::after {
    content: "";
    flex: 1;
    height: 1px;
    background: #333;
    margin-left: 20px;
}

.text-box {
    margin-bottom: 50px;
}

.text-box p {
    margin-bottom: 20px;
    color: #ccc;
}

ul {
    padding-left: 20px;
}

ul li {
    margin-bottom: 12px;
    color: #bbb;
}

/* Alert/Highlight Box */
.alert-box {
    background: rgba(138, 125, 121, 0.07);
    border-left: 4px solid #f15810;
    padding: 20px;
    border-radius: 0 10px 10px 0;
    margin: 25px 0;
    font-style: italic;
}

/* Table */
.table-container {
    margin: 30px 0;
    overflow-x: auto;
}

table {
    width: 100%;
    border-collapse: collapse;
    background: #2b2828;
}

table th, table td {
    padding: 18px;
    text-align: left;
    border: 1px solid #3f3d3d;
}

table th {
    background-color: #db5314;
    color: #fff;
    text-transform: uppercase;
    font-size: 0.9rem;
}

/* Back Button */
.footer-action {
    text-align: center;
    margin-top: 60px;
}

.back-link {
    text-decoration: none;
    color: #fff;
    border: 1px solid #db5517;
    padding: 12px 40px;
    border-radius: 5px;
    transition: 0.4s;
    font-weight: 500;
}

.back-link:hover {
    background: #ff5100;
    box-shadow: 0 0 20px rgba(255, 81, 0, 0.4);
}
.materi-section, .table-container, .text-box{
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s ease-out;
}
.materi-section.show, .table-container.show, .text-box.show{
    opacity: 1;
    transform: translateY(0);
}

/* Responsive */
@media screen and (max-width: 678px) {
    .container-materi { padding: 25px; margin-top: 70px; }
    .materi-header-text h1 { font-size: 1.8rem; }
}
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}