body {
  margin: 0;
  padding: 0;
  background-color: #008080; /* Warna hijau latar */
  font-family: sans-serif;
  text-align: center;
  color: #fff;
  
}
@font-face {
  font-family: 'MyFont';
  src: url('font/MyFont.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}
@font-face{
  font-family: 'myfont2';
  src: url('font/myfont2.otf') format('truetype');
  font-weight: normal;
  font-style: normal;
}

.container {
  background:#008080;
  background-image: url('gambar/bghero.jpg');
      background-size: 100%;
      background-position: center;
      background-repeat: no-repeat;
      background-position-y: 100px;
      padding: 0px;
      margin: 0px;
      box-shadow: 0 160px 50px -20px rgba(0,130,130,1) inset;
}

.logo {
  height: 100px;
  margin-bottom: 0px;
}

h1 {
  font-family: 'MyFont', sans-serif;
  font-size: 7vmin;
  font-weight: bold;
  text-decoration: underline;
  color: #f4b019;
  margin: 0px;
  padding: 0px;
  text-shadow: 
    1px 1px 2px black,
    -1px 1px 2px black,
    1px -1px 2px black,
    -1px -1px 2px black,
    0 0 5px black,
    0 0 10px black;
}

.nomor {
  font-family: 'MyFont', sans-serif;
  color: #f4b019;
  font-size: 10px;
  font-weight: bold;
  text-shadow: 
    1px 1px 2px black,
    -1px 1px 2px black,
    1px -1px 2px black,
    -1px -1px 2px black,
    0 0 5px black,
    0 0 10px black;
}

#sambutan {
  font-family: 'myfont2', Sans-Serif;
  font-size: 11px;
  padding: 5px;
  margin: 5px;
  color: #f4ba19;
  text-shadow: 
    1px 1px 2px black,
    -1px 1px 2px black,
    1px -1px 2px black,
    -1px -1px 2px black,
    0 0 5px black,
    0 0 10px black;
}
/* Style dasar menu */
    .menu {
      position: relative;
      display: inline-block;
      padding: 0px;
      margin: 0px;
    }

    .menu a {
      text-decoration: none;
      padding: 10px;
      display: block;
      color: white;
    }

    /* Sembunyikan submenu awalnya */
    .submenu {
      border-radius: 8px;
      display: none;
      position: absolute;
      background-color: #78b9b5;
      min-width: 100px;
      z-index: 1;
      box-shadow: 0 2px 10px rgba(0, 50, 50, 0.6);
   }

    .submenu a {
      border-radius:8px;
      background-color: #78b9b5;
    }

    /* Tampilkan submenu saat hover */
    .menu:hover .submenu {
      display: block;
    }
    
    .persyaratan {
      justify-content: space-around;
      text-align: left;
      background-color: #78b9b5;
      margin: 20px;
      padding: 10px;
      border-radius: 8px;
      box-shadow: 0 2px 10px rgba(0, 50, 50, 0.6);
    }
    
    .angsuran {
      background-color: white;
      margin: 20px;
      padding: 10px;
      border-radius: 8px;
      box-shadow: 0 2px 10px rgba(0, 50, 50, 0.6);
    }
    
    .angsuran img {
      max-width: 100%;
      height: auto;
    }
    
    html {
      scroll-behavior: smooth;
    }

    /* Tombol awalnya disembunyikan */
    #tombolAtas {
      display: none;
      position: fixed;
      bottom: 20px;
      left: 50%;
      transform: translateX(-50%);
      background-color: #29a0b1;
      color: white;
      padding: 10px 20px;
      border-radius: 25px;
      font-size: 16px;
      text-decoration: none;
      box-shadow: 0 2px 10px rgba(0, 50, 50, 0.6);
      z-index: 1000;
    }

    #tombolAtas:hover {
      background-color: #29a0b1;
    }
    
    .cek {
      font-family: 'MyFont', sans-serif;
      display: flex;
      justify-content: space-around;
      align-items: center;
      box-sizing: border-box;
      font-size: 4vw;
      background-color: #78b9b5;
      border-radius: 8px;
      padding: 0px;
      margin: 5px;
     box-shadow: 0 2px 10px rgba(0, 50, 50, 0.6);
     text-shadow: 
    1px 1px 2px #0c615c,
    -1px 1px 2px #0c615c,
    1px -1px 2px #0c615c,
    -1px -1px 2px #0c615c,
    0 0 5px #0c615c,
    0 0 10px #0c615c;
    }
    .petugas {
      background-color:#78b9b5;
      margin: 20px;
      padding: 20px;
      border-radius: 8px;
      box-shadow: 0 2px 10px rgba(0, 50, 50, 0.6);
    }
    .petugas a {
      color: white;
      text-decoration: none;
    }
    .petugas img {
      max-width: 50%;
    }
    
    .alamat {
      background-color:#78b9b5;
      margin: 20px;
      padding: 20px;
      border-radius: 8px;
      box-shadow: 0 2px 10px rgba(0, 50, 50, 0.6);
    }
    .alamat img {
      max-width: 90%;
    }
    .alamat a {
      color: white;
      text-decoration: none;
    }
    
    /* Background overlay */
