/********************************** Header section **************************/
header {
    position: fixed; /* Keeps this navbar at the position specified below when scrolling */
    top: 0;  /* Fixes it to 0 from top */
    width: 100%;
    height: var(--header-height);
    background-color: var(--header-footer-color);
    display: flex;
    justify-content: space-between;
    z-index: 1000;
}

.header-logo {
    padding-left: 1rem;
    display: flex;
}

.header-logo img {
    height: 100%;
}

/************************ Header Nav section *********************/

.header-nav {
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    gap: 1em;
    margin-left: 1em;
}

.nav-link {
    padding: 0 1rem; /* 0 top/bottom, 1rem left/right. -Creates 1rem of clickable space */
    font-size: 1.8rem;
    line-height: 6rem;
    color: rgba(0, 0, 0, 0.76);
    display: flex; /* These two lines make the link work   */
    height: 100%;   /* above and below the letters          */
    cursor: pointer;
}

.header-nav ul {
    list-style: none;
    margin-left: 3rem;
}

.header-nav ul li {
    display: inline;
    float: left;
    margin-right: 1rem;
}

.header-nav ul li a {
    padding: 0 1rem; /* 0 top/bottom, 10px left/right. -Creates 10px of clickable space */
    color: rgba(0, 0, 0, 0.76);
    display: block; /* These two lines make the link work   */
    height: 100%;   /* above and below the letters          */
}

.header-nav ul li a:hover {
    color: rgb(49,126,199);
}

/************************ Header Logout section *********************/

.header-logout {
    display: flex;
    align-items: center;
    justify-content: center;
}

.header-logout li {
    display: flex;
    align-items: center;
    justify-content: center;
    padding-right: 2rem;
    color: rgb(0, 65, 119);
}

.header-logout form button {
    display: flex;
    align-items: center;
    justify-content: center;
}

.header-logout button:hover {
    background-color: #2073C7;
}

/********************** Footer section ***********************/
footer {
    position: fixed; /* Keeps this navbar at the position specified below when scrolling */
    bottom: 0;  /* Fixes it to 0 from bottom */
    width: 100%;
    height: var(--footer-height);
    background-color: var(--header-footer-color);
    z-index: 1000;
    display: flex;
    justify-content: center;
}

footer p {
    align-self: center;
    font-size: 1.5rem;
}

header .link-button {
    display: block; /* These two lines make the link work   */
    height: 100%;   /* above and below the letters          */
    padding: 0 1rem; /* 0 top/bottom, 10px left/right. -Creates 10px of clickable space */
    border: 0;
    font: inherit;
    cursor: pointer;
    background: transparent;
    color: rgba(0, 0, 0, 0.76);
    font-size: 1.8rem;
    line-height: 6rem;

  -webkit-appearance: none;
}

[popover] {
  position-anchor: auto;
  position-area: bottom span-right;
  margin: 0;
  padding: 0;
  border: 1px solid #ccc;
  border-radius: 4px;
}

