/* header */
header {
  background-color: rgb(235, 218, 187);
  color: #333;
  padding: 40px 20px;
  border-radius: 5px;
}


/* Page animation */
body {
  margin: 0;
  padding: 0;
  text-align: center;
  font-family: Arial, sans-serif;

  /* background-image */
  background-image: url(akan.jpg);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-color: #f0f2f5;

  animation: fadeIn 1s ease-in;
}

/* Fade in whole page */
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

/* Box animation */
@keyframes floatUp {
  from {
    transform: translateY(20px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

/* Title */
h1 {
  color: #333;
  margin-bottom: 5px;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* Subtitle */
p {
  color: #363232;
  font-size: 14px;
}

/* description  */
.info {
  background-color: rgba(225, 225, 225, 0.8);
  border-radius: 10px;
  padding: 20px;
  margin: 20px auto;
  max-width: 1000px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.form {
  background-color: rgba(225, 225, 225, 0.8);
  backdrop-filter: blur(5px);
  border-radius: 10px;
  padding: 10px;
  margin: 20px auto;
  max-width: 600px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);

}

/* Inputs */
input, select {
  display: block;
  margin: 10px auto;
  padding: 10px;
  width: 220px;
  border-radius: 6px;
  border: 1px solid #ccc;
  font-size: 14px;

  transition: 0.3s;
}

/* Glow when typing */
input:focus, select:focus {
  outline: none;
  border: 1px solid #6c63ff;
  box-shadow: 0 0 5px #6c63ff;
}

/* Button */
button {
  padding: 10px 20px;
  margin-top: 15px;
  background-color: #6c63ff;
  color: white;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-size: 14px;

  transition: all 0.3s ease;
}

/* Hover effect */
button:hover {
  background-color: #574fd6;
  transform: scale(1.05);
}

/* Result box */
#result {
  margin-top: 25px;
  font-size: 18px;
  font-weight: bold;
  color: #333;

  opacity: 0;
}

/* Animation when result appears */
.show {
  animation: resultFade 0.6s ease forwards;
}

@keyframes resultFade {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* footer */
footer{
  font-size: 13px;
  color: #333;
  background-color: rgba(225, 225, 225, 0.8);;
  padding: 10px;
  text-align: center;
  margin-top: 10px;
}