/* Global styles */
body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  margin: 0;
  padding: 0;
  background-color: #222; /* Matte black background color */
}

.container {
  max-width: 700px;
  margin: -15px auto;
  padding: 10px;
  background-color: #333; /* Darker shade for container background */
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  text-align: center;
}

h1 {
  color: #fff; /* White color for headings */
  margin-bottom: 15px;
}

.department {
  margin-bottom: 1px;
  border: 1px solid #555; /* Darker border color */
  border-radius: 10px;
  overflow: hidden;
  background-color: #444; /* Darker shade for department background */
}

.department-header {
  background-color: #126380;
  color: #fff;
  padding: 2px 4px; /* Adjust padding top and bottom to reduce height */
  border-bottom: 2px solid #0d799c;
  font-size: 14px; /* Adjust font size to match reduced height */
}

.department-header h2 {
  margin: 0;
}

.app-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  padding: 8px;
}

.app-link {
  margin: 8px;
  text-decoration: none;
  color: #fff; /* White color for link text */
  display: flex;
  flex-direction: column;
  align-items: center;
  background-color: #555; /* Darker shade for link background */
  padding: 10px;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.app-link:hover {
  transform: translateY(-3px);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.app-link img {
  width: 80px;
  height: 80px;
  border-radius: 8px;
  margin-bottom: 5px;
}

.app-link span {
  font-weight: bold;
}

/* Scroll down instruction with cartoon animation */
.scroll-down {
  position: fixed;
  bottom: 250px;
  right: 300px; /* Adjust the distance from the right side */
  color: #fff; /* Text color */
  font-size: 16px;
  display: none; /* Initially hidden */
}

.show-scroll-down {
  display: flex; /* Show when needed */
  align-items: center;
}

.cartoon-character {
  width: 100px; /* Adjust the size of the cartoon character */
  height: auto;
  margin-left: 10px; /* Add margin for spacing */
  animation: moveUpDown 1s infinite alternate; /* Animation */
}

@keyframes moveUpDown {
  0% {
    transform: translateY(0);
  }
  100% {
    transform: translateY(100px); /* Adjust the distance to move */
  }
}

/* Finished page message */
.finished-animation {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  background-color: #20a8d8; /* Background color */
  color: #fff; /* Text color */
  padding: 10px 20px;
  border-radius: 10px;
  display: none; /* Initially hidden */
  animation: slideIn 1s ease forwards; /* Animation */
}

@keyframes slideIn {
  0% {
    transform: translateY(100%);
    opacity: 0;
  }
  100% {
    transform: translateY(0);
    opacity: 1;
  }
}
