:root {
  --a_list_heights: 40px;
  --a_list_top_margin: 15px;
  --a_list_width: 400px;

  --background_color: darkslategray;

  --nav_active_color: aliceblue;
  --nav_background_color: royalblue;
  --nav_bar_desktop_width: 500px;
}

body {
  background-color: var(--background_color);
}

ul.nav {
  -webkit-overflow-scrolling: touch;
  align-items: center;
  background-color: var(--nav_background_color);
  border-radius: 30px;
  border: 3px solid;
  display: flex;
  flex-wrap: nowrap;
  justify-content: flex-start;
  left: 0;
  list-style-type: none;
  margin-left: 0;
  margin-right: 0;
  margin-top: 5px;
  margin: 0;
  overflow-x: auto;
  overflow-y: hidden;
  padding: 0;
  position: fixed;
  right: 0;
  top: 5px;
  width: 99%;
  z-index: 1000;
}

@media (min-width: 768px) {
  /*Nav Bar styling for desktop*/
  ul.nav {
    width: var(--nav_bar_desktop_width);
    margin-left: auto;
    margin-right: auto;
    border-radius: 30px;
    overflow-x: hidden;
    justify-content: center;
    top: 0;
  }
}

li.nav {
  float: left;
  flex-shrink: 0;
  /* background-color: var(--background_color); */
}

li.nav a {
  display: block;
  color: var(--nav_font_color);
  font-weight: bolder;
  text-align: center;
  padding: 14px 16px;
  text-decoration: none;
}

li.nav a:hover {
  background-color: var(--nav_background_color);
  border-color: var(--nav_background_color);
}

.nav_active {
  background-color: var(--nav_active_color);
  border: 2px solid;
  border-radius: 30px;
}

div.center {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  margin-top: 75px;
  min-height: calc(60vh - 70px);
}

img.imageframe {
  max-width: 350px;
  max-height: 350px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  border: 3px solid;
  margin-bottom: 20px;
}

a.list_link {
  background-color: aliceblue;
  border-radius: 5px;
  border: 0.2px solid;
  color: black;
  font-size: 25px;
  font-weight: bold;
  height: var(--a_list_heights);
  line-height: var(--a_list_heights);
  margin-top: var(--a_list_top_margin);
  text-align: center;
  text-decoration: none;
  width: var(--a_list_width);
}
