.foto {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  border: 5px solid #333;
  animation: float 4s ease-in-out infinite;
  transition: transform 0.3s ease;
}

.foto:hover {
  transform: scale(1.1) rotate(5deg); /* efek saat mouse diarahkan */
}

.menu {
  margin-top: 30px;
}

.btn {
  display: inline-block;
  margin: 10px;
  padding: 12px 24px;
  background: #1d1414;
  color: #fff;
  text-decoration: none;
  border-radius: 8px;
  transition: background 0.3s, transform 0.3s;
}

.btn:hover {
  background: #555;
  transform: translateY(-5px);
}

/* Animasi mengambang */
@keyframes float {
  0%   { transform: translateY(0); }
  50%  { transform: translateY(-20px); }
  100% { transform: translateY(0); }
}

/* Container foto + nama */
.profile {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 50px;
}

/* Nama di atas foto */
.profile h2 {
  font-size: 28px;
  color: #e5e5db;
  margin-bottom: 15px;
  animation: float 4s ease-in-out infinite; /* bisa ikut mengambang */
}

/* Foto bulat */
.profile img {
  width: 200px;
  height: 200px;
  border-radius: 50%;        /* bikin melingkar */
  border: 5px solid #000000;    /* bingkai */
  animation: float 4s ease-in-out infinite; /* animasi naik turun */
  transition: transform 0.3s ease;
}

/* Efek hover pada foto */
.profile img:hover {
  transform: scale(1.1) rotate(5deg);
  border-color: #ffffff;
}

/* Animasi mengambang */
@keyframes float {
  0%   { transform: translateY(0); }
  50%  { transform: translateY(-20px); }
  100% { transform: translateY(0); }
}

body {
  /* Background foto penuh layar */
  background: url('background.jpg') no-repeat center center fixed;
  background-size: cover;
  font-family: Arial, sans-serif;
  text-align: center;
}