/* Font */
body {
    font-family: 'Roboto', sans-serif;
}

h1,
h2,
h3,
h4,
h5,
h6,
p,
span 
{
    font-family: 'Poppins', sans-serif;
}

/* Desktop */
@media (min-width: 1200px) {
    /* General button styling hubungi */
        .btn-purple {
            background-color: #11737A;
            /* Gradient from dark purple to white */
            color: white;
            /* White text color */
            border: none;
            /* Remove default border */
            border-radius: 20px;
            /* Rounded corners */
            padding: 10px 20px;
            /* Vertical and horizontal padding */
            font-size: 20px;
            /* Font size */
            cursor: pointer;
            /* Pointer cursor on hover */
            transition: background-color 0.3s, transform 0.3s;
            /* Smooth transition for hover effects */
            width: 300px;
            /* Membuat tombol mengisi lebar kontainer induknya */
        }
    
        .btn-purple:hover {
            background: linear-gradient(45deg, #ffffff, #fdfdfd);
            color: rgb(12, 12, 12);
            /* Darker purple on hover */
            transform: scale(1.05);
            /* Slightly enlarge button on hover */
    
        }
    
        .btn-purple:focus {
            outline: none;
            /* Remove default outline on focus */
        }
    
        
        .article-body {
            display: flex;
            justify-content: center;
            align-items: center;
            flex-direction: column;
        }
    
    
        /* Custom Carousel Caption Styles */
        .carousel-caption {
            background-color: rgba(0, 0, 0, 0.5);
            /* Semi-transparent black background */
            border-radius: 5px;
            padding: 20px;
        }
    
        .carousel-caption h5 {
            color: #ffffff;
            /* White color for heading */
            font-weight: bold;
        }
    
        .carousel-caption p {
            color: #ffffff;
            /* White color for paragraph */
        }
    
        .tittle {
            margin-top: 70px;
            margin-bottom: 70px;
        }
    
        /* Custom Control Icons */
        .carousel-control-prev-icon,
        .carousel-control-next-icon {
            background-color: #11737A;
            border-radius: 50%;
        }
    
        /* Footer */
        .footer {
            background-color: #955af5;
        }
    
    
    
        /* Tampil Produk */
        .rounded-top-left {
            border-top-left-radius: 15px;
        }
    
        .rounded-bottom-left {
            border-bottom-left-radius: 15px;
        }
    
        .card {
            border-radius: 15px;
    
        }
    
        /* CSS untuk mengatur posisi icon */
        .input-group .input-group-text.filter-icon {
            border-top-left-radius: 0;
            border-bottom-left-radius: 0;
            background-color: #E4E4E4;
            border-radius: 0;
            border-left: 0;
            /* Hilangkan border di sisi kanan */
    
        }
    
        .input-group .input-group-text.search-icon {
            border-top-right-radius: 0;
            border-bottom-right-radius: 0;
            background-color: #E4E4E4;
            border-radius: 0;
            border-right: 0;
            /* Hilangkan border di sisi kanan */
    
    
        }
    
        /* CSS untuk mengatur input */
        .form-control {
            border-radius: 0;
            /* Hapus border radius agar tidak ada sudut yang melengkung */
            border-right: 0;
            border-left: 0;
            background-color: #E4E4E4;
        }
    
    
    
        .btn-ok {
            border-radius: 10px;
            background-color: #043464;
            width: 400px;
            height: 40px;
            font-size: 20px;
            color: #E4E4E4;
            border: none;
            text-align: center;
    
        }
    
        /* Untuk mengatur ukuran gambar menjadi 1:1 */
        .square-image img {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            object-fit: cover;
        }
    
        .jumbotron-search {
            margin-bottom: 100px;
        }
    
        .btn-custom {
            background-color: #ffffff;
            /* Latar belakang putih */
            border: 1px solid #000000;
            /* Border hitam */
            color: #000000;
            width: 150px;
            /* Teks hitam */
            padding: 10px 20px;
            /* Padding untuk memperbesar tombol */
            border-radius: 4px;
            /* Sudut border yang melengkung */
            font-size: 12px;
            /* Ukuran font */
            cursor: pointer;
            /* Pointer cursor saat hover */
            transition: background-color 0.3s, color 0.3s;
            /* Efek transisi saat hover */
            text-align: center;
            /* Teks rata tengah */
            display: inline-block;
            /* Membuat tombol sesuai dengan lebar konten */
            text-decoration: none;
            /* Menghilangkan garis bawah pada teks jika ada */
            margin-bottom: 5px;
        }
    
        .btn-custom:hover {
            background-color: #f0f0f0;
            /* Efek saat hover - latar belakang sedikit abu-abu */
            color: #000000;
            /* Teks tetap hitam saat hover */
        }
    
        .custom-img {
            width: 100%;
            /* Memastikan gambar mengisi kontainer */
            height: auto;
            /* Membiarkan browser menyesuaikan tinggi berdasarkan lebar gambar */
            object-fit: cover;
            /* Menyesuaikan gambar agar tetap proporsional dan mengisi ruang */
            max-height: 500px;
            /* Anda bisa mengatur tinggi maksimum untuk desktop */
        }
    
    
        /* Dashboard admin */
        .bg-purple {
            background-color: #6f42c1;
            /* Warna ungu */
            color: white;
            /* Teks berwarna putih */
        }
    
        .whatsapp-btn {
            position: fixed;
            bottom: 20px;
            right: 20px;
            z-index: 1000;
            width: 60px;
            height: 60px;
            background: url('/image/LOGO WA.png') no-repeat center center;
            background-size: contain;
            border: none;
            box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
            cursor: pointer;
        }
    
        /* Artikel */
        /* Basic styles */
        .card-body {
            position: relative;
            padding: 1.25rem;
            /* Adjust as needed */
            background-color: #ffffff;
            /* Ensure the background color fits your design */
            border-radius: .25rem;
            box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
        }
    
        /* Centering the arrow */
        .arrow-container {
            display: flex;
            justify-content: center;
            margin: 1rem 0;
            /* Adjust margin to fit your layout */
        }
    
        /* Glowing arrow styling */
        .glowing-arrow {
            width: 0;
            height: 0;
            border-left: 15px solid transparent;
            border-right: 15px solid transparent;
            border-top: 30px solid #f50e0e;
            /* Arrow color */
            position: relative;
            animation: pulsate 1.5s infinite;
        }
    
        /* Arrow shadow to create glowing effect */
        .glowing-arrow::before {
            content: '';
            position: absolute;
            top: 100%;
            left: 50%;
            transform: translateX(-50%);
            width: 0;
            height: 0;
            border-left: 20px solid transparent;
            border-right: 20px solid transparent;
            border-top: 40px solid rgba(255, 19, 2, 0.5);
            /* Light shadow color matching arrow */
            border-radius: 50%;
            animation: pulse-shadow 1.5s infinite;
        }
    
        /* Pulsate effect */
        @keyframes pulsate {
            0% {
                transform: scale(1);
                opacity: 1;
            }
    
            50% {
                transform: scale(1.1);
                opacity: 0.8;
            }
    
            100% {
                transform: scale(1);
                opacity: 1;
            }
        }
    
        /* Shadow pulsation effect */
        @keyframes pulse-shadow {
            0% {
                transform: translateX(-50%) scale(1);
                opacity: 1;
            }
    
            50% {
                transform: translateX(-50%) scale(1.2);
                opacity: 0.6;
            }
    
            100% {
                transform: translateX(-50%) scale(1);
                opacity: 1;
            }
        }
    
        /* Pulsate effect */
        @keyframes pulsate {
            0% {
                transform: scale(1);
                opacity: 1;
            }
    
            50% {
                transform: scale(1.1);
                opacity: 0.8;
            }
    
            100% {
                transform: scale(1);
                opacity: 1;
            }
        }
    
        /* Shadow pulsation effect */
        @keyframes pulse-shadow {
            0% {
                transform: translateX(-50%) scale(1);
                opacity: 1;
            }
    
            50% {
                transform: translateX(-50%) scale(1.2);
                opacity: 0.6;
            }
    
            100% {
                transform: translateX(-50%) scale(1);
                opacity: 1;
            }
        }
    
        .btn-cari {
            background: linear-gradient(45deg, #7000c0, #bb77fa);
            /* Gradient from dark purple to white */
            color: white;
            /* White text color */
            border: none;
            /* Vertical and horizontal padding */
            font-size: 20px;
            /* Font size */
            cursor: pointer;
            /* Pointer cursor on hover */
        }
    
        .btn-cari:hover {
            background: linear-gradient(45deg, #ffffff, #fdfdfd);
            color: rgb(12, 12, 12);
            /* Darker purple on hover */
            transform: scale(1.05);
            /* Slightly enlarge button on hover */
        }
    
        .btn-cari:focus {
            outline: none;
            /* Remove default outline on focus */
        }
        /* Jarak antar slide dalam slider */
        .slider .slide {

            margin: 0 10px;
            /* Menambahkan jarak horizontal antara gambar */
        }

        /* Menambahkan padding di sekitar slider (opsional) */
        .slider {
            padding: 20px;
            /* Menambahkan padding di sekitar slider */
        }

        /* Mengatur gambar di slider dengan border-radius */
        .slider .slide img {
            border-radius: 15px;
            /* Menambahkan border-radius ke gambar */
            width: 100%;
            height: 250px;
            object-fit: cover;
            /* Menjaga aspek rasio gambar dan mengisi kontainer */
        }
        .p-1 {
            font-family: Montserrat;
            font-size: 14px;
            font-style: normal;
            font-weight: 500;
            line-height: 20px;
        }
        .image-container {
            position: relative;
            display: inline-block;
        }

        .text-overlay {
            position: absolute;
            top: 50%;
            /* Posisikan vertikal di tengah */
            left: 20px;
            /* Posisikan di kiri */
            transform: translateY(-50%);
            /* Untuk benar-benar memusatkan vertikal */
            color: white;
            background-color: rgba(0, 0, 0, 0.5);
            /* Opsi untuk background transparan */
            padding: 15px;
            font-size: 22px;
            font-style: normal;
            font-weight: 500;
        }
        .row {
            display: flex;
            flex-wrap: wrap;
            align-items: center;
            /* Pastikan elemen di dalam row sejajar di tengah vertikal */
        }
        .black-button {
            background-color: black;
            color: white;
            border: none;
        }

        .white-button {
            background-color: white;
            color: black;
            border: 1px solid black;
        }

        .custom-button:hover {
            background-color: #333;
            /* Efek hover untuk tombol hitam */
        }
        .slider-kategori {
            display: flex;
            /* Flexbox untuk membuat elemen menjadi slider */
            overflow-x: auto;
            /* Supaya bisa di-scroll jika item banyak */
            white-space: nowrap;
            /* Memastikan item tidak wrap ke baris berikutnya */
        }

        .item-kategori {
            margin: 0 10px;
            /* Menambah jarak antar item */
            display: inline-block;
            /* Agar setiap item tetap dalam satu baris */
        }

        .custom-button {
            padding: 10px 20px;
            /* Menyempurnakan tampilan tombol */
            font-size: 14px;
            border-radius: 5px;
            white-space: nowrap;
            /* Supaya teks pada tombol tidak terpotong */
        }

}


 
/* Mobile */
@media (max-width: 768px) {
    .custom-img {
            width: 100%;
            /* Pastikan gambar tetap full-width */
            height: auto;
            /* Gambar akan mengikuti proporsi aslinya */
            max-height: 100%;
            /* Batas maksimal tinggi gambar untuk tampilan mobile */
            object-fit: cover;
            /* Pastikan gambar tetap proporsional dan menutupi area */
        }
        /* Custom Carousel Caption Styles */
        .carousel-caption {
            background-color: rgba(0, 0, 0, 0.5);
            max-width: 100%;
            left: 0;
            right: 0;
            bottom: 4px;
            padding: 10px;
            text-align:left ;
           
        }

        .carousel-caption h5 {
            font-size: 1.2rem;
            /* Sesuaikan ukuran teks */
        }

        .carousel-caption p {
            font-family: Poppins;
            font-size: 14px;
            font-style: normal;
            font-weight: 400;
        }
        /* Pindahkan posisi teks pada layar kecil */
    
        .carousel-control-prev-icon,
        .carousel-control-next-icon {
            background-color: #11737A;
            /* Dark blue background for controls */
            border-radius: 50%;
        }
        .btn-purple {
            background-color: #11737A;
            color: #fff;
            border: none;
            /* Remove default border */
            border-radius: 20px;
            /* Rounded corners */
            padding: 10px 20px;
            /* Vertical and horizontal padding */
            font-size: 20px;
            /* Font size */
            cursor: pointer;
            /* Pointer cursor on hover */
            transition: background-color 0.3s, transform 0.3s;
            /* Smooth transition for hover effects */
            width: 300px;
            /* Membuat tombol mengisi lebar kontainer induknya */
            display: block;
            /* Pastikan tombol menjadi block agar mudah diatur */
            margin: 20px auto;
            /* Memberikan jarak dari elemen lain dan memastikan tombol berada di tengah */
        }

        /* Slider pintar desain  */
        .slick-carousel .slide{
            padding: 10px;
        }
        .slick-carousel .slide img {
            width: 100%;
            height: 150px;
            border-radius: 10px;
        }

        /* Jarak antar slide dalam slider artikel */
        .slider .slide {
            padding: 10px;
            /* Jarak antar gambar */
        }   

        /* Mengatur gambar di slider dengan border-radius */
        .slider .slide img {
            width: 100%;
            height: 150px;
            border-radius: 10px;
        }
        .p-1{
            font-family: Montserrat;
            font-size: 10px;
            font-style: normal;
            font-weight: 500;
            line-height: 20px;
            text-align: left;
            margin-top: -20px;
        }
        .p-judul {
            font-family: Montserrat;
            font-size: 10px;
            font-style: normal;
            font-weight: 500;
            line-height: 20px;
            text-align: left;
            margin-top: -15px;
        }
        .p-harga{
            font-family: Montserrat;
            font-size: 10px;
            font-style: normal;
            font-weight: 500;
            line-height: 20px;
            text-align: left;
            margin-top: -20px;
        }
        .jumbotron-search{
            margin-top: -50px;
        }
        /* CSS untuk mengatur posisi icon */
        .input-group .input-group-text.filter-icon {
            border-top-left-radius: 0;
            border-bottom-left-radius: 0;
            background-color: #E4E4E4;
            border-radius: 0;
        }
        .input-group .input-group-text.search-icon {
            border-top-right-radius: 0;
            border-bottom-right-radius: 0;
            background-color: #ffffff;
            border-radius: 0;
            border-right: none;
        }
        /* Slider pintar desain  */
        .slider-populer .item-populer {
            padding: 10px;
        }

        .slider-populer .item-populer img {
            width: 100%;
            height: 150px;
            border-radius: 10px;
        }
        .image-container {
            position: relative;
            display: inline-block;
        }

        .text-overlay {
            position: absolute;
            top: 50%;
            left: 15px;
            transform: translateY(-50%);
            background-color: rgba(0, 0, 0, 0.5);
            color: white;
            padding: 10px;
            font-size: 20px !important;
            white-space: nowrap;
            display: inline-block;
            font-size: 18px;
            max-width: 200px;
            /* Batasi lebar teks untuk membagi baris */
            white-space: normal;
            /* Izinkan teks turun ke baris berikutnya */
            display: inline-block;
            word-wrap: break-word;
                /* Memastikan teks terpecah bila melebihi batas lebar */
        } 
        .row {
            display: flex;
            flex-wrap: wrap;
            align-items: center;
            /* Pastikan elemen di dalam row sejajar di tengah vertikal */
        }

        .custom-button {
            width: 100%;
            /* Tombol lebar penuh sesuai kolom */
            height: 40px;
            /* Tinggi yang konsisten untuk semua tombol */
            padding: 10px 20px;
            border-radius: 8px;
            font-size: 12px;
            /* Ukuran teks yang seragam */
            display: inline-block;
            cursor: pointer;
        }

        .black-button {
            background-color: black;
            color: white;
            border: none;
        }

        .white-button {
            background-color: white;
            color: black;
            border: 1px solid black;
            font-size: 8px;
        }

        .custom-button:hover {
            background-color: #333;
            /* Efek hover untuk tombol hitam */
        }
        .item-kategori {
            margin: 0 10px;
            /* Menambahkan margin kiri dan kanan */
        }

        .custom-button {
            padding: 10px 20px;
            /* Sesuaikan padding untuk tombol */
            font-size: 14px;
            border-radius: 5px;
            /* Opsional, jika ingin sedikit melengkung */
        }

        .slider-kategori {
            margin: 20px 0;
            /* Jarak antar slider dengan elemen di atas dan bawah */
            display: flex;
            /* Pastikan menggunakan flexbox */
            justify-content: center;
            /* Opsional, jika ingin menyejajarkan secara horizontal */
        }
        
        .jumbotron-footer {
            background-color: #FFFFFF;
            height: 50px;
            border-radius: 20px 20px 0 0;
            border: solid 0.5px;
            border-color: #7c7d7e;

        }
        .akun {
            display: flex;
            justify-content: center;
            /* Horizontal center */
            align-items: center;
            /* Vertical center */
            height: 30px;
            /* Sesuaikan tinggi untuk layar kecil */
             
        }
        /* Profile */
        .jumbotron-profile {
            background-color: #ffffff;
            height: auto;
            border-radius: 0 0 50px 0px;
            border: 1px solid #000000;
          
            /* menambahkan tebal dan gaya border */
        }

        .jarak {

            margin-top: 2px;
        }

        .jarak2 {
            margin-top: 2px;
        }

        .center {
            text-align: center;
        }

        .center-button {
            justify-content: center;
        }


        /* End */
      


}