#location-alert-overlay {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0,0,0,0.6);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

/* Alert box */
#location-alert {
    background: #ffffff;
    border-radius: 12px;
    padding: 25px;
    max-width: 360px;
    text-align: center;
    font-family: Arial, sans-serif;
    box-shadow: 0 4px 25px rgba(0,0,0,0.3);
    animation: popIn 0.3s ease;
    border: 5px solid #0a7b32;
}

/* Judul alert */
#location-alert h2 {
    color: #0a7b32;
    font-size: 20px;
    margin-bottom: 10px;
}

/* Pesan alert */
#location-alert p {
    color: #444;
    font-size: 14px;
    margin-bottom: 20px;
}

/* Tombol */
#location-alert button {
    background: #0a7b32;
    color: white;
    border: none;
    padding: 10px 22px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 14px;
    transition: background 0.2s ease;
}

#location-alert button:hover {
    background: #095b27;
}

/* Animasi pop in */
@keyframes popIn {
    from { transform: scale(0.8); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}
.footer {
  height: 50px;
  padding: 10px;
  margin: 10px;
}

  /* Tombol floating utama */
  .floating-btn {
    position: fixed;
    right: 0; /* mepet ke layar */
    transform: translatey(100%) rotate(90deg);
    transform-origin: right center;
    background: #008080;
    color: #fff;
    margin: 10px;
    padding : 10px;
    font-weight: bold;
    cursor: pointer;
    border-radius: 8px 8px 8px 8px;
    border: 2px solid black;
    transition: transform 0.5s ease;
    z-index: 1000;
  }

  .floating-btn.open {
    transform: translate(-310px, 100%) rotate(90deg);
    margin: 10px;
  }

  /* Container animasi menjulur */
  .floating-container {
    position: fixed;
    top: 50%;
    right: 0;
    display: flex;
    flex-direction: row-reverse;
    align-items: center;
    overflow: hidden;
    transition: width 0.5s ease;
    width: 10px; /* ukuran tombol default */
    z-index: 999;
    border-radius: 8px 0 0 8px;
    background-color: #008080;
  }

  .floating-container.open {
    width: 300px; /* lebar saat terbuka */
    border-radius: 8px 0 0 8px;
    background-color: #008080;
    padding: 10px;
  }

  /* Konten tersembunyi saat menonjol */
  .floating-content {
    display: flex;
    align-items: center;
    gap: 10px;
    opacity: 0;
    transition: opacity 0.5s ease 0.3s;
  }

  .floating-container.open .floating-content {
    opacity: 1;
  }

  /* Tombol download di dalam container */
  .inner-download-btn {
    background: #f4b019;
    color: black;
    padding: 10px;
    margin-right: 10px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-weight: bold;
  }

  /* QR image */
  .qr-image {
    width: 200px;
    height: 200px;
  }
