/* Resetting default browser styles */
html,
body,
div,
span,
applet,
object,
iframe,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
a,
abbr,
acronym,
address,
big,
cite,
code,
del,
dfn,
img,
ins,
kbd,
q,
s,
samp,
small,
strike,
sub,
sup,
tt,
var,
b,
u,
i,
center,
dl,
dt,
dd,
ol,
ul,
li,
fieldset,
form,
label,
legend,
table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td,
article,
aside,
canvas,
details,
embed,
figure,
figcaption,
footer,
header,
hgroup,
menu,
nav,
output,
ruby,
section,
summary,
time,
mark,
audio,
video {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
}

/* Box sizing */
html {
  box-sizing: border-box;
}

*,
*::before,
*::after {
  box-sizing: inherit;
}

/* Remove list styles */
ol,
ul {
  list-style: none;
}

/* Remove default links styles */
a {
  text-decoration: none;
}

/* Remove default table styles */
table {
  border-collapse: collapse;
  border-spacing: 0;
}

/* Remove default button styles */
button,
input,
optgroup,
select,
textarea {
  font-family: inherit;
  font-size: inherit;
  line-height: inherit;
}

/* Remove default button styles (for IE) */
button,
input {
  overflow: visible;
}

/* Remove default fieldset styles */
fieldset {
  border: 0;
  margin: 0;
  padding: 0;
}

/* Remove default form styles */
form {
  margin: 0;
  padding: 0;
}

/* Remove default margin and padding for the root element */
:root {
  margin: 0;
  padding: 0;
}

/* Remove default margin and padding for the body element */
body {
  margin: 0;
  padding: 0;
}

/* Typography */
body {
  font-family: "Poppins", sans-serif;
  font-size: 16px;
  line-height: 1.5;
  color: #333;
  position: relative;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: bold;
  margin-bottom: 1rem;
}

p {
  margin-bottom: 1rem;
}

a {
  color: #007bff;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

ul,
ol {
  margin-bottom: 1rem;
  list-style: none;
}

/* Additional typography styles */
h1 {
  font-size: 3rem;
  line-height: 1.2;
}

h2 {
  font-size: 2.5rem;
  line-height: 1.2;
}

h3 {
  font-size: 2rem;
  line-height: 1.2;
}

h4 {
  font-size: 1.5rem;
  line-height: 1.2;
}

h5 {
  font-size: 1.2rem;
  line-height: 1.2;
}

h6 {
  font-size: 1rem;
  line-height: 1.2;
}

p {
  margin-bottom: 1rem;
}

blockquote {
  font-style: italic;
  border-left: 4px solid #ccc;
  padding-left: 1rem;
}

code,
pre {
  font-family: "Courier New", monospace;
}

code {
  font-size: 0.85rem;
  padding: 4px 6px;
  background-color: #f1f1f1;
  border-radius: 4px;
}

pre {
  white-space: pre-wrap;
  background-color: #f1f1f1;
  padding: 1rem;
  border-radius: 4px;
}
/* CSS untuk Ordered List (ol) */
ol {
  counter-reset: list-counter; /* Inisialisasi counter */
  list-style-type: none; /* Menghilangkan default numbering */
  padding-left: 20px; /* Memberikan sedikit padding pada kiri */
  margin: 20px 0; /* Jarak atas dan bawah daftar */
}

/* CSS untuk List Item (li) */
ol li {
  position: relative; /* Untuk memposisikan counter */
  margin-bottom: 10px; /* Jarak antara tiap item */
  padding-left: 30px; /* Memberikan ruang untuk nomor */
  line-height: 1.5; /* Jarak baris */
}

/* Custom Numbering */
ol li::before {
  counter-increment: list-counter; /* Menambah counter */
  content: counter(list-counter) "."; /* Menampilkan nomor dengan titik */
  position: absolute; /* Posisi nomor */
  left: 0; /* Menempatkan di sebelah kiri */
  top: 0; /* Menempatkan di atas */
}

#container {
  display: block;
  background-color: #f2f2f2;
  height: 100vh;
  width: 100vw;
  position: relative;
}

#background {
  padding: 20px;
  border-radius: 10px;
  height: 200vh;
  width: 200vw;
  position: fixed;
  top: 0;
  left: 0;
  animation: moved 150s infinite;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
}
#filter {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: black;
  -webkit-mask-image: radial-gradient(
    circle,
    rgba(0, 0, 0, 0.3) 0%,
    black 100%
  );
  mask-image: radial-gradient(circle, rgba(0, 0, 0, 0.3) 0%, black 100%);
}
.title {
  position: absolute;
  font-weight: 700;
  font-size: 5rem;
  left: 50%;
  translate: -50%;
  color: white;
  top: 5%;
}

.data {
  display: block;
  position: absolute;
  color: white;
  font-family: "Poppins", sans-serif;
  bottom: 10%;
  padding: 5% 10%;
  max-width: 1280px;
}

.linfo {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  align-items: center;
  width: 70%;
}

