/* Default color palette for the website */
:root {
  --color-white: hsl(0, 0%, 100%);
  --color-light: hsl(206, 33%, 96%);
  --color-black: hsl(0, 0%, 0%);
  --color-black-2: hsl(0, 0%, 12.5%);
  --color-night: hsl(214, 100%, 10%);
  --color-beige: hsl(40, 30%, 85%);
  --shadow-small: 0 1px 3px 0 rgba(0, 0, 0, 0.1),
    0 1px 2px 0 rgba(0, 0, 0, 0.06);
  --shadow-medium: 0 4px 6px -1px rgba(0, 0, 0, 0.1),
    0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-large: 0 10px 15px -3px rgba(0, 0, 0, 0.1),
    0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: Michroma;
  /* color: var(--color-beige); */
}

html {
  font-size: 100%;
  box-sizing: border-box;
  scroll-behavior: smooth;
}

body {
  /* line-height: 1.25; */
  color: var(--color-black);
  margin: 0;
  padding: 0;
  background: var(--color-beige);
}

*,
*::before,
*::after {
  padding: 0;
  margin: 0;
  box-sizing: inherit;
  list-style: none;
  list-style-type: none;
  text-decoration: none;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

.left-side,
.right-side {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

nav ul li {
  margin: 0 10px;
}

nav ul li a {
  color: var(--color-beige);
  text-decoration: none;
  padding: 10px;
  transition: color 0.6s ease;
}

.picture-container {
  display: flex;
  align-items: center;
  justify-content: center;
}

.projectsPic {
  width: 100%;
  height: auto;
  max-height: 80vh;
  object-fit: cover;
  width: 644px;
  height: 429px;
  flex-shrink: 0;
}

.table-container {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
}

table {
  border-collapse: collapse;
  width: 100%;
  width: 705px;
  height: 568px;
  flex-shrink: 0;
  margin: 0 auto;
  box-shadow: var(--shadow-small);
}

table th,
table td {
  text-align: center;
  padding: 12px;
  border: 1px solid #2e2e2e;
  color: #222;
}

table a {
  color: #222;
}

table th {
  background: #e3e3db;
  align-items: center;
}

table td {
  background: #e3e3db;
}

/* Responsive Styles */
@media (max-width: 768px) {
  .split-page {
    flex-direction: column;
  }

  .left-side,
  .right-side {
    width: 100%;
    height: auto;
  }

  nav.top-nav ul,
  nav.bottom-nav ul {
    flex-direction: column;
    align-items: center;
  }

  nav ul li {
    margin: 5px 0;
  }

  .projectsPic {
    max-height: 50vh;
  }
}


ul {
  list-style: none;
}

h1,
h2,
h3 {
  margin: 0 0 0.25em;
}

/* Micro Clearfix */
.cf:before,
.cf:after {
  content: "";
  display: table;
  visibility: hidden;
}

.cf:after {
  clear: both;
}

.cf {
  zoom: 1;
}

.wrap {
  text-align: center;
}

.row {
  width: 700px;
  height: auto;
  text-align: center;
  overflow: hidden;
  width: 100%;
}

.menu-row li{
  border: 1px solid var(--color-beige);
  border-left: 0;
  border-right: 0;
}

#header-wrap {
  background: #000000;
  color: #eee;
}

#primary-nav li a {
  padding: 25px;
  text-decoration: none;
  font-weight: bold;
  display: block;
  color: var(--color-beige);
  text-align: center;
  font-family: Michroma;
  font-size: 18px;
  font-style: normal;
  font-weight: 400;
  line-height: 50px; /* 277.778% */
}

#primary-nav li:hover > a {
  background: rgba(244, 244, 213, 0.742);
  color: black;
}



@media (min-width: 481px) {
  #primary-nav li {
    float: left;
  }
}

@media (min-width: 769px) {
  #page-wrap {
    overflow: hidden; /* Prevents scrollbars from pseudo-elements */
  }

  #page {
    width: 100%;
    /* margin: 0 auto; */
  }

  /* Apply clearfix to #page since the wraps are floating */
  #page:before,
  #page:after {
    content: "";
    display: table;
    visibility: hidden;
  }

  #page:after {
    clear: both;
  }

  #page {
    zoom: 1;
  }

  .wrap {
    float: right;
    width: 68.75%;
  }

  #header-wrap {
    margin: 0;
    float: left;
    max-width: 644px;
    width: 100%;
    position: relative;
  }

  #header-wrap:before,
  #footer-wrap:before {
    content: "";
    position: absolute;
    top: 0;
    width: 9999px;
    /* background: inherit; */
    /* z-index: -1; */
  }

  #header-wrap:before {
    top: 0;
    right: 0;
    height: auto;
    -webkit-box-shadow: inset 0 -10px 10px rgba(0, 0, 0, 0.5);
    -moz-box-shadow: inset 0 -10px 10px rgba(0, 0, 0, 0.5);
    box-shadow: inset 0 -10px 10px rgba(0, 0, 0, 0.5);
  }

  #primary-nav li {
    float: none;
  }
}

.BOP [dropdown]{
  color: var(--color-black);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 60px;
  transition: color 300ms ease;
}

.BOP [dropdown]{
  position: relative;
}

.BOP [dropdown]:hover .active {
  display: block;
}

.active {
  display: none;
}

.link-dropdown {
  position: absolute;
  top: 60px;
  right: 0;
  z-index: auto;
  background: #000000;
  box-shadow: 0 10px 15px 0 rgba(0, 0, 0, 0.05);
}

.link-dropdown a {
  color: var(--color-beige);
  cursor: pointer;
  padding: 1em 2em;
  white-space: nowrap;
  display: block;
}

.link-dropdown a:hover {
  color: #828282;
}

footer{
 z-index: -3;
}
