#navbar {
  width: 100%;
  height: 80px;
  background-color: rgb(16, 55, 124);
  position: fixed;
  top: 0;
  left: 0;
  z-index: 9;
  display: flex;
  justify-content: center;
}

#navbar img {
  height: 100%;
}

#sidebar {
  width: 70px;
  position: fixed;
  transform: translateY(-50%);
  top: 50%;
  left: 0;
  background-color: rgb(16, 55, 124);
  z-index: 9;
  display: flex;
  flex-direction: column;
}

#sidebar .link {
  padding: 30px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  text-decoration: none;
}

#sidebar .link img {
  height: 30px;
}

#sidebar .link .text {
  font-size: 13px;
  color: #fff;
}

#sidebar .link:first-child {
  border-bottom: 1px solid #fff;
}

#sidebar .link:last-child {
  border-top: 1px solid #fff;
}
@media (max-width:1440px) {
  #sidebar .link .text{
    font-size: 13px;
  }
}
@media (max-width:1024px) {
  #sidebar .link .text{
    font-size: 12px;
  }
}

@media (max-width:768px) {
  #sidebar .link .text {
    font-size: 15px;
  }
  #navbar {
    height: 70px;
  }
  #sidebar {
    transform:unset;
    height: 80px;
    top:calc(100% - 80px);
    flex-direction: row;
    width: 100%;

  }

  #sidebar .link {
    width: 33%;
    gap: 10px;
    padding: 10px 0;
    justify-content: center;
  }

  #sidebar .link img {
    width: auto;
    height: 50%;
  }

  #sidebar .link:first-child {
    border-bottom:unset;
    border-right: 1px solid #fff;
  }
  
  #sidebar .link:last-child {
    border-top:unset;
    border-left: 1px solid #fff;
  }
}