/* index.html */
@import url("https://fonts.googleapis.com/css2?family=Inter&display=swap");

.small-text {
  font-size: 12px; /* Custom font size */
}

:root {
  --bgColor: #223344;
  --bgColor2: #090a0f;
  --accentColor: #143021;
  --font: "Inter", sans-serif;
  --delay: 0.3s;
}

body {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  min-height: 100px;
  font-family: var(--font);
  background-color: rgb(250, 250, 250);
  color: white;
  opacity: 0.9;
  /* Set opacity to 1 */

  background-repeat: no-repeat;
  background-size: cover;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  height: 100vh;
}

.video-background {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: -1; /* Ensure the video is behind other content */
  background: transparent; /* Warna biru dengan transparansi */
  backdrop-filter: blur(10px); /* Efek blur */
  pointer-events: none; /* Agar elemen ini tidak mengganggu interaksi dengan elemen di bawahnya */
}

#background-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* Ensure the video covers the entire area */
}

#profilePicture,
#profilePicture img {
  position: relative;
  padding-top: 75px;
  width: 230px;
  height: 200px;
  display: block;
  margin: 20px auto 20px;
}

.container {
  text-align: center;
  border-radius: 10px;
  margin-bottom: 10px;
}

.containerlogo {
  text-align: center;
  width: 100%; /* Ensure the container takes up the full width */
  margin-top: 10px;
}

.containerlogo img {
  width: 100%; /* Ensure the image takes up the full width */
  height: auto; /* Maintain aspect ratio */
  max-width: 600px; /* Set a maximum width for the image */
  display: block;
  margin: 0 auto; /* Center the image */
}

.header {
  font-weight: bold;
  font-size: 40px;
  font-family: "Bronzier", sans-serif;
  color: #ffe500;
  margin-bottom: 10px;
}

.text-lift {
  font-size: 50px;
  color: #ffe500;
  text-transform: uppercase;
  transition: transform 0.3s ease, color 0.3s ease, text-shadow 0.3s ease; /* Tambahkan text-shadow ke transition */
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5); /* Tambahkan bayangan teks default */
}

.text-lift:hover {
  transform: translateY(-15px); /* Teks terangkat */
  color: #ffffff; /* Warna teks berubah */
  text-shadow: 4px 4px 8px rgba(0, 0, 0, 0.7); /* Tambahkan efek bayangan teks pada hover */
}

.main-container {
  display: flex; /* Use flexbox for layout */
  flex-direction: column; /* Stack main content vertically */
  align-items: center; /* Center items horizontally */
}

.container {
  text-align: center;
  padding: 20px;
  margin-top: 30px;
  border-radius: 10px;
}

.buttons-container {
  display: flex;
  flex-direction: column; /* Stack buttons vertically */
  align-items: center; /* Center buttons */
}

.button {
  position: relative; /* Set position relative for absolute positioning of children */
  display: flex;
  text-align: center;
  align-items: center;
  justify-content: left;
  padding: 5px 5px;
  margin: 10px auto; /* Adjust margin as needed */
  background-color: rgb(255, 255, 255);
  opacity: 60%; /* Default button background opacity */
  color: black;
  border-radius: 50px;
  font-family: var(--font);
  font-size: 24px;
  font-weight: bolder;
  cursor: pointer;
  letter-spacing: 1px;
  text-decoration: none;
  transition: box-shadow 0.25s cubic-bezier(0.08, 0.59, 0.29, 0.99), background-color 0.25s cubic-bezier(0.08, 0.59, 0.29, 0.99), opacity 0.25s cubic-bezier(0.08, 0.59, 0.29, 0.99); /* Added transition for opacity */
  box-shadow: 4px 4px 10px rgba(0, 0, 0, 0.3);
  width: 300px; /* Button width */
  max-width: 600px;
  height: 100px;
  max-height: 200px; /* Max button width */
}

.button-icon {
  width: 100px; /* Adjust icon size */
  height: 100px; /* Adjust icon size */
}

.button-text {
  white-space: nowrap; /* Prevent text from wrapping */
  overflow: hidden; /* Hide overflow */
  text-overflow: ellipsis; /* Add ellipsis if text is too long */
  max-width: 80%; /* Limit text width to prevent overlap */
}

/* Adjust the other icons to be positioned normally */
.button-icon:not(.crescent-icon) {
  z-index: 0; /* Ensure these icons are below the crescent icon */
}

/* Hover effects for buttons */
.button:hover {
  box-shadow: 6px 6px 15px rgba(0, 0, 0, 0.4);
  background-color: white; /* Darker background on hover */
  opacity: 80%; /* Change opacity to 80% on hover */
}

/* Shadow effect for all buttons using ::before */
.button::before {
  content: "";
  position: absolute;
  bottom: -5px;
  right: -5px;
  width: 100%;
  height: 100%;
  background-color: transparent;
  border-radius: 50px;
  z-index: -1;
  transform: translate(5px, 5px);
}

.button:active {
  box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.2);
  background-color: white;
}

/* Icon styles */
.icon {
  margin-right: 10px;
  font-size: 20px;
}

@media (max-width: 480px) {
  body {
    display: flex;
    flex-direction: column;
    align-items: center; /* Menempatkan elemen di tengah secara horizontal */
    justify-content: flex-start; /* Menempatkan elemen di atas */
    margin: 0; /* Menghapus margin default */
    padding: 0; /* Menghapus padding default */
  }

  #profilePicture,
  #profilePicture img {
    padding-top: 1px;
    width: 200px; /* Ukuran gambar profil */
    height: 130px; /* Ukuran gambar profil */
  }

  .header {
    font-size: 30px; /* Ukuran font untuk header */
    /* margin-top: 12px; Jarak atas untuk header */
  }

  .subheader {
    font-size: 14px; /* Ukuran font untuk subheader */
  }

  .text-lift {
    font-size: 30px; /* Ukuran font untuk text-lift */
  }

  .button {
    font-size: 18px; /* Ukuran font untuk button */
    width: 90%; /* Lebar button */
    height: 75%; /* Tinggi button */
    padding: 4px 14px; /* Padding button */
  }

  .containerlogo img {
    max-width: 90%; /* Ukuran gambar logo */
  }

  .main-container {
    padding: 2px; /* Padding untuk main container */
  }

  .container {
    margin-top: 2px; /* Jarak atas untuk container */
    padding: 2px;
  }

  .video-background {
    filter: blur(5px); /* Efek blur untuk video background */
  }

  .button-icon {
    width: 60px; /* Ukuran icon button */
    height: 60px; /* Ukuran icon button */
  }

  .button::after {
    width: 30px; /* Ukuran after pseudo-element button */
    height: 30px; /* Ukuran after pseudo-element button */
  }
}
