<style>
* {
  box-sizing: border-box;
  font-family: Arial, sans-serif;
}

body {
  margin: 0;
  padding: 0;
  background-color: #fffaf0;
}

header {
  background-color: #ffdd99;
  padding: 15px;
  text-align: center;
  border-bottom: 3px solid #ffcc66;
}

header h1 {
  color: #331a00;
}

header p {
  color: #331a00;
  margin-top: 5px;
}

/* Navigation */
ul.topnav {
  display: flex;
  list-style-type: none;
  margin: 0;
  padding: 0;
  background-color: #331a00; /* dark brown */
}

ul.topnav li a {
  display: block;
  color: #f1f1f1;
  padding: 14px 20px;
  text-decoration: none;
  transition: 0.3s;
}

ul.topnav li a:hover {
  background-color: #f1c27d;
  color: #331a00;
}

/* Flex container for cards */
div.flex-container {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
  justify-content: center;
  margin: 20px;
}

#school-box {
  background-color: #cce5ff;  /* soft blue */
}

#college-box {
  background-color: #d4edda;  /* soft green */
}

#university-box {
  background-color: #fff3cd;  /* soft yellow */
}

/* Semua box masih ada shadow & hover effect */
div.flex-container > div {
  flex: 1;
  min-width: 250px;
  padding: 15px;
  border-radius: 10px;
  box-shadow: 0 6px 15px rgba(0,0,0,0.1);
  text-align: center;
  transition: transform 0.3s, box-shadow 0.3s;
}

div.flex-container > div:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}


/* Footer */
footer {
  background-color: #331a00;
  color: white;
  text-align: center;
  padding: 20px;
  font-size: 15px;
  margin-top: 20px;
  border-top: 3px solid #ffcc66;
}

/* Responsive */
@media screen and (max-width:900px) {
  div.flex-container {
    flex-direction: column;
    align-items: center;
  }
}

</style>