.dark {
    background: rgb(3, 14, 75);
    color: whitesmoke;
}

.light {
    background: whitesmoke;
    color: rgb(3, 14, 75);
}

.color-satu {
    background: rgb(2, 54, 85);
}

body {
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;

}

header {
    height: 90px;
    display: flex;
    align-items: center;
    padding: 0px 10px;
    justify-content: space-between;
    width: 100%;
    position: sticky;
    box-shadow: 1px 1px 20px whitesmoke;
    border-bottom: 1px solid rgb(103, 165, 10);
    top: 0;
    left: 0;
}

.toggle-menu {
    display: none;
}

.logo-brand {
    height: 60%;
    width: auto;
}

.menu-container {
    width: 50%;
    display: flex;
    justify-content: end;
    padding-right: 10px;
}

.menu {
    gap: 20px;
    display: flex;
    width: 100%;
}

.menu a {
    display: flex;
    align-items: center;
    text-decoration: none;
    text-transform: uppercase;
    font-size: 18px;
    font-weight: 800;
    color: rgb(211, 43, 226);
    fill: rgb(211, 43, 226);
}

.menu a span {
    margin-right: 5px;

}

.menu-button {
    color: rgb(253, 2, 178);
    fill: rgb(253, 2, 178);
}

.menu-button.active {
    color: rgb(242, 169, 248);
    fill: rgb(242, 169, 248);
}

@media(max-width:920px) {
    .menu {
        display: none;
    }

    .toggle-menu {
        display: flex;

    }

    .toggle-menu span {
        font-size: 30px;
        font-weight: 800;
    }
}

.container-content {
    /* height: 200vh; */
    display: flex;
    flex-direction: column;
    align-items: center;
}

.container-headline {
    width: 70%;
    height: 70px;
    margin-top: 40px;
    display: flex;
    align-items: center;
    position: relative;
    background: linear-gradient(90deg, #0ea5e9, #38bdf8);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

/* Label kiri lancip */
.headline-label {
    position: relative;
    width: 280px;
    height: 100%;
    background: linear-gradient(135deg, #ff003c, #b30059);
    clip-path: polygon(
        0 0,
        85% 0,
        100% 50%,
        85% 100%,
        0 100%
    );
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    box-shadow: 4px 0 15px rgba(0,0,0,0.4);
}

/* Teks label */
.headline-label p {
    color: white;
    font-size: 20px;
    font-weight: bold;
    letter-spacing: 2px;
    text-transform: uppercase;
    text-shadow: 0 0 10px rgba(255,255,255,0.6);
}

/* Area konten berita */
.headline-content {
    flex: 1;
    padding-left: 60px;
    font-size: 18px;
    font-weight: 500;
    color: white;
    white-space: nowrap;
    overflow: hidden;
    position: relative;
}

/* Animasi teks berjalan */
.headline-content::after {
    content: attr(data-text);
}

/* Animasi running text */
.headline-content {
    animation: marquee 10s linear infinite;
}

@keyframes marquee {
    0% {
        transform: translateX(0%);
    }
    100% {
        transform: translateX(-50%);
    }
}


