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

body {
    width: 100%;
    background-image: url('../image/batik.jpg');
    /* background-size: cover; */
    background-position: center;
    background-color: rgba(0, 0, 0, 0.9);
    background-blend-mode: overlay;
    font-family: "Poppins", serif;
    font-weight: 200;
    font-style: normal;
}

header {
    display: flex;
    justify-content: space-between;
    width: 100%;
    background: url('../image/batik1.jpg');
    background-position: center;
    background-color: rgba(0, 0, 0, 0.2);
    background-blend-mode: overlay;
    padding: 1rem 2rem;
    align-items: center;
    position: sticky;
    top: 0;
    border-bottom: 1px solid #000;
    z-index: 99998;
}

header .back, header .title {
    background-color: #fff;
    color: #000;
    padding: 1rem;
    border-radius: 50px;
    border: 4px solid #000;
}

header .back {
    padding: 0;
    cursor: pointer;
    transform: scale(1.5); 
    display: inline-block;
}

header .logo img {
    width: 100%;
    height: 10vh;
    background-color: #fff;
    padding: 1px;
    border-radius: 50px;
    border: 4px solid #000;
}

header .title {
    font-size: 1.3rem;
}

main {
    padding: 2rem;
}

main .card {
    display: flex;
    width: 90%;
    margin: 0 auto 2rem;
    /* border: 1px solid #000; */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    border-radius: 15px;
    background-color:rgba(0, 0, 0, 0.38);
}

main .card img {
    width: 30vw;
    height: 40vh;
    margin: 1rem;
    border-radius: 10px;
    object-fit: cover;
}

main .card .article {
    margin: 1rem;
    color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

main .card .article h2{
    margin-bottom: 0.7rem;
}

main .card .article p{
    margin-left: 1rem;
    margin-bottom: 1rem;
    font-size: 0.97rem;
}

footer {
    background-color:rgb(240, 188, 1);
    padding: 0.5rem;
    text-align: center;
}

/* Media Queries */
@media (max-width: 768px) {
    html {
        font-size: 80%;
    }
}

@media (max-width: 450px) {
    html {
        font-size: 63%;
    }