* {
    box-sizing: border-box;
    font-family: 'Concert One', cursive;
}

body {
    margin: 0;
    padding: 0;
    background-color: #80b22a;
}

p, h1, h2, h4 {
    font-family: 'Concert One', cursive;
    margin-top: 0;
}

header .jumbotron {
    font-size: 20px;
    padding: 60px 20px;
    text-align: center;
    color: rgb(2, 33, 146);
    background-image: linear-gradient(rgba(255, 255, 255, 0.8), rgba(255, 255, 255, 0.8)), url('jumbotronimg.png');
    background-size: cover;
    background-position: center;
}

header .jumbotron img {
    width: 120px;
    height: auto;
}

nav {
    top: 0;
    position: sticky;
    z-index: 1000;
}

nav ul {
    background: linear-gradient(rgb(121, 229, 78), rgb(15, 77, 3));
    list-style: none;
    margin: 0;
    padding: 0;
    text-align: center;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}

nav li {
    padding: 16px;
}

nav li a {
    color: white;
    text-decoration: none;
    display: block;
}

nav li:hover {
    background: rgb(2, 145, 45);
    cursor: pointer;
}

main {
    display: flex;
    flex-direction: row;
    gap: 20px;
    padding: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.leftside, .rightside {
    flex: 1;
}

.content {
    flex: 2;
}
.contents-grid {
    display: flex;
    flex-wrap: wrap; /* Memungkinkan item turun ke baris bawah jika layar sempit */
    gap: 20px;
    justify-content: space-around;
    text-align: center;
    margin-top: 20px;
}

.contents-item {
    flex: 1 1 40%; /* Mengambil ruang sekitar 40% (2 item per baris) */
    background: #f4fbf3;
    padding: 15px;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.contents-item img {
    width: 100px; /* Mengatur ukuran icon agar seragam */
    height: 60px;
    object-fit: contain;
    margin-bottom: 10px;
    border-radius: 0; /* Menghapus efek bulat jika icon berbentuk transparan */
}

.card {
    margin-bottom: 20px;
    padding: 25px;
    border-radius: 8px;
    background-color: white;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

h2 {
    color: #47a43a;
}

.leftside img,
.featured-image {
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 8px;
}

.rightside img {
    width: 100%;
    max-width: 180px;
    height: auto;
    display: block;
    margin: 0 auto;
    border-radius: 8px;
}

.profile {
    text-align: center;
}

.rounded {
    width: 120px;
    height: 120px;
    border-radius: 100%;
    border: 2px solid black;
    object-fit: cover;
    margin: 10px auto;
    display: block;
}

.sosmed {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 15px;
}

.leftside .sosmed img {
    width: 40px;
    height: 40px;
    cursor: pointer;
    border-radius: 0;
}

.leftside .sosmed img:hover {
    opacity: .7;
}

.articles ul {
    list-style-type: none;
    padding: 0;
}

.articles li {
    margin-bottom: 15px;
}

.articles a {
    text-decoration: none;
    color: #122b24;
    font-weight: bold;
}

.articles a:hover {
    color: #47a43a;
}


footer {
    padding: 20px;
    background-color: #122b24;
    text-align: center;
    color: aquamarine;
}

.glow {
    transition: 0.3s;
}

.glow:hover {
    color: white;
    text-shadow: 0 0 10px #ffee10;
}

@media (max-width: 992px) {
    main {
        flex-direction: column;
    }

    .leftside, .rightside, .content {
        width: 100%;
        flex: none;
    }
}

@media (max-width: 600px) {
    header .jumbotron {
        padding: 40px 15px;
    }

    header .jumbotron img {
        width: 80px;
    }

    nav ul {
        flex-direction: column;
    }

    nav li {
        width: 100%;
        border-bottom: 1px solid #388e3c;
    }

    .card {
        padding: 15px;
    }
}