@import url("https://fonts.googleapis.com/css2?family=Roboto+Mono:wght@300&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Inter&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Roboto+Mono:wght@300&display=swap");

:root {
  --dark: #374151;
  --darker: #1f2937;
  --darkest: #212121;
  --gray: #6b7280;
  --light: #eee;

  --fa-text: "Font Awesome 5 Free";
  --google-font-roboto-condensed: "Roboto Condensed", sans-serif;
  --sunColor: #f4d03f;
  --sunColorTwo: #f1c40f;
  --shadowOne: -1px 6px 25px -12px rgba(0, 0, 0, 0.75);
  --shadowTwo: -1px 1px 25px -8px rgba(0, 0, 0, 0.75);
}
div.computer_only nav {
  background-color: #2e2e2e;
  color: var(--light);
  width: 90%;
  height: 13%;

  top: 2%;
  left: 4%;

  margin: 0px;
  padding: 70px;
  display: block;
  position: absolute;
  font-family: "Inter", sans-serif;
}

div.computer_only nav h1 {
  display: inline-block;
}

div.computer_only nav ul.links {
  display: inline-flex;
  justify-content: center;
  list-style: none;
  margin-left: 20%;
  color: var(--light);
  position: absolute;
  top: 30px;
  left: 40px;
  gap: 2rem;
}

div.computer_only nav ul.links li {
  padding: 1% 10%;
}

div.computer_only nav ul.links li a {
  text-decoration: none;
  color: var(--col-primary);
  transition: all 200ms ease-in-out;
}

div.computer_only nav ul.links li a:hover {
  /*color: var(--col-accent);*/
  font-weight: 900;
  color: lightblue;
  text-shadow: 5px 5px 5px var(--col-accent-1-light),
    -5px -5px 5px var(--col-accent-1-light);
}

div.computer_only nav ul.linkst {
  display: inline-flex;
  justify-content: center;
  list-style: none;
  margin-left: 20%;
  color: var(--light);
  position: absolute;
  top: 30px;
  left: 55%;
  gap: 1rem;
}
.sidenav {
  height: 100%;
  width: 0;
  position: fixed;
  z-index: 1;
  top: 0;
  left: 0;
  color: var(--darkest);
  background-color: var(--darkest);
  overflow-x: hidden;
  transition: 0.5s;
  padding-top: 5px;
}

.sidenav a {
  padding: 8px 8px 8px 32px;
  text-decoration: none;
  font-size: 25px;
  display: block;
  transition: 0.3s;
}
a {
  text-decoration: none;
}
.sidenav a:hover {
  color: #f1f1f1;
}
.rlabimg {
  position: absolute;
  top: -20.5rem;
  left: -2.5rem;
  width: 10rem;
  border-radius: 0;
  -webkit-border-radius: 0;
  -moz-border-radius: 0;
  -ms-border-radius: 0;
  -o-border-radius: 0;
}
.sidenav .closebtn {
  position: absolute;
  top: 0;
  right: 25px;
  font-size: 36px;
  margin-left: 5px;
}

@media (prefers-reduced-motion) {
  div.computer_only nav ul.links li a {
    transition: none;
  }
}

.mobileNav {
  display: none;
}
.mobileNavM {
  display: none;
}
@media only screen and(max-width: 700px) {
  #cards {
    position: absolute;
    top: 50%;
  }
}
@media only screen and (max-width: 1000px) {
  body {
    background-color: var(--darkest);
    transition: 0.3s ease-in-out;
    height: 100%;
    overflow-x: hidden !important;
    width: 100%;
    position: fixed;
  }
  html {
    overflow-x: hidden;
  }
  .text {
    font-size: 2rem;
    position: absolute;
    top: 100%;
    left: 10%;
  }
  .bn47 {
    position: absolute;
    text-align: center;
    top: 100%;
    left: 45%;
    margin-left: -40px;
    padding: 1rem 2rem 0.5rem 2.5rem;
    color: var(--light);
    border: 3px solid #776e62;
    -webkit-transition: padding 0.3s ease-in-out;
    transition: padding 0.3s ease-in-out;
    text-decoration: none;
    font-family: "Inter", sans-serif;
  }

  .bn47:before {
    content: "";
    text-align: center;
    position: absolute;
    top: 0.5rem;
    left: 0.5rem;
    z-index: -1;
    height: 100%;
    width: 100%;
    background-color: var(--darkest);
    border-right: 3px solid var(--dark);
    border-bottom: 3px solid var(--dark);
    -webkit-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
  }

  .bn47:hover {
    padding: 0.75rem 2.25rem;
  }

  .bn47:hover:before {
    top: 0;
    left: 0;
  }

  .bn47 {
    position: absolute;
    top: 70%;
    left: 40%;
  }
  .computer_only {
    display: none;
  }
  .mobileNav {
    background-color: var(--darkest);
    display: block;
    position: absolute;
    width: 200%;
    height: 10%;
    top: 0;
    left: 0;
  }
  .mobileNav > h1 {
    display: flex;
  }
  .mobileNavM {
    display: flex;
    float: left;
  }
  .sidenav a {
    color: var(--light);
    font-weight: bold;
  }

  .ry {
    font-size: 2rem;
    text-align: center;
  }
  .commands {
    font-size: 1rem;
  }
  .yr {
    font-size: 0.5rem;
    text-align: center;
    font-family: "Roboto Mono", monospace;
  }
  .command_topic {
    font-size: 0.5rem;
    gap: 0;
    margin: 0;
  }
  #cards {
    position: absolute;
    left: -20%;
  }
  .commands {
    position: absolute;
    left: -30%;
  }
}

@media only screen and (max-width: 800px) {
  body {
    background-color: var(--darkest);
    transition: 0.3s ease-in-out;
    height: 100%;
    overflow-x: hidden !important;
    width: 100%;
    position: fixed;
  }
  html {
    overflow-x: hidden;
  }
  .text {
    font-size: 1rem;
    position: absolute;
    left: 10%;
  }

  .commands {
    font-size: 0.5rem;
  }
  .yr {
    font-size: 0.2rem;
    text-align: center;
    font-family: "Roboto Mono", monospace;
  }
  .command_topic {
    font-size: 0.5rem;
    gap: 0;
    margin: 0px;
    position: relative;
  }
  .topic_holder {
    font-size: 0.5rem;
    gap: 0;
  }
  .commands {
    position: absolute;
    left: -40%;
    font-size: 1rem;
  }
}
