@font-face {
  font-family: lato;
  src: url("/font/Lato-Bold.ttf") format("truetype");
  font-weight: bold;
}
@font-face {
  font-family: lato;
  src: url("/font/LATO-LIGHT.TTF") format("truetype");
  font-weight: 300;
}
@font-face {
  font-family: lato;
  src: url("/font/LATO-REGULAR.TTF") format("truetype");
  font-weight: 400;
}
@font-face {
  font-family: ava;
  src: url("/font/LINH\ AVANTGARDE\ BOLD.TTF") format("truetype");
  font-weight: bold;
}
@font-face {
  font-family: ava;
  src: url("/font/LINH\ AVANTGARDE\ LIGHT.TTF") format("truetype");
  font-weight: 300;
}
@font-face {
  font-family: ava;
  src: url("/font/LINH\ AVANTGARDE\ REGULAR.TTF") format("truetype");
  font-weight: 400;
}
* {
  font-family: ava;
}
a {
  color: inherit;
  text-decoration: inherit;
}
h4 {
  text-decoration: underline solid gray;
  font-size: x-large;
}
body {
  margin: 0;
}
#navbar {
  background-color: rgb(192, 33, 53);
  color: white;
}
#navbar-top {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  padding: 0.5% 10%;
}
#navbar .navbar-list {
  padding: 0.5% 10% !important;
  position: relative;
}
#navbar .navbar-list ul li {
  float: left;
  border: 0 !important;
  margin: 0 !important;
  box-shadow: 0 !important;
}
#navbar .main-menu > li {
  position: relative;
  flex: 0 0 auto;
  float: none;
}
#navbar .main-menu {
  display: flex;
  align-items: stretch;
  gap: 0.25rem;
  flex-wrap: nowrap;
  width: max-content;
  min-width: 100%;
  overflow: visible !important;
}
#navbar .menu-link {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  border: 0;
  border-radius: 4px;
  background: transparent;
  color: inherit;
  cursor: pointer;
  font: inherit;
  padding: 0.8vw 1.25vw;
  white-space: nowrap;
  transition: background-color 0.2s ease, color 0.2s ease;
}
#navbar .menu-link:hover,
#navbar .menu-link:focus-visible,
#navbar .menu-link.active {
  background: rgba(255, 255, 255, 0.16);
  color: white;
  outline: none;
}
#navbar .menu-link span {
  display: inline-block;
  margin-left: 0.25vw;
  transition: transform 0.2s ease;
}
#navbar .has-submenu:hover > .menu-link span,
#navbar .has-submenu:focus-within > .menu-link span,
#navbar .has-submenu.is-open > .menu-link span {
  transform: rotate(180deg);
}
#navbar .submenu {
  display: none;
  position: absolute;
  z-index: 10;
  top: calc(100% - 0.1rem);
  left: 0;
  min-width: 13rem;
  padding: 0.35rem 0;
  background: white;
  color: rgb(64, 64, 64);
  border-top: 3px solid rgb(192, 33, 53);
  border-radius: 0 0 6px 6px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.18);
}
#navbar .has-submenu:hover > .submenu,
#navbar .has-submenu:focus-within > .submenu,
#navbar .has-submenu.is-open > .submenu {
  display: block;
}
#navbar .submenu li {
  float: none;
  width: 100%;
}
#navbar .submenu a {
  display: block;
  padding: 0.7rem 1rem;
  text-align: left;
  white-space: nowrap;
}
#navbar .submenu a:hover,
#navbar .submenu a.active {
  background: rgb(245, 245, 245);
  color: rgb(192, 33, 53);
}
.card .navbar-list {
  padding: 1vw !important;
}
.card .navbar-list ul li {
  border: 0.002vw solid rgb(228, 231, 237);
}
.navbar-list ul {
  list-style: none;
  margin: 0;
  padding: 0;
  white-space: nowrap;
  overflow-x: hidden;
}
.main-menu {
  overflow-y: visible !important;
}
.navbar-list ul li {
  float: left;
}
.navbar-list ul li a {
  display: block;
  text-align: center;
  padding: 0.8vw 1.5vw;
}
.navbar-list ul li a:hover {
  color: rgb(64, 158, 255);
}
.navbar-list ul li a.active {
  color: rgb(64, 158, 255);
}
#navbar-current-path {
  /* display: flex; */
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  background-color: white;
  color: rgb(192, 33, 53);
  padding: 0.8% 10%;
  font-size: medium;
}
.box,
.box-small {
  display: grid;
  column-gap: 1vw;
  row-gap: 0.5vw;
}
.box-small {
  /* width: 15vw; */
  height: 7vw;
}
.box-icon-container {
  grid-row: 1 / span 2;
  grid-column: 1;
  height: 60%;
  align-self: center;
}
.box-icon-container img {
  max-height: 100%;
  max-width: 100%;
}
.box-title {
  grid-column: 2;
  white-space: nowrap;
  font-size: 1.8vw;
  align-self: end;
  font-family: ava;
  text-transform: uppercase;
}
.box-des {
  grid-row: 2;
  grid-column: 2;
  font-size: 1.2vw;
  align-self: start;
  font-family: lato;
  font-weight: 400;
  /* text-align-last: justify; */
}
.card {
  box-shadow: 0 0 8px 0 rgba(0, 0, 0, 0.2);
  transition: 0.3s;
  border-radius: 8px;
  margin: 1vw;
}
.card-body {
  /* overflow-x: scroll; */
  white-space: nowrap;
  padding: 1vw 1vw;
}
.card-body ul {
  list-style-type: none;
  margin: 0;
  padding: 0;
}
.card-body ul li {
  margin-top: 0.65vw;
}
.card:hover {
  box-shadow: 0 8px 16px 0 rgba(0, 0, 0, 0.2);
}
.card-background-container {
  height: 50%;
  border-top-left-radius: 8px;
  border-top-right-radius: 8px;
}
.card-background-container img {
  object-fit: cover;
  width: 100%;
  height: 100%;
}
.web-body {
  display: flex;
  flex-direction: row;
  align-items: start;
  padding: 0.8% 10%;
}
#card-user-info {
  grid-column: 1;
  grid-row: 1;
  width: 25vw;
}
#card-more-info {
  grid-column: 1;
  grid-row: 2;
  width: 25vw;
}
#card-management-info {
  grid-column: 2 / span 1;
  grid-row: 1 / span 2;
  width: 50vw;
}
.text-block-body {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  padding: 0vw 0.5vw;
  margin: 0 0;
}
.text-block-body div p {
  margin: 0;
  margin-bottom: 0.5vw;
}
.text-bold {
  font-weight: bold;
}
.page-content {
  max-width: 1100px;
  margin: 0 auto;
  padding: 3rem 5%;
}
.page-content h1 {
  margin-top: 0;
  color: rgb(192, 33, 53);
}
.page-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}
.page-item {
  padding: 1.5rem;
  border-radius: 8px;
  background: white;
  box-shadow: 0 0 8px rgba(0, 0, 0, 0.12);
}
.page-item h2 {
  margin-top: 0;
  color: rgb(192, 33, 53);
}
.page-action {
  display: inline-block;
  margin-top: 0.75rem;
  color: rgb(192, 33, 53);
  font-weight: bold;
}
.text-block div {
  white-space: nowrap;
}
#footer {
  background-image: url("/img/footer.jpeg");
  background-size: 100%;
  background-position: bottom;
  height: 35vh;
}

@media (max-width: 700px) {
  #navbar .navbar-list {
    padding: 0.5rem 4% !important;
    overflow-x: auto;
    scrollbar-width: thin;
  }
  #navbar .main-menu > li {
  .page-grid {
    grid-template-columns: 1fr;
  }
    float: none;
  }
  #navbar .main-menu > li > .menu-link {
    padding: 0.7rem 0.9rem;
  }
  #navbar .submenu {
    position: static;
    box-shadow: none;
    border-left: 2px solid rgba(255, 255, 255, 0.45);
  }
  .page-grid {
    grid-template-columns: 1fr;
  }
}