.rinfo {
  display: none;
  overflow-x: auto; /* Tambahkan ini */
  white-space: nowrap; /* Tambahkan ini */
}
.rinfo .items {
  display: inline-block; /* Ubah ini */
  width: auto; /* Ubah ini */
  white-space: nowrap; /* Tambahkan ini */
  position: relative;
}
.rinfo .item {
  width: 200px;
  height: 150px;
  border-radius: 10px;
  display: inline-block;
  margin-right: 10px; /* Tambahkan margin antar item */
}
.rinfo .item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 10px;
}

.linfo h2 {
  font-size: 1.5rem;
  margin: 0;
}
.linfo h1 {
  font-size: 3rem;
  margin: 0;
}
.linfo .description {
  margin: 20px 0;
}
.linfo .butnav {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}
.linfo .btn {
  padding: 5px 20px;
  border: 2px solid white;
  border-radius: 50px;
  background-color: transparent;
  color: white;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s ease-in-out;
  justify-content: center;
  display: inline-flex;
  align-items: center;
  margin: 10px 0;
}
.linfo .btn:hover {
  background-color: #007bff !important;
}
.linfo .btn svg {
  margin-right: 10px;
}
#petunjuk,
#candt {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  padding: 20px;
  box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
  border-radius: 20px;
  padding: 10px 20px;
  background: white;
  display: none;
  animation: fadeInSlideUp 0.5s ease-out forwards;
  max-height: 90vh;
  overflow-y: auto;
}
#petunjuk.show,
#candt.show {
  display: block;
}
#container.blur .data {
  filter: blur(8px);
  pointer-events: none; /* Supaya tidak bisa diklik saat blur */
}
.header {
  position: relative;
}
.header .close {
  position: absolute;
  right: 0;
  top: 0px;
  border: none;
  background: transparent;
}

#guides {
  width: 1024px;
  height: auto;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  display: grid;
  padding: 30px 0px;
}
.guide {
  width: 100%;
  display: block;
  border-radius: 20px;
  box-shadow: 2px 1px 5px rgba(0, 0, 0, 0.3);
  padding: 10px 15px;
}
.guide .icon {
  color: #007bff;
  width: 50px;
  height: 50px;
  margin: 10px auto;
  display: block;
}
.guide .desc {
  font-size: 0.8rem;
  text-align: justify;
}
.footer {
  position: fixed;
  bottom: 0;
  color: white;
  width: 100%;
  text-align: center;
  font-size: 0.8rem;
}
.content {
  max-width: 1024px;
}
@media (max-width: 768px) {
  .linfo {
    width: 100%;
    display: block;
  }
  .linfo h2 {
    font-size: 1rem;
    margin: 0;
  }
  .linfo h1 {
    font-size: 2rem;
    margin: 0;
  }
  .data {
    grid-template-columns: repeat(1, 1fr);
    top: 10%;
    bottom: auto;
  }
  .rinfo .items {
    bottom: auto;
    margin-top: 20px;
  }
  #guides {
    width: 80vw;
    grid-template-columns: repeat(2, 1fr);
    max-height: 80vh;
    overflow-y: auto;
    padding: 10px;
  }
  .content {
    width: 80vw;
    max-height: 80vh;
    overflow-y: auto;
    padding: 10px;
  }
  .petunjuk-container .header {
    display: grid !important;
    grid-template-columns: repeat(1, 1fr);
    justify-items: center;
    text-align: center;
  }
  .petunjuk-container .header h1 {
    font-size: 2rem;
    margin: 0;
  }
  #petunjuk,
  #candt {
    width: 90%;
  }
}

@keyframes moved {
  0% {
    transform: translateX(-400px);
  }
  50% {
    transform: translateX(0px);
  }
  100% {
    transform: translateX(-400px);
  }
}
@keyframes fadeInSlideUp {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}
::-webkit-scrollbar {
  width: 0px;
}

.petunjuk-container {
  max-width: 900px;
  margin: 40px auto;
  margin-top: 10px;
  padding: 20px;
  line-height: 1.6;
  color: #333;
}

.petunjuk-container .header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
}

.petunjuk-container .logo {
  width: 150px;
}

.petunjuk-container .header h1 {
  font-family: monospace, sans-serif;
  font-size: 3rem;
  letter-spacing: 2px;
  margin: 0;
}

.petunjuk-container .langkah ol {
  padding-left: 20px;
}

.petunjuk-container .buttons {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin: 20px 0;
  flex-wrap: wrap;
}

.petunjuk-container .btn {
  background-color: #6f9c35;
  color: white;
  text-align: center;
  padding: 20px;
  flex: 1 1 30%;
  border-radius: 16px;
  font-weight: 600;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
  font-size: 16px;
  min-width: 200px;
}

.petunjuk-container .btn img {
  height: 80px; /* Tinggi ikon */
  object-fit: contain; /* Menjaga proporsi ikon */
  margin-bottom: 8px; /* Jarak antara ikon dan teks */
  display: block;
  margin-left: auto;
  margin-right: auto;
}
