nav a {
  text-decoration: none;
  color: var(--color);
}

nav {
  text-transform: uppercase;
}

.projectNav {
  display: flex;
  width: 100vw;
  justify-content: space-between;
  font-size: 0.8rem;
}

.projectNav h1 {
  font-style: italic;
}

.projectNav a:hover {
  color: var(--accentColourDark);
}
#back_icon {
  position: absolute;
  z-index: 50;
  top: -30px;
  left: -25px;

  width: 100px;
  height: 100px;
  border-radius: 100%;
  border: var(--mainColour) solid 2px;

  display: flex;
  align-items: center;
  justify-content: center;
}

#back_icon img {
  width: 40%;
  height: auto;
  position: relative;
  top: 10px;
  left: 5px;
  z-index: 100;
}

#logo {
  display: none;
}

#regularMenu {
  display: none;
}

.overlayContent {
  position: relative;
  top: 15%;
  width: 100%;
  margin-top: 30px;
  font-size: 2rem;
}

.overlay {
  left: 0;
  top: 0;
  height: 100vh;
  width: 0;
  position: fixed;
  z-index: 99;

  background-color: black;
  overflow: hidden;
  transition: all 0.5s;
  font-size: 2rem;
}

.overlay a,
.projectsContainer {
  text-decoration: none;

  display: block;
  transition: 0.3s;

  padding-left: 10%;
}

.overlay ul {
  white-space: nowrap;
}

/* Position the open and close button (top right corner) */
.overlay .close,
.open {
  position: absolute;
  top: 10px;
  right: 20px;
  font-size: 25px;
  cursor: pointer;
}

.project {
  padding-left: 5%;
  font-size: 1.5rem;
}

button {
  background: none;
  border: none;
  color: var(--mainColour);
}

.largeScreen.menu,
.largeScreen_otherPages {
  display: none;
}

@media only screen and (min-width: 768px) {
  #openBtn,
  #closeBtn {
    font-size: 2rem;
  }

  #back_icon {
    width: 100px;
    height: 100px;
    border: var(--mainColour) solid 3px;
  }
}

@media only screen and (min-width: 768px) and (orientation: portrait) {
  #openBtn,
  #closeBtn {
    font-size: 3rem;
  }
}

@media only screen and (min-width: 992px) and (orientation: landscape) {
  #openBtn {
    top: 3%;
    right: 3%;
  }
}

@media only screen and (min-width: 1200px) {
  .smallScreen {
    display: none;
  }

  .largeScreen.menu {
    display: block;
    border: var(--mainColour) solid 1px;
    margin: 1%;
    padding: 1% 3%;
  }

  .largeScreen.menu h1 {
    line-height: 1.1;
    font-size: 1.2rem;
  }

  .largeScreen {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  /*
  .dropbutton {
    border: none;
    outline: none;
    background-color: rgba(0, 0, 0, 0);
    cursor: pointer;

    color: var(--mainColour);
    font-family: "Andika", monospace;

    text-transform: uppercase;

    font-size: var(--mobile_h2);
    z-index: 99;
  }

  .dropbutton.open .dropdown-content {
    display: block;
  } */

  /* .dropdown-content {
    display: none;
    background-color: var(--bkgColour);

    position: absolute;
    z-index: 99;
    padding: 2%;
    left: 45%;
    right: 0;
    top: 12%;
    width: 31%;
    border: var(--mainColour) solid 1px;
  } */

  /* .dropbutton:hover,
  .largeScreen a:hover,
  .largeScreen_otherPages a:hover {
    color: var(--accentColour);
  } */

  /* .dropdown.openMenu .dropdown-content {
    display: block;
  } */

  /* .dropdown-content a {
    display: block;
    float: none;
  } */

  /* #menuItems {
    width: 30%;
    display: flex;
    justify-content: space-between;
  } */

  /* #appmenu,
  #appmenu h1,
  #appmenu p {
    cursor: pointer;
  } */

  #appmenu li {
    white-space: nowrap;
    display: block;
    padding: 0.25em 0.75em;
    margin: 0;
  }
  #appmenu > li {
    float: left;

    position: relative;
    cursor: pointer;
  }

  .link:hover,
  .dropdown p:hover,
  .dropdown-content li:hover {
    color: var(--accentColour);
  }

  #appmenu :focus {
    color: var(--accentColour);
  }

  #appmenu :focus li {
    color: var(--accentColour);
  }

  #appmenu > li > ul {
    z-index: 199;
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 8vh;
    padding: 10%;
    margin: 0;
    background-color: var(--bkgColour);
    width: 30vw;
    text-align: left;
    border: var(--mainColour) solid 1px;
  }

  #appmenu > li[aria-expanded="true"] > ul {
    display: block;
  }
}
