.content img { max-width: 100% !important; height: auto !important; } .content iframe { width: 100% !important; height: auto !important; aspect-ratio: 16/9 !important; } .background-image-wrapper { position: absolute; width: 100%; height: 500px; /* Atur sesuai kebutuhan */ overflow: hidden; } .background-image { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background-size: cover; background-position: center; opacity: 0.5; /* Opacity hanya untuk gambar latar belakang */ z-index: -1; /* Pastikan ini berada di belakang konten */ } .container { padding: 20px; } .responsive-title { color: #000000; text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5); } .responsive-category { color: #000000; text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5); } .content { color: #fff; background-color: rgba(0, 0, 0, 0.6); padding: 20px; border-radius: 10px; margin-top: 20px; } /* Media Queries for Responsiveness */ @media (max-width: 1200px) { .background-image-wrapper { height: 40vh; } } @media (max-width: 992px) { .background-image-wrapper { height: 30vh; } .container { padding: 15px; } .content { padding: 15px; } } @media (max-width: 768px) { .background-image-wrapper { height: 25vh; } .responsive-title { font-size: 1.5rem; } .responsive-category { font-size: 1rem; } .container { padding: 10px; } .content { padding: 10px; } } @media (max-width: 576px) { .background-image-wrapper { height: 20vh; } .responsive-title { font-size: 1.25rem; } .responsive-category { font-size: 0.875rem; } .container { padding: 5px; } .content { padding: 5px; } }