@import url('https://fonts.googleapis.com/css2?family=Cutive+Mono&display=swap');

body {
  font-family: 'Cutive Mono', monospace;
  margin: 0;
  padding: 0;
  background-color: #222;
  color: #ffffff;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.footer {
  text-align: center;
  color: #ffffff;
  position: fixed;
  bottom: 0;
  width: 100%;
  padding: 10px 0;
  background-color: #222;
}

.container {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  padding-bottom: 50px; /* To provide space for the fixed footer */
}

h1 {
  text-align: center;
  margin-top: 10px;
  margin-bottom: 10px;
}

.dashboard {
  background-color: #333;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.3);
  animation: fadeIn 1s ease-in-out;
}

.menu {
  float: left;
  width: 200px;
  padding: 0;
  margin: 0;
}

.menu h2 {
  text-align: center;
  margin-top: 10px;
  margin-bottom: 20px;
}

.menu h1,
.menu h2,
.menu ul li a {
  color: #ffffff;
  text-decoration: none;
}

.menu ul {
  list-style-type: none;
  padding: 0;
  margin: 0;
}

.menu ul li {
  cursor: pointer;
  padding: 10px;
  background-color: #282828;
  border-bottom: 1px solid #3a3a3a;
}

.menu ul li ul {
  background-color: #252525;
  max-height: 0;
  transition: max-height 0.3s ease;
  border-radius: 10px;
  padding: 10px;
  animation: fadeIn 0.5s;
}

.menu ul li ul {
  position: static;
  background-color: #252525;
  max-height: none;
  transition: max-height 1s ease;
  border-radius: 10px;
  padding: 15px;
  margin-top: 10px;
  margin-bottom: 10px;
  overflow: auto;
}

.menu ul li ul li:hover {
  transform: translateX(5px);
}

.menu ul li ul li {
  background-color: #202020;
  border-radius: 5px;
  margin-bottom: 5px;
  transition: transform 0.3s ease;
}

.content {
  margin-left: 220px;
  padding: 20px;
}

.expand-icon {
  float: right;
  font-size: 18px;
  margin-top: 2px;
  color: #fff;
}

.expand-icon.rotate {
  transform: rotate(90deg);
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.menu ul li ul li a {
  transition: none;
}

@media screen and (max-width: 600px) {
  .menu {
    width: 100%;
    text-align: center;
  }
  .menu ul li {
    display: block;
  }
  .menu ul li ul {
    position: static;
    max-height: none;
    overflow: auto;
    margin-top: 0;
    margin-bottom: 0;
  }
  .menu ul li ul li {
    margin-bottom: 0;
  }
  .content {
    margin-left: 0;
  }
  .content h1 {
    margin-left: 0;
    margin-top: 320px;
    margin-bottom: 20px;
  }
  h1 {
    margin-top: 20px;
    margin-bottom: 20px;
  }
}
