@font-face {
  font-family: Quiche;
  src: url("egasfont.otf");
}
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Quiche", sans-serif;
}
body {
  overflow: hidden;
}
.sidebar {
  position: fixed;
  height: 100%;
  width: 260px;
  background: #168fcf;
  padding: 15px;
  z-index: 99;
}
.logo {
  font-size: 25px;
  padding: 0 15px;
}
.sidebar p {
  color: #fff;
  text-decoration: none;
}
.menu-content {
  position: relative;
  height: 100%;
  width: 100%;
  overflow-y: scroll;
}
.menu-content::-webkit-scrollbar {
  display: none;
}
.menu-items {
  height: 100%;
  width: 100%;
  list-style: none;
  transition: all 0.4s ease;
}
.submenu-active .menu-items {
  transform: translateX(-56%);
}
.menu-title {
  color: #fff;
  font-size: 17px;
  padding: 15px 20px;
}
.item p,
.submenu-item {
  cursor: pointer;
  padding: 16px;
  display: inline-block;
  width: 100%;
  border-radius: 12px;
  font-size: 18px;
}
.item i {
  font-size: 12px;
}
.item p:hover,
.submenu-item:hover,
.submenu .menu-title:hover {
  background: rgba(255, 255, 255, 0.1);
}
.submenu-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #fff;
  cursor: pointer;
}
.submenu {
  position: absolute;
  height: 100%;
  width: 100%;
  top: 0;
  right: calc(-100% - 26px);
  height: calc(100% + 100vh);
  background: #168fcf;
  display: none;
}
.show-submenu ~ .submenu {
  display: block;
}
.submenu .menu-title {
  border-radius: 12px;
  cursor: pointer;
}
.submenu .menu-title i {
  margin-right: 10px;
}
.navbar,
.main {
  left: 260px;
  width: calc(100% - 260px);
  transition: all 0.5s ease;
  z-index: 1000;
}
.sidebar.close ~ .navbar,
.sidebar.close ~ .main {
  left: 0;
  width: 100%;
}
.navbar {
  position: fixed;
  color: #fff;
  padding: 17px 20px;
  font-size: 25px;
  background: black;
}
.navbar #sidebar-close {
  cursor: pointer;
}
.main {
  top: 4rem;
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100vh;
  z-index: 100;
  background: #e7f2fd;
}

.main h1 {
  position: absolute;
  z-index: -1;
  color: #11101d;
  font-size: 40px;
  text-align: center;
}

span {
  font-size: 20px;
}

img {
  width: 100%;
  max-width: 480px;
  max-height: 40px;
  height: 100%;
  position: absolute;
  text-align: center;
  top: 13px;
  right: 0;
  margin-right: 1rem;
  z-index: 999;
}
