body {
  margin: 0;
  font-family: Arial, sans-serif;
}

header {
  background: black;
  color: white;
  padding: 10px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

#burger {
  display: inline-block;
  padding: 12px 20px;
  background: #333;
  color: white;
  font-weight: bold;
  letter-spacing: 1px;
  cursor: pointer;
}

#nav {
  display: none;
  flex-direction: column;
  background: black;
  padding: 10px 0;
}

#nav a {
  display: block;
  color: white;
  text-decoration: none;
  padding: 8px 20px;
}

#nav a:hover {
  opacity: 0.7;
}

.box {
  height: 250px;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 20px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.fade,
.slide,
.scroll {
  opacity: 0;
}

.box:nth-child(1) { background: #f4a261; }
.box:nth-child(2) { background: #2a9d8f; color: white; }
.box:nth-child(3) { background: #e76f51; color: white; }
.box:nth-child(4) { background: #264653; color: white; }
.box:nth-child(5) { background: #e9c46a; }

.rotated {
  transform: rotate(180deg);
}

.zoomed {
  transform: scale(1.2);
}

