/* 
 * Top menu bar navigation.
 * changes to hamburger-menu when width is below threshold.
 */

.main__nav-title {
  z-index: 1000;
  /* background-color: rgb(255, 0, 0); */
  margin:0;
  padding:0px;
}

header {
  /* background-color: var(--color-header-bg); */
  padding-bottom: var(--spacing-s);
  /* height: var(--header__height); */
  /* border-bottom:1px solid black; */
  text-align: center; 
}

.main__nav-bar {
  display: flex; 
  justify-content: center;
  gap:37%;
  /* flex-direction: column;  */
  align-items: center;
  position: fixed;
  /* height: 2em; */
  z-index: 300;
  width: 100%;
  justify-content: center;
  color: rgb(60, 129, 146);
  background-color: white;
  border: 0.5px solid rgb(60, 129, 146);

  top:0;
  padding: 20px 0px 20px 0px;
  /* display: grid; */
  /* mix-blend-mode:exclusion; */
  /* background: linear-gradient(
    180deg,
    rgba(130, 130, 130, 1) 0%,       
    rgba(133, 133, 133, 0.98) 10%,    
    rgba(136, 136, 136, 0.96) 20%,    
    rgba(140, 140, 140, 0.93) 30%,    
    rgba(144, 144, 144, 0.9) 40%,     
    rgba(148, 148, 148, 0.86) 50%,   
    rgba(152, 152, 152, 0.8) 60%,     
    rgba(160, 160, 160, 0.7) 70%,     
    rgba(170, 170, 170, 0.6) 80%,     
    rgba(180, 180, 180, 0.4) 90%,     
    rgba(200, 200, 200, 0.2) 95%,     
    rgba(220, 220, 220, 0) 100%       
); */
/* height: 80px;  */

}

.main__nav-bar ul li { 
  font-size: 0.8em;
  color:white;
  list-style: none;
}

/* menu */
.main__nav-bar ul li a {
  color: rgb(60, 129, 146);
  transition: color 0.3s;
  font-weight: inherit;
  text-decoration: none;
  /* list-style: none; */
}

/* .main__nav-bar ul li a::before {
  margin-right: 0.25rem;
} */

.main__nav-bar ul li a:hover {
  color: #606060;
  margin-top: 0.05rem;
}

.main__nav-item a {
  color: inherit;
  /* display: block; */
}

.main__nav-item a:hover {
  color: #606060;
}

.main__nav-ham {
  display: none;
}

/* 3 hamburger-menu bars */
.main__nav-ham-bar {
  display: block;
  width: 20px;
  height: 3px;
  margin: 4px auto;
  -webkit-transition: all 0.3s ease-in-out;
  transition: all 0.3s ease-in-out;
  background: #222222;
}

.main__nav-about {
  display: none;
}


/* Week Numbers */
.week_numbers {
  display:flex;
  position: fixed;
  right:0;
  padding:45px 13px 0px 0px;
  top: 0; /* Stick to the bottom of the viewport */
  z-index: 300; /* Ensure it stays above other content */
  width: 100%;
  justify-content: space-between;
  color: rgb(60, 129, 146);
  font-size: 1.5em;
  }

.week_numbers  ul li  {
list-style:none;
color:black;
  }

.week_numbers  ul li a {
text-decoration: none;
color:black;
  }

.week_numbers a:hover{
  color:grey;
}


.prev__next {
  display:flex;
  padding: var(--spacing-s) var(--spacing-m);
  border-top:1px solid black;
  border-bottom:1px solid black;
  /* ul {
    display:flex;
    width:100%;
    justify-content: space-between;
    li {
      a {
        color:var(--color-nav-link);
      }
      a:hover {
        color:var(--color-link-hover);
      }
    }
  } */
}

.content {
  flex: 1;
}

footer {
  /* min-height: 12rem; */
  text-align: center;
  padding: 2px;
  /* position:absolute; */
  background-color:  rgb(60, 129, 146);
  /* border-top: 1px solid #ccc; */
}



@media only screen and (max-width: 768px) {
  .main__nav-bar {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    padding:20px;
  }

  .main__nav-bar ul {
    display: block;
    font-size: 1rem;

  }

  .main__nav-list {
    height: 102vh;
    left: -100%;
    margin: 0;
    margin-top: -1vh;
    padding-top: 20vh;
    position: fixed;
    background: #ffffff;
    transition: 0.3s;
    width: 100%;
    
  }

  ul.main__nav-list {
    padding-top: 20vh;
  }

  .main__nav-list.active {
    left: 0;
  }

  .main__nav-current,
  .main__nav-item {
    margin-left: 1rem;
    padding-bottom: 1rem;
    margin-bottom: 3rem;
    width: 90%;
    border-bottom: #222222 1px solid;
  }

  .main__nav-current,
  .main__nav-item a {
    font-size: 2.5rem;
    font-weight: 600;
  }

  .main__nav-about {
    display: block;
    margin-left: 1rem;
    width: 70%;
    position: absolute;
    margin-bottom:var(--spacing-l);
    bottom:0;
  }

  .main__nav-about p {
    font-size: 1rem;
    font-weight: 600;
  }

  .main__nav-ham {
    display: block;
    cursor: pointer;
    margin: 0 0.25rem;
  }

  .main__nav-ham.active .main__nav-ham-bar:nth-child(1) {
    -webkit-transform: translateY(0px) rotate(45deg);
    transform: translateY(8px) rotate(45deg);
  }

  .main__nav-ham.active .main__nav-ham-bar:nth-child(2) {
    -webkit-transform: translateY(-3px) rotate(-45deg);
    transform: translateY(0px) rotate(-45deg);
  }
}
