body { } .hero1{ background: url('assets/img/bg.jpg') no-repeat center center/cover; background-attachment: fixed; /* Latar belakang tetap */ color: white; margin: 0; display: flex; flex-direction: column; justify-content: flex-start; /* Title dan konten tetap di atas */ align-items: center; aspect-ratio: 16 / 9; /* Rasio aspek layar yang ideal */ height: 100vh; /* Biarkan tinggi disesuaikan */ position: relative; /* Untuk memastikan elemen dalam body diatur */ } .title { font-size: 4rem; font-family: 'Press Start 2P', cursive; font-weight: bold; text-align: center; margin-top: 10%; background: linear-gradient(45deg, #87af47, #5a7d38, #b2d46a, #394921, #050703); background-size: 200%; -webkit-background-clip: text; -webkit-text-fill-color: transparent; -webkit-text-stroke: 4px #87af47; animation: gradient-animation 3s infinite ease-in-out; text-shadow: 4px 4px 20px rgba(5, 7, 3, 0.8), 0 0 15px rgba(87, 175, 71, 0.9), 0 0 25px rgba(178, 212, 106, 0.8); animation: flicker 2s infinite; } @keyframes flicker { 0% { opacity: 1; text-shadow: 0 0 10px rgba(255, 0, 0, 0.8), 0 0 20px rgba(255, 0, 0, 0.6); } 50% { opacity: 0.7; text-shadow: 0 0 15px rgba(255, 0, 0, 0.7), 0 0 30px rgba(255, 0, 0, 0.5); } 100% { opacity: 1; text-shadow: 0 0 10px rgba(255, 0, 0, 0.8), 0 0 20px rgba(255, 0, 0, 0.6); } } .sub-title { font-size: 2rem; /* Ukuran font lebih kecil dari title */ font-family: 'Press Start 2P', cursive; font-weight: 400; text-align: center; margin-top: 10px; /* Jarak antara title dan sub-title */ color: white; /* Warna putih */ text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.5); /* Sedikit efek bayangan */ } @keyframes gradient-animation { 0% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } 100% { background-position: 0% 50%; } } .icon-container { display: flex; justify-content: center; gap: 20px; flex-wrap: wrap; margin: 20px 0; } .icon { position: relative; width: 60px; height: 60px; background: linear-gradient(45deg, #5a7d38, #b2d46a, #394921); border-radius: 8px; display: flex; justify-content: center; align-items: center; box-shadow: 0 2px 10px rgba(0, 0, 0, 0.5); animation: float 2s infinite ease-in-out; transition: transform 0.3s ease, box-shadow 0.3s ease; } .tooltip { position: absolute; bottom: 70px; left: 50%; transform: translateX(-50%); background-color: rgba(0, 0, 0, 0.8); color: white; padding: 5px 10px; border-radius: 4px; font-size: 0.8rem; opacity: 0; visibility: hidden; transition: opacity 0.3s ease, visibility 0.3s ease; white-space: nowrap; } .icon:hover .tooltip { opacity: 1; visibility: visible; } .icon img { max-width: 50%; } @keyframes float { 0% { transform: translateY(0px); } 50% { transform: translateY(-10px); } 100% { transform: translateY(0px); } } .icon:hover { transform: scale(1.2); box-shadow: 0 4px 20px rgba(178, 212, 106, 0.8), 0 0 30px rgba(87, 175, 71, 0.9); } /* Efek hover ikon */ .icon:hover img { filter: hue-rotate(180deg) brightness(0.8); transform: rotate(10deg) scale(1.2); } .character { position: absolute; bottom: 0; /* Karakter diposisikan di bawah body */ left: 50%; /* Karakter di tengah horizontal */ transform: translateX(-50%); text-align: center; } .character img { width: 300px; max-width: 80%; /* Responsif untuk layar kecil */ height: auto; opacity: 0.9; } .icon img[src="assets/img/rodeo.png"] { filter: invert(1) brightness(2); } @media (max-width: 768px) { .hero1 { height: 80vh; /* Kurangi tinggi di layar kecil */ } .title { font-size: 2.5rem; /* Sesuaikan ukuran font */ margin-top: 10%; /* Kurangi margin */ } .icon { width: 50px; /* Ikon lebih kecil */ height: 50px; } .character img { width: 250px; /* Ukuran lebih kecil untuk layar kecil */ } .sub-title { font-size: 1.5rem; /* Sesuaikan ukuran font agar lebih kecil */ margin-top: 5px; /* Kurangi jarak untuk layar kecil */ } h2 { font-size: 2rem; /* Smaller font size */ padding-bottom: 8px; /* Adjust padding */ margin-bottom: 15px; /* Less margin */ text-shadow: 1px 1px 8px rgba(87, 175, 71, 0.6), 0px 0px 15px rgba(178, 212, 106, 0.6); /* Softer shadow */ } p { font-size: 1rem; /* Slightly smaller text */ line-height: 1.6; /* Adjust line height */ padding: 8px 15px; /* Smaller padding for mobile */ border-left: 3px solid #87af47; /* Slimmer border */ } } @media (max-width: 480px) { .hero1 { height: 70vh; /* Lebih kecil lagi untuk perangkat kecil */ } .sub-title { font-size: 1.2rem; /* Lebih kecil untuk perangkat dengan lebar layar kecil */ margin-top: 5px; } /* Title */ .title { font-size: 2rem; /* Ukuran font lebih kecil untuk perangkat kecil */ margin-top: 5%; /* Kurangi jarak atas */ } /* Icons */ .icon { width: 40px; /* Ukuran ikon lebih kecil */ height: 40px; /* Sesuaikan tinggi ikon */ } .icon img { max-width: 60%; /* Pastikan gambar dalam ikon tetap proporsional */ } /* Character Image */ .character img { width: 300px; /* Ukuran lebih kecil untuk layar kecil */ max-width: 90%; /* Pastikan responsif */ opacity: 0.9; /* Tetap transparan sesuai gaya */ } h2 { font-size: 1.8rem; /* Further reduce font size */ letter-spacing: 1px; /* Decrease spacing */ text-shadow: 1px 1px 5px rgba(87, 175, 71, 0.5), 0px 0px 10px rgba(178, 212, 106, 0.5); } p { font-size: 0.9rem; /* Smallest size for readability */ padding: 5px 10px; /* Compact padding */ line-height: 1.5; /* Reduce line height */ } } h2 { font-family: 'Poppins', sans-serif; font-size: 2.5rem; font-weight: 700; color: #b2d46a; text-transform: uppercase; text-shadow: 2px 2px 10px rgba(87, 175, 71, 0.8), 0px 0px 20px rgba(178, 212, 106, 0.7); letter-spacing: 1.5px; border-bottom: 3px solid rgba(178, 212, 106, 0.5); padding-bottom: 10px; margin-bottom: 20px; text-align: center; } p { color: #e0e0e0; font-size: 1.1rem; line-height: 1.8; font-family: 'Poppins', sans-serif; text-align: justify; letter-spacing: 0.5px; padding: 10px 20px; border-left: 4px solid #87af47; background-color: rgba(255, 255, 255, 0.05); border-radius: 10px; box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); } #gif-container { width: 100%; max-width: 400px; height: 100%; /* Menyesuaikan dengan tinggi teks di sebelahnya */ margin: auto; display: flex; align-items: center; justify-content: center; border-radius: 20px; /* Membuat ujung melengkung */ background: linear-gradient(45deg, #b2d46a, #5a7d38); /* Sesuaikan dengan warna tema */ box-shadow: 0 4px 15px rgba(178, 212, 106, 0.5); /* Tambahkan efek bayangan */ overflow: hidden; /* Pastikan GIF tetap di dalam container */ } #gif-container img { width: 85%; height: auto; /* Pertahankan rasio gambar */ max-height: 100%; /* Batasi tinggi agar tidak lebih dari kontainer */ object-fit: cover; /* Isi container dengan GIF */ transition: transform 0.3s ease, opacity 0.3s ease; /* Efek animasi halus */ } #gif-container:hover img { transform: scale(1.05); /* Zoom in sedikit saat di-hover */ opacity: 0.95; } .row.align-items-center { display: flex; /* Gunakan flexbox untuk kolom */ align-items: stretch; /* Pastikan tinggi kolom sama */ } .owl-carousel .item img { display: block; width: 100%; height: auto; border-radius: 10px; box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5); } .owl-carousel .owl-stage { padding-left: 0 !important; /* Reset padding default */ } .owl-carousel .owl-item { transition: transform 0.3s ease; /* Animasi halus */ } .owl-carousel .owl-item:hover { transform: scale(1.05); /* Sedikit perbesar saat hover */ z-index: 2; /* Pastikan item yang di-hover berada di atas */ } /* Optional: Buat kontrol navigasi lebih menarik */ .owl-nav button { margin: 0 10px; /* Tambah jarak tombol navigasi */ } #nftTitle, #nftTitle2 { font-size: 1.4rem; /* Ukuran font lebih kecil */ animation: flicker 2s infinite; } #nftDescription, #nftDescription2 { font-size: 0.85rem; /* Ukuran font lebih kecil */ } html { scroll-behavior: smooth; } .nav-link { position: relative; text-transform: uppercase; font-weight: bold; letter-spacing: 1.5px; color: #b2d46a; /* Warna teks */ transition: color 0.3s ease; text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8), -1px -1px 2px rgba(0, 0, 0, 0.8); /* Efek stroke */ } .nav-link:hover { color:rgba(190, 255, 50, 0.77); text-shadow: 2px 2px 4px rgba(0, 0, 0, 1), -2px -2px 4px rgba(0, 0, 0, 1); /* Pertegas stroke saat hover */ } .nav-link::after { content: ''; position: absolute; left: 0; bottom: -5px; width: 0; height: 2px; background: linear-gradient(45deg, #87af47, #5a7d38); transition: width 0.3s ease; } .nav-link:hover::after { width: 100%; } .navbar-brand:hover span { text-shadow: 0 4px 15px rgba(178, 212, 106, 1); }