.title {
  position: relative;
  z-index: 1;

  a {
    text-decoration: none;
    color: black;
    background-color: white;
    padding: 10px 15px;
    display: flex;
    align-items: center;
    position: absolute;
    top: 50px;
    left: 30px;
    border-radius: 10px;
    cursor: pointer;
    z-index: 3;
  }
  h1 {
    position: absolute;
    top: 200px;
    left: 80px;
    font-size: 5rem;
    font-weight: 600;
    color: white;
  }
}

.container {
  background-color: #fff;
  border-radius: 20px;
  width: 80%;
  margin: -350px auto 100px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  position: relative;
  z-index: 1;
  padding-top: 20px;
  padding-bottom: 20px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;

  table {
    width: 80%;
    border-collapse: collapse;
    margin: 20px;
  }

  label {
    font-weight: 600;
  }

  input,
  textarea {
    width: 80%;
    padding: 10px;
    margin: 10px;
    border-radius: 10px;
    border: none;
    background-color: #d9d9d9;
  }

  input:focus,
  textarea:focus {
    outline: none;
  }

  button {
    width: 50%;
    padding: 15px;
    margin: 20px;
    border: none;
    border-radius: 10px;
    background-color: #4caf50;
    color: white;
    font-size: 1.2rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.3s ease;
  }

  button:hover {
    background-color: #45a049; 
    transform: scale(1.05); 
  }

  button:active {
    background-color: #3e8e41;
    transform: scale(1);
  }
}

footer {
  background-color: #000;
  color: white;
  height: 200px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;

  .wrapper-line {
    display: flex;
    flex-direction: column;
    gap: 20px;
    width: 100%;
    margin: 0 auto;
    .line {
      height: 3px;
      width: 90%;
      background-color: white;
      margin: 0 auto;
    }
  }
  .text {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 20px;
    gap: 100px;

    a{
        color: white;
        font-size: 1.5rem;
        text-decoration: none;
    }

    p,
    i {
      margin: 0;
    }
    i {
      font-size: 2rem;
    }
  }
}

/* Media queries untuk tablet */
@media (max-width: 768px) {
  .title h1 {
    font-size: 3rem;
    top: 150px;
    left: 50px;
  }

  .container {
    width: 90%;
    margin: -200px auto 50px;
  }

  table {
    width: 100%;
  }

  input,
  textarea {
    width: 90%;
  }

  button {
    width: 70%;
  }

  .text {
    flex-direction: column; /* Ubah arah flex menjadi kolom */
    gap: 20px; /* Kurangi jarak antar elemen */
    text-align: center; /* Pusatkan teks */
  }

  .line {
    width: 95%; /* Sesuaikan lebar garis */
  }
}

/* Media queries untuk smartphone */
@media (max-width: 480px) {
  .title h1 {
    font-size: 2rem;
    top: 100px;
    left: 30px;
  }

  .container {
    width: 95%;
    margin: -150px auto 30px;
  }

  table {
    width: 100%;
  }

  input,
  textarea {
    width: 95%;
  }

  button {
    width: 80%;
  }

  .text {
    flex-direction: column; /* Ubah arah flex menjadi kolom */
    gap: 15px; /* Kurangi jarak antar elemen */
    text-align: center; /* Pusatkan teks */
  }

  .line {
    width: 100%; /* Sesuaikan lebar garis */
  }

  .text i {
    font-size: 1.5rem; /* Kurangi ukuran ikon */
  }
}
