/* Reset CSS */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Global Styles */
body {
    font-family: Arial, sans-serif;
    background-color: #f4f4f4;
    line-height: 1.6;
    color: #000000;
    margin: 0;
    padding: 0;
    position: relative; /* Added for positioning */
}

.container {
    text-align: center;
    padding: 50px;
}

.header {
    position: relative;
    margin-bottom: 30px;
}

.logo {
    width: 225px;
    height: 88px; /* Set the height as well */
    margin: 0 auto;
    display: block;
}

.main-image {
    position: relative;
    width: 564px;
    height: 564px;
    max-width: 100%;
    display: block;
    margin: 0 auto;
    margin-top: 20px;
    border-radius: 8px;
    overflow: hidden; /* Ensure overflow is hidden for watermark */
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.9); /* Very dark black shadow */
}

/* Watermark styles */
.main-image::after {
    content: 'GARUDA999'; /* Text for watermark */
    position: absolute;
    bottom: 10px;
    right: 10px;
    font-size: 2em;
    color: rgba(255, 255, 255, 0.5); /* Adjust opacity as needed */
    pointer-events: none; /* Ensure the watermark doesn't interfere with clicks */
}

h1 {
    font-size: 2.5em;
    color: #333;
    margin-bottom: 20px;
}


.buttons {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 40px 0;
}

.buttons a {
    display: inline-block;
    text-decoration: none;
    color: white;
    padding: 12px 25px;
    margin: 10px;
    border-radius: 5px;
    background-color: #077d81;
    font-size: 1.2em;
    transition: background-color 0.3s, box-shadow 0.3s;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.8);
    width: 100%;
    max-width: 300px;
    text-align: center;
}

.buttons a:hover {
    background-color: #930000;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.8);
}

@media (min-width: 600px) {
    .buttons {
        flex-direction: row;
        justify-content: center;
    }

    .buttons a {
        max-width: none;
        margin: 10px;
    }
}

.contact-links {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 20px;
    gap: 20px;
}

.contact-links a {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: #000; /* Adjust the color as needed */
    font-family: Arial, sans-serif;
    font-size: 14px;
    transition: transform 0.3s;
}

.contact-links a:hover {
    transform: scale(1.1);
}

.contact-links img {
    width: 50px;
    height: 50px;
    margin-bottom: 5px;
}

.contact-links span {
    margin-top: 5px;
    font-size: 12px;
}

.article {
    margin: 20px auto;
    max-width: 800px;
    text-align: left;
    background-color: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.9); /* Very dark black shadow */

}

.article:hover {
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.9); /* Very dark black shadow */

}

.article h1 {
    font-size: 2em;
    color: #333;
    text-align: center;
    margin-bottom: 20px;
}

.article p {
    font-size: 1.1em;
    color: #555;
    line-height: 1.6;
    margin-bottom: 15px;
}

/* Media Query untuk tampilan mobile */
@media (max-width: 768px) {
    .container {
        padding: 20px;
    }

    .logo {
        width: 150px;
        height: auto; /* Maintain aspect ratio */
    }

    .main-image {
        width: auto;
        height: auto;
        max-width: 100%;
        margin-top: 10px;
    }

    h1 {
        font-size: 2em;
    }



    .article {
        margin: 20px 10px;
        padding: 10px;
    }

    .article h1 {
        font-size: 1.5em;
    }

    .article p {
        font-size: 1em;
    }
}

/* Tambahan CSS untuk tautan dalam artikel */
.article a {
    color: #007bff;
    text-decoration: none;
    font-weight: bold;
}

.article a:hover {
    text-decoration: underline;
}

.social-sharing {
    margin-top: 25px;
}

.social-sharing a {
    display: inline-block;
    margin-right: 3px;
    text-decoration: none;
    color: #000;
    border: 1px solid #ccc;
    padding: 5px;
    border-radius: 4px;
}

.social-sharing a img {
    vertical-align: middle;
    margin-right: 3px;
}

#news {
    display: flex;
    justify-content: center; /* Pusatkan teks secara horizontal */
    align-items: center; /* Pusatkan teks secara vertikal */
    width: 100%; /* Lebar sesuai kebutuhan */
    padding: 10px 0; /* Padding atas dan bawah */
    background-color: #930000;
    color: #fff;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.9); /* Bayangan hitam yang sangat gelap */
    overflow: hidden; /* Atur overflow agar sesuai dengan desain */
}

#news marquee {
    font-size: 0.9em; /* Ukuran font */
    text-transform: uppercase; /* Mengubah teks menjadi huruf besar semua */
    padding: 0; /* Menghapus padding */
    white-space: nowrap; /* Teks tidak wrap */
    animation: marquee 20s linear infinite; /* Animasi gerakan */
}
