@import url("header.css");
@import url("sidebar.css");
@import url("scroll.css");
@import url("path.css");
@import url("user_manual.css");

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  background-image: url("../images/background.png");
  background-size: auto auto;
}

#page-header {
  background-color: #fff;
  grid-area: header;
}

#mainArticle {
  grid-area: article;
  overflow-y: none;
  height: 100%;
  width: 100%;
}

#mainNav {
  grid-area: nav;
  overflow-y: auto;
  overflow-x: auto;
}

#dragBar {
  background-color: #cfd1d4;
  grid-area: drbar;
  cursor: ew-resize;
  text-align: center;
  position: relative;
}

#dragBar span {
  margin: 0;
  position: absolute;
  color: #a5a9af;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.path-container {
  grid-area: path;
  border-bottom: 2px solid #dfe1e6;
  display: flex;
  position: sticky;
  top: 0;
  height: 40px;
  width: 100%;
  vertical-align: middle;
  line-height: 40px;
  box-sizing: border-box;
  padding-left: 25px;
}

.path-container .button_container {
  position: absolute;
  right: 25px;
}

.path-container .button_container input {
  margin: 5px;
  float: right;
  border: none;
  background-color: #0747a6;
  color: white;
  border-radius: 5px;
  padding: 6px 12px;
  cursor: pointer;
}

body {
  display: grid;
  overflow: hidden;
  grid-template-areas:
    "header   header  header"
    "nav      drbar   path"
    "nav      drbar   page-links"
    "nav      drbar   article";
  grid-template-rows: 55px 40px min-content 1fr;
  grid-template-columns: 400px 6px 1fr;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI",
    "Roboto", "Oxygen", "Ubuntu", "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif;
  height: 100vh;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.42857143;
  letter-spacing: 0;
}

header,
article,
nav {
  border: 0px solid black;
}

div,
i,
img {
  border: 0px solid black;
}

iframe, object {
  border-width: 0px;
  height: 100%;
  width: 100%;
}

.flexible_panels__content {
  height: 100%;
}

.page-links {
  grid-area: page-links;
  padding: 1rem 1.5rem 0.5rem 1.5rem ;
  display: flex;
  flex-direction: row;
  gap: 1.5rem;
}

.link-btn-with-icon {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 0.3rem;
  width: min-content;
  cursor: pointer;
}

.link-btn-with-icon:hover {
  transform: scale(1.05);
  transition: all 0.3s;
  font-weight: bold;
}

.link-btn-with-icon img {
  height: 2rem;
}

.link-btn-with-icon .btn-text {
  font-weight: 500;
}